Flex 2 - beta 3: mx.effects.resize


mx.effects.resize works fine when setting both widht , height:
var myresize:resize = new resize(targetobject);
myresize.widthfrom = targetobject.width;
myresize.widthto = targetobject.width+100;
myresize.heightfrom = targetobject.height;
myresize.heightto = targetobject.height+100;
myresize.duration = tweenduration;
myresize.play(null, false);

setting width or height not:
var myresize:resize = new resize(targetobject);
myresize.heightfrom = targetobject.height;
myresize.heightto = targetobject.height+100;
myresize.duration = tweenduration;
myresize.play(null, false);

anyone noticed same problem?
tried playing different combinations of heightby, widthby no success far..

hello -

i know changes went resize effect during beta iii
timeframe, possible issue has been fixed.
describe bit more in detail seeing when set
width or height properties on resize effect (ie: mean
does not work fine)?

basically in code below, second case show control
animating , growing height-wise while keeping original width. tried
your sample code below on our internal builds (post beta iii) , on
beta iii build , resizing looked correct.

more details great - thanks!

deepa subramaniam
flex sdk developer


"[sami]" <webforumsuser@macromedia.com> wrote in message
news:e4fbgl$7of$1@forums.macromedia.com...
> mx.effects.resize works fine when setting both widht , height:
> var myresize:resize = new resize(targetobject);
> myresize.widthfrom = targetobject.width;
> myresize.widthto = targetobject.width+100;
> myresize.heightfrom = targetobject.height;
> myresize.heightto = targetobject.height+100;
> myresize.duration = tweenduration;
> myresize.play(null, false);
>
> setting width or height not:
> var myresize:resize = new resize(targetobject);
> myresize.heightfrom = targetobject.height;
> myresize.heightto = targetobject.height+100;
> myresize.duration = tweenduration;
> myresize.play(null, false);
>
> noticed same problem?
> tried playing different combinations of heightby, widthby no
> success
> far..
>




More discussions in Archived Spaces


adobe

Comments

Popular posts from this blog

Convierte tu Raspberry en un NAS. Firmware fvdw-sl 15.3 - Raspberry Pi Forums

How to format a Get Request

avrdude: verification error, first mismatch at byte 0x0000 0x0c != 0x62