-
I smoke rocks
Odd movieclip question
i'm sorry in advanced that this is so long...
I'm trying to make a web page that loads individual .swf's (i have no problem with this) and between the loads, plays a tranistion animation.
my file has 6 scenes (1 with content and the others with the "fade off" transition)
user clicks a button, it goes to the corrisponding "fade off" scene, where it plays the "fade off" movie clip and than loads the external .swf
now, in the effort to try to keep file size down, i would like to only have 1 movie clip that plays the "fade off", but in order to do this, at the end of the movie clip it would need to link to 5 different scenes, depending on which scene the movie clip is in.
are you following me?
the only way i think to do this is to have
Code:
_root.gotoAndStop("load");
where load would be a frame label (yes on 5 different scenes, which won't work) with the code to load the external .swf
How can i get 1 movie clip to link to a certain frame of the scene that the movie clip is in (keeping in mind that the same movie clip will be in 5 different scenes)
with that being said... am i an idoit for doing it this way? is this impossible? is there a better/easier way to have animated tranistions between external .swf files?
i feel like an idiot atleast
-
-
I smoke rocks
thank you very much, it looks like i was going about it completely wrong.
I kind of suspected that was what was up.
-
I smoke rocks
So now that that's worked i have another problem...
in one of the external .swf's (i'll call it "home.swf") i have a movie clip wich contains buttons that control the main timeline, of home.swf. If i view the home.swf by itself the code works, but when viewed as an external .swf it does not...
here is the code i'm using
Code:
on (release) {
_root.gotoAndStop("scene1");
}
I figure it's got something to do with the _root. but i can't figure it out
i've looked all over to try and find an answer, please help me
[edit] I would offically like to withdraw my question, i found the answer
Code:
on (release) {
_root.content.gotoAndStop("scene1");
}
where "content" is the name of the movie clip that contains the external swf's
Last edited by Dave-O; 05-05-2006 at 02:57 AM.
-
You could probably also use "this" or "_parent. Learn more about that here:
http://www.kirupa.com/developer/acti...arent_this.htm
/Mirandir
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
|