Results 1 to 4 of 4

Thread: Fullscreen like Zinio

  1. #1
    Join Date
    Mar 2008
    Posts
    6
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Fullscreen like Zinio

    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.

  2. #2
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    You can't do that directly with Flash/actionscript. You need to use some javascript.

    Use a script like this and use a regular getURL and add a link as you would to a href attribute in an anchor tag.

  3. #3
    Join Date
    Mar 2008
    Posts
    6
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    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.

  4. #4
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    You need the javascript: identifier before the link.

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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •