Hi,
This is my first post (with probably more to come) in this forum.
I could really use some help with some actionscript - I've been trying to get
this working for the past 8 hours, and I'm getting really frustrated. Here's
what I'm doing.
I've created a new document, and have written a piece of actionscript into the
first frame, which creates a new movie clip on the stage, and loads a SWF into
it, which I created earlier.
The SWF I'm loading into my document has 50 frames, but has a 'Stop();' in its
first frame, the idea being that it loads on to the stage showing only the
first frame, but doesn't play the remaining frames until I tell it to.
This is straight forward enough, and is working fine - when I preview it, I
can see the SWF appearing, and it is only showing its first frame as it should.
To then get my imported SWF to play from frame 2 to frame 50 of its timeline,
I'm using gotoAndPlay("2"), except it's just not moving as I would expect, and
just stays on frame 1, meaning I'm not able to control its timeline.
I've been through the bulk of the help documentation, searched this forum and
the Net, and can't find what I'm doing wrong. I'd really appreciate any help I
could get.
Here is the code I've written in to my document to create the movie clip, load
in the SWF, then play it from frame 2:
this.createEmptyMovieClip("mcRedBGround",11);
mcRedBGround.loadMovie("SWFs/RedBackground.swf");
mcRedBGround.gotoAndPlay(3);
mcRedBGround is the name of the movie clip I've created on the stage, and
RedBackground.swf is the SWF file I'm loading in to my new movie clip.
Please don't tell me I've missed something glaringly obvious! This has been
driving me nuts!
Thanks for any help you can give me,
fb