Profile
Achievement
vamapaull's Recent Snippets
- All /
« Prev 1 Next »
A simple utility class that will help you convert a color value (from numbers) to hexadecimal color value.
0
1130
posted 11 years ago by vamapaull
This PHP code is made to help people using the ActionScript 3 AlivePDF library to save PDF files from a Flash app to a server.
ActionScript 3 AlivePDF save code:
_pdf.save(Method.REMOTE, "save.php", Download.ATTACHMENT, "MyFile.pdf");
0
1033
posted 12 years ago by vamapaull
I’m sharing with you a little utility that I find myself using a lot lately. This utility is a value convertor that you can use in those times when you need to make a volume slider or something similar where you’ll need to change a value and a va...
0
1252
posted 12 years ago by vamapaull
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
1025
posted 13 years ago by vamapaull
An easy way to detect shakes on mobile devices with equipped accelerometer.
0
1111
posted 13 years ago by vamapaull