|
-
[CS5] Possible to add _blank URL window dimensions to button?
Hey guys...I've just finished working on an extensive HD intro for my website, which is in 1280x720 resolution.
At the moment, my site has a splash page with 3 buttons on it:
B1) opens the site in fullscreen mode
B2) opens the site in normal window mode
B3) opens a new browser window linking to my intro
I realize the irony of having to ask what seems like such a simple question, but after a few searches, so far I haven't turned up anything.
Here's the AS code I'm using for my intro button:
Actionscript Code:
intro_btn.onRelease = function() { getURL("http://mysite.com/intro.swf", "_blank"); };
I'm wondering if there is a way to somehow specify in that code segment what dimensions I'd like the new window to have? I know this can be accomplished in JavaScript with something like this:
Actionscript Code:
<a href="javascript:void(0)"onclick="window.open('http://www.mysite.com/','linkname','height=1280, width=720,scrollbars=no')">intro</a>
Can this somehow be done in AS? If so, can someone please let me know how I might go about doing it?
Also, I've already tried putting the intro on it's own separate HTML page, but because of resolution and other background contrast issues, I've found that it undoubtedly looks best in a window that is resized to its specific dimensions, rather than having extra space around the edges, top, and bottom.
Thanks in advance for any help regarding this issue!
Tags for this Thread
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
|