hayesmaker / doomsdayconsole

originally code.google.com/p/doomsdayconsole
0 stars 0 forks source link

Single MXML Tag Inclusion for Flex #3

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
At present, adding the Doomsday Console to a Flex project requires the
addition of some less-than-obvious Actionscript.  This magic should be
wrapped into a single tag to make life easier.

Original issue reported on code.google.com by jim.m.ch...@gmail.com on 2 Feb 2010 at 7:41

GoogleCodeExporter commented 8 years ago
I took a rough stab at this. Unfortunately I could not build the console SWC 
due to a bunch of missing dependencies. So, I created another library project 
that wraps the DConsole SWC and includes: a namespace, a manifest and an MXML 
tag. Usage looks like this:

<fx:Declarations>
    <dc:DConsole/>
</fx:Declarations>

It works with a large Flex 4 app I'm building - no idea if it will work with 
Flex 3, but it should.

Attaching a ZIP for now. Once I can actually build I'll commit files to my Git 
clone over at:

https://github.com/darscan/doomsdayconsole

Original comment by Dars...@gmail.com on 15 Sep 2011 at 5:20

Attachments:

GoogleCodeExporter commented 8 years ago
Note: I've removed that git repo.

Original comment by Dars...@gmail.com on 15 Sep 2011 at 6:47

GoogleCodeExporter commented 8 years ago
By the way, the tag could do with some more work. For example:

1. Autoselect the "document" as the scope at startup (right now the scope is 
the system manager).

2. Set the default element to be a vector of Plugins. e.g.

<fx:Declarations>
    <dc:DConsole>
        <SomePlugin/>
        <SomeOtherPlugin/>
    </dc:DConsole>
</fx:Declarations>

Original comment by Dars...@gmail.com on 15 Sep 2011 at 6:54