Jump to content
GreenSock

Hejaaa

transformAroundPoint shake with Flex Canvas

Moderator Tag

Recommended Posts

i have big problem if using mouse wheel in this example http://shakezooming.bozon.sk/

 

i want zooming with transformAroundPoint, but animation is shake and no continuous.where is problem please?

Link to comment
Share on other sites

It could be caused by several things:

 

1) You don't have smoothing enabled on the image

 

2) The image is large and it's too hard for Flash to render the graphics quickly enough on each frame, thus the frames per second are dropping

 

3) You didn't set the frame rate high enough

Link to comment
Share on other sites

Thank you for answer, but point 1-3 is not solution. Transform is still shivery (smoothing on-off, fps highest-lowest and misc image).

Link to comment
Share on other sites

It's virtually impossible to troubleshoot your files blind like this - I'm not sure what else to suggest but I can assure you that transformAroundPoint is optimized and probably not the source of the problem (although, again, it's difficult to say for sure without seeing a simple example set of files).

Link to comment
Share on other sites

here is project [removed because it contained members-only plugins] :)

Link to comment
Share on other sites

Yeah, that definitely looks like a Flex issue. I've attached a version that demonstrates smooth behavior when putting the image in the rawChildren of a Canvas (to minimize the Flex issues). There are a lot of bugs and inconsistencies and performance issues in the Flex framework itself. Frankly, I try to avoid it whenever possible so I'm not much of a Flex expert. Maybe someone else can identify what exactly Flex is doing to break things (maybe it has to do with its auto-layout functionality?).

ComponentTest.zip

Link to comment
Share on other sites

many thanks for such a solution at least

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×