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
806
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
807
posted 11 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
1016
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
813
posted 12 years ago by vamapaull
An easy way to detect shakes on mobile devices with equipped accelerometer.
0
903
posted 12 years ago by vamapaull
An example of a Flex Mobile button skin using PNG assets and the Flash drawing API
0
659
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
503
posted 13 years ago by ions
Utile pour formater l'affichage d'un compteur de temps (player video, player mp3, …)
0
496
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
641
posted 13 years ago by scottwatkins
This function will delete and object and mark it for deletion with gc.
0
807
posted 13 years ago by scottwatkins
Looking forward for the most optimized solution for the same
0
815
posted 13 years ago by kanuwadhwa
Looking forward for the most optimized solution for the same
0
701
posted 13 years ago by kanuwadhwa
Looking forward for the most optimized solution for the same
0
673
posted 13 years ago by kanuwadhwa
Looking forward for the most optimized solution for the same
0
820
posted 13 years ago by kanuwadhwa
Looking forward for the most optimized solution for the same
0
852
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
638
posted 13 years ago by renaun
Replace "-" with anything you want to. Useful for amending URLs.
0
1004
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
539
posted 13 years ago by CammoKing