Welcome To Snipplr
Everyone's Recent Snippets Tagged actionscript
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
This code shows how not only to create a text file onto the local computer desktop, but also how to post the contents of a 'text box' object into the file.
0
991
posted 9 years ago by SinVerguenzaGames
Just a simple example script for populating a bunch of MapMarker objects on a Map using the distriqt NativeMaps ANE
0
993
posted 11 years ago by koriner
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
1009
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
1224
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
1001
posted 12 years ago by vamapaull
An easy way to detect shakes on mobile devices with equipped accelerometer.
0
1091
posted 12 years ago by vamapaull
An example of a Flex Mobile button skin using PNG assets and the Flash drawing API
0
818
posted 13 years ago by ryanstewart
Remplacer le code Hexadécimal d'une couleur (provenant d'un xml par exemple) pour une utilisation en AS.
0
652
posted 13 years ago by ions
Utile pour formater l'affichage d'un compteur de temps (player video, player mp3, …)
0
641
posted 13 years ago by ions
This function will take the querystring from the URL and return it as a property:value paired object.
1
831
posted 13 years ago by scottwatkins
This function will delete and object and mark it for deletion with gc.
0
1001
posted 13 years ago by scottwatkins
If you are developing for iOS with AIR and are deleting/removing applications from iTunes/device each time you want to test you will want to read this.
0
918
posted 13 years ago by renaun
Looking forward for the most optimized solution for the same
0
1004
posted 13 years ago by kanuwadhwa
Looking forward for the most optimized solution for the same
0
882
posted 13 years ago by kanuwadhwa
Looking forward for the most optimized solution for the same
0
837
posted 13 years ago by kanuwadhwa
Looking forward for the most optimized solution for the same
0
1007
posted 13 years ago by kanuwadhwa
Looking forward for the most optimized solution for the same
0
1025
posted 13 years ago by kanuwadhwa
If you want to use the PlayBook's QNXApplication SWIPE_DOWN event in a SWF that will be used on other devices, check out this code.
0
788
posted 13 years ago by renaun
Useful for stripping out backslashes, hyphens and other punctuation
0
1376
posted 13 years ago by gromitski
Replace "-" with anything you want to. Useful for amending URLs.
0
1191
posted 13 years ago by gromitski