This is the personal weblog of Greg Burch.

Wednesday, January 22, 2003

As I said I have posted what I call outputs xml used by the gmodeler uml tool. You have to run this in the IDE (if you are using the GUI code, feel free to rip the AS2UML class for your own purposes) This gets the list of installed component reference files and lets you configure output for gmodeler. It will save tons of time recreating diagrams for classes you extend, or use. I have pulled out any documenting code, as I mentioned in my previous post it just got too messy.

The AS2UML tool has a getUML() method that will give you the output you want. However if you are using this for some other reason I keep a "transition" object so that you could also utilize this class for other cases.

myUml.classes - array of classes
myUml.classMap - map of classes (access by class name)
each class has an array and map of groups (thats methods, properties, listeners etc)
each group has an array of items (so the group methods has a bunch of methods in it)

and there is other info stored. I can document this if anyone feels like using it...its pretty simple.

There are also some masking functions so you can keep groups and/or classes out of the output.

There is some other stuff that I will leave you to play with.

You can get the FLA file here.

Please note to use the GUI you have to run it in the ide (thats the only way it can get the list of installed reference docs)

Let me know what you think, have fun.
1:48:47 AM    comment []

© Copyright 2003 Greg Burch.
January 2003
Sun Mon Tue Wed Thu Fri Sat
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  
Dec   Feb


Live Previews
Common Component Issues
Flash Remoting
Extending Components
__resolve and apply
XML 2 DataProvider

Macromedia WebLogs
Jeremy Allaire
mesh on mx
jd on mx
An Architect's View

Other WebLogs
Peter Hall
Eric Dolecki
Flash the Future
jdb cyberspace
Branden Hall
Josh Dura
Full As A Goog
Flash Magazine
Claus Wahlers
Arul Kumaran
Phillip Torrone
Guy Watson
Robert Hall

Macromedia Mobile Development Center

Flash Design for Mobile Devices

Flash Enabled

Click to see the XML version of this web page.

Click here to send an email to the editor of this weblog.