Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how can I get a page to pop up right after a flash movie? 1

Status
Not open for further replies.

niblet

Programmer
Joined
Aug 7, 2001
Messages
30
Location
US
Hi helpers :)

I want to have a flash animation file play and go right into a page without having to 'click here to enter',
how do I do that ?

I am using dream weaver, I inserted the flash file and it wrote this script

<object classid=&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&quot; codebase=&quot; width=&quot;850&quot; height=&quot;500&quot;>
<param name=movie value=&quot;animation/intro.swf&quot;>
<param name=quality value=high>
<embed src=&quot;animation/intro.swf&quot; quality=high pluginspage=&quot; type=&quot;application/x-shockwave-flash&quot; width=&quot;850&quot; height=&quot;500&quot;>
</embed>
</object>

what is the very next thing I do to make the new page come up. my guess was this

parent.window.location=&quot;introstatic.htm&quot;

but that was wrong :( I know if I put href the link shows up you click and you've moved into the new page, but I don't want to have that click.

appreciate any help.

thanks
nibleto
 
you need to do it within the Flash movie. On the last frame put an action using the getURL command (sample below):

getURL(&quot;introstatic.htm&quot;,&quot;_self&quot;);

You might be able to do it in the HTML but it would be much easier to do it in Flash. Wow JT that almost looked like you knew what you were doing!
 
Just to add a snippet to the above post in case it wasn't obvious, you need to add a layer to the Flash movie to assign this behavior to.
 
Doesn't NEED a layer (but you can do it that way). I does need a keyframe though (both ways!) :-) Wow JT that almost looked like you knew what you were doing!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top