I think this is a really simple question but it has been bothering me for a
while.
In my main movie I call this:
loadMovie("flash/intro.swf?nocache="+getTimer(), "cont");
which loads a movie into an empty movie clip called cont. This works great!
When the movie intro.swf is finished it calls this command to reload the
movie.
(I want another movie to load but am using the same movie for test
purposes).
_parent.loadMovie("flash/intro.swf?nocache="+getTimer(), "cont");
The movie loads fine the second time except it loads on top of everything in
my
main movie. In other words the toolbar and controls for the main movie and
covered
with empty black space, so all I see is intro.swf. This doesn't happen
when I call intro.swf initially.
Can anyone help with this?
Thanks,
--SL
In the second one, you're using loadMovie as a method, loading to the _parent
timeline, which causes the second parameter to be ignored.
In other words, you're not loading it to the same place the second time.
--
Byron "Barn" Canfield
Lead Flash Developer
Headsprout Beginning Reading
http://www.headsprout.com
"SL" <S...@the10thfloor.com> wrote in message
news:aq9s3v$qah$1...@forums.macromedia.com...
Could you help me out with the correct syntax?
Thanks for your reply,
--SL
"Byron Canfield" <byronc@_NO_SPAM_byronc.com> wrote in message
news:aqa4im$6fv$1...@forums.macromedia.com...
--
Byron "Barn" Canfield
http://www.headsprout.com
Flash examples: http://www.canfieldstudios.com/flash5
[I do not respond to private emails regarding issues for which the
appropriate venue is this newsgroup, nor do I reply to posts by email.]
"SL" <S...@the10thfloor.com> wrote in message
news:aqep99$8fn$1...@forums.macromedia.com...
I have this:
In shell.swf(Main Movie Clip) in layer "container" is the empty movie clip
with instance name "cont". When shell.swf loads it calls
loadMovie("flash/intro.swf?nocache="+getTimer(), "cont") which loads
intro.swf into this empty movie clip. Next I would like for intro.swf to
unload itself and load a different movieclip or even itself back into the
movieclip labeled "cont".
Hope this is clearer.
Thanks again,
--SL
"Byron Canfield" <barnN...@byronc.com> wrote in message
news:aqetag$dta$1...@forums.macromedia.com...
And you don't need to unload the current movie before loading another into the
same timeline. And you SHOULD NOT do so if the command is coming from the
timeline that is also the load target.
--
Byron "Barn" Canfield
Lead Flash Developer
Headsprout Beginning Reading
http://www.headsprout.com
"SL" <S...@the10thfloor.com> wrote in message
news:aqf0oq$i9c$1...@forums.macromedia.com...
Perhaps a better explanation would be in order.
Intro.swf is a small movie which includes a slideshow of different pictures.
It is located in the movie clip instance cont. Once it is done. I would
like it to load logo.swf(reload was only to test) into the same movie clip
instance. The problem was though it did load logo.swf, logo.swf took over
the whole screen.
Is this better,
I am sorry to waste your time on what should be a simple question.
Thanks,
SL
PS. I realize the unload isn't necessary. I just thought it would make my
explanation clearer. (Guess not.)
"Byron Canfield" <byronc@_NO_SPAM_byronc.com> wrote in message
news:aqfgon$6du$1...@forums.macromedia.com...
this.loadMovie("logo.swf")
--
Byron "Barn" Canfield
Lead Flash Developer
Headsprout Beginning Reading
http://www.headsprout.com
"SL" <S...@the10thfloor.com> wrote in message
news:aqm02j$ied$1...@forums.macromedia.com...
Thank you.
"Byron Canfield" <byronc@_NO_SPAM_byronc.com> wrote in message
news:aqm5ib$p5d$1...@forums.macromedia.com...