IWeb-Flash and autotrack to next page

Discussion in 'Web Design and Development' started by politicaljunkie, Dec 12, 2009.

  1. politicaljunkie macrumors newbie

    Dec 12, 2009
    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......
  2. samwich macrumors regular

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

    for as2:

    for as3:

    var theURL:URLRequest = new URLRequest ("http://www.example.com");
    navigateToURL(theURL, "_self");
  3. politicaljunkie thread starter macrumors newbie

    Dec 12, 2009
    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.

Share This Page