Welcome To Snipplr


Everyone's Recent ActionScript Snippets Tagged flash



« Prev 1 2
for positioning elements above etc
0 803 posted 11 years ago by thesmu
Perfect for banners
0 740 posted 13 years ago by budaloco
Colocar preferencialmente em uma cena dedicada, na frente de todas, com o mínimo possível de elementos.
0 702 posted 13 years ago by dessimoni
This is to prevent ComboBox from closing when onRelease on scrollBar
0 702 posted 14 years ago by b121417
0 803 posted 14 years ago by jrobinsonc
0 706 posted 14 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 863 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 "buttonClip" in the properties palette. 3. On a new layer add ActionScript to the timeline as follows:
0 733 posted 14 years ago by hotdiggity
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
1 789 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
1 735 posted 14 years ago by stiobhart
actionscript3 version of the basic button action. in actionscript3, button actions can no longer be attached to the buttons themselves or called from the main timeline. you need to put an 'addEventListener' in the timeline to 'listen' for interacti...
1 819 posted 14 years ago by stiobhart
basic actionscript button action that can be attached directly to a button on the stage. this will NOT work in actionscript 3, which does not allow actionscript to be attached directly onto buttons. make sure you're attaching this action to a but...
0 551 posted 14 years ago by stiobhart
load in XML and style the text via CSS
1 753 posted 14 years ago by stiobhart
actionscript date object and some date calculations
1 657 posted 14 years ago by stiobhart
code to implement a paypal button in flash
0 620 posted 14 years ago by stiobhart
an external javascript sort function, which you can import into flash to help sort arrays of objects. include the script thus: #include "objSort.js"
2 792 posted 14 years ago by stiobhart
shows the basic structure of a switch statement. switches are useful when you want to respond to a series of possible values that a variable might have, without having to write a shitload of "if(blah blah){do blah}" code which, as we know soon end...
0 701 posted 14 years ago by stiobhart
This works with the standard video player component in Flash CS3. Throw this actionscript in the first frame. Name your video player "videoPlayer" within Flash. Then in the HTML markup object tag: param name=FlashVars value="url=PathToVideo.flv...
0 536 posted 15 years ago by relaxasaurus
0 537 posted 15 years ago by sicbot
0 459 posted 15 years ago by manec
0 494 posted 15 years ago by manec
2 509 posted 15 years ago by manec
I was looking for a simple time delay in ActionScript, and I found this one to be useful (and working). The logic is plain simple to understand. ASv1.
1 775 posted 16 years ago by webStruck_
« Prev 1 2