I know a solution may already be found but this was my first thought and I
am curious how any of you feel about switch (true) for this problem
switch (true) {
case loadedDisplayObject is MovieClip:
case loadedDisplayObject is Bitmap:
}
Is switch (true) just bad practice? and does 'is' not work in this case?
Anyone want to stab at it?
Ktu
On Sat, Dec 4, 2010 at 11:26 PM, Micky Hulse <[email protected]>wrote:
> On Thu, Dec 2, 2010 at 3:17 AM, Karim Beyrouti <[email protected]> wrote:
> > Hopefully the line breaks here wont be too bad, pasting the code:
>
> Very nice!!! Many thanks Karim!!!!
>
> I will test it out and let you know how it goes. :)
>
> Have an excellent day/night!
>
> Cheers,
> Micky
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
--
Ktu;
The information contained in this message may be privileged and/or
confidential. If you are NOT the intended recipient, please notify the
sender immediately and destroy this message.
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders