Flash Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignFlash Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old November 26th, 2003, 05:06 AM
musher5 musher5 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: Barcelona / Spain
Posts: 103 musher5 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 h 51 m 38 sec
Reputation Power: 5
Question 2 actions in 1 click

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

Reply With Quote
  #2  
Old November 27th, 2003, 03:35 AM
Tann San Tann San is offline
Gotta get to the next screen..
Click here for more information.
 
Join Date: Nov 2003
Location: Legion of Dynamic Discord
Posts: 4,584 Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)  Folding Points: 7835 Folding Title: Novice Folder
Time spent in forums: 3 Weeks 5 h 42 m 29 sec
Reputation Power: 534
Facebook MySpace
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

Reply With Quote
  #3  
Old November 27th, 2003, 09:41 AM
musher5 musher5 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: Barcelona / Spain
Posts: 103 musher5 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 h 51 m 38 sec
Reputation Power: 5
Hi Tann, thanx for your answear but I'm quite beginner in flash, can u help a little bit more on coding this????

musher5

Reply With Quote
  #4  
Old November 27th, 2003, 09:48 AM
musher5 musher5 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: Barcelona / Spain
Posts: 103 musher5 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 h 51 m 38 sec
Reputation Power: 5
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

Reply With Quote
  #5  
Old November 27th, 2003, 10:03 AM
Tann San Tann San is offline
Gotta get to the next screen..
Click here for more information.
 
Join Date: Nov 2003
Location: Legion of Dynamic Discord
Posts: 4,584 Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)  Folding Points: 7835 Folding Title: Novice Folder
Time spent in forums: 3 Weeks 5 h 42 m 29 sec
Reputation Power: 534
Facebook MySpace
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

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignFlash Help > 2 actions in 1 click


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway