Log in

View Full Version : Fullscreen like Zinio



Eidher
04-04-2008, 10:55 PM
Hi, I have a web page with a link to a flash, I need that this flash open in a popup window, but that flash should have a button that allows to open that window in fullscreen, that is not like youtube, it should put the flash and the window in fullscreen like the zinio magazines in http://www.zinio.com.

Thanks.

Medyman
04-04-2008, 11:15 PM
You can't do that directly with Flash/actionscript. You need to use some javascript.

Use a script like this (http://www.dynamicdrive.com/dynamicindex8/window1.htm) and use a regular getURL and add a link as you would to a href attribute in an anchor tag.

Eidher
04-07-2008, 03:27 PM
I did like you said, and I put this in the actions of a button in flash:

on (release) {
getURL("fullwin('http://www.dynamicdrive.com')");
}

But when I press the button, nothing happens. What do you think is wrong?

Thanks.

Medyman
04-07-2008, 07:57 PM
You need the javascript: identifier before the link.

Try this.


on (release) {
getURL("javascript:fullwin('http://www.dynamicdrive.com')");
}