>From: andu <[EMAIL PROTECTED]>
>Subject: Re: MC 2.4 b1 visual bug?
>Date: Wed, 13 Jun 2001 10:00:42 -0400
>MIME-Version: 1.0
>Content-Type: text/plain; charset=us-ascii
>Content-Transfer-Encoding: 7bit
>References: <[EMAIL PROTECTED]>
>
>Alex Shaw wrote:
> >
> > hi all
> >
> > I've a small problem with MC 2.4b1 on the MAC...
> >
> > using the visual command to display a image (rollover type thing)..
> >
> > quick eg
> >
> > #test1 contains a url image
> > #gfx1 is a buffered onscreen image
> > on mouseleave
> >   lock screen
> >   put test1 into img gfx1 with visual dissolve slow
> >   unlock screen
> > end mouseleave
>
>Why do you lock the screen? Try without.

Been there, done that... I cant explain it

I can send you a demo stack if required..

Since I mainly needed to fade things... im now using blendlevels ... see below

on FadeOut imagename, fadespeed
   local fadelevel
   put the blendlevel of img imagename into fadelevel
   if fadelevel < 100 then
     add 1 to fadelevel
     set the blendlevel of img imagename to fadelevel
     send ("FadeOut" && imagename & comma & fadespeed)  to me in fadespeed 
milliseconds
   end if
end FadeOut

on FadeIn imagename, fadespeed
   local fadelevel
   put the blendlevel of img imagename into fadelevel
   if fadelevel > 0 then
     subtract 1 from fadelevel
     set the blendlevel of img imagename to fadelevel
     send ("FadeIn" && imagename & comma & fadespeed) to me in fadespeed 
milliseconds
   end if
end FadeIn


this works! :)

alex


Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to