Manish;  SOLVED

hehe I am working to much, I messed up haha

I put that handler in the TaskPane [EMAIL PROTECTED] instead of the TaskList

for now I am just using this method

    /**
     *
     */
    private function this_resizeHandler(event:Event):void
    {
        trace(percentWidth)
        if (!isNaN(percentWidth))
        {
            savePercentWidth = percentWidth;
        } else {
            percentWidth = savePercentWidth;
        }
       
    }


It works, so I will let you know if anything else comes up like that.

Peace, Mike


On 7/24/06, Michael Schmalle <[EMAIL PROTECTED]> wrote:
Well,

I tried that.

An interesting thing, the percentWidth of the taskList traces 50 always(in the resize handler).

So there is nothing to set back. It never changes from 50%.

Still looking.

Peace, Mike

On 7/24/06, Manish Jethani < [EMAIL PROTECTED]> wrote:

On 7/24/06, Michael Schmalle < [EMAIL PROTECTED]> wrote:

> Here is a scrrenshot of the bug right before the effectComplete event is called. THis is right after the tween has closed the tasklist component.

Okay, if you look into the ResizeInstance.as file, you'll see why this
is happening. The effect sets both the width and height of the
component explicitly during the tween. When the effect finishes, it
restores the percentWidth and percentHeight values.

So maybe you could try listening for the TaskList's "resize" event and
reset the percentWidth in the handler? This way the percent value will
be constantly applied to the component and it'll be as wide as it
should be.

I'm thinking we should be resetting the percent width/height in the
Container class itself, when the container gets or loses a scrollbar.
Hmm.




--
What goes up, does come down.



--
What goes up, does come down. __._,_.___


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to