RE: [Flashcoders] Re:Trying to set multiple images to 'export for AS'with JSFL

2009-12-01 Thread Craig Bowman
Yes, you're correct. Thanks! Cheers, Craig Bowman -Original Message- From: Henrik Andersson [mailto:he...@henke37.cjb.net] Sent: Tuesday, December 01, 2009 1:31 AM To: bowm...@shaw.ca; Flash Coders List Subject: Re: [Flashcoders] Re:Trying to set multiple images to 'export for AS'with JS

Re: [Flashcoders] simple E4X question, getting two types of nodes

2009-12-01 Thread Henrik Andersson
Glen Pike wrote: Please can we kill this thread - my screen is not wide enough to display the whole lot any more ;) This is one reason why people should not click reply when they want to start a new discussion. ___ Flashcoders mailing list Flashcoder

Re: [Flashcoders] simple E4X question, getting two types of nodes

2009-12-01 Thread Glen Pike
Please can we kill this thread - my screen is not wide enough to display the whole lot any more ;) Mendelsohn, Michael wrote: Actually, Anthony, the "real" data isn't pets at all. I was just abstracting it for the list. But it's still relevant. I'm actually rendering a table, with rows (do

RE: [Flashcoders] simple E4X question, getting two types of nodes

2009-12-01 Thread Mendelsohn, Michael
Actually, Anthony, the "real" data isn't pets at all. I was just abstracting it for the list. But it's still relevant. I'm actually rendering a table, with rows (dogs) of cells (TextFields). And a horizontal rule (the bird) may or may not appear before each row. So traversing my nodes, if

RE: [Flashcoders] simple E4X question, getting two types of nodes

2009-12-01 Thread Mendelsohn, Michael
Kenneth, that's so perfect, that it's actually beyond perfect. Thanks! > xml.child("*").(new RegExp("dog|bird").test(name())) Thanks everyone for the replies. I truly appreciate it! - Michael M. ___ Flashcoders mailing list Flashcoders@chattyfig

Re: [Flashcoders] simple E4X question, getting two types of nodes

2009-12-01 Thread Anthony Pace
looking at your structure, i am assuming of course that you would not have a sub element of dog in an element of dog, so two dots should work fine. Anthony Pace wrote: use two dots; yet, IMHO that is poorly structured data. If you have any say to how the data should be formatted, how about us

Re: [Flashcoders] simple E4X question, getting two types of nodes

2009-12-01 Thread Anthony Pace
use two dots; yet, IMHO that is poorly structured data. If you have any say to how the data should be formatted, how about using: or if each absolutely must have large child elements, why not: dog rover you get the point? cat

Re: [Flashcoders] simple E4X question, getting two types of nodes

2009-12-01 Thread kennethkawam...@gmail.com
This may work for you? xml.child("*").(new RegExp("dog|bird").test(name())) -- Kenneth Kawamoto http://www.materiaprima.co.uk/ 2009/12/1 Mendelsohn, Michael : > Thanks for replying Jason.  I'd do that, but I'm also trying to preserve the > order in which things occur, like given this xml... >

RE: [Flashcoders] simple E4X question, getting two types of nodes

2009-12-01 Thread alpha
Michael M. wrote: > AS3, Kerry. Ah. Of course. I should have read the subject. I would have seen the E4X. > I see you've migrated from Direct-L. :-) Yup. Pretty much full-time on Flash/Flex now. Got a contract-to-hire AS gig with a nice, stable company. > I think there should be a > conditi

RE: [Flashcoders] simple E4X question, getting two types of nodes

2009-12-01 Thread Merrill, Jason
>> I'd do that, but I'm also trying to preserve the order in which things occur, like given this xml... Ah, well, you never said THAT. ;) I'll have to do some more digging into E4x if I have some time today... or someone should probably beat me to the punch. Jason Merrill Bank of America G

RE: [Flashcoders] simple E4X question, getting two types of nodes

2009-12-01 Thread Mendelsohn, Michael
AS3, Kerry. I see you've migrated from Direct-L. :-) I think there should be a conditional for this, but I can't seem to put my finger on it. - MM > AS2 or AS3? Cordially, Kerry Thompson ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.

RE: [Flashcoders] simple E4X question, getting two types of nodes

2009-12-01 Thread Merrill, Jason
>> AS2 or AS3? There is no E4X in AS2. Jason Merrill Bank of America Global Learning Learning & Performance Soluions Join the Bank of America Flash Platform Community and visit our Instructional Technology Design Blog (note: these are for Bank of America employees only) -Origin

Re: [Flashcoders] simple E4X question, getting two types of nodes

2009-12-01 Thread alpha
Michael M wrote: > How do I get an XMLList containing all occurrences of and ? AS2 or AS3? Cordially, Kerry Thompson ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] simple E4X question, getting two types of nodes

2009-12-01 Thread Mendelsohn, Michael
Thanks for replying Jason. I'd do that, but I'm also trying to preserve the order in which things occur, like given this xml... ...then, I'd traverse the resulting XMLList, and using a switch statement, render things a ce

RE: [Flashcoders] simple E4X question, getting two types of nodes

2009-12-01 Thread Merrill, Jason
Have you tried: myXMLListDogs:XMLList = pets..dog myXMLListBirds:XMLList = pets..bird Jason Merrill Bank of America Global Learning Learning & Performance Soluions Join the Bank of America Flash Platform Community and visit our Instructional Technology Design Blog (note: these are for Ba

[Flashcoders] simple E4X question, getting two types of nodes

2009-12-01 Thread Mendelsohn, Michael
How do I get an XMLList containing all occurrences of and ? Rover Sally Felix Thumper I've been trying things like the following, to no avail. pets.elements(["dog","bird"]); pets..*((["name"]()=="dog")||(["name"]()=="bird")); pets..(["child"]("dog") || ["child"]

RE: [Flashcoders] Still Infinitely Looping

2009-12-01 Thread Gregory Boudreaux
Thanks! I'll give it a go. gregb -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of dopeco...@hotmail.com Sent: Monday, November 30, 2009 2:54 PM To: Flash Coders List Subject: Re: [Flashcoders] Still Infinit

Re: [Flashcoders] Re:Trying to set multiple images to 'export for AS' with JSFL

2009-12-01 Thread Henrik Andersson
Craig Bowman wrote: It's NOT a bug. A bitmap can't be assigned the attributes you want directly and never has. It must be wrapped inside a symbol, like a MovieClip. Not true, there is a fully working Bitmap symbol type just for this. ___ Flashcoders