|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi everyone!!!!
I have serious problems in coding these.... by entering to a site I have the main window behind and a costumed pop-up window launched automatically with my swf file. Here is the problem: At the end of the movie I want the costumer to choose between two options, one click to a button and then I'ld like to get a URL in the main window (the one behind the pop-up...so not self, no blank, no top, parent??????) and at the same time I want this pop-up window to close. So: click-----get URL and window self close Thanx a lot in advance |
|
#2
|
|||
|
|||
|
Hey, try java. Write a function that opens the target window with a target name. Then you can reference the new popup window to issue the close command. Search for java flash and close window. You should find something pretty easily
-Tann |
|
#3
|
|||
|
|||
|
Hi Tann, thanx for your answear but I'm quite beginner in flash, can u help a little bit more on coding this????
musher5 |
|
#4
|
|||
|
|||
|
I'm gonna explain better my problem.
I have a main full-screen (index.html) that automatically launches a pop-up window that contains a flash movie. So I have 2 windows at the same time, in the back the full-screen one, and infront the pop-up win. At the end of the pop-up movie, the user click one button and I want 2 things to happen. 1. Close the pop-up window. 2. Load an html page (home.html) in the full-creen window that remains in the back. Can u help me pleassssssse????? I have serious problems to find a solution. Thanx in advance musher5 |
|
#5
|
|||
|
|||
|
Hi, I havent really done that much java / flash interaction. When I have I just read up alot on what I need to do.
You could try something like on(release) { getURL("javascript:window.close()", _self); } to close the popup window but I'm not sure if that will work. I'm not sure how to open the URL in the background window. I'm pretty sure you need to use an external language like javascript. I think theres someone else who recently posted asking the same thing. Dont think they got a reponse yet. So you have a few things to read up on, try hotbot.com with things like: Flash call java function flash close window flash load html parent window etc... Hope you can help yourself on this one -Tann |
![]() |
| Viewing: Dev Shed Forums > Web Design > Flash Help > 2 actions in 1 click |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|