Welcome To Snipplr
Everyone's Recent ActionScript 3 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
782
posted 8 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
788
posted 10 years ago by koriner
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
991
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
796
posted 12 years ago by vamapaull
An easy way to detect shakes on mobile devices with equipped accelerometer.
0
882
posted 12 years ago by vamapaull
An example of a Flex Mobile button skin using PNG assets and the Flash drawing API
0
640
posted 12 years ago by ryanstewart
Remplacer le code Hexadécimal d'une couleur (provenant d'un xml par exemple) pour une utilisation en AS.
0
487
posted 12 years ago by ions
Utile pour formater l'affichage d'un compteur de temps (player video, player mp3, …)
0
484
posted 12 years ago by ions
This function will take the querystring from the URL and return it as a property:value paired object.
1
630
posted 13 years ago by scottwatkins
This function will delete and object and mark it for deletion with gc.
0
788
posted 13 years ago by scottwatkins
Looking forward for the most optimized solution for the same
0
794
posted 13 years ago by kanuwadhwa
Looking forward for the most optimized solution for the same
0
678
posted 13 years ago by kanuwadhwa
Looking forward for the most optimized solution for the same
0
651
posted 13 years ago by kanuwadhwa
Looking forward for the most optimized solution for the same
0
789
posted 13 years ago by kanuwadhwa
Looking forward for the most optimized solution for the same
0
829
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
624
posted 13 years ago by renaun
Replace "-" with anything you want to. Useful for amending URLs.
0
986
posted 13 years ago by gromitski
This function will keep an image that is larger than the stage dragging within the stage view, stopping at any edge of the image.
0
522
posted 13 years ago by CammoKing