Thanks for the feedback guys, let me go back a little to explain why this behavior. I am trying to implement the MVC Design Pattern to a item. Trying to do it properly I am creating my Views as classes and now I wanted to integrate them into my layout.
View 1 Class = menu View 2 Class = content Holder loads View 1 and View 2 Now View 1 has animation as well as View 2 and when tested independently they work great (SWFs) but when they are loaded into the main holder the last SWF plays leaving the first SWF without any animation. Now the animation is being handled with AS so there is no animation in the timeline. Thanks again for the help. Now I'll go back and read the 10 books that cover the subject :) On 4/4/07, Merrill, Jason <[EMAIL PROTECTED]> wrote:
I didn't meant THAT was the conflict he was seeing with the animation, just that he shouldn't name it the same thing so he doesn't have conflicts as he develops the class further. Jason Merrill Bank of America GT&O Learning & Leadership Development eTools & Multimedia Team >>-----Original Message----- >>From: [EMAIL PROTECTED] >>[mailto:[EMAIL PROTECTED] On Behalf >>Of Jesse Graupmann >>Sent: Wednesday, April 04, 2007 8:53 PM >>To: [email protected] >>Subject: RE: [Flashcoders] Combined Classes fail Tween Class >> >>Jason - >> >>I'm pretty sure this is NOT in conflict, but still not good practice. >> >>Since target:MovieClip is a variable local to the >>constructor, you just have to access the class >>target:Application by using this.target. In this case, the >>class's target:Application variable is never touched and >>remains undefined. >> >> >>var target : Application; >>public function Application ( target:MovieClip ) { >> trace( target ) // MovieClip >> trace( this.target ) // Application >>} >> >> >> >>To test the theory, try: >> >> >>target = 5; >>function traceTargets ( target:String ) >>{ >> trace( target ) // a_string >> trace( this.target ) // 5 >>} >>traceTargets ( 'a_string' ); >> >> >> >> >>_____________________________ >> >>Jesse Graupmann >>www.jessegraupmann.com >>www.justgooddesign.com/blog/ >>_____________________________ >> >> >> >> >>-----Original Message----- >>From: [EMAIL PROTECTED] >>[mailto:[EMAIL PROTECTED] On Behalf >>Of Merrill, >>Jason >>Sent: Wednesday, April 04, 2007 3:26 PM >>To: [email protected] >>Subject: RE: [Flashcoders] Combined Classes fail Tween Class >> >>>>target is a movieclip, this helps me to instantiate the class >>>>in the place I desire >> >>Right - so then to remove any potential conflicts, take out: >> >>>>> var target : Application; >> >>Jason Merrill >>Bank of America >>GT&O Learning & Leadership Development >>eTools & Multimedia Team >> >>_______________________________________________ >>[email protected] >>To change your subscription options or search the archive: >>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> >>Brought to you by Fig Leaf Software >>Premier Authorized Adobe Consulting and Training >>http://www.figleaf.com >>http://training.figleaf.com >> _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
_______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com

