This content has been marked as final. Show 4 replies
What is the error?
Thanks for your response. I am gettign different errors in Mozilla and IE, but i am not sure why :(
In IE, i get the following error - "Object doesnt support this property or method"
In Mozilla i get the following error - "worldcup.myFlexFunction is not a function"
Thanks in advance
Why don't u use fscommand function
It looks like you're not initializing the app properly:
<mx:Application xmlns:mx=" http://www.adobe.com/2006/mxml"
layout="horizontal" creationComplete="initApp()" height="50">
use the creationComplete attribute.
Also, it's not true in this example, but similar errors might occur if you try to
run the Flex function from the html onLoad event. The browser likely fires
the event before flash is ready.