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
1270
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
1260
posted 12 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
1516
posted 13 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
1240
posted 13 years ago by vamapaull
An easy way to detect shakes on mobile devices with equipped accelerometer.
0
1326
posted 13 years ago by vamapaull
An example of a Flex Mobile button skin using PNG assets and the Flash drawing API
0
1046
posted 14 years ago by ryanstewart
Remplacer le code Hexadécimal d'une couleur (provenant d'un xml par exemple) pour une utilisation en AS.
0
872
posted 14 years ago by ions
Utile pour formater l'affichage d'un compteur de temps (player video, player mp3, …)
0
869
posted 14 years ago by ions
This function will take the querystring from the URL and return it as a property:value paired object.
1
1065
posted 14 years ago by scottwatkins
This function will delete and object and mark it for deletion with gc.
0
1283
posted 14 years ago by scottwatkins
Looking forward for the most optimized solution for the same
0
1320
posted 14 years ago by kanuwadhwa
Looking forward for the most optimized solution for the same
0
1138
posted 14 years ago by kanuwadhwa
Looking forward for the most optimized solution for the same
0
1084
posted 14 years ago by kanuwadhwa
Looking forward for the most optimized solution for the same
0
1283
posted 14 years ago by kanuwadhwa
Looking forward for the most optimized solution for the same
0
1316
posted 14 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
1067
posted 14 years ago by renaun
Replace "-" with anything you want to. Useful for amending URLs.
0
1449
posted 14 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
912
posted 14 years ago by CammoKing