thanks mark

<clip id="test" import="test.jpg" class="test"/>

but the test.as can not import to swf and export from the fla is normal

Source file is in the attachment


On 1/11/06, Mark Winterhalder <[EMAIL PROTECTED]> wrote:
On 1/11/06, ai829 <[EMAIL PROTECTED]> wrote:
> i read the doc before,but I can not find the type "action" , and the detail
> about the tag DoAction and DoInitAction

there is none in swfml-s (which almost certainly is the one you want
to use). those are tags from swfml-l, SWF opcodes.
you can see some swfml-l if you take an SWF and do the following with
an existing SWF:

  swfmill swf2xml input.swf output.xml

this will convert the SWF opcodes to swfml-l XML.
likewise, you can convert the swfml-l xml back like this:

  swfmill xml2swf input.xml output.swf

however, if you want to create a SWF you typically use swfml-s, the
simple, more human readable dialect. it can't compile actionscript,
you need mtasc for that. see the mtasc website, <http://mtasc.org/>.
what you can do with swfml-s is to import an existing SWF with your
compiled code created with mtasc.

in *theory*, it's possible to create a SWF with swfml-l (not swfml-s),
then you would use DoAction. but you would have to write the SWF
bytecode by hand, which would be *extremely* difficult and would
require detailed knowledge of the SWF file format (you couldn't use
actionscript) -- i don't think anybody has ever done this.

btw, the 80s studio website rocks -- very cool :)

mark

--
http://snafoo.org/
jabber: [EMAIL PROTECTED]

_______________________________________________
swfmill mailing list
[email protected]
http://osflash.org/mailman/listinfo/swfmill_osflash.org





--
80s studio
为您提供最佳的web解决方案
http://www.80s.net.cn
[EMAIL PROTECTED]

Attachment: ttt.rar
Description: Binary data

_______________________________________________
swfmill mailing list
[email protected]
http://osflash.org/mailman/listinfo/swfmill_osflash.org

Reply via email to