You already have the mouse control set up all you need to do is set it to rotate constently at the speed of the world, which is controlled via the spinSpeed varible.
You currently have the spinSpeed set up as this.spinSpeed, So its a varible of CD
So something like should have it speed in time with the world
Code:
onEnterFrame = function (){
CD.AE._rotation += CD.spinSpeed;
}
I have placed CD.AE, as I would have thought you have set AE's MC inside of CD.
If not remove the CD and put AE.
If all is good please mark this and your other threads as resolved. Just helps see who still needs help.
You can mark resolved at the top of your thread via the thread Tools menu, top bar of your first post
OnEnterFrame is placed on frames
onClipEvent is place on mc's
You also want to makes sure the path is correct, as mentioned above, if AE is inside CD, this will work fine. If both are seperate at the root level, remove the CD from CD.AE
I convert CD movie clip and actionscript event i add below code. ( My process is when i rotate the globe use by mouse and at the same time small fan(movie clip - AE ("another layer")) also rotate.