Welcome To Snipplr
Everyone's Recent ActionScript 3 Snippets Tagged flash
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Just a simple example script for populating a bunch of MapMarker objects on a Map using the distriqt NativeMaps ANE
0
784
posted 10 years ago by koriner
This function returns the trimmed bounding box of a bitmap which contains all non-transparent pixel which color values are higher than the specified treshold (default 0xFF333333 in ARGB notation).
0
764
posted 11 years ago by tinytiger
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
989
posted 12 years ago by vamapaull
An easy way to detect shakes on mobile devices with equipped accelerometer.
0
880
posted 12 years ago by vamapaull
An example of a Flex Mobile button skin using PNG assets and the Flash drawing API
0
639
posted 12 years ago by ryanstewart
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
675
posted 13 years ago by kanuwadhwa
Looking forward for the most optimized solution for the same
0
647
posted 13 years ago by kanuwadhwa
Looking forward for the most optimized solution for the same
0
786
posted 13 years ago by kanuwadhwa
Looking forward for the most optimized solution for the same
0
825
posted 13 years ago by kanuwadhwa
Simple snippet to check is Flixel's flxObjects position according to a rectangle.
It will return true if it's inside the rectangle, false if not.
Very basic primitive box collision checking.
0
573
posted 13 years ago by godstroke
This snippet is used for the blog post called Arithmetic Operators in Flash and ActionScript 3.0, which can be found at http://www.brettwidmann.com/2010/10/arithmetic-operators-in-flashactionscript-3-0 which is set to publish on November 1, 2010.
0
641
posted 13 years ago by goatboy91587
Demo, info & FLA download at http://adamcoulombe.info/lab/as3/card-flip.html
4
992
posted 13 years ago by adamcoulombe
Single line to get the package path of the current class path (package)
1
743
posted 13 years ago by dyteq
More information, Demo & FLA file download at http://www.adamcoulombe.info/lab/as3/spiral-gallery.html
1
720
posted 13 years ago by adamcoulombe
demo and FLA file at http://www.adamcoulombe.info/lab/as3/screen-to-screen.html
2
753
posted 13 years ago by adamcoulombe
This creates a scribble mouse trail effect. More importantly, it illustrates how you can easily use the greensock bezier plugin for TweenMax to actually draw bezier curves.
0
699
posted 13 years ago by adamcoulombe
This snippet will help create a flashSharedObject a.k.a Flash Cookie, which much better than conventional cookies since they remain through all browsers and cannot be erased by the user using traditional cookie erasing methods
3
693
posted 13 years ago by carbonr