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
4074
posted 10 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
4053
posted 13 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
4434
posted 14 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
4101
posted 14 years ago by vamapaull
An easy way to detect shakes on mobile devices with equipped accelerometer.
0
4133
posted 14 years ago by vamapaull
An example of a Flex Mobile button skin using PNG assets and the Flash drawing API
0
2832
posted 15 years ago by ryanstewart
Remplacer le code Hexadécimal d'une couleur (provenant d'un xml par exemple) pour une utilisation en AS.
0
1592
posted 15 years ago by ions
Utile pour formater l'affichage d'un compteur de temps (player video, player mp3, …)
0
1581
posted 15 years ago by ions
This function will take the querystring from the URL and return it as a property:value paired object.
1
1916
posted 15 years ago by scottwatkins
This function will delete and object and mark it for deletion with gc.
0
2267
posted 15 years ago by scottwatkins
Looking forward for the most optimized solution for the same
0
3169
posted 15 years ago by kanuwadhwa
Looking forward for the most optimized solution for the same
0
2869
posted 15 years ago by kanuwadhwa
Looking forward for the most optimized solution for the same
0
2915
posted 15 years ago by kanuwadhwa
Looking forward for the most optimized solution for the same
0
3228
posted 15 years ago by kanuwadhwa
Looking forward for the most optimized solution for the same
0
3076
posted 15 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
1957
posted 15 years ago by renaun
Replace "-" with anything you want to. Useful for amending URLs.
0
2547
posted 15 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
1561
posted 15 years ago by CammoKing