How do you add objects into the main stage? *
Answers
Answered by
0
Answer:
ere is my code, doesn't work though. I know this isn't the best way to go about adding things to the stage, but I have to do it this way.
package
{
import flash.events.Event
import flash.display.MovieClip;
public class Pellet_Manager extends MovieClip
{
var pellets:Array = new Array();
var pellet:Pellet;
public function Pellet_Manager()
{
var pellet:Pellet;
for (Pellet in stage)
{
pellet = Pellet;
pellets.push(pellet);
Similar questions