PDA

View Full Version : How to make a MXP component


magicianzrh
06-07-2003, 04:13 AM
I know how to make a component
But how to make a MXP
I don't want to move the fla to the folder by myself,who can tell me how to make a component(fla) to the MXP.

Now,look this component.When you use it,you can see the parameters panel is different,how to make like it?

Can you give me a tutorial?
Thanks!

Strok
06-07-2003, 04:25 AM
http://www.actionscript.org/components/mxp_description.shtml

senocular
06-07-2003, 04:36 AM
MXPs are made from the extension manager. The extension manager makes them based on an XML file you make. This file, however, is called a .mxi file rather than XML. Same thing, just a different file format - one that the extension manager knows to use for making mxp files. What you put in the mxi file determines the setup of the mxp file. In the mxi you write descriptions and set paths and whatnot along with specifying what files are needed to make up your component - this being all your flas and swfs etc you need to fully make your workhorse component. This mxi file then acts like a blueprint for the extension manager to read and convert into that mxp which in itself (like a zip file) contains all those files you specified from the mxi.

- MMs mxi format description can be found here www.macromedia.com/go/em_file_format/
- there should be an example mxi in
Macromedia\Extension Manager\Samples\Flash
- there are component tuts at www.flashcomponents.net some showing how to make an interface like the one in the attached file

magicianzrh
06-07-2003, 04:42 AM
Thanks