Welcome To Snipplr


Everyone's Recent Snippets Tagged flash



0 493 posted 12 years ago by jrobinsonc
Also we can use HTTP_ACCEPT
0 358 posted 12 years ago by kossmoss
demo: http://www.adamcoulombe.info/lab/as3/360-spin-hover.html FLA: http://www.adamcoulombe.info/lab/as3/360-spin-hover.fla requires tweenlite
1 651 posted 12 years ago by adamcoulombe
Spotlight Navigation effect using AS3 and Tweenlite Demo: http://www.adamcoulombe.info/lab/as3/spots_test.html FLA: http://www.adamcoulombe.info/lab/as3/spots_test.fla
2 561 posted 12 years ago by adamcoulombe
Add the code at the first frame.
0 373 posted 12 years ago by nalmeida
This implementation of the singleton pattern provides a way to enforce singleton usage. There are numerous Singleton implementations for AS3 (due to the lack of private constructor) this method, is the cleanest I've seen so far.
1 404 posted 12 years ago by jasonm23
Handy function for converting milliseconds to video timecode
1 713 posted 12 years ago by nate63179
A simple class and event which can be used to load external assets
1 377 posted 12 years ago by nate63179
note t0 self - place inside class declaration with vars - include Flex SDK swc (flash CS4)
2 429 posted 12 years ago by obsessivejosh
note to self - Basic settings for clean text in as3 flash project assuming fonts are embedded.
0 344 posted 12 years ago by obsessivejosh
0 368 posted 13 years ago by m-pokrovskii
base css for flash 100% width min size that works in ff3+, safari3+, google chrome 1+ Remember to use a reset.css: the margin / padding of html and body must be zero.
1 439 posted 13 years ago by mcarneiro
0 463 posted 13 years ago by njhamann
On a new layer, add the following Actionscript to the frame requiring to be paused. 1000 represents the delay in milliseconds, being 1 second.
0 560 posted 13 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 "buttonClip" in the properties palette. 3. On a new layer add ActionScript to the timeline as follows:
0 502 posted 13 years ago by hotdiggity
On a new actions layer, add the following script to frames requiring to be paused. 10000 represents the delay milliseconds (10 seconds).
1 693 posted 13 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 483 posted 13 years ago by hotdiggity