PHP User Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: bbcode_highlight in ..../includes/functions.php on line 4197
[RESOLVED] call javascript alert dialouge window?
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: [RESOLVED] call javascript alert dialouge window?

  1. #1
    Senior Member calmchess's Avatar
    Join Date
    Sep 2006
    Location
    Earth
    Posts
    2,588

    resolved [RESOLVED] call javascript alert dialouge window?

    I think I remember hearing that you can trigger a java alert message from within actionscript out to the html page but whats the code to do such a thing?
    ~calmchess~

  2. #2
    Total Universe Mod jAQUAN's Avatar
    Join Date
    Jul 2000
    Location
    Honolulu
    Posts
    2,429
    Actionscript Code:
    import flash.external.ExternalInterface;

    ExternalInterface.call("alert", "hello world");

    allowScriptAccess must be set to true in the html <object> tag

  3. #3
    Senior Member calmchess's Avatar
    Join Date
    Sep 2006
    Location
    Earth
    Posts
    2,588
    thanks
    ~calmchess~

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center