-
Loading Frame from external swf
on (rollOver) {
loadMovie("Headers.swf", "content");
gotoAndStop(2);
}
I know this is probably wrong... the gotoAndStop part, so what should I do?
-
You forgot to reference the movie.
content.gotoAndStop(2);
-
umm
Well I added that line and it loads the movie in the container but only frame 1.
If i put frame 2 or 3 or 10 it still loads frame 1.
-
Availability of frames of the movie clip that is loaded into a container depend upon file size of the loaded mc and the speed of the internet. frame 2 probably does not even exist at the begining of loading. Maybe this code would work:
content.onLoad=function(){
this.gotoAndStop(2);
}
-
on (rollOver) {
loadMovie("Headers.swf", "content");
content.onLoad = function() {
this.gotoAndStop(2);
};
}
This is what I have now. But it still loads only the first frame for some reason. And, I'm viewing it locally so nothing needs to be downloaded.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|