RE: [Flashcoders] E4X, it's just not my day.

2010-02-06 Thread Merrill, Jason
Not sure if this is the problem but it never hurts to also try deleting your .aso files as well, to be sure flash isn't trying to compile an old file. If it still seems to be doing this - check the timestamps on the .as files - that can cause problems too if the .aso files. Also, if you have

RE: [Flashcoders] E4X, it's just not my day.

2010-02-06 Thread Merrill, Jason
that can cause problems too if the .aso files. What I meant to type was , that can cause problems too if the .aso files have a timestamp inconsistency with the .as files. Jason Merrill Bank of America Global Learning Learning Performance Soluions Join the Bank of America Flash

[Flashcoders] XML question with a test case

2010-02-06 Thread Alexander Farber
Hello, I've prepared a simple test case for my problem: var xml1:XML = pref lobby user id=DE2 name=Alex avatar=2_1211369175.jpg/ /lobby game id=0/ /pref; var xml2:XML = pref user0 id=DE2 name=Alex avatar=2_1211369175.jpg/

Re: [Flashcoders] and now..CLIENT now hates Flash

2010-02-06 Thread Anthony Pace
I think it has very little, if at all, to do with Apple wanting Adobe to produce a better product, and more to do with licensing fees, and revenue from app store purchases. There would be a lot of lost revenue from the app store if you could just put flash on your device and play a game

Re: [Flashcoders] XML question with a test case

2010-02-06 Thread Alexander Farber
Thank you - I'll do, but On Sat, Feb 6, 2010 at 7:01 PM, Juan Pablo Califano califa010.flashcod...@gmail.com wrote: Because your second query returns an empty list instead of null. So, instead of checking for null, just check the length of the result. trace(describeType(xml1.lobby));

Re: [Flashcoders] XML question with a test case

2010-02-06 Thread Juan Pablo Califano
I don't think so. I think that's precisely the reason why it returns an empty list instead of null. So you can safely chain toghether diferent node names in your query. Cheers Juan Pablo Califano 2010/2/6 Alexander Farber alexander.far...@gmail.com Thank you - I'll do, but On Sat, Feb 6,

Re: [Flashcoders] XML question with a test case

2010-02-06 Thread Alexander Farber
Thank you ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] Re: is it ever ideal to NOT use weak references?

2010-02-06 Thread Steven Sacks
function loadImage():void { var loader:URLLoader = new URLLoader(); loader.addEventListener(Event.COMPLETE, onComplete, false, 0, true); loader.load(new URLRequest(url)); } function onComplete(event:Event):void { trace(event); } Guess what never fires? If you guessed onComplete,