[osflash] Hunting for GUI components... any ideas?
Rob Bateman
rob.bateman at gmail.com
Sun Mar 12 13:53:36 EST 2006
well, there are a few MM v2 components missing from SMX that would be
possible to replicate but not without some effort. things like calendar,
datechooser, alert and window would all be fairly easy, but accordion, tree
and datagrid are not so simple.
it's been a while since i've used the MM v2 components, but as far as i can
remember the type of event-based control SMX has is similar. As far as
parameter naming conventions and inheritance structure go there is very
little crossover - this wasn't done intentionally, it's just that i
ultimately disagreed with many of the methods employed by MM v2, and if
you're writing an altermative you want it to feel right! The style class for
example is very different.
It's difficult for me to say how easy porting MM v2 applications would be,
but that should change as i am working on an x-ray port that will do just
that. the re-write will keep all the application logic and replace the
interface with SMX components. this will allow exatra features like
the resizing of the app window, and draggable window dividers so users can
eg. make the trace window bigger. i'll let you know how i get on!
Rob
On 3/10/06, jim <jim at eltanno.com> wrote:
>
> How easy is it to port an application using MM v2 components to SMX? How
> similar are the component api's ? I know this is a very broad question but
> I think you know what I mean.
>
>
>
> Jim
>
>
> ------------------------------
>
> *From:* osflash-bounces at osflash.org [mailto:osflash-bounces at osflash.org] *On
> Behalf Of *Rob Bateman
> *Sent:* 10 March 2006 00:04
>
> *To:* Open Source Flash Mailing List
> *Subject:* Re: [osflash] Hunting for GUI components... any ideas?
>
>
>
> sorry - been sleeping today...
>
>
>
> The SMX component set uses movieclip skins as standard. When i say 'skin',
> i mean what you are referring to as the background. It is very easy to try
> out if you download the mxp file on the wiki and install the swc files. you
> can see examples of diffferent skinsets (or themes as i like to call them)
> in the source flas supplied inside the mxp. A movieclip skin consist of a
> set of frames for the states of the component (up, down, over, selected etc)
> and a frame can contain named instances for the state that the component
> will automatically detect (for a single movieclip, two ends and a strechable
> middle, simulated 9 slice scaling etc).
>
>
>
> the only problem is there is currently no documentation, but if you poke
> around the included files you should get a general idea of what this
> framework does. The set includes everything in your list bar tooptip, but i
> would recommend you wait until tomorrow, when i'am uploading a new revision
> ( 0.5) to the wiki before downloading (i would do it now but can't finish
> the uml diagram in time)
>
>
>
> you can also use the components with a layout xml file a la mxml. if you
> install the mxp file, you should find two examples in the deploy and source
> folders called smxnewsdemo and smxsquaddemo (referring to the two different
> themes) that demonstrate those capabilities. But please wait for the
> revision! this is quite a major one with a lot of bugfixes!
>
>
>
> the code is compatible with flash 6 upwards and can be compiled with mtasc
> or Flash ide.
>
>
> http://www.cvsdude.com/trac/bbc/smx
>
>
>
> cheers
>
>
>
> Rob
>
>
>
> On 3/8/06, *Regina Dowling* < ty at heldensocke.de> wrote:
>
> Hi iley,
>
> > >Can I use movieclips as skins, too?
> > You can hardly use movieclips to implement a complete skin, The
> > only way with movieclips as skins is Icon, you can use AttachIcon
> > or LoadIcon to do some interface with movieclips. But they just
> > can do the component that can paint a icon.
> :-( That's too bad - as I said: our designers think of skins
> that are really not really ideal for the drawing API. I tried
> it once, but I get undesired effects with the curveTo-command
> (that is, the Flash Player shows lines that shouldn't exist, or
> rather lines that are way longer than they should be).
>
> > Or, you can operate movieclips in UI classes, but i don't think it's
> > easier than drawing graphics directly in AsWing mechanism.:)
> Would it be possible to extend the UI classes that they can
> attach a movieclip as "background" for a component? Instead of
> drawing it?
>
> Cheers,
>
> Regina
>
>
> _______________________________________________
> osflash mailing list
> osflash at osflash.org
> http://osflash.org/mailman/listinfo/osflash_osflash.org
>
>
>
>
> --
> ~~~~~~~~~~~~~~~~~~~~~~~~
> Rob Bateman - Flash Product Manager
> BBC News Interactive
>
> Tel: 0208 6248692
> Mob: 07714 329073
>
> rob.bateman at gmail.com
> ~~~~~~~~~~~~~~~~~~~~~~~~
>
> _______________________________________________
> osflash mailing list
> osflash at osflash.org
> http://osflash.org/mailman/listinfo/osflash_osflash.org
>
>
>
--
~~~~~~~~~~~~~~~~~~~~~~~~
Rob Bateman - Flash Product Manager
BBC News Interactive
Tel: 0208 6248692
Mob: 07714 329073
rob.bateman at gmail.com
~~~~~~~~~~~~~~~~~~~~~~~~
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/osflash_osflash.org/attachments/20060312/28b599c1/attachment.htm
More information about the osflash
mailing list