Classes + color matrix

Any advice on classes? I think I’m coming round to understanding maybe.

Classes are basically functions outside of the fla.

So say at present I have a page, MC which acts like a class, I attach it 5 times, pass variables, it runs and populates itself.

So if I wanted to convert it to a class? I stick the code in the class, then call the class, like attaching the MC.

But how/where would the variables go which are now in the class? Do they get imported to the targetMC?

IE

I call the page class in a for loop, it creates an MC, adds variables, populates with with MCs, and loads in XML, images.

Right/Wrong?

//////

I tried color matrixing some clips to b/w, its works, but I am zooming in and out in a 3d environment,

when they get past the camera/ window depth, the processor goes nuts and the clips flip between b/w and colour

if I cache the MCs as bitmaps would this solve the problem?

:panda: Confuszed panda.com