[Flashcoders] Intellij IDEA?

2010-11-18 Thread Merrill, Jason
I've been trying out my copy of Intellij IDEA (Ultimate edition) I got at Max 
this year, and I'm really digging it for Actionscript projects.  I am normally 
a FlashDevelop user, but it has some really nice features FlashDevelop doesn't. 
 There are a few things FlashDevelop does better, but overall, it can go head 
to head on most features and many many other features I'd love to see in 
FlashDevelop. I was wondering if there were any other Intellij users out there 
using it for Flash/Actionscript and what you thought of it compared to other 
AS3 coding tools.

 Jason Merrill
 Instructional Technology Architect
 Bank of America  Global Learning








--
This message w/attachments (message) is intended solely for the use of the 
intended recipient(s) and may contain information that is privileged, 
confidential or proprietary. If you are not an intended recipient, please 
notify the sender, and then please delete and destroy all copies and 
attachments, and be advised that any review or dissemination of, or the taking 
of any action in reliance on, the information contained in or attached to this 
message is prohibited. 
Unless specifically indicated, this message is not an offer to sell or a 
solicitation of any investment products or other financial product or service, 
an official confirmation of any transaction, or an official statement of 
Sender. Subject to applicable law, Sender may intercept, monitor, review and 
retain e-communications (EC) traveling through its networks/systems and may 
produce any such EC to regulators, law enforcement, in litigation and as 
required by law. 
The laws of the country of each sender/recipient may impact the handling of EC, 
and EC may be archived, supervised and produced in countries other than the 
country in which you are located. This message cannot be guaranteed to be 
secure or free of errors or viruses. 

References to "Sender" are references to any subsidiary of Bank of America 
Corporation. Securities and Insurance Products: * Are Not FDIC Insured * Are 
Not Bank Guaranteed * May Lose Value * Are Not a Bank Deposit * Are Not a 
Condition to Any Banking Service or Activity * Are Not Insured by Any Federal 
Government Agency. Attachments that are part of this EC may have additional 
important disclosures and disclaimers, which you should read. This message is 
subject to terms available at the following link: 
http://www.bankofamerica.com/emaildisclaimer. By messaging with Sender you 
consent to the foregoing.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] E4X filtered statement returns null

2010-11-18 Thread Mendelsohn, Michael
I'm starting to think CS4 E4X could be buggy.  Depending on which lines I 
comment, the statements, unaltered, work or don't work.  Anyone have experience 
with that?

- MM


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


RE: [Flashcoders] E4X filtered statement returns null

2010-11-18 Thread Mendelsohn, Michael
Thanks Gerry and Deepanjan...

I found a solution, but I'm completely puzzled why it worked and the obvious 
E4X statement you both suggested didn't work. I seem to be getting unreliable 
results.  Maybe it's some logic about the statements I am missing.  I don't 
understand why it all can't be done in one statement, I get null for that.


   dog,cat,bird
   blah blah
   
   
   


//doesn't work for me
topic..asset.(hasOwnProperty("@title") && attribute("title") == 
wording)@filename

// unreliable. Sometimes it works, sometimes it doesn't.  Is it a bug?  I'm not 
seeing things.  :)
var d:XMLList = thisTopic..*.(hasOwnProperty("@title") && @title == wording);

// doesn't work...why?
var assets:XMLList = topic..asset.(hasOwnProperty("@title") && 
attribute("title") == wording);



-   Michael M.

-

Deepanjan...this solution worked too.
Did you try this:
var topic:XML = topicData[0]; //  gets the below xml, came from an xmllist
var wording:String = "Presentation";
var assets:XMLList = topicData[0]..asset;
trace(assets.(@title == wording));




I have an E4X statement that breaks when I add a filter to it to get a specific 
node.  I keep getting null when I include hasOwnProperty() to the statement.

// I want to get "giraffe.ppt" or 
var topic:XML = topicData[0]; //  gets the below xml, came from an xmllist
var wording:String = "Presentation";
// I get an xmllist for this:
var assets:XMLList = topicData[0]..asset;
// but I keep getting null returned for these:
var assets:XMLList = topicData[0]..asset.(hasOwnProperty("@title"));
var assets:XMLList = topic..asset.(hasOwnProperty("@title") && 
attribute("title") == wording)@filename;

Why does the statement break with the E4X filter?

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