Re: [Flashcoders] Minimizing Code: Logic Issue

2009-12-09 Thread Alain Rousseau
chattyfig.figleaf.com] On Behalf Of David Hunter [davehunte...@hotmail.com] Sent: Tuesday, December 08, 2009 9:22 AM To: flashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders] Minimizing Code: Logic Issue i've been following this thread and may have missed a critical detail, but why do yo

Re: [Flashcoders] Minimizing Code: Logic Issue

2009-12-08 Thread Glen Pike
On reflection some of the ideas I had are a bit messy - this has probably come from mixing stuff in with legacy code for a year - but Ted's solution looks quite nice and elegant without attaching extra properties to the clips :) Paul Andrews wrote: I haven't really followed this thread that

Re: [Flashcoders] Minimizing Code: Logic Issue

2009-12-08 Thread Paul Andrews
I haven't really followed this thread that closely, but I do see a lot of complication about naming a lot of clips and later trying to access them by reconstructing the correct name. I generally try and avoid doing this kind of "name reconstruction" where a lot of clips are involved in some ki

RE: [Flashcoders] Minimizing Code: Logic Issue

2009-12-08 Thread Lehr, Theodore
; From: ted_l...@federal.dell.com > To: flashcoders@chattyfig.figleaf.com > Date: Tue, 8 Dec 2009 08:58:34 -0500 > Subject: RE: [Flashcoders] Minimizing Code: Logic Issue > > OK - I think I MAY have found a way - which leads me to another question: how > can I grab the FULL "na

RE: [Flashcoders] Minimizing Code: Logic Issue

2009-12-08 Thread David Hunter
the example, I want to extract mc2 from the path. > > > From: flashcoders-boun...@chattyfig.figleaf.com > [flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Glen Pike > [g...@engineeredarts.co.uk] > Sent: Tuesday, December 08, 2009 8:02 AM > To: Flash

RE: [Flashcoders] Minimizing Code: Logic Issue

2009-12-08 Thread Lehr, Theodore
ed this.nm it did >> not work at all... so I took this. out and just used nm, while it "works" >> they are all suing the last array member >> >> >> From: flashcoders-boun...@chattyfig.figleaf.com >> [flashco

Re: [Flashcoders] Minimizing Code: Logic Issue

2009-12-08 Thread Glen Pike
...@chattyfig.figleaf.com] On Behalf Of Glen Pike [g...@engineeredarts.co.uk] Sent: Tuesday, December 08, 2009 9:10 AM To: Flash Coders List Subject: Re: [Flashcoders] Minimizing Code: Logic Issue That's the _name parameter Lehr, Theodore wrote: OK - I think I MAY have found a way - which lea

RE: [Flashcoders] Minimizing Code: Logic Issue

2009-12-08 Thread Lehr, Theodore
...@engineeredarts.co.uk] Sent: Tuesday, December 08, 2009 9:10 AM To: Flash Coders List Subject: Re: [Flashcoders] Minimizing Code: Logic Issue That's the _name parameter Lehr, Theodore wrote: > OK - I think I MAY have found a way - which leads me to another question: how > can I grab the FULL "name&q

Re: [Flashcoders] Minimizing Code: Logic Issue

2009-12-08 Thread Glen Pike
2 from the path. From: flashcoders-boun...@chattyfig.figleaf.com [flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Glen Pike [g...@engineeredarts.co.uk] Sent: Tuesday, December 08, 2009 8:02 AM To: Flash Coders List Subject: Re: [Flashcoders] Minimizing Code: L

RE: [Flashcoders] Minimizing Code: Logic Issue

2009-12-08 Thread Lehr, Theodore
oders-boun...@chattyfig.figleaf.com [flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Glen Pike [g...@engineeredarts.co.uk] Sent: Tuesday, December 08, 2009 8:02 AM To: Flash Coders List Subject: Re: [Flashcoders] Minimizing Code: Logic Issue Hmm, Just to be clear. I guess you are creating a

Re: [Flashcoders] Minimizing Code: Logic Issue

2009-12-08 Thread Glen Pike
coders-boun...@chattyfig.figleaf.com] On Behalf Of Glen Pike [g...@engineeredarts.co.uk] Sent: Tuesday, December 08, 2009 8:02 AM To: Flash Coders List Subject: Re: [Flashcoders] Minimizing Code: Logic Issue Hmm, Just to be clear. I guess you are creating a number of clips on which you set the alpha. The

RE: [Flashcoders] Minimizing Code: Logic Issue

2009-12-08 Thread Lehr, Theodore
.co.uk] Sent: Tuesday, December 08, 2009 8:02 AM To: Flash Coders List Subject: Re: [Flashcoders] Minimizing Code: Logic Issue Hmm, Just to be clear. I guess you are creating a number of clips on which you set the alpha. Then you are using an equal number of clips that can be rolled over. Wh

RE: [Flashcoders] Minimizing Code: Logic Issue

2009-12-08 Thread Lehr, Theodore
e [g...@engineeredarts.co.uk] Sent: Tuesday, December 08, 2009 8:02 AM To: Flash Coders List Subject: Re: [Flashcoders] Minimizing Code: Logic Issue Hmm, Just to be clear. I guess you are creating a number of clips on which you set the alpha. Then you are using an equal number of clips that can be rolled

Re: [Flashcoders] Minimizing Code: Logic Issue

2009-12-08 Thread Greg Ligierko
"works" they are all suing the last array member > > From: flashcoders-boun...@chattyfig.figleaf.com > [flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Glen Pike > [postmas...@glenpike.co.uk] > Sent: Monday, December 07, 20

Re: [Flashcoders] Minimizing Code: Logic Issue

2009-12-08 Thread Glen Pike
"works" they are all suing the last array member From: flashcoders-boun...@chattyfig.figleaf.com [flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Glen Pike [postmas...@glenpike.co.uk] Sent: Monday, December 07, 2009 5:48 PM To: Flash Coders

RE: [Flashcoders] Minimizing Code: Logic Issue

2009-12-08 Thread Lehr, Theodore
igleaf.com [flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Glen Pike [postmas...@glenpike.co.uk] Sent: Monday, December 07, 2009 5:48 PM To: Flash Coders List Subject: Re: [Flashcoders] Minimizing Code: Logic Issue Hi, Not sure what your findValue function does, but I am guessing you are looki

RE: [Flashcoders] Minimizing Code: Logic Issue

2009-12-08 Thread Lehr, Theodore
er 07, 2009 5:48 PM To: Flash Coders List Subject: Re: [Flashcoders] Minimizing Code: Logic Issue Hi, Not sure what your findValue function does, but I am guessing you are looking for the name in an array of names Anyway, you could create an array of names that you are going to use and

Re: [Flashcoders] Minimizing Code: Logic Issue

2009-12-07 Thread Glen Pike
Hi, Not sure what your findValue function does, but I am guessing you are looking for the name in an array of names Anyway, you could create an array of names that you are going to use and loop throught these to attach your onRollover / onRollout functionality. To make if work for