Re: [flexcoders] Is there a way to tell flash NOT to render a certain area?

2010-07-13 Thread dorkie dork from dorktown
right. its for lazy loading. when the scroll thumb goes into the hot area then it sends requests to the server for new content. when new content is received i create a new container and add it to the accordion with addChildAt(newContainer, 0); to make sure it is before existing content. to keep a

Re: [flexcoders] Is there a way to tell flash NOT to render a certain area?

2010-07-13 Thread Tom Chiverton
On Tuesday 13 Jul 2010 08:48:43 you wrote: right. its for lazy loading. when the scroll thumb goes into the hot area then it sends requests to the server for new content. when new content is received i create a new container Why not create an empty 'dummy' container before firing the request,

Re: [flexcoders] Is there a way to tell flash NOT to render a certain area?

2010-07-13 Thread dorkie dork from dorktown
i tried both adding it before and after data is available. the data isn't necessary. its as soon as i add a new container to the beginning of the accordion 2010/7/13 Tom Chiverton tom.chiver...@halliwells.com On Tuesday 13 Jul 2010 08:48:43 you wrote: right. its for lazy loading. when the

Re: [flexcoders] Is there a way to tell flash NOT to render a certain area?

2010-07-13 Thread dorkie dork from dorktown
I think what I'm looking for is a way to have it not apply any updates for a few frames. In the same way includeInLayout set to false causes it to be skipped in the layout, something similar to prevent any updates to scroll position. On Tue, Jul 13, 2010 at 3:54 AM, dorkie dork from dorktown

Re: [flexcoders] Is there a way to tell flash NOT to render a certain area?

2010-07-13 Thread Alex Harui
I’m still lost. Are you trying to control the wrapping Scroller’s scrollbar or is there a scrollbar in your Haccordion? I think I would build one into the Haccordion that knows how many children exist. That’s how List and others handle virtualized renderers. On 7/13/10 2:52 AM,

Re: [flexcoders] Is there a way to tell flash NOT to render a certain area?

2010-07-13 Thread dorkie dork from dorktown
that makes sense. i wanted to make sure there wasn't any other options before working on that. ps the scroller scrollerbar. the mxml example doesn't show that. On Tue, Jul 13, 2010 at 12:14 PM, Alex Harui aha...@adobe.com wrote: I’m still lost. Are you trying to control the wrapping

[flexcoders] Is there a way to tell flash NOT to render a certain area?

2010-07-12 Thread dorkie dork from dorktown
There's a component that I'm adding child components too it. When I do this there's a flash as the component is added and resized and then put into the right position. Is there a way to prevent a square area from being rendered for a second or two? I can fix the issue but I'd have to go into

Re: [flexcoders] Is there a way to tell flash NOT to render a certain area?

2010-07-12 Thread Alex Harui
Flash renders what is visible and on the display list. UIComponent is invisible until creationComplete and theoretically, it and all of its children shouldn’t be changing after then. Or make it visible=false until you know it is ready. On 7/12/10 2:37 PM, dorkiedorkfromdorkt...@gmail.com

Re: [flexcoders] Is there a way to tell flash NOT to render a certain area?

2010-07-12 Thread dorkie dork from dorktown
In that case, I'll elaborate on the situation... I am using a horizontal Accordion component with newest items to the right. When you scroll left you get to a location where more items are added. As you add each item the scrollbar thumb track jumps to the right and then jumps back to where the

Re: [flexcoders] Is there a way to tell flash NOT to render a certain area?

2010-07-12 Thread Alex Harui
I’m having trouble picturing an accordion with scrollbars. But if it did, why wouldn’t the scrollbar be tuned for the total number of children? Why are children being added as you scroll? On 7/12/10 6:59 PM, dorkiedorkfromdorkt...@gmail.com dorkiedorkfromdorkt...@gmail.com wrote: In