This may be a bit OT, but speaking of composition over inheritance this--is a wonderful article that has served me well in Flash Development: http://www.javaworld.com/javaworld/jw-08-2003/jw-0801-toolbox.html
ASO files are the root of all evil. I just finished a project where I was counting down to times in the future (hockey games). In order to unit test it, I had to keep changing my system clock. If you save scripts in the future and compile in the past, ASO goes haywire... I guess it's better than watching the status bar, but it's got to be confusing for the average newb developer. On 10/7/05, nwebb <[EMAIL PROTECTED]> wrote: > My class is now working using composition, which sure beats writing jsfl > scripts to check and uncheck all those export options each time! > Ah, is this what GoF meant when they said 'Favour composition over > inheritence'?! ;) > > My only slight concern is that TextField.StyleSheet isn't the only class to > act this way. Would be interested to hear from others if they discover more > problem classes. > > > > On 10/7/05, Muzak <[EMAIL PROTECTED]> wrote: > > Well, it's not really fixed, 'cos each time you change a class a new .aso > file is created. > > And then the error pops up again (talking about Neil's example). > > So you then have to go through the whole process of removing the 'export' > option again.. > > > > Nasty!! > > > > Muzak > > > > ----- Original Message ----- > > From: "Richard Leggett" < [EMAIL PROTECTED]> > > To: "'Open Source Flash Mailing List'" <[email protected]> > > Sent: Friday, October 07, 2005 11:36 AM > > Subject: Re: [osflash] problem with 'super' in class inheritance > > > > > > > There was also a few issues reported by some people a while back > regarding > > > library items "corrupting" (in this manner) between versions of the IDE. > > > These were files created in MX2004 and opened in 8, but I guess it could > > > happen between versions of 8 too. > > > > > > Glad it's fixed! :) > > > > > > Rich > > > > > > -----Original Message----- > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > On > > > Behalf Of Muzak > > > Sent: 07 October 2005 10:31 > > > To: nwebb; Open Source Flash Mailing List > > > Subject: Re: [osflash] problem with 'super' in class inheritance > > > > > > Here's what worked: > > > > > > Compiled first and got the error. > > > Unchecked the 'export in first frame' for the symbol in library. > > > Re-compiled, no error. > > > Then 'checked' the 'export in first frame' again, and re-compiled.. no > > > error. > > > > > > Untill you remove the ASO files, then you have to start over, lol. > > > > > > You should definitely report this and keep the sample file online so MM > can > > > have a look at it. > > > > http://www.macromedia.com/cfusion/mmform/index.cfm?name=wishform > > > > > > regards, > > > Muzak > > > > > > ----- Original Message ----- > > > From: "nwebb" <[EMAIL PROTECTED]> > > > To: "Open Source Flash Mailing List" <[email protected]> > > > Sent: Friday, October 07, 2005 9:18 AM > > > Subject: Re: [osflash] problem with 'super' in class inheritance > > > > > > > > > Muzak, deleting the ASO files is not resolving this particular problem > for > > > me, and I'm doing it manually just to be absolutely sure. I've also > > > uninstalled Flash MX04 incase having both versions on my machine was > causing > > > errors - I'd be grateful if you'd also check out the sample movie I > uploaded > > > :) > > > > > > > > > > > > > > > _______________________________________________ > > > osflash mailing list > > > [email protected] > > > http://osflash.org/mailman/listinfo/osflash_osflash.org > > > > > > > > > _______________________________________________ > > > osflash mailing list > > > [email protected] > > > http://osflash.org/mailman/listinfo/osflash_osflash.org > > > > > > > > > > > _______________________________________________ > > osflash mailing list > > [email protected] > > http://osflash.org/mailman/listinfo/osflash_osflash.org > > > > > _______________________________________________ > osflash mailing list > [email protected] > http://osflash.org/mailman/listinfo/osflash_osflash.org > > > _______________________________________________ osflash mailing list [email protected] http://osflash.org/mailman/listinfo/osflash_osflash.org
