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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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.
 

 

cheers

 

Rob

 

On 3/8/06, Regina Dowling <[EMAIL PROTECTED]> 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
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org




--
~~~~~~~~~~~~~~~~~~~~~~~~
Rob Bateman - Flash Product Manager
BBC News Interactive

Tel: 0208 6248692
Mob: 07714 329073

[EMAIL PROTECTED]
~~~~~~~~~~~~~~~~~~~~~~~~

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

Reply via email to