RE: [Flashcoders] Re: Blur effect via action scripting

2007-05-03 Thread David Ngo
Loops would be instantaneous. You would need to control the duration of the
effect via some sort of timer or interval. Tweens essentially package up
this timer functionality with a set of equations to handle property changes.
It's all just math, really, but I don't think using loops would be as
efficient as using a tween.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Glenn Grant
Sent: Friday, May 04, 2007 12:04 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Re: Blur effect via action scripting

you don't even need a tween package for this (altho they sure are useful
things). read about BitmapData, BlurFilter, and Repeating actions using
loops in the Flash Help.

gg


  OOoops!!! I am sorry. It is not blue but blur.
  I have three good quality image in my application. Initially I want all
  three look blur but when user roll over to it then it will gradually
  become
  clear image  when roll out it would be again blur.

 There are a lot of different tweening packages out there that do the
 thing with one command only (or very close to it). There's MC Tween,
 Fuse Kit, Tweener, and probably others who do support 'native' filter
 blur filtering.

 That's the kind of solution you should be looking for. No need for
 overcomplicate a problem that's so simple.


 Zeh



___
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] Re: Blur effect via action scripting

2007-05-03 Thread Zeh Fernando

you don't even need a tween package for this (altho they sure are
useful things). read about BitmapData, BlurFilter, and Repeating
actions using loops in the Flash Help.


The advantage of using any tweening extension is exactly to avoid the
excessive hassle one has to go through when creating even the simplest
transition by raw coding, and to allow a lot more features to be used
easily, so I can't see how it could be helpful to reinvent the wheel at
this point and do something much simpler in a more difficult way and
wasting more time.

You don't need a lot of things in actionscript. Whether you're better 
off without them is another question.




Loops would be instantaneous. You would need to control the duration
of the effect via some sort of timer or interval. Tweens essentially
package up this timer functionality with a set of equations to handle
property changes. It's all just math, really, but I don't think using
loops would be as efficient as using a tween.


You got it right first - you can't use loops for that as code execution 
has to be halted (and a new frame rendered) for any visual change to be 
sent to the screen.



Zeh
___
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