08.25.07
thePlayer.source = “Domain_video.flv”;
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.