0 Replies Latest reply on Oct 4, 2012 2:20 AM by l33tian

    Handling Custom JavaScript Events from HtmlLoader Class

    l33tian Level 1

      Hey guys, just a quick question, Is it possible to handle custom javascript events just the way standard events like locationchange and DOMInitialized are handled. Say for example a HTML5 slide application that dispatches custom events when the user moves from one slide to another. I know there is an option to use ExternalInterface to talk to AS3 but for this project of mine, this is not an oiption as this HTML5 Presentation doesnt have any swf content to bridge with.


      Its just a thought since the HTMLloader has access to the javascript window object(or am i wrong). Would it be possible to access a custom function as a prototyped property of the window Object.


      Any form of tip/clarification will be appreciated.