Skip to main content
Inspiring
May 10, 2012
Answered

Rotation

  • May 10, 2012
  • 3 replies
  • 1226 views

Hi

Why a circle I drew on the stage, given a speed rotates perfectly and when I import a picture , and make it rotate, it doesn't behave the same way and rotates in a small circle instead of behaving like the circle I drew ? I used the same code for both. Please help explain, be charitable. here are the links

http://www.er.uqam.ca/nobel/m340201/test/rouletta1.html

http://www.er.uqam.ca/nobel/m340201/test/rouletta3.html

This topic has been closed for replies.
Correct answer Ned Murphy

It looks like the point of rotation is not centered on the image

3 replies

Participant
May 11, 2012

hi

I think image graphics x and y position not curectly set. if this is not set

than set minuse width/2 and height/2 than check

regards...

Ned Murphy
Ned MurphyCorrect answer
Legend
May 10, 2012

It looks like the point of rotation is not centered on the image

SamsimmsAuthor
Inspiring
May 10, 2012

I am sure you are both right; but for the past hour or so, I tried everything, tried all the registration points, tried to put my picture into another movieclip( a circle that I drew and know it will behave correctely. trying to cheat.) but no result. I dont know anymore. Looks like I am to keep the circle I drew, although it is not as nice as the image I imported. Thank you anyway, but I'll keep working on it.

Ned Murphy
Legend
May 10, 2012

It's always possible the wheel image is not a true circle, and the way it has shading as though a light source is to on side of it will also not be much of a help as the shading spins around (should stay motionless relative to the light source).  The registration marks would need to be located at the dead-ceneter center nub of the wheel, which you should be able to get fairly close to if you zoom in.  If things still look wobbly then the image is probably just not a true circle.

_spoboyle
Inspiring
May 10, 2012

looks like the anchor point isn't in the center of the image