[Arp] ARP app loaded into swf

Christophe Herreman lists at herrodius.com
Tue Mar 7 07:47:58 PST 2006


This is actually a bug in the controllertemplate. The initialization of 
the commands and the commandlog should not be done in the constructor 
but in the registerApp method.

Try it, it should work. We had the same issue some weeks ago.

regards,
Christophe

Dan Thomas schreef:
> Hey,
>
> I have a small ARP app that is being loaded into a standard flash
> website, the intention was that this app could be added as a form of
> 'widget' by other developers regardless of their knowledge of the app.
>
> Basically:
>
> var myMCL = new MovieClipLoader();
> myMCL.loadClip("myArpApp.swf", "myArpApp");
>
> will output the app on the loading swf without issue. However when the
> same code is used to reload the app (say a user goes from one page of
> the site and back again), I get command loading errors:
>
> ERROR The command myWonderfulCommand has already been added to the
> Controller.
>
> Which I believe is something to do with GC not destroying all of the
> instances within my app(?). Any suggestions as to how I can get around
> this much appreciated.
>
> Cheers,
>
> Dan
>
> This message and any attachments should only be read by those persons to whom it is addressed and be used by them for its intended purpose.  It must not otherwise be reproduced, modified, distributed, published or actioned. If you have received this e-mail in error, please notify us immediately by telephone on 01202 237000 and delete it from your computer immediately. This e-mail address must not be passed to any third party or be used for any other purpose. Every reasonable precaution has been taken to ensure that this e-mail, including attachments, does not contain any viruses. However, no liability can be accepted for any damage sustained as a result of such viruses, and recipients are advised to carry out their own checks. 
>
>
> Moov2 Ltd cannot accept liability for statements made which are clearly the senders own and not made on behalf of the Moov2 Ltd. An e-mail reply to this address may be subject to interception or monitoring for operational reasons or for lawful business purposes.
>
>
>
> _______________________________________________
> Arp mailing list
> Arp at ariaware.com
> http://ariaware.com/mailman/listinfo/arp_ariaware.com
>
>
>   





More information about the Arp mailing list