A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: opening pages in same window

  1. #1
    :: rolla :: bluedot's Avatar
    Join Date
    Mar 2001
    Location
    home
    Posts
    273
    hey,

    i have a movie clip, that has an action to take your browser to a different site on each frame. they are time delayed, and i want them to open the sites in the same window. the action i have is this.
    Code:
    getURL ("http://www.aol.com", "_anon");
    where "_anon" is the name of the new window. when the time delay tells the MC to go to the next frame, it opens the next page in a new window, but in the AS i have the same target window. any ideas or help???

    JÃ*©Ôß

  2. #2
    Senior Member
    Join Date
    May 2001
    Location
    Peoria, Arizona
    Posts
    1,889
    I think the syntax you're using is to open the URL in a frame called _anon, not a window. I can't remember right now how to access the open window. But I do know that you use location.href= or location.replace(" "); to chang the URL.

  3. #3
    :: rolla :: bluedot's Avatar
    Join Date
    Mar 2001
    Location
    home
    Posts
    273

    hey

    ok,

    in your last post, was the word "location" the name of the window, the instance name of a clip, or part of the function??? im kinda confused. thanks

    JÃ*©Ôß

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center