0 Replies Latest reply on Aug 5, 2011 2:08 AM by Shirker1

    Running JavaScript From AS3 IN Flash Builder (JS Not Loading)

    Shirker1 Level 1

      I have an HTML mxml component that has its location property set  to a javaScript and it works fine.

      When I convert this component to an AS3 class with var html:HTML = new HTML(),

      I get an error that the script is not loaded.

      I put the html in a static variable  and location is set  with a static initializer.

      I also put it in the constructor and it had ample time to load until I clicked another button to call a JavaScript Routine



      Why is it not loading, is there a  difference between mxml HTML component and AS3 HTML component.


      Would appreciate help

      Thank you