hi Marc,

i know this is a bit confusing, but there are two swfml dialects,
swfml-s and swfml-ll. the document you found refers to swfml-ll ("low
level"), which basically is an xml representation of the SWF file
format -- i.e., not really what you want to work with, if you don't
plan to use swfmill as a SWF reader/writer library thing, or for low
level SWF manipulation.

typically, you use swfml-s ("simple"), which uses a built-in default
xslt stylesheet to be transformed to swfml-ll and then is written to
an SWF binary. this is what almost all documentation and examples you
will find refer to (except the one you linked to, which is the only
swfml-ll doc i know of).

i've written a (now outdated, but still usable) introduction in
swfmill's early days, you can find it here:
http://iterative.org/swfmill/doc/using-swfmill.html

the most up to date documentation is on the osflash wiki page:
http://osflash.org/swfmill
feel free to add more examples! :)

the definitive documentation is the simple xslt in the sources:
http://mirror1.cvsdude.com/trac/osflash/swfmill/browser/trunk/src/xslt?rev=117

as for the <button /> tag, there is none (in swfml-s), sorry. you can
use a normal <clip /> instead and use its onPress/onRelease handlers.
of course, you could also extend the simple xslt to teach it a <button
/> tag and submit a patch...

hth,
mark


On 3/11/06, Marc Reichelt <[EMAIL PROTECTED]> wrote:
> Hi there!
>
> I'm a young student from Germany. In my freetime I wrote a (very) small
> flashfilm, called "Easy Musicplayer For Flash" (EMFF).
> Until now I always used Macromedia Flash MX to create my flash movies,
> but I'm using Linux as main operating system since 2001 - and that's why
> I want to switch from Macromedia Flash to MTASC and swfmill.
>
> I wrote the new codebase of the EMFF (you can see the current developing
> status at http://dev.marcreichelt.de/emff/) with MTASC, and now I have
> to recreate the GUI. Placing movies is no problem ("<clip .../>").
>
> What I want to know is:
> How can I create a new button with swfmill?
> I know that there is a tag to do this ("button"), but I can't find any
> documentation of it - the only thing I found was this:
> http://iterative.org/swfmill/doc/reference.html#types
>
> After a few tests I finally gave up, it seems that I'm not able to
> create a button with swfmill.
>
> Could you please write back how I may add buttons to my swf file with
> swfmill?
>
> And, as a tip for the future:
> Some examples would be best to introduce the tags to the users! :)
>
>
> Regards
>
> Marc Reichelt   ||   http://www.marcreichelt.de/
>
> _______________________________________________
> swfmill mailing list
> [email protected]
> http://osflash.org/mailman/listinfo/swfmill_osflash.org
>


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

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

Reply via email to