Re: Docs on TLF composition?

2014-04-08 Thread Harbs
The content is clipped even if you use a Sprite as a container. I used the second example here: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flashx/textLayout/container/ContainerController.html The text in the second container was clipped at the bottom until I scrolled up.

Re: Adobe TLF Demo

2014-04-08 Thread Harbs
I don't think I've ever seen that project before. It looks like he's done table support, but it's handled very differently than the original TLF architecture. There's certain similarities to how I'm going about it, but that's different too. I'll have to study it some moreā€¦ Thanks! On Apr 7,

RE: [FlexJS] CSS Box Model

2014-04-08 Thread mark.kessler.ctr
I believe the only thing to lookout for when using the global(*) on the border-box is that it will affect images too. Meaning it will push border size and padding inside of its bounding area and scaling the image down. Setting the images back to a regular box should work. -Mark

Re: [FlexJS] CSS Box Model

2014-04-08 Thread Harbs
It might be a good idea to prefix all Flex CSS with a Flex prefix so it does not step on settings for the rest of the web page. For this example something like this: .apacheFlex *, . apacheFlex *:before, . apacheFlex *:after { -moz-box-sizing: border-box; -webkit-box-sizing: border-box;

Re: Docs on TLF composition?

2014-04-08 Thread jude
In ContainerController, updateVisibleRectangle() adds a scrollRect. You can access hasScrollRect to see if a scrollRect is added to the container without accessing the DisplayObject.scrollRect property, which can have side effects in some cases. According to the comments, Accessing scrollRect when

Re: [FlexJS] CSS Box Model

2014-04-08 Thread Peter Ent
This is an interesting idea. I'll try it out. Thanks! --peter On 4/8/14 7:44 AM, Harbs harbs.li...@gmail.com wrote: It might be a good idea to prefix all Flex CSS with a Flex prefix so it does not step on settings for the rest of the web page. For this example something like this: .apacheFlex

Re: Docs on TLF composition?

2014-04-08 Thread Alex Harui
OK, I stand corrected. I didn't think TLF had its own scrollrect code. IIRC, accessing ScrollRect turns on clipping logic in the player and slows down rendering enough to want to avoid it. On 4/8/14 5:52 AM, jude flexcapaci...@gmail.com wrote: In ContainerController, updateVisibleRectangle()

In Apache Flex 4.10 and 4.12 why does setting a dataProvider on a spark datagrid prevent the module it resides in from unloading from it's AIR application shell.

2014-04-08 Thread Davorian
The link to the JIRA with sample project! https://issues.apache.org/jira/i#browse/FLEX-34194 Regards, Davorian -- View this message in context:

In Apache Flex 4.10 and 4.12 why does setting a dataProvider on a spark datagrid prevent the module it resides in from unloading from it's AIR application shell.

2014-04-08 Thread Davorian
Hallo All, I hope I'm wrong on this one but that doesn't appear to be the case. I have created a JIRA and sample project is attached to the JIRA. Basically, I have a simple test module with a populated spark dataGrid that gets loaded into a shell application. I attempt to unload this module