This content has been marked as final. Show 3 replies
it's not a security problem. it's just something that flash doesn't support.
to duplicate a movieclip it will need to be in a flash library.
it will need to be in a flash library.
Does this mean it needs to be in _a_ flash library or in _the_ flash library of the main movie?
In other words, could I mark the part of the external movielcip to be exported as actionscript variable and then use it with duplicate movieclip in the main movie? or is there any workaround to achieve the goal of having externaly loaded parts of an application to be duplicatable?
Right now I do another loadMovieClip for every instance of the layout part instead of duplicating the previously loaded one. I guess as long as caching is enabled in the surrounding browser this is not a big problem, but if the cache is turned of I guess this solution will result in a lot of traffic slowing the application down.
the movieclip can be in any library. but if it's not in the swf that contains the duplicateMovieClip() statement, you'll need to use shared assets.
is there any browser in which you can eliminate the cache? i know you can limit the cache space, but unless your swf contains a graphic which is a substantial fraction of 1 mb, i don't think repeated downloading is a realistic concern.