08.25.07

thePlayer.source = “Domain_video.flv”;

Posted in Flash at 12:38 am by Curtis J. Morley

for (int i=0; i<5; ++i)
{

    cout << "smap!" << endl;}

import flash.events.EventDispatcher; import fl.video.*; thePlayer.source = "splash.flv"; This is the part that is kinda funky var theCuePoint:Object = new Object(); theCuePoint.time = 0.001; theCuePoint.name = "main_video"; thePlayer.addASCuePoint(theCuePoint); function splashCuePoint(evt:MetadataEvent):void { loadVideo(); } thePlayer.addEventListener(MetadataEvent.CUE_POINT, splashCuePoint); function buttonClick(evt:MouseEvent):void { loadVideo(); } theButton.addEventListener(MouseEvent.CLICK, buttonClick); function loadVideo():void { thePlayer.source = “main_video.flv”; thePlayer.play(); theButton.enabled = false; theButton.visible = false; } This is the text.

Leave a Comment

Click Here ok cool kids