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

Reply via email to