03.05.2013 Views

FLASH® LITE™ 2.x - Adobe Help and Support

FLASH® LITE™ 2.x - Adobe Help and Support

FLASH® LITE™ 2.x - Adobe Help and Support

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

}<br />

trace(" " + paramName + ": " +<br />

infoObject.parameters[paramName]);<br />

}<br />

}<br />

else<br />

{<br />

trace("undefined");<br />

}<br />

}<br />

}<br />

trace("---------");<br />

ns.play("http://www.helpexamples.com/flash/video/cuepoints.flv");<br />

This causes the following information to be displayed:<br />

onCuePoint:<br />

parameters =<br />

lights: beginning<br />

type = navigation<br />

time = 0.418<br />

name = point1<br />

-------onCuePoint:<br />

parameters =<br />

lights: middle<br />

type = navigation<br />

time = 7.748<br />

name = point2<br />

-------onCuePoint:<br />

parameters =<br />

lights: end<br />

type = navigation<br />

time = 16.02<br />

name = point3<br />

---------<br />

The parameter name “lights” is an arbitrary name used by the author of the example video.<br />

You can give cue point parameters any name you want.<br />

onMetaData (NetStream.onMetaData h<strong>and</strong>ler)<br />

onMetaData = function(infoObject:Object) {}<br />

Invoked when the Flash Player receives descriptive information embedded in the FLV file<br />

being played.<br />

508 ActionScript classes

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!