I can't get SWFKit to work in FlexBuilder 3 with Flash Player 9..
I followed these steps and added the SWF Kit wrapper classes to my Flex Build Path
SWF to EXE- Using SWFKit Series 3 Objects in Flex Builder 2
When I try a simple Flex application, it gives me a compile error because it doesn't recognize the Shell class:
1061: Call to a possibly undefined method runAndWait through a reference with static type Class.
How do I fix this?? Thanks sooo much!
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:Button x="180" y="286" label="Button" id="MyBtn" click="OnClickMyBtn()"/>
<mx:Script>
<![CDATA[
import SWFKit.*;
import SWFKit.Shell;
import SWFKit.Application.*;
private function OnClickMyBtn():void
{
Shell.runAndWait("notepad.exe");
}
]]>
</mx:Script>
</mx:Application>