Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 How do you do ouput formatting ActionScript?
Index -> Graphics and Design, Web Design -> Flash MX Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
HazySmoke)345




PostPosted: Sun Feb 25, 2007 1:31 am   Post subject: How do you do ouput formatting ActionScript?

Is it possible?
I'm trying to make a dynamic text print out a floating point number to 2 decimal places. Is there a function that can do that for me so I don't have to spend time writing so much code?

On some websites, they say that there's a sprintf function available, just like in the C language. I tried to use it and I haven't got much luck.
Sponsor
Sponsor
Sponsor
sponsor
Display posts from previous:   
   Index -> Graphics and Design, Web Design -> Flash MX Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 1 Posts ]
Jump to:   


Style:  
Search: