[Flashcoders] Registration Point of Clips (Scale 9)

2008-12-07 Thread SJF
Anyone have a preference for the registration point of clips created in
flash that are accessed dynamically?

Do you prefer Top-Left or Center alignment for your MovieClips that
are Scale-9 enabled and accessed programmatically.

Also, what about Text Fields within these Clips.

Anyone have an opinion on this.

ChHeers,
SF.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] What design pattern would this be?

2008-12-07 Thread Jiri Heitlager

Maybe this one:
http://www.as3dp.com/2008/12/06/actionscript-30-visitor-design-pattern-a-tale-of-traverser-and-the-double-dispatch-kid/

or check out the articles there I am sure there is a pattern described 
that will suit your needs.


I also think the previous comment on overenginering should be taking 
into consideration..


Good luck,

Jiri

Joel Stransky wrote:

Thanks for your perfectly useless answer. I know if I could recognize the
need for certain patterns easily I'd be more than happy to help out rather
than chastise.It looks like it's possibly a Template pattern but I was
hoping for the same kind of insight I've been giving at flashkit for eight
years no matter how simple the question.

On Sat, Dec 6, 2008 at 10:29 PM, Latcho [EMAIL PROTECTED] wrote:


Are you gonna  take a map  if you have clear line of sight to your
destination ?
Shall we advise you on traffic light implementation  if you are the only
driver in the world ?
Dont' overengineer. If you want to integrate / learn a design pattern take
a more challenging and/or interactive interface.

Latcho


Joel Stransky wrote:


I'm trying to make design patterns a regular part of my process but
understanding them and knowing which one to use are proving to be a quite
different.
I'm working on a couple of classes. One class's job is to iterate over a
list of display objects and modify their scale and location based on mouse
position.
I want this class to be able to work with a runtime generated OR an
authortime generated display list.
I figure it's as easy as instantiating either a RuntimeChildren or
AuthortimeChildren class and passing it to the constructor of my
DisplayListUtility class.
Since it's so simple, does it even qualify as a design pattern and if so
which one?




___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders






___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Registration Point of Clips (Scale 9)

2008-12-07 Thread Muzak

top left.. always.
If you need the center, calculate it.

- Original Message - 
From: SJF [EMAIL PROTECTED]

To: flashcoders@chattyfig.figleaf.com
Sent: Sunday, December 07, 2008 9:22 AM
Subject: [Flashcoders] Registration Point of Clips (Scale 9)



Anyone have a preference for the registration point of clips created in
flash that are accessed dynamically?

Do you prefer Top-Left or Center alignment for your MovieClips that
are Scale-9 enabled and accessed programmatically.

Also, what about Text Fields within these Clips.

Anyone have an opinion on this.

ChHeers,
SF.


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] What design pattern would this be?

2008-12-07 Thread Joel Stransky
Thanks Jiri,
I had not seen that site. I had assumed the book covered all of the patterns
I was going to need but in hindsight that was silly. The visitor pattern
seems very similar to adapter however. I guess I've got a lot of learning to
do. I appreciate the notion of not over engineering but until I understand
them fluently I intend to implement patterns where possible no matter how
trite.

On Sun, Dec 7, 2008 at 5:26 AM, Jiri Heitlager [EMAIL PROTECTED]
 wrote:

 Maybe this one:

 http://www.as3dp.com/2008/12/06/actionscript-30-visitor-design-pattern-a-tale-of-traverser-and-the-double-dispatch-kid/

 or check out the articles there I am sure there is a pattern described that
 will suit your needs.

 I also think the previous comment on overenginering should be taking into
 consideration..

 Good luck,

 Jiri


 Joel Stransky wrote:

 Thanks for your perfectly useless answer. I know if I could recognize the
 need for certain patterns easily I'd be more than happy to help out rather
 than chastise.It looks like it's possibly a Template pattern but I was
 hoping for the same kind of insight I've been giving at flashkit for eight
 years no matter how simple the question.

 On Sat, Dec 6, 2008 at 10:29 PM, Latcho [EMAIL PROTECTED] wrote:

  Are you gonna  take a map  if you have clear line of sight to your
 destination ?
 Shall we advise you on traffic light implementation  if you are the only
 driver in the world ?
 Dont' overengineer. If you want to integrate / learn a design pattern
 take
 a more challenging and/or interactive interface.

 Latcho


 Joel Stransky wrote:

  I'm trying to make design patterns a regular part of my process but
 understanding them and knowing which one to use are proving to be a
 quite
 different.
 I'm working on a couple of classes. One class's job is to iterate over a
 list of display objects and modify their scale and location based on
 mouse
 position.
 I want this class to be able to work with a runtime generated OR an
 authortime generated display list.
 I figure it's as easy as instantiating either a RuntimeChildren or
 AuthortimeChildren class and passing it to the constructor of my
 DisplayListUtility class.
 Since it's so simple, does it even qualify as a design pattern and if so
 which one?



  ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




  ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




