Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently December 23rd, 2024, 7:15 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Timers in Flex
PostPosted: November 23rd, 2009, 4:22 am 
Offline

Joined: July 12th, 2009, 10:33 am
Posts: 124
Hi

Has anyone created a timer for a flex pub? Clocks don't work and 'wait' seems to be ignored in a script. I need the timer to be running in the background whilst other things are happening. I've tried a few methods of introducing a delay so that a count can be increased, but found nothing that does the job effectively.

Any ideas appreciated.
Many thanks
Dan

_________________
V9.6. Windows 10. Testing on PC, Mac, iPad.


Top
 Profile Visit website  
 
 Post subject: Re: Timers in Flex
PostPosted: November 23rd, 2009, 5:31 am 
Offline

Joined: November 5th, 2004, 6:54 am
Posts: 130
Location: Hengelo, The Netherlands
Opus: 8.5/9.0
OS: Windows 7 64-bits, Android 2.1, Android 4.1.2, iOS 7
System: Pentium 7i, 6GB RAM, 750GB HD, DVD-RW (+/-), DV, 3TB EHD, 3D monitor without glasses
Hi Dan,

Isn't it possible to use the ticker in your project?
You can add a variable to a script that will be updated with 1 each second the ticker works.
Another script may trigger the action when the variable is equal to for example 10.

I tried to attach an example, but I can't upload it (Sorry, you have reached your maximum Upload Quota Limit of 10 MB??????).

If you want I can send it to your email adrress.

_________________
Oscar Nijst
ON Education & Consultancy
Hengelo, The Netherlands
OPUS Pro 9.5
Pentium 7i, 16GB RAM, 1 TB HD, DVD-RW (+/-), DV, 3TB EHD, 3D monitor without glasses


Top
 Profile Visit website  
 
 Post subject:
PostPosted: November 23rd, 2009, 6:36 am 
Offline

Joined: July 12th, 2009, 10:33 am
Posts: 124
That's a great call thanks Oscar. I've never used the ticker, so didn't think of it. It's easy to use as well.

( I just had the ticker increase my Clock variable by 1 each second if Running = 1. Start and Stop buttons then change the Running variable to 1 and 0).

Cheers
Dan

_________________
V9.6. Windows 10. Testing on PC, Mac, iPad.


Top
 Profile Visit website  
 
 Post subject:
PostPosted: November 23rd, 2009, 1:44 pm 
Offline

Joined: November 5th, 2004, 6:54 am
Posts: 130
Location: Hengelo, The Netherlands
Opus: 8.5/9.0
OS: Windows 7 64-bits, Android 2.1, Android 4.1.2, iOS 7
System: Pentium 7i, 6GB RAM, 750GB HD, DVD-RW (+/-), DV, 3TB EHD, 3D monitor without glasses
Hi Dan,

Great you found a solution.

_________________
Oscar Nijst
ON Education & Consultancy
Hengelo, The Netherlands
OPUS Pro 9.5
Pentium 7i, 16GB RAM, 1 TB HD, DVD-RW (+/-), DV, 3TB EHD, 3D monitor without glasses


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 51 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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group