-
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
-
Senior Member
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
-
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
-
try getting rid of - End On
-
can's get rid of END ON- i'm in flash 4 and getting rid of it, gets rid of the whole thing
-
Senior Member
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
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|