On a card I will show an Image with a visual effect.
on openCard
----------
set the visible of image "myImage" to false
send "doShow" to me in 5 seconds
----------
end openCard
on doShow
show image "myImage" with visual effect "dissolve" very slow
end doShow
Wenn a "Click" on a Button on the same card when the "ffect" is running, The Button will not be activated (do something) until the "visual effect" is terminated.
Exist a possibility to bypass this behaviour??
Visual effect not interrupted
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: Visual effect not interrupted
Hi thebelg,
no, unfotunately "visual effects" are completely blocking.
Best
Klaus
no, unfotunately "visual effects" are completely blocking.
Best
Klaus
-
- VIP Livecode Opensource Backer
- Posts: 7237
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: Visual effect not interrupted
You can do it with a repeat loop that sets the blendlevel from 100 to 0 in steps. Add a "wait 5 milliseconds with messages" inside the loop, which will allow other user actions to work.
Note that if the user action triggers a long handler the loop will be delayed.
Note that if the user action triggers a long handler the loop will be delayed.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: Visual effect not interrupted
Thanks a lot. So it works fine for our application.
Regards
Marcel
Regards
Marcel