PDA

View Full Version : swf in a pop up centered window



lukedarkside
October 19th, 2004, 05:24 AM
is it possible create a pop up window with, as target, a swf file? How? What code I can use for the button that logs the swf pop up centered window?

eron19
October 19th, 2004, 05:28 AM
uhh....what did you say again?

rberry88
October 19th, 2004, 08:28 AM
Are you looking for something like this:

http://rberry883.home.comcast.net/firstintro.html

Click on the ENTER button in the middle of the screen and you should see the popup.

If this is what you are trying to do, then there is a good tutorial on it over at www.webwasp.co.uk that helped me.

ballerina
October 19th, 2004, 05:28 PM
there's one on this site too

http://www.kirupa.com/developer/mx/centered_popup.htm

i used it before and it worked good

lukedarkside
October 28th, 2004, 04:03 AM
yes, but this tutorial is created for a pop up window from an html file...I'm looking for a tutorial about a pop up window that loads a swf file...

lukedarkside
October 28th, 2004, 09:23 AM
I'm looking for an action to load an swf movie in a centered pop up window. Infact, the only one action that I know is "getUrl", but I use it only for a swf file converted in HTML, and it doesn't load a swf file

The Brown Cow
October 28th, 2004, 03:40 PM
Javascript?

You can use Javascript to create a popup and center it onscreen. Just point the link to the .swf file and it should work fine. Flash's getURL() function should work too, but you wont be able to center it.

lukedarkside
October 29th, 2004, 03:31 AM
Ok, but if I have more than one link to create the pop up window. My problem is simple: I've a flash page in witch I've 3 buttons that link to 3 different pop up pages...I've found only tutorials that explains what to do with one link per page...what code I must use for each button? And about javascript? I'm a begginer, so please explain me in simple way...

lukedarkside
November 3rd, 2004, 03:57 AM
I've tried with getUrl action directed to a swf file, and it seems to work well...thanks