I have a .fla with many MovieClips. Each MC is a part of a character. For example, I have a MC for the eyes, one for the nose, mouth etc. I then right click on each MC in the flash library and select 'export as .swf'. This gives me a bunch of seperate .swfs so the user of the game only needs to download the .swfs of the parts for his own character.
The MCs are basically only holding a single .png image. However, I now want the user to be able to see a 'close-up' of his face (I don't want to simple scale/zoom for quality reasons). I therefore have two versions of the image, one for displaying on the character (small one) and one for displaying on a close up of the character's face (larger version).
Both small and large MovieClips should be packaged into a single .swf, but not both should be visible. How can I best achieve this?
Thanks. If I want to show both the small image and the large image at the same time though. I'm guessing I will have to duplicate the MC? This seems slightly memory inefficient as I'm assuming all frames of a MC are loaded into memory before they are actually needed
add frames to a new movieclip that contain whatever you want to display. if you want to display the small image alone, the small and large together and the large alone, create 3 frames in that movieclip. then export as a swf and whenever you want to display one of the frame of that swf, load it and use a goto (after loading is complete).
i don't see any inefficiency unless it's possible you won't want to use all frames of, for example, the eyes movieclip. in that case, continue to do what you're doing - create a swf for a small part and a swf for a large part. only load the size/part if needed.