RE: [Flashcoders] Try... catch......

2009-05-10 Thread Mario Gonzalez
One thing to note, is that try,catch(e:Error) is expensive for the AVM because it has to Throw an error. Maybe not for this example or whatever you're creating, but it's something to keep in mind for later. I see a lot of code we receive riddled with that as a way of hiding run-time errors AVM1

Re: [Flashcoders] RegEx

2009-05-10 Thread Ian Thomas
Match and replace work fine for me outside of AIR. Ian On Sat, May 9, 2009 at 11:54 PM, Anthony Pace wrote: > I am reading the documentation, and it says that match and replace are only > for air 1.0 and they have that nasty trilobal air logo. > > What the heck  If that is the case then why

Re: [Flashcoders] Try... catch......

2009-05-10 Thread Juan Pablo Califano
I might be wrong, but I think hanlding an exception / error is not the expensive part. The expensive part is throwing, as you said. But, if you have: var container:Sprite = null; container.addChild(child); The error will be thrown, whether you have a handler for it or not. The "cost" here is th

RE: [Flashcoders] e.target subobjects how do I refrence??

2009-05-10 Thread liutoday
function down(e:MouseEvent):void{ var _obj:Button = e.target Button; TweenMax.to(obj.menuSquare_mc, .3, {alpha:.06, delay:0, ease:Sine.easeOut}); } > Date: Thu, 7 May 2009 09:29:05 -0500 > From: zu...@zadesigns.com > To: flashcoders@chattyfig.figleaf.com > Subject: [Flashcode

[Flashcoders] Creating MXP with Flex Builder?

2009-05-10 Thread Gerry Beauregard
I'm development a library of interactive sound effects in Action Script 3 using Flex Builder. I've got loads of experience with audio coding on various platforms in various languages (especially C++). However, I'm relatively new to Flash development, so I have some (perhaps naive) question