Sorry if this is a basic question but if I have 25 bitmaps or bitmaps converted
to movie clips., can I automatically duplicate multiple instances of an
existing movie clip but replace the bitmaps in each one ?....does that make
sense ??
I'll try again ! iFor example I have a small clip using bitmap 1 involving,
say, a simple tween...is there a quick way to duplicate that clip for every
bitmap in the library without doing it manually....
myke_mla - 08 Jul 2008 12:38 GMT
Not really.
You could try using JSFL to automate it. It sounds complex, but once you learn
how to use it, it's quite simple. Similar to photoshop actions, you record the
process of duplicating the MovieClip and replacing the Bitmap, then edit the
JSFL code to apply the 'action' to all the bitmaps in your library.
Hope that helps
LindnArden - 09 Jul 2008 07:08 GMT
I had my first dabbling with JSFL the other day.....I think I need to go away and do some reading !! Thanks for the advice....
clbeech - 09 Jul 2008 14:12 GMT
course, another solution here would be to use a 'single' mc - and at runtime
load the Bitmap into a BitmapData object and attach it to the mc dynamically,
then use the Tween class to tween the mc. constructed within a method - you
could call the method and pass the bitmap to load - this would eliminate having
to 'make' all of the mc instances, and also greatly reduce the file size.
additionally - one could house the bitmaps externally and use the
MovieClipLoader class to bring them to the stage only when needed, which would
drastically reduce the file size and load time.
LindnArden - 09 Jul 2008 14:32 GMT
That sounds good, of course it may as well be in Sanskrit for my level of Flash expertise....I will add all these 'classes' (whatsoever they may be) to my lengthening reading list.