A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: why am i getting this extraneous blank window

  1. #1
    Senior Member
    Join Date
    Dec 2001
    Posts
    161
    I have this script on a button

    On (Release)
    Get URL ("javascript:window.open('http:www.oymdesign.co m/feature/feature.html','feature','height=504 width=704 scroll=0');void(0)", window="_blank")
    End On

    so that a new window with set dimentions will open with now scrollbars and still leave the previous window in tact (not load the url that's loading into the new window into the previous windwow as well)

    however when I load the new window another blank untitled window also appears. how do I fix this.

    if you want to see it - my site is
    http://www.oymdesign.com/back/inde.html
    then click on flash,
    then click on capabilities,
    then click on feature

    thanks

  2. #2
    Senior Member catbert303's Avatar
    Join Date
    Aug 2001
    Location
    uk
    Posts
    11,222
    Try

    On (Release)
    Get URL ("javascript:window.open('http:www.oymdesign.co m/feature/feature.html','feature','height=504 width=704 scroll=0');void(0);")
    End On


  3. #3
    Senior Member
    Join Date
    Dec 2001
    Posts
    161
    ok, i tried that, i had tried similar things before,- getting rid of window=_blank
    and I get the same result, I get "the page cannot be found" message when I upload it, the only way it seems to work is with _blank

  4. #4
    newayblue.com
    Join Date
    Jan 2002
    Location
    Leicester, UK
    Posts
    971
    try getting rid of - End On

  5. #5
    Senior Member
    Join Date
    Dec 2001
    Posts
    161
    can's get rid of END ON- i'm in flash 4 and getting rid of it, gets rid of the whole thing

  6. #6
    Senior Member catbert303's Avatar
    Join Date
    Aug 2001
    Location
    uk
    Posts
    11,222
    Sorry, I didn't notcie there were spaces in between the width and height stuff, my fault, this one should work

    Code:
    On (Release)
          Get URL ("javascript:newWindow=window.open('http:www.oymdesign.com/feature/feature.html','feature','width=704,height=504,scrollbars=0');void(0);")
    End On

  7. #7
    Senior Member
    Join Date
    Dec 2001
    Posts
    161
    YES!

    that worked, thanks

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