Rotate dynamically added movieclip from origin (0,0) and not center ?
I've got this simple code here:
this["recipe"+i] = new recipelistname();
this["recipe"+i].buttonMode = true;
this["recipe"+i].recipeid = i;
this["recipe"+i].recipename_txt.text = XMLRecept["title"];
this["recipe"+i].x = startposX;
this["recipe"+i].y = startposY+(30*counter);
this["recipe"+i].rotation = -5;addChild(this["recipe"+i]);
The problem is that the movieclip rotates around the center. The textfield inside the movieclip is starting at 0,0. But it still rotates around the center, how can I make it rotate at 0,0?