Welcome To Snipplr


Everyone's Recent Snippets Tagged flash



Change these lines in your TinyMCE settings.
0 1184 posted 16 years ago by PesPes
For cross-browser code--which is not necessarily valid--the [Embedded Media HTML Generator](http://cit.ucsf.edu/embedmedia/step1.php) provides a great starting point.
1 1210 posted 16 years ago by wizard04
0 1038 posted 16 years ago by davebowker
0 1056 posted 16 years ago by arpit
Basic setup code for using SWFObject to embed flash content in a plage.
2 1234 posted 16 years ago by irishspacemonk
pass variables from from url into flash
1 836 posted 16 years ago by spastic
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 1385 posted 16 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 1300 posted 16 years ago by stiobhart
AS3 Apple Style Preloader
3 1300 posted 16 years ago by liuran
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 1436 posted 16 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 1410 posted 16 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 1055 posted 16 years ago by stiobhart
load in XML and style the text via CSS
1 1317 posted 16 years ago by stiobhart
actionscript date object and some date calculations
1 1147 posted 16 years ago by stiobhart
code to implement a paypal button in flash
0 1160 posted 16 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 1313 posted 16 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 1188 posted 16 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 1218 posted 16 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 1277 posted 16 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 1314 posted 16 years ago by stiobhart
1 1116 posted 16 years ago by savintsev
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 991 posted 16 years ago by relaxasaurus
include document ready and standard code to run swfobject smoothly in IE6
1 1254 posted 16 years ago by apro2000
Simple yet effective way to create a horizontal slider to controll the volume of your sound channel
4 1542 posted 16 years ago by Ktoso