I was watching a youtube tutorial about as3,I tried to copy the code to see how it works, but even though it worked for the guy in the video, it didn't work for me..
Video Link(update): https://www.youtube.com/watch?v=pKj1IgWJd-A&ab_channel=WaarithAbdul-Majeed
(short post update)I made this late at night and didn't really include a lot of stuff in the post about the problem, so pretty much the movie clip is supposed to follow the mouse but it doesn't even though I made the code for it.
The errors are about circle.x = content.mouseX; circle.y = content.mouseY;
Flash keeps popping up "1120: Access of undefined property content."
Code:
addEventListener(Event.ENTER_FRAME,shipgo);
function shipgo(e:Event){
ship_b.x=mouseX;
ship_b.y=mouseY;
}
contenterror coming from? Do you have such code for using its MouseX/Y? It's confusing... Do you want to fixcircle.x = content.mouseXor you want to fixship_b.x=mouseX;? Update your post with actual vars you want to move and we will try to help you. - VC.One