Copy link to clipboard
Copied
Ls,
I was wondering if it is possible to have a movieclip that you can like export and then share in multiple .swf files.
This, without importing them from external libraries in the .fla files afcourse.
So like i have a movieclip containing different type tile bitmaps (i do that why im asking)
I use these tiles in the editor and in the game .swf;
Changing the(adding to) graphics has me importing the mc from from one .fla into the other.
Is it possible to make mc in a .fla, export it and dynamicly import it?
Or can I read the library from the other .fla dynamically?
Regards,
mac
...
So, and I'm asking not arguing, all i have to do is make a .swf with all my movieclips in there and no code.
correct, but you must assign a class to each movieclip in the swf's library that you want to use.
Then load the swf and use the assigned class in my code in different modules.
yes
Then, when adding graphics to the movieclips, i dont even have to recompile my code?
correct, any change to the graphics of your movieclips will be reflected in all the swf's that load that movieclip containing resou
Copy link to clipboard
Copied
you can dynamically load an external swf and any movieclip exported for actionscript with a class assigned in the external swf is available to the loading swf.
Copy link to clipboard
Copied
Glad!
So, and I'm asking not arguing, all i have to do is make a .swf with all my movieclips in there and no code.
Then load the swf and use the assigned class in my code in different modules.
Then, when adding graphics to the movieclips, i dont even have to recompile my code?
Copy link to clipboard
Copied
So, and I'm asking not arguing, all i have to do is make a .swf with all my movieclips in there and no code.
correct, but you must assign a class to each movieclip in the swf's library that you want to use.
Then load the swf and use the assigned class in my code in different modules.
yes
Then, when adding graphics to the movieclips, i dont even have to recompile my code?
correct, any change to the graphics of your movieclips will be reflected in all the swf's that load that movieclip containing resource swf. no code needs to be redone or recompiled to reflect the graphic changes.
Copy link to clipboard
Copied
Thank you again.
Mac
Copy link to clipboard
Copied
you're welcome.