1 Reply Latest reply on Dec 17, 2008 11:41 AM by matthew horn

    how to access flex elements or functions from javascript?

    aliahushevich
      Hello, we have the problem listed below:
      I have swf file(Toolbox - toolbox.swf) with element <mx:SWFLoader which presents url to the separate swf file(widget.swf Widget of this toolbox). How can I access method of this inner swf file? I can acces any method of toolbox.swf in javascript like this:
      $('toolbax-id').invokemethod(); - where toolbox-id is the name of toolbox.swf file when I created SWFObject.
      Is there any way access methods of widget.swf? Or any way to acces element mx:SWFLoader of toolbax.swf first, and then.. somehow to invoke methods I need? Please help.