Open a modal window from a Flash movie

AS1 / AS2

In the action of your flash button, you have to execute this code:

getURL("javascript:$.nyroModalManual({url:'YOUR URL'});");

AS3

In the action of your flash button, you have to execute this code:

ExternalInterface.call("$.nyroModalManual({url:'YOUR URL'})");

http://nyromodal.nyrodev.com/wiki/index.php/Open_a_modal_window_from_a_Flash_movie

Join the Conversation

3 Comments

  1. Regards, help, it does not work

    on (release) {
    getURL(“javascript:$.nyroModalManual({url:’http://www.youtube.com’});”);
    }

    ////////or

    on (release) {
    getURL(“javascript:$.nyroModalManual({url:’img/img1.jpg’});”);
    }

    //////// and html /////

    $(function() {
    $(‘.nyroModal’).nyroModal();
    });

    /////////////
    thanks

Leave a comment