RE: [Flashcoders] brain teaser: filter tweening code has a problem, can you spot it?

2006-10-11 Thread Steven Sacks | BLITZ
f Of Muzak > Sent: Wednesday, October 11, 2006 4:51 PM > To: Flashcoders mailing list > Subject: Re: [Flashcoders] brain teaser: filter tweening code has a > problem,can you spot it? > > > > - Original Message - > From: "Steven Sacks | BLITZ" <[EMA

Re: [Flashcoders] brain teaser: filter tweening code has a problem, can you spot it?

2006-10-11 Thread Muzak
I'll let you know when I actually care ;-) - Original Message - From: "Steven Sacks | BLITZ" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Thursday, October 12, 2006 1:46 AM Subject: RE: [Flashcoders] brain teaser: filter tweening code has a p

RE: [Flashcoders] brain teaser: filter tweening code has a problem, can you spot it?

2006-10-11 Thread Steven Sacks | BLITZ
ECTED] On Behalf Of Muzak > Sent: Wednesday, October 11, 2006 4:30 PM > To: Flashcoders mailing list > Subject: Re: [Flashcoders] brain teaser: filter tweening code has a > problem,can you spot it? > > arghh, changed a variable name at the end and forgot to change it > somewher

Re: [Flashcoders] brain teaser: filter tweening code has a problem, can you spot it?

2006-10-11 Thread Muzak
arghh, changed a variable name at the end and forgot to change it somewhere else in the code. working version ;-) import mx.transitions.Tween; import mx.transitions.easing.*; import flash.filters.GlowFilter; import mx.utils.Delegate; class GlowClip extends MovieClip { private var glowTween:Twe

Re: [Flashcoders] brain teaser: filter tweening code has a problem, can you spot it?

2006-10-11 Thread Muzak
[gf]; >}; >}; > } > > Does that clear things up? > > > -Keith > http://home.mn.rr.com/keithreinfeld > > > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Steven Sacks > | BLITZ >

RE: [Flashcoders] brain teaser: filter tweening code has a problem, can you spot it?

2006-10-11 Thread Keith Reinfeld
Flashcoders mailing list Subject: RE: [Flashcoders] brain teaser: filter tweening code has a problem,can you spot it? Why are you creating a reference to this inside the onRollOver method? mc.onRollOver = function() { this.gfBX.continueTo(30, 2); }; There's no purpose behind

RE: [Flashcoders] brain teaser: filter tweening code has a problem, can you spot it?

2006-10-11 Thread Steven Sacks | BLITZ
s- > [EMAIL PROTECTED] On Behalf Of Keith Reinfeld > Sent: Wednesday, October 11, 2006 2:50 PM > To: 'Flashcoders mailing list' > Subject: RE: [Flashcoders] brain teaser: filter tweening code has a > problem,can you spot it? > > This works, > > > import m

RE: [Flashcoders] brain teaser: filter tweening code has a problem, can you spot it?

2006-10-11 Thread Keith Reinfeld
6 1:46 PM To: Flashcoders mailing list Subject: [Flashcoders] brain teaser: filter tweening code has a problem,can you spot it? Hi all, I downloaded a piece of filter tweening code, modified it (added loop around it) to tween mutiple clips on stage with the name (kText0, kText1, etc.) and for so

Re: [Flashcoders] brain teaser: filter tweening code has a problem, can you spot it?

2006-10-11 Thread Boon Chew
Flashcoders mailing list Sent: Wednesday, October 11, 2006 11:50:13 AM Subject: RE: [Flashcoders] brain teaser: filter tweening code has a problem, can you spot it? You've got a scope issue. The movieclip has no idea what gfBX or gfBY is on rollover because they are just temporary variables

RE: [Flashcoders] brain teaser: filter tweening code has a problem, can you spot it?

2006-10-11 Thread Steven Sacks | BLITZ
You've got a scope issue. The movieclip has no idea what gfBX or gfBY is on rollover because they are just temporary variables in your iterator and once your iterator is done they're gone and the movieclip has no reference to them. You need to assign gfBX and gfBY to the movieclip so it knows wha

[Flashcoders] brain teaser: filter tweening code has a problem, can you spot it?

2006-10-11 Thread Boon Chew
Hi all, I downloaded a piece of filter tweening code, modified it (added loop around it) to tween mutiple clips on stage with the name (kText0, kText1, etc.) and for some reason it only tweens the last clip. After some debugging I found out where the problem lies. But when I compiled the code