kottore / away3d

Automatically exported from code.google.com/p/away3d
0 stars 0 forks source link

Position problems of MovieClipSprite #173

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a MovieClipSprite instance, add to scene, and render it once
2. Or render it repeatedly with ENTER_FRAME but without changing anything's 
position
3.

What is the expected output? What do you see instead?
The inner MovieClip should have its center at the position of the 
MovieClipSprite instance. But it's normally an unfixed distance away. 

What version of the product are you using? On what operating system?
away3d 3.6.0, flashdevelop

Please provide any additional information below.
Change the MovieClipSprite's position after some time with setTimout or change 
its position constantly with ENTER_FRAME event will have it "jump" to the right 
position. Details in the attached file.

Original issue reported on code.google.com by EEpErY...@gmail.com on 10 Apr 2011 at 10:52

Attachments:

GoogleCodeExporter commented 8 years ago
I've noticed this problem too, as posted yesterday (6 Jan 2011) on the official 
forums (http://away3d.com/forum/viewthread/1670/). 

I think it's a problem with how MovieClipSprite.align is used. Setting it to 
values like "center" will make the circle jump, but other values like "top 
left" or "top right" won't.

Original comment by eate...@gmail.com on 7 Jan 2012 at 6:17