Results 1 to 3 of 3

Thread: Need actionscript to have intro go to home page of site

  1. #1
    Join Date
    Apr 2008
    Posts
    84
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Need actionscript to have intro go to home page of site

    Hi, all
    Flash newbie here.

    I have Flash CS4, and I can't seam to find the code to make my intro go to home.html (and not in a new window) using actionscript 3.0.
    Every code I've found made the pop-up blocker block it.

    I finally just used 2.0 and used getURL("home.html"); but I'd like to use 3.0 (don't ask me why, it just seams like I oughta, hahah).

    Thanks in advance

  2. #2
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    Take a look at this website and just replace "_blank" with "_self" or "_parent".

    http://scriptplayground.com/tutorial...ctionscript-3/

    Hope this helps.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  3. #3
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    If you're trying to launch a new window programtically, the proper behavior for the browser is to block it. There really is no way around it unless you have the user click to launch the new window.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •