Hello,
Basically I’m trying to come up with how to load an external movie located in the same folder as the flash
file at various points of an SWF, but I’m not sure if this can be done.
I’ve managed to load it using the following code (at frame 203 for example),
stage.displayState = StageDisplayState.FULL_SCREEN;
var connection:NetConnection = new NetConnection();
var stream:NetStream;
var video:Video = new Video(1280,720);
var metaObj:Object = new Object();
function onMetaData(data:Object):void
{
}
connection.connect(null);
stream = new NetStream(connection);
stream.client = metaObj;
metaObj.onMetaData = onMetaData;
video.attachNetStream(stream);
addChild(video);
stream.play(“review.mp4”);
video.x = 0;
video.y = 150;
- The problem with this is unless i put stop(); in the Script it keeps repeating the swf from the start.
Is there a way I can load this movie, stop the swf then continue the swf from that point after the movie
has finished?
Any help at all would be appreciated! Flash is not my strong point…