Link to home
Start Free TrialLog in
Avatar of Bruce Gust
Bruce GustFlag for United States of America

asked on

How can I get my flv movie to loop?

I've got an flv file that I want to loop rather than it just play and stop. How do I do that?

I copied the following code from the internet:

stop();
import fl.video.VideoEvent;

player.fullScreenTakeOver = false;

player.source = "Showdown_1.flv";
player.autoRewind = true;
player.autoPlay = true;

function Loop(event:VideoEvent):void
{
player.play();
}

player.addEventListener(VideoEvent.AUTO_REWOUND, Loop);

I get this error:
1120: Access of undefined property player.
ASKER CERTIFIED SOLUTION
Avatar of gingermoleman
gingermoleman

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Bruce Gust

ASKER

Perfect!