Is Flex SWC compiled differently from movie in SWC
Are Flex swc f开发者_运维百科ile encoded differently from say movies file encode in SWC?
UPDATE:
Assuming this question is related to this one, what you should look into is using the ContextMenu and adding the Play and Stop commands yourself. This way you can wire them up to play a movie or load an image or whatever it is you need to do.
Here's another link to get you started.
Based on this writeup from Adobe, I'm going to guess that they're going to be roughly the same since a .swc file is basically a .swf file and a catalog.xml file.
A SWC file is an archive file for Flex components and other assets. SWC files contain a SWF file and a catalog.xml file. The SWF file inside the SWC file implements the compiled component or group of components and includes embedded resources as symbols. Flex applications extract the SWF file from a SWC file, and use the SWF file's contents when the application refers to resources in that SWC file. The catalog.xml file lists of the contents of the component package and its individual components.
精彩评论