Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Open full-size HTML page bly clicking Flash Button.

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hi,

For example:

1--I have a movie playing in my browser with a button on stage.
("A.html" + "A.swf")

2--When i click this button a new browser window must open "FULL SCREEN". ("B.html" + "B.swf" in it.)
[/red]

3--This browser window ("B.html") must always stay on top of all window's (Like "A.html" and all other window's.)

4--In the full-screen window ("B.html"):
Movie ("B.swf") has two buttons on stage:
--The first button loads a new movie ("C.swf") in the full-screen page. ("B.html")
--The second button opens a pop-up window. ("pop_up.html")

5--The pop-up window ("pop_up.html") must always stay on top of the full-screen window. ("B.html")


If someone can help me with this i would be very grateful.
I cant find out myself.

Vincent,
 
This can only be done by combining flash with javascript this is what you do:

Put the following scipt in your HTML page in the header:

<SCRIPT LANGUAGE=&quot;JavaScript&quot;>

function openWindow(URL) {

newWindow = window.open(URL &quot;myNewWindow&quot;, &quot;toolbar=0, location=0, directories=0, status=0, menubar=0, scrollbars=0, resizable=0, width=200, height=250, left=80, top=180&quot; )

}
//Adjust the values at your own needs
</SCRIPT>

Next when you want a button in flash want to open the new page you enter under
&quot;URL:&quot; javascript:eek:penWindow(
this should do it, easy no?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top