Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently November 7th, 2024, 8:27 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: 2 simple questions , but very important for my project...
PostPosted: April 25th, 2007, 3:26 pm 
Offline

Joined: September 29th, 2006, 3:12 am
Posts: 39
hy everyone,
I would like to know:...

1-you have in a page a pushbutton with left click mouse action
..for ex.(action alfa)
how you can activate (action alfa) from this pushbutton with a time delay without left clicking the pushbutton?
I mean the push button activates by itself after a time delay without the need of the mouse ...

2-is there any script or action who pauses everything in one click ,such as (vectors , animation, video, sound, everything) going on the viewed page?

thanks...


Top
 Profile  
 
 Post subject:
PostPosted: April 26th, 2007, 7:52 am 
Offline

Joined: July 7th, 2005, 10:44 am
Posts: 16
1. Personally I'd do something like:
- button-onload: wait 5 seconds
- then set some-variable to true

and

- button-onclick: if some-variable==true then do action, else do nothing


2. pausing all elements on stage should be done by pausing the scripts or timelines. So if you move elements by script, you should also build in a listener in that script which pauses on some condition.

If you move elements by timelines, you can simply stop the timelines for while by script.


I hope this helps you out.

Gr,
Paul


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bing [Bot] and 24 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group