I'm not totally positive I understand, but I'm guessing you need to take everything you have on stage and put it into a new movieclip (convert it to a symbol, F8). While the Convert to Symbol dialogue box is open expand the advanced options, then check the "Export for Actionscript" box. Give it a class name (or use the default of what it puts in), then click ok. It will probably pop up saying a definition for the class couldn't be found, just hit ok. Now in the library panel find your new movieclip, right-click on it->Edit Class. This will open a new file, you'll want to save this with the same name as the class. So if your class is named Magazine, the file should be Magazine.as. You'll notice near the top it says 'public class Magazine extends MovieClip {', you'll want to change 'MovieClip' to 'Cell'. You should also import Cell.as (if that's in a folder you need to reference the location as well, ie import com.Ceros.Cell or something along those lines).
You should end up with something that looks like this:
ActionScript Code:
package {
import flash.display.MovieClip;
import com.Ceros.Cell;
public class Magazine extends Cell {
public function Magazine() {
// constructor code
}
}
}
Now all of the code you use to act on your symbol will go in this class. If you're unfamiliar with classes, I'd look up some tutorials. But know that Magazine() gets called when the symbol is created; which you'll need to do from either the main stage or your document class (if you have a doc class). You create a new instance like this:
ActionScript Code:
var mag:Magazine = new Magazine(); //Create a new instance of Magazine
addChild(mag); // Add it to the stage
This is known as creating content dynamically. Creating a new instance of something via actionscript.
Now every function and variable that Cell has, your Magazine instance will also have. So if Cell has a zoom() function, you can now use that like this:
ActionScript Code:
mag.zoom(); // This is from the stage or doc class
//OR
this.zoom(); // This is from within the Magazine class we created
Again, I'm not positive this is the answer you're looking for, and without knowing what Cell.as looks like, I can't be sure. But hopefully that helps point you in the right direction.