Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > ActionScript Forums Group > Simple Stuff (Newbies)

Reply
 
Thread Tools Rate Thread Display Modes
Old 05-31-2001, 09:48 AM   #1
ezk
Registered User
 
Join Date: May 2001
Location: Dublin
Posts: 9
Default

Hi y'all
I have a 10 scene movie and lets say in scene 8 I have the following:

5 frames; the 5th frame has a load movie action and a stop action.
For navigation, I eventually want to be able to unload the .swf from level 1 and return to scene 2 of level 0.

Is there a conditional onUnloadMovie action that I can place on scene 8, frame 5,level 0 that I can use?

I can't seem to call targets as the .swf I'm loading is independant of the first movie.

Cheers,
EZ
ezk is offline   Reply With Quote
Old 06-01-2001, 03:46 AM   #2
Jesse
ActionScript.org Founder
 
Jesse's Avatar
 
Join Date: Nov 2000
Location: New York
Posts: 8,736
Default

If you load into a MC you can use:
Code:
onClipEvent (unload) {
}
But I don't get why you can't just add the actions on the button or keyframe you're using to unload.

Code:
on (release) {
        unloadMovieNum (1);
        _level0.gotoAndPlay("Scene 2", 1);
}
__________________
Cheers

Jesse Stratford
ActionScript.org Cofounder

Please don't email or PM me Flash questions, that's what the Forums are for!

Please don't rely on me reading my PMs either. Email me about important stuff.
Jesse is offline   Reply With Quote
Old 06-05-2001, 09:15 AM   #3
ezk
Registered User
 
Join Date: May 2001
Location: Dublin
Posts: 9
Unhappy unloadmovie problem

Jesse, that unloadmovie action for _level0 is exactly what I need BUT...
the company requires movies to be exported using Flash 4 for greater public access, and the script you sent me is only exported in 5... is there a flash 4 equivalent?
(the onClipEvent action is no use to me by itself as I must unload AND return in the same action and (I may be mistaken...) the movie is not imported as a MC but as a new movie. If I could convert all the movies to MCs I would still need an unload and return action.
Cheers,
ez
ezk is offline   Reply With Quote
Old 06-06-2001, 02:09 AM   #4
Jesse
ActionScript.org Founder
 
Jesse's Avatar
 
Join Date: Nov 2000
Location: New York
Posts: 8,736
Default

you can't use the clip event because that's f5 only but you can still use the 2nd lot of code above, simply adapt it to use tell target instead of inline paths and it should be f4 compatible.
__________________
Cheers

Jesse Stratford
ActionScript.org Cofounder

Please don't email or PM me Flash questions, that's what the Forums are for!

Please don't rely on me reading my PMs either. Email me about important stuff.
Jesse is offline   Reply With Quote
Old 06-06-2001, 08:49 AM   #5
ezk
Registered User
 
Join Date: May 2001
Location: Dublin
Posts: 9
Default cheers

telltarget level0 should work, I suppose I've got a lot of scripting to learn.
Cheers again,
ez
ezk is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Movie control help!!! ron_jerremy ActionScript 2.0 1 02-09-2005 09:40 AM
control movie loaded into dynamically created movie clip claudybee ActionScript 2.0 1 01-16-2005 02:41 PM
New here... Flash control of an embedded movie... RivMan Other Flash General Questions 2 11-25-2002 07:36 PM
How can I navigate a level0 timeline from a loaded level1 movie? flashaaron ActionScript 1.0 (and below) 10 08-27-2002 10:50 AM
movie clips - variables - sound control rhannam Other Flash General Questions 14 03-12-2002 02:16 PM


All times are GMT. The time now is 03:40 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.