mailing list flashcoders@chattyfig.figleaf.com
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
This works,
import mx.transitions.Tween;
import mx.transitions.easing.*;
import flash.filters.GlowFilter;
var gf:GlowFilter = new GlowFilter(0x356D83, 100, 5, 5, 5, 3, false, false);
for (var i = 0; i 5; ++i)
{
var mc:MovieClip = this[kText + i];
mc.filters = [gf];
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 mx.transitions.Tween;
import mx.transitions.easing.*;
import
to this.
-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[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
To: 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
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
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
somewhere else in the code.
working version ;-)
import
I'll let you know when I actually care ;-)
- Original Message -
From: Steven Sacks | BLITZ [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Thursday, October 12, 2006 1:46 AM
Subject: RE: [Flashcoders] brain teaser: filter tweening code has
, 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 [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Thursday
9 matches
Mail list logo