Hey, that's in the right way, but I advice you to check out frist in the
Flash Kit site www.flashkit.com much better for samples.

Thanks

2006/1/4, blists <[EMAIL PROTECTED]>:
>
> Hello,
>
> I am trying to build a GUI in flash where the user can drag objects from a
> side panel onto a stage area to arrange a picture album.
>
> The user can drag items from the "pictures and borders" window, onto the
> stage aswell as adding borders an textual captions.
>
> The key functionality I need is:
>
> 1. Drag from library and snap to grid. I have this part working for the
> most part!
>
> 2. Resize handles shown around elements, and drag and resize
> functionality. I can't figure out the best way to approach this.
>
> 3. Drag "textfields" to stage and add text, position below or above
> pictures and resize the text fields.
>
> I'm fairly new to OOP, but am thinking about creating some sort of
> "uiObject" that each shape/piece will extend. Currently, there are pictures,
> text, frames and border elements. Each of which requires some of the same
> functionality. That being the ability to be dragged to stage, resized and
> possibly having some other attributes set that are common to all. The bjects
> will also have some unique properties.
>
> I also need to be able to track their position on stage and save their x
> and y positions relative to the stage to a DB, so that I can save and reload
> the layout. I suppose I need some sort of a parent class like
> "LayoutManager" to manage this, and possibly hold an array of objects on the
> stage.
>
> Does this sound like the correct approach? Since this type of application
> has been done a thousand times, does anyone know of any resources for this
> type of app?
>
> Thanks for your input!
>
> Brook
>
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



--
----------------------------
Igor Costa
www.igorcosta.com
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to