-
Seperating digits using flash substrings
Hello All.
I am trying to retrieve data from a server and display it in a font that does not space dynamically the way that my boss, the art director wants it to look. The server will send me 2 and three digit numbers thaty need to be displayed, but because of graphical issues, each digit (first, second, or third) needs to be placed in different dynamic text boxes. I asked the programmer to break up the number in asp and send it as three different variables for me to rearrange in flash but this is a no go. SO i need someone to show me how to "seperate the digits using substings" any takers?
any help would be appreciated.
thanks.
-
Senior Member
String.substr() is the function you want. It is pretty strait forward to use. Here is a quick link I found on macromedia'a site on its syntax. Here
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|