Welcome To Snipplr
Everyone's Recent ActionScript 3 Snippets Tagged convert
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
« Prev 1 Next »
It's very useful if you build a FLV player for example, and want to convert the time into minutes:seconds (example: 6:13)
//apply it to your project like this (and don't forget to import the class):
time.text = TimeUtil.getTimecode(timeValue);
0
780
posted 12 years ago by vamapaull
Full credit for this goes to Deva Raj (@nsdevaraj). This is also a good function for doing a similar thing, http://snipplr.com/view/27954/as3-convert-a-number-to-a-string/
2
945
posted 13 years ago by adrianparr
ActionScript 3
AS3 ColorUtil Class (inc. RGBtoCMYK, CMYKtoRGB, subtractive colour & addative colour)
Full credit for this class goes to Deva Raj (@nsdevaraj). Many thanks.
1
821
posted 13 years ago by adrianparr
Here is an example of a sound that is in a library with the class field set to MySound.
0
1088
posted 13 years ago by adrianparr
based on: http://www.snipplr.com/view/33913/actionscript-seconds-to-standard-time-format/
0
562
posted 13 years ago by withinmedianl
// Example usage ...
trace(fNumToWord(56345));
// Output ...
// Fifty-Six Thousand and Three Hundred and Forty-Five
0
1111
posted 14 years ago by adrianparr
« Prev 1 Next »