A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: [RESOLVED] Open url in new Explorer window

  1. #1
    Junior Member
    Join Date
    Dec 2008
    Posts
    21

    resolved [RESOLVED] Open url in new Explorer window

    Using CS3
    AS 2.0


    I have a button that when pressed it opens a url in a new window.
    Works on Safari great, but not in Explorer.

    Code...

    on (release) {
    getURL("http://www.name of website", "_blank");
    }


    Thanks in advance for any help you can provide.

  2. #2
    Flash/Flex Developer samac1068's Avatar
    Join Date
    Apr 2007
    Location
    Here, no there
    Posts
    1,813
    Well your code is correct and I've used that code many times to open a new browser window, there may be some other configuration issue.
    Some people are like Slinkies, not really good for anything, but they bring a smile to your face when pushed down the stairs.

  3. #3
    Junior Member
    Join Date
    Dec 2008
    Posts
    21
    OK... I loaded the file up to the server and it works. Files do not work on local PC. Glad I got a Mac to test on.

  4. #4
    Flash/Flex Developer samac1068's Avatar
    Join Date
    Apr 2007
    Location
    Here, no there
    Posts
    1,813
    Strange, that command should work both locally and on the server. I've tested it tonight and it worked like a charm. Are you getting an error, or is it failing to open a new browser window/browser tab?
    Some people are like Slinkies, not really good for anything, but they bring a smile to your face when pushed down the stairs.

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