Yes, I understand how things work and why things are slow J

 

But I don’t agree that they should be slow.

 

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Luciano Manerich Junior
Sent: Thursday, March 27, 2008 4:38 PM
To: [email protected]
Subject: RES: [flexcoders] Resize very slow

 

Hi,

 

Using that subtraction, you will have to wait to flex redraw the screen
(waiting the frame rate next step), after the redraw, it will update the
height properties of the objects, so it may take a couple of frames for that
update...

 

Using the bottom="0" you arent acessing some other properties, so, could be
faster...

 

Teorically, shouldnt be. As internally, flex its suppose to use the height
atribute of the parent for positions based on bottom constrains...

 

And by the way, you could try to increase the Frame Rate for a better
results, just add that option into the compiler arguments:

 

-default-frame-rate 60

 

  _____  

De: [email protected] [mailto:[EMAIL PROTECTED] Em nome
de Shiv Kumar
Enviada em: quinta-feira, 27 de março de 2008 17:24
Para: [email protected]
Assunto: RE: [flexcoders] Resize very slow

Luciano,

Thanks! That actually fixed the slow motion effect. So I have a solution to
my current problem, but I wonder is something needs to be addressed in Flex?

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Luciano Manerich Junior
Sent: Thursday, March 27, 2008 3:33 PM
To: [email protected]
Subject: RES: [flexcoders] Resize very slow

Hi,

cant you use bottom="0"?

<mx:Image id="myImage" bottom="0" />

You will not have to do that Math thing... But i dont believe that will
really speed up...

  _____  

De: [email protected] [mailto:[EMAIL PROTECTED] Em nome
de shivkxr
Enviada em: quinta-feira, 27 de março de 2008 16:30
Para: [email protected]
Assunto: [flexcoders] Resize very slow

I have a canvas and a few controls within the canvas. On of these is an 
image.

Essentially, what I want is that the image appear towards the bottom of 
the canvas, so what I do is this

<mx:Image id="myImage" top="{containerCanvas.height - 
myImage.height}" />

This works, except that when the canvas is sized to a different size it 
looks like I have a slow motion effect in place. It takes quite a few 
seconds (3-10) depending on the difference between the old and new 
height of the canvas.

So is there a way to speed this up?

 

Reply via email to