IWeb-Flash and autotrack to next page

politicaljunkie

macrumors newbie
Original poster
Dec 12, 2009
2
0
I have iWeb 09 and finally finished with my Flash intro in CS4. I've embedded it into the site, but instead of having a button at the end, I would like the site to automatically move to my home page after the intro is done (I already have a skip button).

Any ideas on how to do this? I tried opening up the Iweb site in Dreamweaver, but it fails to open......
 

samwich

macrumors regular
Aug 5, 2007
183
0
on the last frame of your flash animation create a new layer called actions and add the code to the frame

for as2:
getURL("http://www.example.com");

for as3:

var theURL:URLRequest = new URLRequest ("http://www.example.com");
navigateToURL(theURL, "_self");
 

politicaljunkie

macrumors newbie
Original poster
Dec 12, 2009
2
0
Thanks Samwich.

It appears it works now but with another set of problems. When I connect directly to the flash on the FTP site, it auto-opens my Safari and goes to my homepage. Even the buttons work (replay and skip).

However, when I embed the Flash into iWeb 09 (via HTML snippet), test it, publish onto FTP and then go to the webpage, the autotrack to my home page doesn't work and my skip button refuses to work as well.
 

Similar threads

  • jasondao
4
Replies
4
Views
996
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.