This content has been marked as final. Show 6 replies
When you define the Panel set its width=0 and height=0 so that when it is put on the display list it will be at the starting size. Then the zoom will bring it to the right size.
Wow, I can't believe I didn't think of that. Thanks for the help.
Ok, that actually didn't fix it. The problem with setting the size to 0 at first is that it then zooms from 0 to 0, and i need it to zoom to it's full size.
I tried using SetPropertyAction to set the height and width just before or parallel to the Zoom, but that gives me the same problem with it flashing to full size before playing the zoom effect.
Sorry, set scaleX=0 and scaleY=0.
Thanks, that worked.
The only difference is that 0 is an invalid value for scaleX and scaleY, so I did a SetPropertyAction just before the zoom to set them both to 0.01.
Well, it worked at first, but now it is creating some more issues. The problem is that setting scaleX and scaleY to 0.01 makes any components in them not draw correctly.
They all just display the first character and then '...' because they think they don't have room to expand. The problem is that I can't get them to redraw once they are big enough to fit all their text.
With buttons, when I mouse over them they redraw and display correctly because of the default mouseover function, but with things like labels they just display incorrectly all the time.