Great Demo of HTML 5

Out of context: Reply #6

  • Started
  • Last post
  • 6 Responses
  • Boz0

    " If only Flash had the same ease of talking to the browser itself it probably still would be with us. Connecting AS with JS always seemed like ductaping. "

    Eh? What's difficult about ExternalInterface? And Flash is still with us I believe.. Actually 95% of the web is running and it represents 75% of the websites on the internet, so not sure what you mean by "it would still be with us".

    var conJS = ExternalInterface.call("JSfuncti...

    if you want to communicate from JS to AS3 add a JS listener

    ExternalInterface.addCallback("J... testCallFunction);

    function testCallFunction():void{
    trace("Called!");
    }

    and you call that function from JS on a flash object in the browser.

    Shockingly complicated.

View thread