|
||||||
|
||||||
![]() ![]() |
May 14 2007, 05:08 PM
Post
#1
|
|
|
Newbie Group: Members Posts: 3 Joined: 2-May 07 Member No.: 3,151 |
I'm struggling understanding a few things about javascript pop-up windows. I have the code and I've seen basic examples, but I'm confused on how the code functions.
popup_button.onRelease= function (){ getURL ("java script:NewWindow=window.open('http://www.styledirection.com/','newWin','width=400,height=300,left=0,top=0,toolbar=No,location=No,scrollbars=No,status=No resizable=No,fullscreen=no'); NewWindow.focus();void(0);"); } So the button tells it to pop up a window accessed from my website. I'd like pop-up window to open another flash window. Do I do this by saving a seperate flash file saved as an html file in my directory and then addressing this? Such as this. popup_button.onRelease= function (){ getURL ("java script:NewWindow=window.open('http://www.styledirection.com/about.fla','newWin','width=400,height=300,left=0,top=0,toolbar=No,location=No,scrollbars=No,status=No resizable=No,fullscreen=no'); NewWindow.focus();void(0);"); } |
|
|
|
May 15 2007, 09:40 PM
Post
#2
|
|
![]() King of Kings Group: Root Admin Posts: 1,017 Joined: 26-July 04 From: Auckland, New Zealand Member No.: 2 |
I guess you could get a Flash file to open the Flash Player in full screen but I believe that the Flash Player would need to be installed on the users computer? So it is easier just to open a new HTML page with the Flash Movie set to 100%.
To learn how to creat a Pop Up Window seee here: Pop Up Windows To learn how to scale your Flash Movie look here: Publishing a Flash Movie -------------------- Phil Schulz - Site Editor.
|
|
|
|
![]() ![]() |
|
|
|
|
|
|
Lo-Fi Version | Time is now: 25th May 2013 - 02:32 PM |