Hi,
Please can you help me with my basic AS3 code?
My .fla will have a small video on the first frame > I’ve added a stop to the timeline > I’ve added a movieclip button called start_btn which I want to take me to the next frame when clicked, this also contains a stop on the timeline.
I then want to use my AS code to position the movieclip Building1 onto the stage area.
I need help will coding all of this? Please help, I know most of it is wrong!
package {
import flash.events.Event;
public class video1 {
public function video1() {
// constructor code
var myBuilding1: Building1 = new Building1 ();
stage.addChild(myBuilding1);
myBuilding1. x = 300;
myBuilding1. y = 200;
}
}
}