var time:Date = new Date();
secmc.rotation = time.getSeconds() * 6; // rotation for the seconds hand
minmc.rotation = time.getMinutes() * 6; // rotation for the minutes hand
hourmc.rotation = time.getHours() * 30; // rotation for the minutes hand
// list of roman numerals
var numerals:Array = ["XII",
"I",
"II",
"III",
"IV",
"V",
"VI",
"VII",
"VIII",
"IX",
"X",
"XI"]; // Roman numerals I want to add to stage and rotate
function drawPic(xpos:int,ypos:int,ang:int)
{
numerals[numerals.length]
numerals.x=xpos;
numerals.y=ypos;
numerals.rotation=ang;
}
for ( var i:int=0 ; i<13 ; i++ )
{
drawPic (200 ,200,30*i); // for loop to help rotate the roman numerals
}
Have been trying to do this for about 3 hours and its probably simple but am a noob when it comes to actionscript any help would be appreciated, i just wanna know how to add the numerals to stage and rotate it each numerals like on a clock help if you understand.