Hello,
I have o logo which rotate on one frame.
But in my flash file (on timeline) I have 6 frames and I want this rotated logo on every frame.
On my first frame I have this code:
var spinSpeed:Number=20;
function onEnterFrame(event:Event):void{
logo1.rotation +=spinSpeed;
}
addEventListener(Event.ENTER_FRAME,onEnterFrame);
But when I copy this code into the second frame it doesn`t works, because it wrote me "A con_fliict exists with definition spinSpeed in namespace internal, and second error: Duplicate function definition
I am beginner in flash, so I don`t know where is the problem, I have to rename something? or define another function? but I don`t know how(
please help me, if you are more skilled, experienced and have knowledge for thisI will be very thankful, I am doing this for friend to school.


Reply With Quote


Bookmarks