Guest User

Untitled

a guest
Mar 16th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MXML 0.50 KB | None | 0 0
  1.             private function onMainVideoComplete(event:TimeEvent):void
  2.             {
  3.                 loopVideo.play();
  4.                 loopVideo.visible = true;
  5.                 mainVideo.visible = false;
  6.             }
  7.  
  8.     <s:VideoDisplay id="loopVideo"
  9.                     source="assets/video/intro_loop.flv"
  10.                     autoPlay="false"
  11.                     loop="true"
  12.                     visible="false"
  13.                     y="-10"
  14.                     horizontalCenter="0" />
  15.     <s:VideoDisplay id="mainVideo"
  16.                     source="assets/video/intro_render_subs.flv"
  17.                     complete="onMainVideoComplete(event)"
  18.                     y="-10"
  19.                     horizontalCenter="0" />
Add Comment
Please, Sign In to add comment