Re: [FlexJS][XML]first milestone

2016-04-13 Thread Harbs
/matrix3d/FlashShader/blob/master/example/src/assets/astroBoy_walk_Max.dae > > > > -- > View this message in context: > http://apache-flex-development.2333347.n4.nabble.com/FlexJS-XML-first-milestone-tp52258p52312.html > Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS][XML]first milestone

2016-04-13 Thread lizhi
https://github.com/matrix3d/FlashShader/blob/master/example/src/gl3d/parser/dae/ColladaDecoder.as https://github.com/matrix3d/FlashShader/blob/master/example/src/assets/astroBoy_walk_Max.dae -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-XML-first

Re: [FlexJS][XML]first milestone

2016-04-13 Thread Harbs
FYI, this now works: rects.(@id==3).@height = "100px”; Thanks Alex for fixing this! On Apr 13, 2016, at 12:24 AM, Harbs wrote: > Today, the following is working too: > > var svg:XML = > > > > > > > > > ; > > var rects:XMLList = svg..rect; > rects[1].@width = "100px"; > //rect

Re: [FlexJS][XML]first milestone

2016-04-12 Thread Harbs
Today, the following is working too: var svg:XML = ; var rects:XMLList = svg..rect; rects[1].@width = "100px"; //rects.(@id==3).@height = "100px"; trace(rects.toXMLString()); outputs: > />; >> >> var rects:XMLList = svg..rect; >> trace(rects.toXMLString()); >> >> and g

Re: [Non-DoD Source] [FlexJS][XML]first milestone

2016-04-11 Thread Harbs
No problem there. I have plenty on my plate. (and I think I just put plenty on yours as well…) ;-) I just added a number of JIRAs. If any of our other compiler buffs wants to take on some of them to give Alex some slack, feel free… Harbs On Apr 12, 2016, at 12:53 AM, Alex Harui wrote: > >

Re: [FlexJS][XML]first milestone

2016-04-11 Thread OmPrakash Muppirala
Awesome! I'll post if I can remember any of my other common scenarios. Thanks, Om On Mon, Apr 11, 2016 at 2:54 PM, Harbs wrote: > Absolutely! > > I just ran this: > var svg:XML = />; > > var rects:XMLList = svg..rect; > trace(rects.toXMLString()); > > and got this in the console: > > > >

Re: [FlexJS][XML]first milestone

2016-04-11 Thread Harbs
Absolutely! I just ran this: var svg:XML = ; var rects:XMLList = svg..rect; trace(rects.toXMLString()); and got this in the console: > > > > > > > > > var rects:XMLList = svg..rect; > > //rects should contain all the rects in the svg, i.e. > > > > > > Thanks, > Om > >

Re: [Non-DoD Source] [FlexJS][XML]first milestone

2016-04-11 Thread Alex Harui
On 4/11/16, 2:31 PM, "Harbs" wrote: >I just tried adding these tests. I’m not sure how to go about linking >XMLListCollection. Do I just copy XMLListCollection to the asjs >Collection project? Does it need to be reworked? That should probably wait until after I port XMLListCollection in the MX

Re: [FlexJS][XML]first milestone

2016-04-11 Thread OmPrakash Muppirala
Yay! That's fantastic news. Just curious. Will this case work? var svg:XML = var rects:XMLList = svg..rect; //rects should contain all the rects in the svg, i.e. Thanks, Om On Mon, Apr 11, 2016 at 2:21 PM, Harbs wrote: > I made some great progress to

Re: [Non-DoD Source] [FlexJS][XML]first milestone

2016-04-11 Thread Harbs
tering using the same xmlSource. >> >> var xmllcFiltered: XMLListCollection = new XMLListCollection(); >> >> xmllcFiltered.source = xmlSource. Set1.child.(year == "2015"); >> >> >> >> >> -Mark >> >> -Original

Re: [FlexJS][XML]first milestone

2016-04-11 Thread Harbs
I made some great progress today. I just compared the output of some pretty whacky xml processing in Flash to the output using the JS XML classes and the output was pretty close! There are definitely some issues I still need to work on (besides some compiler issues in JIRA), but I’m really happ

Re: [Non-DoD Source] [FlexJS][XML]first milestone

2016-04-11 Thread Harbs
ild.(year == "2015"); > > > > > -Mark > > -----Original Message- > From: Harbs [mailto:harbs.li...@gmail.com] > Sent: Sunday, April 10, 2016 9:03 AM > To: dev@flex.apache.org > Subject: [Non-DoD Source] [FlexJS][XML]first milestone > &g

RE: [Non-DoD Source] [FlexJS][XML]first milestone

2016-04-11 Thread Kessler CTR Mark J
r == "2015"); -Mark -Original Message- From: Harbs [mailto:harbs.li...@gmail.com] Sent: Sunday, April 10, 2016 9:03 AM To: dev@flex.apache.org Subject: [Non-DoD Source] [FlexJS][XML]first milestone I reached a milestone today with E4X. I have the first working test which reads an

Re: [FlexJS][XML]first milestone

2016-04-10 Thread Harbs
It did not work as well as I originally thought, but it’s working now. Modifying XMLList should now effect the original XML as well. There’s one caveat: It seems like according to the spec, the original object of an XMLList can be another XMLList which recursively works its way back to an XML o

Re: [FlexJS][XML]first milestone

2016-04-10 Thread Harbs
I just added a test for indexed insertion of items in an XMLList and it works perfectly. I’m surprised it worked on the first shot! I need to get the syncing of the original XML object working though. On Apr 10, 2016, at 4:02 PM, Harbs wrote: > I reached a milestone today with E4X. I have the

Re: [FlexJS][XML]first milestone

2016-04-10 Thread Harbs
Thanks Alex for putting in overtime on the compiler for this! On Apr 10, 2016, at 5:14 PM, Alex Harui wrote: > Awesome! > > On 4/10/16, 6:02 AM, "Harbs" wrote: > >> I reached a milestone today with E4X. I have the first working test which >> reads an XML literal, writes it back out to a strin

Re: [FlexJS][XML]first milestone

2016-04-10 Thread Alex Harui
Awesome! On 4/10/16, 6:02 AM, "Harbs" wrote: >I reached a milestone today with E4X. I have the first working test which >reads an XML literal, writes it back out to a string and writes the value >of an attribute using E4X notation in Javascript! > >Over the next couple of weeks I expect to be fi

[FlexJS][XML]first milestone

2016-04-10 Thread Harbs
I reached a milestone today with E4X. I have the first working test which reads an XML literal, writes it back out to a string and writes the value of an attribute using E4X notation in Javascript! Over the next couple of weeks I expect to be fixing a lot of issues related to XML and the better