-- 
--Joel Stransky
stranskydesign.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Registration Point of Clips (Scale 9)

2008-12-07 Thread Joel Stransky
For the vast majority of projects, symbols will be far easier to edit,
replicate, generate and calculate with top left registration. Center
registration tends to be easier however when dealing with dynamic animation
systems employing lots of coordinate rotation.

On Sun, Dec 7, 2008 at 10:24 AM, Muzak [EMAIL PROTECTED] wrote:

 top left.. always.
 If you need the center, calculate it.

 - Original Message - From: SJF [EMAIL PROTECTED]
 To: flashcoders@chattyfig.figleaf.com
 Sent: Sunday, December 07, 2008 9:22 AM
 Subject: [Flashcoders] Registration Point of Clips (Scale 9)



  Anyone have a preference for the registration point of clips created in
 flash that are accessed dynamically?

 Do you prefer Top-Left or Center alignment for your MovieClips that
 are Scale-9 enabled and accessed programmatically.

 Also, what about Text Fields within these Clips.

 Anyone have an opinion on this.

 ChHeers,
 SF.


 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




-- 
--Joel Stransky
stranskydesign.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] What design pattern would this be?

2008-12-07 Thread Joel Stransky
Thanks Latcho,
That is actually very helpful. Now that I look at it I can see definitely
would be over engineering in this case but it will be good practice for me.

On Sun, Dec 7, 2008 at 11:32 AM, Joel Stransky [EMAIL PROTECTED]wrote:

 Thanks Jiri,
 I had not seen that site. I had assumed the book covered all of the
 patterns I was going to need but in hindsight that was silly. The visitor
 pattern seems very similar to adapter however. I guess I've got a lot of
 learning to do. I appreciate the notion of not over engineering but until I
 understand them fluently I intend to implement patterns where possible no
 matter how trite.


 On Sun, Dec 7, 2008 at 5:26 AM, Jiri Heitlager 
 [EMAIL PROTECTED] wrote:

 Maybe this one:

 http://www.as3dp.com/2008/12/06/actionscript-30-visitor-design-pattern-a-tale-of-traverser-and-the-double-dispatch-kid/

 or check out the articles there I am sure there is a pattern described
 that will suit your needs.

 I also think the previous comment on overenginering should be taking into
 consideration..

 Good luck,

 Jiri


 Joel Stransky wrote:

 Thanks for your perfectly useless answer. I know if I could recognize the
 need for certain patterns easily I'd be more than happy to help out
 rather
 than chastise.It looks like it's possibly a Template pattern but I was
 hoping for the same kind of insight I've been giving at flashkit for
 eight
 years no matter how simple the question.

 On Sat, Dec 6, 2008 at 10:29 PM, Latcho [EMAIL PROTECTED] wrote:

  Are you gonna  take a map  if you have clear line of sight to your
 destination ?
 Shall we advise you on traffic light implementation  if you are the only
 driver in the world ?
 Dont' overengineer. If you want to integrate / learn a design pattern
 take
 a more challenging and/or interactive interface.

 Latcho


 Joel Stransky wrote:

  I'm trying to make design patterns a regular part of my process but
 understanding them and knowing which one to use are proving to be a
 quite
 different.
 I'm working on a couple of classes. One class's job is to iterate over
 a
 list of display objects and modify their scale and location based on
 mouse
 position.
 I want this class to be able to work with a runtime generated OR an
 authortime generated display list.
 I figure it's as easy as instantiating either a RuntimeChildren or
 AuthortimeChildren class and passing it to the constructor of my
 DisplayListUtility class.
 Since it's so simple, does it even qualify as a design pattern and if
 so
 which one?



  ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




  ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




 --
 --Joel Stransky
 stranskydesign.com




