Talk:Configurable avatar (Flash tutorial)

Have you tested that unload function you've got there?

I bet it never runs. You're cargo culting.

It would need to be listening on the LoaderInfo of the thing that loaded you (root.loaderInfo), or the AvatarControl, which installs a listener on the LoaderInfo and redispatches it.

But in any case, the Body.as (at least, the original, the one we distribute now, and MovieClipBody.as) both set up UNLOAD listeners themselves, on the AvatarControl. So this is all completely unnecessary.

I'm going to edit the page and remove the lines.

Does the tutorial zip file contain the same files as those on the SVN, or does it contain older versions from pre SDK .62? If it contains the same stuff, shouldn't it all work with the latest SDK without needing to be edited? --Sadiekate 21:08, 9 December 2009 (UTC)