Expand my Community achievements bar.

Does Whiteboard support... How can I....

Avatar

Former Community Member
How can I add mx.core.UIComponents to the Whiteboard?



How do I draw on the Whiteboard programmatically using the
API ?





Great work



Cheers,

Arnie Widdowson



4 Replies

Avatar

Former Community Member


Hi Arnie,



Yes, you can add UIComponents to the whiteboard, but I'm not
going to say it's easy =). You should have a look at the way the
WBShapesToolbar interfaces with WBShapeFactories and the WBCanvas
(these are all in the coreUI/controls dir). At some point, we're
going to look at making this API easier, but it's still possible
for someone willing to hack, and read through source a bit. Feel
free to ask more specific questions as you explore - I'd love to
have a guinea pig brave enough to help show us how to make this
better =).



thanks

nigel

Avatar

Former Community Member

Nigel,

I would like to pick back up on this, and be the guinea pig.

Here's a concept:

http://www.ajlogo.com/SFS220/bin-debug/SFS220.html

It's an MDI of sorts.

The Icons can be copied from Icon window and then moved from window to window or to the base window

The windows can be nested in other windows

I did some hacking earlier and didn't get far.

I'd like to get into serious hacking (and question asking) but I may need to ask not-so-specific questions.

Hence why I would like you to see my concept, and take pitty on my Factory skills among others.

Cheers,

Arnie

Avatar

Former Community Member

Hello,

My latest prototype:

http://www.colabry.com/SFS530/SFS530.html

It has two draggable/nestable  panels, two draggable/nestable canvases, a TextArea and a WhiteBoard.

Focused Question:

Is it possible to force the ToolBar to be collaboratly placed rather than autonomusly/independantly ?

Cheers,

Arnie

610-944-5890

ajlogo@gmail.com

Avatar

Former Community Member

Hi,

It's starting to work !!

I've created my own Shape and ShapeFactory based on Canvas, and added it to the ToolBar.

But the way cool part is that I can drag a Canvas from non-Whiteboard space and drop it as a registered shape on the Whiteboard.

www.colarbry.com

Cheers,

Arnie

610-944-5890

ajlogo@gmail.com