Reusing library items in Flash projects

What is the best way to reuse library elements in Flash projects. For example, I created a Movie Clip download progress bar that I want to reuse,

  • Should I export it as SWF and then re-import it into other projects? (For some reason, when I try to do this, the imported clip appears, but not play a new project? Why would it be?)
  • Should I export as SWC?
  • Should I convert to a compiled clip?
+3
source share
3 answers

, . "" > "" > " "

, . .

, .

!

+1
0

I recommend swc files. When you use their coding, FlashDevelop and Flash Builder can read the classes and characters inside them and help complete your code. While SWF files can also be used in this way, you do not get the benefits of code hints when developing new applications. In addition, your assets are collected in your swf project, so there is no need to load them at runtime.

0
source

Source: https://habr.com/ru/post/1767929/


All Articles