At 4:41 PM -0200 2/5/03, you wrote:
hi, kurt
sorry for replying so late, but i tried your solution only yesterday. anyway, it didn�t work, �cause when the alpha is set, it takes all the blur effects of the image. bottom line is: is it possible to apply an imaging lingo effect on images with alpha channel active?
the trick is to rip off the alpha (use .extractAlpha) & do the blur & then return the original alpha

while we�re on this subject: the imaging lingo acts as "direct to stage" always? for instance, if i put a sprite on top of the altered one, it disappears when the effect takes place, the same way as a video or flash sprite. can this "direct to stage" aspect be turned off?
well, hope james and paul books can respond these questions! :^))
James' book definitely can.

hth
-Buzz

regards,
q

At 12:55 22/1/2003 -0500, you wrote:
 > hi, imaging lingo gurus out there
 i�m trying to simulate the effect of an image that goes in and out of focus
 according to the lens position on a telescope. you can see it at
 http://planeta.terra.com.br/arte/quixada/mast/tele.htm. the problem is that
 the image must be rounded, and when the blur effect takes place, it spreads
 in order to take the whole rectangular area of the image, disregarding the
 alpha channel of the original bitmap.
 i tried to put a mask (the background with a hole in the middle) above the
 blured sprite, but it seems that the effect is kinda "direct to stage".  is
 there a way to constrain the blur effect on a circular area, or prevent it
 to happen on an alpha channel area?
Try extracting the alpha channel, then applying your blur effect, and then
sticking the original alpha back on the image. Sort of like this:

originalAlpha = theImage.extractAlpha()

--do your blur to theImage

theImage.setAlpha(originalAlpha)
theImage.useAlpha = TRUE

hth,
Kurt

[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]

[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to