<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/actionscript/tags/college</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Wed, 22 May 2013 10:56:10 GMT</pubDate>
<item>
<title>(ActionScript) actionscript - cuepoint listener for FLV video in flash - stiobhart</title>
<link>http://snipplr.com/view/16301/actionscript--cuepoint-listener-for-flv-video-in-flash/</link>
<description><![CDATA[ <p>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</p> ]]></description>
<pubDate>Thu, 25 Jun 2009 09:01:16 GMT</pubDate>
<guid>http://snipplr.com/view/16301/actionscript--cuepoint-listener-for-flv-video-in-flash/</guid>
</item>
<item>
<title>(ActionScript) actionscript -  trace actions to get info about cuepoints in FLV video - stiobhart</title>
<link>http://snipplr.com/view/16299/actionscript---trace-actions-to-get-info-about-cuepoints-in-flv-video/</link>
<description><![CDATA[ <p>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</p> ]]></description>
<pubDate>Thu, 25 Jun 2009 08:55:37 GMT</pubDate>
<guid>http://snipplr.com/view/16299/actionscript---trace-actions-to-get-info-about-cuepoints-in-flv-video/</guid>
</item>
<item>
<title>(ActionScript) actionscript3 - seek to cuepoint in FLV flash video clip - stiobhart</title>
<link>http://snipplr.com/view/15838/actionscript3--seek-to-cuepoint-in-flv-flash-video-clip/</link>
<description><![CDATA[ <p>send an FLV clip to a designated embedded cuepoint.  the cuepoint must be of the type 'navigation' and must have previously been embedded when the video was converted to FLV format.

in this example, the FLV video is called "vid" and it lives inside a movieclip called "videoholderMC".  if you're going to have multiple videoclips on the stage,it makes sense to put each one inside a movieclip, so you can talk to it with actionscript</p> ]]></description>
<pubDate>Thu, 11 Jun 2009 08:08:34 GMT</pubDate>
<guid>http://snipplr.com/view/15838/actionscript3--seek-to-cuepoint-in-flv-flash-video-clip/</guid>
</item>
<item>
<title>(ActionScript) actionscript - show and hide a movieclip - stiobhart</title>
<link>http://snipplr.com/view/15836/actionscript--show-and-hide-a-movieclip/</link>
<description><![CDATA[ <p>how to show or hide a movieclip, using either the "\_visible" or "\_alpha" properties.  the movieclip needs to have an instance name. in these examples it is called "stupidmovieclip"</p> ]]></description>
<pubDate>Thu, 11 Jun 2009 07:38:35 GMT</pubDate>
<guid>http://snipplr.com/view/15836/actionscript--show-and-hide-a-movieclip/</guid>
</item>
<item>
<title>(ActionScript) actionscript3 - targetting 'root' or 'parent' timelines - stiobhart</title>
<link>http://snipplr.com/view/15833/actionscript3--targetting-root-or-parent-timelines/</link>
<description><![CDATA[ <p>how to target the 'root' or 'parent' timelines from within a movieclip.  the old actionscript method of using [for example]  "\_root.gotoAndPlay("intro");" or "\_parent.gotoAndStop(3);"  no longer works in actionscript3.</p> ]]></description>
<pubDate>Thu, 11 Jun 2009 07:18:16 GMT</pubDate>
<guid>http://snipplr.com/view/15833/actionscript3--targetting-root-or-parent-timelines/</guid>
</item>
<item>
<title>(ActionScript) actionscript 3  - button action [listen for a single event.  eg. MOUSE_UP] - stiobhart</title>
<link>http://snipplr.com/view/15829/actionscript-3---button-action-listen-for-a-single-event--eg-mouseup/</link>
<description><![CDATA[ <p>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 interaction with the button and then call an appropriate function to deal with that action.

the button needs to have an instance name.  in this case it is called 'stupidbutton'</p> ]]></description>
<pubDate>Thu, 11 Jun 2009 06:27:12 GMT</pubDate>
<guid>http://snipplr.com/view/15829/actionscript-3---button-action-listen-for-a-single-event--eg-mouseup/</guid>
</item>
<item>
<title>(ActionScript) actionscript - button action [to attach to the timeline] - stiobhart</title>
<link>http://snipplr.com/view/15828/actionscript--button-action-to-attach-to-the-timeline/</link>
<description><![CDATA[ <p>basic actionscript button action that should be attached directly to a frame on the timeline - NOT to the button itself.  this is a slightly more complex version of the  'standard' button action which attaches directly to the button itself.  this version has the advantage of allowing you to keep all your actionscript code together in one place on the timeline, rather than having it scattered across all the various elements in your movie.

for this to work, your button must have an instance name.  in the code here, my button instance name is "stupidbutton".

this action will NOT work in actionscript 3, which uses "addEventListener" to respond to button events.

make sure you're attaching this action to the timeline and not directly to the button. the actions window should say "actions - frame" when you open it. if it says "actions - button" you're trying to attach this action to the button itself and flash will blow a fuse!</p> ]]></description>
<pubDate>Thu, 11 Jun 2009 05:49:23 GMT</pubDate>
<guid>http://snipplr.com/view/15828/actionscript--button-action-to-attach-to-the-timeline/</guid>
</item>
<item>
<title>(ActionScript) actionscript - button action [to attach directly to button] - stiobhart</title>
<link>http://snipplr.com/view/15827/actionscript--button-action-to-attach-directly-to-button/</link>
<description><![CDATA[ <p>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 button and not to a keyframe on the timeline.  the actions window should say "actions - button" when you open it.  if it says "actions - frame" you're trying to attach this action to the timeline and flash will blow a fuse!</p> ]]></description>
<pubDate>Thu, 11 Jun 2009 05:45:59 GMT</pubDate>
<guid>http://snipplr.com/view/15827/actionscript--button-action-to-attach-directly-to-button/</guid>
</item>
<item>
<title>(ActionScript) actionscript switch statement - stiobhart</title>
<link>http://snipplr.com/view/15598/actionscript-switch-statement/</link>
<description><![CDATA[ <p>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  ends up as curly bracket spaghetti!</p> ]]></description>
<pubDate>Sat, 06 Jun 2009 06:26:07 GMT</pubDate>
<guid>http://snipplr.com/view/15598/actionscript-switch-statement/</guid>
</item>
</channel>
</rss>