-- 
--Joel Stransky
stranskydesign.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Fwd: Re: [Flashcoders] What design pattern would this be?]

2008-12-07 Thread Latcho


As you wish, then go for a minimalist composite pattern my friend.

Joel Stransky wrote:
Thanks for your perfectly useless answer. I know if I could recognize 
the need for certain patterns easily I'd be more than happy to help 
out rather than chastise.
It looks like it's possibly a Template pattern but I was hoping for 
the same kind of insight I've been giving at flashkit for eight years 
no matter how simple the question.


On Sat, Dec 6, 2008 at 10:29 PM, Latcho [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:


Are you gonna  take a map  if you have clear line of sight to your
destination ?
Shall we advise you on traffic light implementation  if you are
the only driver in the world ?
Dont' overengineer. If you want to integrate / learn a design
pattern take a more challenging and/or interactive interface.

Latcho


Joel Stransky wrote:

I'm trying to make design patterns a regular part of my
process but
understanding them and knowing which one to use are proving to
be a quite
different.
I'm working on a couple of classes. One class's job is to
iterate over a
list of display objects and modify their scale and location
based on mouse
position.
I want this class to be able to work with a runtime generated
OR an
authortime generated display list.
I figure it's as easy as instantiating either a RuntimeChildren or
AuthortimeChildren class and passing it to the constructor of my
DisplayListUtility class.
Since it's so simple, does it even qualify as a design pattern
and if so
which one?

 



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
mailto:Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




--
--Joel Stransky
stranskydesign.com http://stranskydesign.com



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] What design pattern would this be?

2008-12-07 Thread John McCormack

And these ones:

http://www.dofactory.com/Patterns/Patterns.aspx

John


Jiri Heitlager wrote:

Maybe this one:
http://www.as3dp.com/2008/12/06/actionscript-30-visitor-design-pattern-a-tale-of-traverser-and-the-double-dispatch-kid/ 



or check out the articles there I am sure there is a pattern described 
that will suit your needs.


I also think the previous comment on overenginering should be taking 
into consideration..


Good luck,

Jiri

Joel Stransky wrote:
Thanks for your perfectly useless answer. I know if I could recognize 
the
need for certain patterns easily I'd be more than happy to help out 
rather

than chastise.It looks like it's possibly a Template pattern but I was
hoping for the same kind of insight I've been giving at flashkit for 
eight

years no matter how simple the question.

On Sat, Dec 6, 2008 at 10:29 PM, Latcho [EMAIL PROTECTED] wrote:


Are you gonna  take a map  if you have clear line of sight to your
destination ?
Shall we advise you on traffic light implementation  if you are the 
only

driver in the world ?
Dont' overengineer. If you want to integrate / learn a design 
pattern take

a more challenging and/or interactive interface.

Latcho


Joel Stransky wrote:


I'm trying to make design patterns a regular part of my process but
understanding them and knowing which one to use are proving to be a 
quite

different.
I'm working on a couple of classes. One class's job is to iterate 
over a
list of display objects and modify their scale and location based 
on mouse

position.
I want this class to be able to work with a runtime generated OR an
authortime generated display list.
I figure it's as easy as instantiating either a RuntimeChildren or
AuthortimeChildren class and passing it to the constructor of my
DisplayListUtility class.
Since it's so simple, does it even qualify as a design pattern and 
if so

which one?




___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders






___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders





___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] JavaFX released

2008-12-07 Thread Claus Wahlers

Anthony Pace wrote:

Sure for the corporate environment, or cell phones, or tv, javaFX wil 
kick flashes ass until adobe gets smart and gets rid of licensing 
drawbacks


Good morning:
http://www.openscreenproject.org/

Cheers,
Claus.

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Re: Registration Point of Clips (Scale 9)

2008-12-07 Thread SJF
Thanks Muzak and Joel - Top Left it is then. This was my thinking - thanks
for your clarification on this.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders