Re: [Flashcoders] How to add a DisplayObject into a container withoutusing addChild() method.

2009-08-18 Thread Paul Andrews

Merrill, Jason wrote:

brevity == BAD
  


So then wouldn't you mean to write, "I would consider brevity to be a
bad thing"... instead? ;) 
  

LOL.


Jason Merrill 

Bank of  America   Global Learning 
Shared Services Solutions Development 


Monthly meetings on the Adobe Flash platform for rich media experiences
- join the Bank of America Flash Platform Community 



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

  


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] How to add a DisplayObject into a container withoutusing addChild() method.

2009-08-18 Thread Merrill, Jason
>> brevity == BAD

So then wouldn't you mean to write, "I would consider brevity to be a
bad thing"... instead? ;) 


Jason Merrill 

Bank of  America   Global Learning 
Shared Services Solutions Development 

Monthly meetings on the Adobe Flash platform for rich media experiences
- join the Bank of America Flash Platform Community 


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] How to add a DisplayObject into a container withoutusing addChild() method.

2009-08-18 Thread Latcho

And I'd love to see all your shorthands,  unesthaetic as hell  !
Get your darkest bitwises out.

Don't forget to add in the disclaimer:

This shorthand and the accompanying code are provided as-is. You may use 
it as you please. You may *not* hold me liable for any damage caused to 
you, your company, your neighbors or anyone else, nor for the 
non-maintainability of the written code as a result of implementing  
parts from this post.
Whatever you do with this post, the provided shorthand or the 
accompanying code is at your own risk.


Latcho
Merrill, Jason wrote:

For the record, I love these "get your nerd on, see if you can out-nerd
others" discussions related to Actionscript.  Bring it! 



Jason Merrill 

Bank of  America   Global Learning 
Shared Services Solutions Development 


Monthly meetings on the Adobe Flash platform for rich media experiences
- join the Bank of America Flash Platform Community 




___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

  


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] How to add a DisplayObject into a container withoutusing addChild() method.

2009-08-18 Thread Merrill, Jason
For the record, I love these "get your nerd on, see if you can out-nerd
others" discussions related to Actionscript.  Bring it! 


Jason Merrill 

Bank of  America   Global Learning 
Shared Services Solutions Development 

Monthly meetings on the Adobe Flash platform for rich media experiences
- join the Bank of America Flash Platform Community 



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] How to add a DisplayObject into a container withoutusing addChild() method.

2009-08-17 Thread Muzak

Not to mention, a class adding itself to its parent ?? eeew..

- Original Message - 
From: "Steven Sacks" 

To: "Flash Coders List" 
Sent: Monday, August 17, 2009 10:53 PM
Subject: Re: [Flashcoders] How to add a DisplayObject into a container 
withoutusing addChild() method.


I don't understand why you would not want to write a single line of code in the 
class where it would provide the most clarity, and instead write MORE code in 
another class obscuring the behavior that is going on.  In other words, you're 
writing more code to write the same code.  You're going to write addChild either 
way, why make it more complicated than it needs to be?


Always follow the KISS principle.


BTW, Ekameleon, you should use

if (target)

Instead of

if (target != null)





___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders