This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Flash Site Design > April 2004 > Moving to 'main' page after flash intro





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Moving to 'main' page after flash intro
maxmusik

2004-04-24, 5:30 pm

Guys,

Could you tell me how to automatically action the intro animation to jump to a
web page 'main' when it finishes?
Is it an action in a final keyframe?

I know its probably easy, but Im striggling to find the solution!
Cheers,
Max.

Shawn Hughes

2004-04-24, 5:30 pm

Max,
I normally have all my elements in separate SWFs. So at the end of the
Intro swf (running in level 2, for example) I would have the action:

loadMovieNum("home.swf", 2);

This will automatically unload the Intro.swf and load the home.swf into its
place.

Shawn Hughes


"maxmusik" <webforumsuser@macromedia.com> wrote in message
news:c6efve$9j7$1@forums.macromedia.com...
> Guys,
>
> Could you tell me how to automatically action the intro animation to jump

to a
> web page 'main' when it finishes?
> Is it an action in a final keyframe?
>
> I know its probably easy, but Im striggling to find the solution!
> Cheers,
> Max.
>
>



liquidgooey

2004-04-24, 10:29 pm

It is as simple as you assumed.
On the last frame use the following command:

getURL("desiredlocation.html");

of course replace "desiredlocation.html" with the page you want to jump to.
maxmusik

2004-04-25, 5:30 pm

Thanks Guys,

It worked a treat!

Max.
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews