[Flashcoders] Flash Layout Manager

2006-04-26 Thread Sajid Saiyed
I am looking for some hints at creating a layout manager in Flash
which will allow me to drag and drop movieclips on stage and at the
same time, reposition other movieclips.

Something like what you see at www.gtalkr.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Flash Layout Manager

2006-04-26 Thread Lee McColl-Sylvester
The Flash IDE???

Lee



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sajid
Saiyed
Sent: 26 April 2006 12:04
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Flash Layout Manager

I am looking for some hints at creating a layout manager in Flash
which will allow me to drag and drop movieclips on stage and at the
same time, reposition other movieclips.

Something like what you see at www.gtalkr.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Flash Layout Manager

2006-04-26 Thread Lee McColl-Sylvester
Seriously though, I've built something similar.  An admin system for a
pageable kiosk app.  It lets you reposition, resize, recolor, format
text etc, though the actual adding of items is set in a .NET app.

The core functionality behind it is a resizer class I built, which just
so happens to be a tutorial component on the macromedia exchange
website.  Do a search in exchange for DR-Resizer or Lee McColl and
you'll find it.

Regards,
Lee





-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sajid
Saiyed
Sent: 26 April 2006 12:04
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Flash Layout Manager

I am looking for some hints at creating a layout manager in Flash
which will allow me to drag and drop movieclips on stage and at the
same time, reposition other movieclips.

Something like what you see at www.gtalkr.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Flash Layout Manager

2006-04-26 Thread Sajid Saiyed
Hi Lee,
Thats a pretty nice component but how do I use it to manage layout?
I can slace movieclips with it, but didnt quiet get how to rearrange the layout.

Hope you can share something on this.

--sajid

On 4/26/06, Lee McColl-Sylvester <[EMAIL PROTECTED]> wrote:
> Seriously though, I've built something similar.  An admin system for a
> pageable kiosk app.  It lets you reposition, resize, recolor, format
> text etc, though the actual adding of items is set in a .NET app.
>
> The core functionality behind it is a resizer class I built, which just
> so happens to be a tutorial component on the macromedia exchange
> website.  Do a search in exchange for DR-Resizer or Lee McColl and
> you'll find it.
>
> Regards,
> Lee
>
>
>
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Sajid
> Saiyed
> Sent: 26 April 2006 12:04
> To: flashcoders@chattyfig.figleaf.com
> Subject: [Flashcoders] Flash Layout Manager
>
> I am looking for some hints at creating a layout manager in Flash
> which will allow me to drag and drop movieclips on stage and at the
> same time, reposition other movieclips.
>
> Something like what you see at www.gtalkr.com
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Flash Layout Manager

2006-04-26 Thread Lee McColl-Sylvester
The way I have mine setup is:

I have a page manager that arranges components of the stage based on
data from an XML document.  The resizer helps update the component
properties that automatically update a set of arrays that we constructed
from the previously mentioned XML.  On clicking a save button, the
arrays are queried and a new XML is constructed which is then submitted
back to the database (that the first XML was drawn from).  Er, I could
have probably explained this a little better, but you get the general
idea :-)  It should be possible to do this more simply, but mine worked,
so I'm happy ;-)

Lee



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sajid
Saiyed
Sent: 26 April 2006 13:23
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Flash Layout Manager

Hi Lee,
Thats a pretty nice component but how do I use it to manage layout?
I can slace movieclips with it, but didnt quiet get how to rearrange the
layout.

Hope you can share something on this.

--sajid

On 4/26/06, Lee McColl-Sylvester <[EMAIL PROTECTED]> wrote:
> Seriously though, I've built something similar.  An admin system for a
> pageable kiosk app.  It lets you reposition, resize, recolor, format
> text etc, though the actual adding of items is set in a .NET app.
>
> The core functionality behind it is a resizer class I built, which
just
> so happens to be a tutorial component on the macromedia exchange
> website.  Do a search in exchange for DR-Resizer or Lee McColl and
> you'll find it.
>
> Regards,
> Lee
>
>
>
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Sajid
> Saiyed
> Sent: 26 April 2006 12:04
> To: flashcoders@chattyfig.figleaf.com
> Subject: [Flashcoders] Flash Layout Manager
>
> I am looking for some hints at creating a layout manager in Flash
> which will allow me to drag and drop movieclips on stage and at the
> same time, reposition other movieclips.
>
> Something like what you see at www.gtalkr.com
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Flash Layout Manager

2006-04-26 Thread Mike Britton
Also keep in mind that layout management will be part of Flex 2. 
Personally I can't wait. 
http://livedocs.macromedia.com/labs/1/flex20beta2/langref//mx/containers/Panel.html

Mike
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Flash Layout Manager

2006-04-26 Thread Lee McColl-Sylvester
Yeah, they're taking their time too ;)

Lee



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mike
Britton
Sent: 26 April 2006 14:47
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Flash Layout Manager

Also keep in mind that layout management will be part of Flex 2. 
Personally I can't wait. 
http://livedocs.macromedia.com/labs/1/flex20beta2/langref//mx/containers
/Panel.html

Mike
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Flash Layout Manager

2006-04-26 Thread Mike Britton
I hear ya.

Mike
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Flash Layout Manager

2006-04-26 Thread Tyler Wright
Sajid,

I have an AS2.0 class that is a lot simpler to use.

com.codext.managers.LayoutManager.initialize(panel1);
com.codext.managers.LayoutManager.initialize(panel2);

panel1.dock = "top";// this fills the space
panel2.dock = "top";// this fills the space under panel1 and does not
overlap

// and if you want padding

panel1.anchors = {left:50, top:50, right:50};
panel2.anchors = {left:50, top:50, right:50};

you can set anchors without using dock, but then your coordinates are
absolute and are not measured off of their docked siblings.

using these and other Code XT LayoutManager methods you can do about
everything you want where layout is concerned. Resizing is automatic as long
as you're setting the width and height rather than _width and _height.

The only issue is that this is part of a component framework I'm hoping to
release eventually so I don't want it available publically. Maybe we should
talk more about it off list. I would eventually like to get input from users
before the set is released.

Tyler

On 4/26/06, Sajid Saiyed <[EMAIL PROTECTED]> wrote:
>
> Hi Lee,
> Thats a pretty nice component but how do I use it to manage layout?
> I can slace movieclips with it, but didnt quiet get how to rearrange the
> layout.
>
> Hope you can share something on this.
>
> --sajid
>
> On 4/26/06, Lee McColl-Sylvester <[EMAIL PROTECTED]> wrote:
> > Seriously though, I've built something similar.  An admin system for a
> > pageable kiosk app.  It lets you reposition, resize, recolor, format
> > text etc, though the actual adding of items is set in a .NET app.
> >
> > The core functionality behind it is a resizer class I built, which just
> > so happens to be a tutorial component on the macromedia exchange
> > website.  Do a search in exchange for DR-Resizer or Lee McColl and
> > you'll find it.
> >
> > Regards,
> > Lee
> >
> >
> >
> >
> >
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of Sajid
> > Saiyed
> > Sent: 26 April 2006 12:04
> > To: flashcoders@chattyfig.figleaf.com
> > Subject: [Flashcoders] Flash Layout Manager
> >
> > I am looking for some hints at creating a layout manager in Flash
> > which will allow me to drag and drop movieclips on stage and at the
> > same time, reposition other movieclips.
> >
> > Something like what you see at www.gtalkr.com
> > ___
> > Flashcoders@chattyfig.figleaf.com
> > To change your subscription options or search the archive:
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> > Brought to you by Fig Leaf Software
> > Premier Authorized Adobe Consulting and Training
> > http://www.figleaf.com
> > http://training.figleaf.com
> > ___
> > Flashcoders@chattyfig.figleaf.com
> > To change your subscription options or search the archive:
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> > Brought to you by Fig Leaf Software
> > Premier Authorized Adobe Consulting and Training
> > http://www.figleaf.com
> > http://training.figleaf.com
> >
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com