Hello Majic-
I just took a look at your code, and it seems like your classes to work individually. Forgive me for not understanding, but I am failing to understand why you are trying to define two items at once.
You can use several classes within one movie by importing each one, individually... I put this code in the main timeline, but you could easily have this code in an external .as file:
The code below adds both the Circle and Ellipse to the same movie-
Code:import Ellipse;// this imports your Ellipse Class import circle;// this imports your circle Class var myEllipse:Ellipse = new Ellipse();//this creates an Ellipse that you can place on the stage var myCircle:circle = new circle();//this creates a circle that you can place on the stage addChild(myEllipse);//this adds the Ellipse to the display list addChild(myCircle);//this adds the circle to the display list




Reply With Quote