Welcome To Snipplr
Everyone's Recent ActionScript 3 Snippets Tagged flash
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
note t0 self - place inside class declaration with vars
- include Flex SDK swc (flash CS4)
2
684
posted 14 years ago by obsessivejosh
note to self - Basic settings for clean text in as3 flash project assuming fonts are embedded.
0
502
posted 14 years ago by obsessivejosh
On a new actions layer, add the following script to frames requiring to be paused.
10000 represents the delay milliseconds (10 seconds).
1
980
posted 14 years ago by hotdiggity
1. Create button that covers the entire ad.
2. Create an instance of the button on the main timeline and name it "clickTag_bn" in the properties palette.
3. On a new layer add ActionScript to the timeline as follows:
2
721
posted 14 years ago by hotdiggity
ActionScript 3
actionscript 3 - button action [listen for multiple events. eg. MOUSE_OVER, MOUSE_OUT, MOUSE_UP]
actionscript3 version of a more complex button action, which responds to rollover, rollout and clicking. this method uses one single 'buttonstuff' function with a 'switch' inside which causes the function to respond differently, depending on what...
1
836
posted 14 years ago by stiobhart
this is a handy snippet to trace the info about any cuepoints actionscript encounters, embedded in a FLV [flash video]. these traces will display the name, type and time of the cuepoint - in a nicely formatted list
0
663
posted 14 years ago by stiobhart
this code loads in the necessary actionscript classes for dealing with FLV [flash video] and metadata [in this case cuepoints]. this needs to be loaded right at the beginning of your code, so flash knows how to handle cuepoints embedded in FLV [flas...
0
734
posted 14 years ago by stiobhart
basic structure of the actionscript function to listen for cuepoints embedded in a piece of FLV [flash video]. note: cuepoints need to have been embedded when the video was converted from its original format to FLV - prior to importing it into flash
0
762
posted 14 years ago by stiobhart
Simple yet effective way to create a horizontal slider to controll the volume of your sound channel
4
994
posted 15 years ago by Ktoso
A simple line of code to apply to attributes that need to be toggled on and off.
0
510
posted 15 years ago by cessnajumpin
Just some code that shows you how to set up the Drawing API and draw a line and also use the dropshadow filter.
4
960
posted 16 years ago by mswallace