开发者

Flex, rotations (x,y,z) when component resized

开发者 https://www.devze.com 2023-02-19 18:02 出处:网络
I\'ve started learning flex and as a first project I\'ve created a component from the example found here component withwhich I call into the main application (web based).

I've started learning flex and as a first project I've created a component from the example found here component with which I call into the main application (web based).

When I rotate the image it goes well, however, when I resize the application, my component which fills the application container ie width, height开发者_运维知识库 100%, seems to make the rotations calculus based on it's previous width and height.

So basically the rotations go wrong when I resize the app. Any ideas on how to fix this?


I had to recalculate the view's perspective point upon the app resize event.

0

精彩评论

暂无评论...
验证码 换一张
取 消