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, MikeOn 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
- Visit your group "flexcomponents" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
__,_._,___
- [flexcomponents] Resize Effect :: Parent changing width d... Michael Schmalle
- Re: [flexcomponents] Resize Effect :: Parent changin... Manish Jethani
- Re: [flexcomponents] Resize Effect :: Parent cha... Michael Schmalle
- Re: [flexcomponents] Resize Effect :: Parent... Michael Schmalle
- Re: [flexcomponents] Resize Effect :: Pa... Michael Schmalle
- Re: [flexcomponents] Resize Effect :: Pa... Manish Jethani
- Re: [flexcomponents] Resize Effect ... Michael Schmalle
- Re: [flexcomponents] Resize Eff... Michael Schmalle
Reply via email to
