Re: [Flashcoders] Problem with MXNA

2006-03-10 Thread Darron J. Schall
franto wrote: does anyone has same problem? For MXNA-specific questions, you should send an email to [EMAIL PROTECTED] -d ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

Re: [Flashcoders] eval gone in AS3, how to get reference to mc via target name?

2006-03-03 Thread Darron J. Schall
Boon Chew wrote: With the eval being gone in AS3, does anyone know how to get to the reference of a movieclip (via the target name string) without using eval? I know we can instantiate the class via the _global namespace but not positive about mc's. Use getChildByName( name):

Re: [Flashcoders] eval gone in AS3, how to get reference to mc via target name?

2006-03-03 Thread Darron J. Schall
Boon Chew wrote: Will getChildByName work with a nested target name (e.g. _level0.mc1.mc2.mc3)? No, it gets the child with the particular name in the display object container. You'll want to split the string apart: // Not tested - but you get the basic idea var parts:Array = name.split(

Re: [Flashcoders] Multithreaded AS1 - AS2 - AS3 - AS4 - AS5

2006-02-16 Thread Darron J. Schall
JesterXL wrote: Nope, not viable, just the only way. Sorry to contradict you bro, but ExternalInterface can block the player. http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=2200.html When you call an external method via

Re: [Flashcoders] Multithreaded AS1 - AS2 - AS3 - AS4 - AS5

2006-02-16 Thread Darron J. Schall
JesterXL wrote: Have you tried this with JavaScript's alert method? No, but I've done it with C# - waiting for database access via ExternalInterface freezes the player until the method completes. Does it not block when you use alert()? What about prompt()? -d

Re: [Flashcoders] AS3: How to get BitmapData from embeded image

2005-11-14 Thread Darron J. Schall
Tomas Lehuta wrote: Hello, I've got a question on AS3 DisplayObject API.. How can I get BitmapData from ebedded image? Since images are embeded via the construct [Embed(source=myimage.jpg)] private var MyImage:Class; If you're just trying to display the image, this should

Re: [Flashcoders] AS3: How to get BitmapData from embeded image

2005-11-14 Thread Darron J. Schall
Tomas Lehuta wrote: No no, Darron, I'd like to extract image's BitmapData to be able to manipulate it. So prior to displaying it via addChild() I need to do some transformations and image distortion.. Is it possible with new API? Ah, sorry - that's what I get for not fully reading the question

Re: [Flashcoders] Undefined and null in Flex2

2005-10-21 Thread Darron J. Schall
Spike wrote: Since Object is the only type that can store undefined, if you try to set a var of another type to undefined, it will be coerced into something different. For example, setting a Number to undefined will coerce it to NaN. The complete list, by the way, is on the Wiki here:

Re: [Flashcoders] Macromedia unveiling Flex2andFlash9:communicationor cacophony ?

2005-10-19 Thread Darron J. Schall
hank williams wrote: You are the second person to say this (Darron Schall being the first), and I hope you are right, but it does **directly** contradict the manual. The manual states that to us AMF/Remoting that you must have flex enterprise server. They dont mention supporting their existing