[osflash] arp newbie

Aral Balkan aral at ariaware.com
Fri Aug 5 01:21:24 PDT 2005


Hi Wayne,

Just get rid of that line (the "throw new Error..." one). If you like, 
in its place you can put:

trace ("ERROR ControllerTemplate::handleEvent - Unknown command called: 
"+commandNameToCheck+" from "+viewRef+". Please add this command to the 
Controller in its addCommands() method.");

All the best,
Aral

Wayne Mcfetridge wrote:

> Hi…
>
> I am tackling a modest sized flash app as an intro to ARP.
>
> I have built it all no problems but I found out later that I need to 
> publish to Flash Player 6.
>
> The version of ARP that I had (2.02?) had a 
> ControllerTemplateForFlashPlayer6. I extended this to make my 
> controller but then it wouldn’t compile.
>
> **Error** C:\Documents and Settings\wayne\Local Settings\Application 
> Data\Macromedia\Flash MX 
> 2004\en\Configuration\Classes\org\osflash\arp\ControllerTemplate.as: 
> Line 118: You must export your movie as Flash 7 to use this action.
>
> throw new Error ("ERROR ControllerTemplate::handleEvent - Unknown 
> command called: "+commandNameToCheck+" from "+viewRef+". Please add 
> this command to the Controller in its addCommands() method.");
>
> I have grabbed the latest files from the subversion repository and 
> noticed that there is no longer any ControllerTemplateForFlashPlayer6.
>
> This is probably very easy to solve but not for this little black duck.
>
> Regards
>
> Wayne McFetridge
>




More information about the osflash mailing list