I fairly new to ActionScript. I think this question is pretty
simple but I can' find a simple answer to it.
I have a flash file. I have a class called Screen. In Screen
I want three properties: Image1, Image2, Image3. These image
properties are representative of three bitmaps already in my flash
file. How do I just create instances of them? And once they are
initialised what type are they? Are they BitmapData?
If I can't do this, I am happy to load the images from an
external folder. How could I do this?
I want to be able to just pass as a parameter the image
instance and screen holds a reference to it. How can I create this
instance though in the first place?
you can't reference bitmapdata instances using actionscript
unless they are created using actionscript (ie, with a new
BitmapData() constructor). convert your on-stage bitmaps to
movieclips, give them instance names and then you can reference
them using actionscript.