Welcome To Snipplr


Everyone's Recent Snippets Tagged actionscript



Taken from a lynda.com tutorial on learning actionscript. Lots of comments for the moment.
0 908 posted 17 years ago by 1man
simple example of startDrag and stopDrag using AS3
5 1441 posted 17 years ago by mswallace
to call this function you would use "asfunction:myFunction,argument1,argument2,argument3" as the href in the tag in an HTML text box.
0 1321 posted 17 years ago by Bonky
This code will show you how to write Mouse Events using AS3 and also some simple Drawing API as well.
3 1620 posted 17 years ago by mswallace
Found this code. It is an example of loading and reading different file types with ActionScript 3
5 1511 posted 17 years ago by mswallace
This getURL uses javascript to set the browser size.
2 1056 posted 17 years ago by mswallace
Great for animating in Actionscript. You should check out the complete kit at the Fuse Web Site. Can't Wait till this is ported to AS3
0 828 posted 17 years ago by mswallace
Just some code that shows you how to set up the Drawing API and draw a line and also use the dropshadow filter.
4 1385 posted 17 years ago by mswallace
actionscript crawler find replace
1 706 posted 18 years ago by jumikan
Needed a way to mix up the order of questions and answers for a Flash quiz. https://www.chrisjmendez.com/2007/02/21/as1-swap-numbers/
0 823 posted 18 years ago by chrisaiv
Aligerar el tiempo en crear mis precargas ... lo bueno de esto es que se adapta al tamaño del escenario del flash .. y todo es dinamico
1 786 posted 18 years ago by danideu
Useful for product showcases
4 944 posted 18 years ago by dandyna
Builds a function which replace some caracters
1 1055 posted 18 years ago by dandyna
mran( float minimum_number , float maximum_number) (returns int)
1 813 posted 18 years ago by mouseit101
swfObject in XHTML doc structure.
1 1029 posted 18 years ago by horizens
This will return a random number between two given numbers.
4 970 posted 18 years ago by ypmits
Don't forget to insantiate with an object or with 'this'.
1 808 posted 18 years ago by marc0047
Often PHP can't interpret POST data because it is not form-encoded. This is typical when the post data is XML from API's like Flash's XmlSocket. You can use the following methods to read the POST data directly.
1 1897 posted 18 years ago by mthorn
Busca y reemplaza un texto por otro en un string.
0 753 posted 18 years ago by kanirasta