I have a main movie called "introtest.swf" I want to replace it
completely with "abouttest.swf".
Here is my code
on (release) {
loadMovieNum("http://www.ultimate-journey.com/abouttest.swf", 0);
}
This is attached to the button called "About Doug"
Here is a url of the movie on an html page. At the bottom, you will see
the "abouttest.swf" movie so you will know what I am doing.
http://www.ultimate-journey.com/zindex2.html
I can't for the life of me figure out why this won't work.
Is it just me, or is this WAY harder than it was in Flash 3 and 4?
Tim Hines
remove x to e-mail
Looks like you initial movie is doing a stop .. so when the second movie
load in its place, the player is still stopped. NOTE: To see this, you
right-click on the second movie you'll see 'play' is unticked in the menu
(ie the movie is stopped) .. select play and it works.
--
Jeckyl
Yes, the last frame in my initial movie has a "stop" action. This is to
keep it from looping. Is this incorrect? And if I remove this, will the
second movie possibly load correctly?
Thanks,
Tim Hines
remove x to e-mail
Jeckyl wrote:
> Looks like you initial movie is doing a stop .. so when the second movie
> load in its place, the player is still stopped. NOTE: To see this, you
> right-click on the second movie you'll see 'play' is unticked in the menu
> (ie the movie is stopped) .. select play and it works.
I have a main movie called "introtest.swf" I want to replace it
completely with "abouttest.swf".
Here is my code
on (release) {
loadMovieNum("http://www.ultimate-journey.com/abouttest.swf", 0);
}
This is attached to the button called "About Doug"
Here is a url of the movie on an html page. At the bottom, you will see
the "abouttest.swf" movie so you will know what I am doing.
http://www.ultimate-journey.com/zindex2.html
I can't for the life of me figure out why this won't work.
Is it just me, or is this WAY harder than it was in Flash 3 and 4?
Tim Hines
remove x to e-mail
urm hi
I dont know much but i think...
on(release){
_root.loadMovie("abouttest.swf",0);
}
that looks right to me..... for loadmovie you dont need to use http:// jus
t
keep the main swf in the same place.
Thanks, but no dice. Output reports this error.
**Error** Scene=Scene 2, layer=About Doug Button, frame=15:Line 2: Type
mismatch.
_root.loadMovie("abouttest.swf",0);
Any thoughts?
Dragonusthei wrote:
> urm hi
>
> I dont know much but i think...
>
> on(release){
> _root.loadMovie("abouttest.swf",0);
> }
>
> that looks right to me..... for loadmovie you dont need to use http://
just
> keep the main swf in the same place.
>
I have figured out part of the problem. I have added a button made from
one of the "x" buttons to the left of the movie and it loads the movie
correctly.
So now I have to figure out why the buttons made of the x button nested
into a graphic selected to "track as button" don't work.
I'm on my way now.
Tim Hines wrote:
> I have a main movie called "introtest.swf" I want to replace it
> completely with "abouttest.swf".
>
> Here is my code
> on (release) {
> loadMovieNum("http://www.ultimate-journey.com/abouttest.swf", 0);
> }
>
> This is attached to the button called "About Doug"
>
> Here is a url of the movie on an html page. At the bottom, you will see
> the "abouttest.swf" movie so you will know what I am doing.
>
> http://www.ultimate-journey.com/zindex2.html
>
> I can't for the life of me figure out why this won't work.
>
> Is it just me, or is this WAY harder than it was in Flash 3 and 4?
>
> Tim Hines
> remove x to e-mail
>
Just for the information of anyone else who may experience a similar
problem:
For a button symbol nested within a graphic to be functional, the button
action must be assigned WITHIN the graphic symbol, NOT at the particular
instance in the frame.
This is why my button was not functioning. I was assigning the action to
the graphic instance in the frame, instead of editing the graphic symbol
and assigning the action to the button symbol within the graphic.
Tim Hines
remove x to e-mail
Tim Hines wrote:
> I have figured out part of the problem. I have added a button made from
> one of the "x" buttons to the left of the movie and it loads the movie
> correctly.
>
> So now I have to figure out why the buttons made of the x button nested
> into a graphic selected to "track as button" don't work.
>
> I'm on my way now.
>
> Tim Hines wrote:
>
>