Currently got text off stage that I would like to come onto the stage and stop at a certain position (97, 233.10) on my stage. I'm a little confused on where to stop it and what code to use?
addEventListener(Event.ENTER_FRAME, mcInfo);
function mcInfo (e:Event):void {
//check position of logo
//if inside the stage move left to right
//if outside stage reposition
if (info.x<stage.stageWidth) {
info.x+=30;
stop();
} else {
//reset position
info.x=-450;
}
}
Cheers!
It also seems that Flash is now returning an output error when I scroll through the rest of my pages:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at finaldesign_fla::MainTimeline/mcInfo()