Flash Forum, Tutorials, Education & Training

 


Flash Tutorials


Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Question on directory of a javascript pop up window
Jekyll
post May 14 2007, 05:08 PM
Post #1


Newbie
Group Icon

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);");
}
Go to the top of the page
 
+Quote Post
webwasp
post May 15 2007, 09:40 PM
Post #2


King of Kings
Group Icon

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.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 





> Webwasp Flash Forums
New Posts

RSS Lo-Fi Version Time is now: 17th April 2014 - 06:42 AM