You can try
ExternalInterface.call()


To call  a method "myhelloworld" in helloworld.class   from *.mxml
file do the following


ExternalInterface.call("document.classname.myhelloworld",
param1,parma2 etc) ;// action script code


and add the following into the html container, where 'swf' file
corresponds to above action script is embedded

<applet id="classname"
name="myclassname"
code="helloworld.class"
</applet>
-----------------------------------------
through ExternalInterface.call() ,  you can also call javascript
written in the html container



~saif~



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to