Hey - I'm merely curious...

Say I do this:

tPhoto =  pGui.thisScreen.createEmptyMovieClip("photoMC",
pGui.thisScreen.getNextHighestDepth(),{_alpha:0});
tPhoto.cacheAsBitmap=true;
bkgrnd = new BitmapData(1, 1, false, 0x00FFFFFF, {_alpha:0});
tPhoto.attachBitmap(bkgrnd, 1);

Now, say later, in some other function, I want to change this
bitmapData but I don't have a reference to it (other than the above
'temp' tPhoto) -- can I actually 'get' this bitmapData again through
some other means, or do I ALWAYS have to have a variable/ref to it?

Not sure if I'm explaining right: but as I have a ref to
pGui.thisScreen, which is a movieclip, and then 'photoMC' is a
movieclip in that, then I'm attachBitmap to photoMC ---

mainClip
  -photoMC
     - bitMapData


Does that make any sense?
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to