fyi,

content added from updateDisplay

You may know this or you may not but, you do not addChild() in
updateDisplayList().

You would do that in commitProperties(), then update displayList() will be
called to size you new children.

Peace, Mike

On 5/28/07, Janis Radins <[EMAIL PROTECTED]> wrote:

  Found the problem and it was my own foult.

2007/5/28, Janis Radins <[EMAIL PROTECTED]>:
>
> Thanks for reply but thats not the case.
> My problem is not resizing but fact that content added from
> updateDisplay doesn't appear unless I change size of component.
>
> 2007/5/28, simonjpalmer < [EMAIL PROTECTED]>:
> >
> >   can't answer your question myself, but take a look at this...
> >
> > http://www.flex-flex.net/blog/article.asp?id=9
> >
> > which has a resizing titlewindow in it
> >
> > if you download the source you may get some clues.
> >
> >
> > --- In [email protected] <flexcoders%40yahoogroups.com>,
> > "Janis Radins" <[EMAIL PROTECTED]> wrote:
> > >
> > > Hey people!
> > >
> > >
> > > I have here problem with refreshing contents of Panel instance.
> > > In order to have exact functionality I need, i have extended my
> > panel class
> > > with some simple things like dataProvider variable which is managed
> > inside
> > > updateDisplayList.
> > > In that method I am creating some bunch of child objects which are
> > added to
> > > container by addChild.
> > > The problem is that newly added children doesn't appear on screen
> > until I
> > > modify panel size.
> > > First thought was to issue invalidateDisplayList/size/properties but
> > no
> > > luck, they all do nothing.
> > >
> > > Anyone have any thoughts what exactly is happening when size changes
> > thats
> > > stronger than those 3 updaters?
> > >
> > > To be precise that is not exact Panel or TitleWindow from components
> > folder,
> > > but my own class that extends them to implements drag resize and
> > > minimization, though to make sure this is not my mistake I tried to
> > do very
> > > same thing with default Panel component and everything stays the
> > same.
> > >
> > > Any ideas are appreciated!
> > >
> > > Yanis
> > >
> >
> >
>



--
Teoti Graphix
http://www.teotigraphix.com

Blog - Flex2Components
http://www.flex2components.com

You can find more by solving the problem then by 'asking the question'.

Reply via email to