|
Next: Lost my CSS styles
|
| Author |
Message |
External

Since: Aug 05, 2007 Posts: 5
|
(Msg. 1) Posted: Sun Aug 05, 2007 4:56 am
Post subject: Really easy really problem! Newbie in flash with simple Archived from groups: macromedia>flash (more info?)
|
|
|
|
| Does anybody could help a newbie looking for the following: already load an
external .swf but need to get back to a specific frame at the main movie, the
one where I called the external from (the external got called inside the main
and the main stayed at level 0, while the other loads at level 1) I already
unloaded the movie but don't know how to the the button that unloads to also go
to and stop at frame 30 of the main! Thank you! 
|
>> Stay informed about: Really easy really problem! Newbie in flash with simple |
|
| Back to top |
|
 |  |
External

Since: May 23, 2006 Posts: 16
|
(Msg. 2) Posted: Sun Aug 05, 2007 9:56 am
Post subject: Re: Really easy really problem! Newbie in flash with [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Not quite sure I understand what the specific question is but I'll give it a
go...
Don't worry about levels if you simply want to go back to a particular frame.
Put a "gotoAndStop(30);" inside the event handler for the button that unloads
the movie. In other words, find the part of your code that says "unloadMovie"
and place the "goto" code directly below it. So when that button is pressed, it
does 2 things. >> Stay informed about: Really easy really problem! Newbie in flash with simple |
|
| Back to top |
|
 |  |
External

Since: Aug 05, 2007 Posts: 5
|
(Msg. 3) Posted: Mon Aug 06, 2007 11:57 pm
Post subject: Re: Really easy really problem! Newbie in flash with [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
hm..nope let me refrase what I wanted to say....Ok, the button to unload the
movie is inside the external swf that the main movie is calling. After
clicking on the button I need to go to a specific frame on the main movie,
sooooooo.... what should I put inside my actions at the external movie to call
that particular frame after the frame has finished unloading? Thank you! >> Stay informed about: Really easy really problem! Newbie in flash with simple |
|
| Back to top |
|
 |  |
External

Since: Dec 07, 2006 Posts: 20
|
(Msg. 4) Posted: Mon Aug 06, 2007 11:57 pm
Post subject: Re: Really easy really problem! Newbie in flash with [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
|
|
| Back to top |
|
 |  |
External

Since: Aug 05, 2007 Posts: 5
|
(Msg. 5) Posted: Mon Aug 06, 2007 11:57 pm
Post subject: Re: Really easy really problem! Newbie in flash with [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
|
|
| Back to top |
|
 |  |
External

Since: Dec 07, 2006 Posts: 20
|
(Msg. 6) Posted: Tue Aug 07, 2007 9:56 am
Post subject: Re: Really easy really problem! Newbie in flash with [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
unloadMovie() - is a method, not an event handler and does not envoke a
function in this manner.
in the [b]main[/b] swf timeline call the name of the loaded clip and use the
[i]onUnload[/i] handler, like so: (I see I have a syntax error in the previous
post)
my_mc.onUnload = function() {gotoAndStop(30);}
if this mc was un-named when loading call to:
this.getInstanceAtDepth(1).onUnload = function() {gotoAndStop(30);}
Do this from the main timeline, not from the movie that's being removed. >> Stay informed about: Really easy really problem! Newbie in flash with simple |
|
| Back to top |
|
 |  |
External

Since: Aug 05, 2007 Posts: 5
|
(Msg. 7) Posted: Tue Aug 07, 2007 2:28 pm
Post subject: Re: Really easy really problem! Newbie in flash with [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
|
|
| Back to top |
|
 |  |
External

Since: Aug 05, 2007 Posts: 5
|
(Msg. 8) Posted: Wed Aug 08, 2007 1:57 pm
Post subject: Re: Really easy really problem! Newbie in flash with [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
|
|
| Back to top |
|
 |  |
External

Since: Dec 07, 2006 Posts: 20
|
(Msg. 9) Posted: Wed Aug 08, 2007 1:57 pm
Post subject: Re: Really easy really problem! Newbie in flash with [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
|
|
| Back to top |
|
 |  |
External

Since: Dec 07, 2006 Posts: 20
|
(Msg. 10) Posted: Wed Aug 08, 2007 1:57 pm
Post subject: Re: Really easy really problem! Newbie in flash with [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
|
|
| Back to top |
|
 |  |