Bug or Not? Rotation about the origin...

I’m working on an iPad app and I have a graphic that is 400x358 in size. when I rotate this, I don’t want to rotate around the dead center of the graphic (200, 179), instead I want to rotate about 179,179.

I thought that setting the reference point to CenterReferencePoint and then moving the xOrigin of the display object would accomplish this, but it does not.

Is there something simple I’m missing here?

Thanks,
Scott [import]uid: 5659 topic_id: 888 reply_id: 300888[/import]

This is how I would do it;

img = display.newImage(blablaba)
img.xReference = 200
img.yReference = 179
[import]uid: 5712 topic_id: 888 reply_id: 2033[/import]

Ahhh thanks Mike, lemme go try that…

Turns out those were definitely the correct properties, but what I needed to do was move the xReference -21, leaving the yReference at 0.

Thanks so much, works like a charm!

Scott [import]uid: 5659 topic_id: 888 reply_id: 2043[/import]

No problem, I like to help if I can. [import]uid: 5712 topic_id: 888 reply_id: 2059[/import]