Adobe Dreamweaver Forums



Last 10 THreads :         can you make a LineChart cumulative? (Last Post : Amy Blankenship - Replies : 1 - Views : 2 )           »          Really Awful Bug (Last Post : Walter Elias - Replies : 5 - Views : 6 )           »          need help with flash movie for the website (Last Post : romalsz - Replies : 0 - Views : 1 )           »          Drop-Down Boxes showing blank (Last Post : karimc - Replies : 2 - Views : 3 )           »          Color query, at specific point on screen (Last Post : atta707 - Replies : 4 - Views : 5 )           »          Get Locale country and language codes (Last Post : PaulH **AdobeCommunityExpert** - Replies : 21 - Views : 22 )           »          Odd.... (Last Post : steve grosz - Replies : 2 - Views : 3 )           »          Spry Tabbed Panels - Start with no default tab?? (Last Post : rhore - Replies : 0 - Views : 1 )           »          Flash Player 10 compatibility (Last Post : Captiv8r - Replies : 3 - Views : 25 )           »          Connecting to a Database (Last Post : sugar_d - Replies : 5 - Views : 6 )           »         


Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
User Info Statistics
Go Back   Adobe Dreamweaver Forums > Other Macromedia/Adobe Products > Authorware
 
Tags: , , , , ,



Reply
  #1 (permalink)  
Old 06-29-2008, 01:55 AM
alleyshea
 
Posts: n/a
Diggs:
Default "Count Up" Timer (& Need to Display Different TimeDenomination)

This is a tough one, so any help or suggestions with just where to start
looking would be fantastic!

I am an academic researcher using authorware for my dissertation. In my
experiment, I need to make my participants experience a time delay. I want to
display something on the screen that shows the passage of time (i.e., "counts
up") in days, even though they are experiencing it in seconds. For example,
while the participant is experiencing the delay, I want to have the screen
display something like, "It has been 2 days since you have contacted your
partner". I would like to have the "2" change to a "3" after 10 seconds, and
then to a "4" after another 10 seconds, etc. Eventually after several days
have passed, they will move onto a new screen. I have already used
systemseconds to put a time delay into a different authorware piece (i.e., so
that participants could only access something after a certain amount of time),
so I know how to do that. However, I am not even sure where to start with
displaying the "count up", particularly displaying it in such a way that it
doesn't actually show the number of seconds that have passed, but a
corresponding amount of time.

If this doesn't make sense or needs clarification please let me know. I
appreciate any and all advice!!

Thanks!!

Tamara



Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 06-29-2008, 04:17 AM
Amy Blankenship
 
Posts: n/a
Diggs:
Default Re: "Count Up" Timer (& Need to Display Different Time Denomination)


"alleyshea" <webforumsuser@macromedia.com> wrote in message
news:g46ged$rli$1@forums.macromedia.com...
> This is a tough one, so any help or suggestions with just where to start
> looking would be fantastic!
>
> I am an academic researcher using authorware for my dissertation. In my
> experiment, I need to make my participants experience a time delay. I
> want to
> display something on the screen that shows the passage of time (i.e.,
> "counts
> up") in days, even though they are experiencing it in seconds. For
> example,
> while the participant is experiencing the delay, I want to have the screen
> display something like, "It has been 2 days since you have contacted your
> partner". I would like to have the "2" change to a "3" after 10 seconds,
> and
> then to a "4" after another 10 seconds, etc. Eventually after several
> days
> have passed, they will move onto a new screen. I have already used
> systemseconds to put a time delay into a different authorware piece (i.e.,
> so
> that participants could only access something after a certain amount of
> time),
> so I know how to do that. However, I am not even sure where to start with
> displaying the "count up", particularly displaying it in such a way that
> it
> doesn't actually show the number of seconds that have passed, but a
> corresponding amount of time.
>
> If this doesn't make sense or needs clarification please let me know. I
> appreciate any and all advice!!


Probably the easiest thing to do is to use an Interaction with a time limit
response on it. Set the time limit response properties to 10
seconds/Restart for each try/Try again branching/Don't erase. Attach a
Display icon, and type this text into it:

It has been {TimesMatched} days since you have contacted your partner.

HTH;

Amy


Reply With Quote
  #3 (permalink)  
Old 06-29-2008, 04:17 AM
Mike Baker **Adobe Community Expert**
 
Posts: n/a
Diggs:
Default Re: "Count Up" Timer (& Need to Display Different Time Denomination)

You can make a counter for 1/10ths of a second pretty easy.

Calc icon
StartTimer := SystemSeconds

DisplayIcon -
It's been {INT((SystemSeconds - StartTimer) / 10)} days since you contacted
your partner.

Then you build an interaction with a time limit response that triggers after
the amount of time you want. That response will trigger the movement to the
new page.

Mike

"alleyshea" <webforumsuser@macromedia.com> wrote in message
news:g46ged$rli$1@forums.macromedia.com...
> This is a tough one, so any help or suggestions with just where to start
> looking would be fantastic!
>
> I am an academic researcher using authorware for my dissertation. In my
> experiment, I need to make my participants experience a time delay. I

want to
> display something on the screen that shows the passage of time (i.e.,

"counts
> up") in days, even though they are experiencing it in seconds. For

example,
> while the participant is experiencing the delay, I want to have the screen
> display something like, "It has been 2 days since you have contacted your
> partner". I would like to have the "2" change to a "3" after 10 seconds,

and
> then to a "4" after another 10 seconds, etc. Eventually after several

days
> have passed, they will move onto a new screen. I have already used
> systemseconds to put a time delay into a different authorware piece (i.e.,

so
> that participants could only access something after a certain amount of

time),
> so I know how to do that. However, I am not even sure where to start with
> displaying the "count up", particularly displaying it in such a way that

it
> doesn't actually show the number of seconds that have passed, but a
> corresponding amount of time.
>
> If this doesn't make sense or needs clarification please let me know. I
> appreciate any and all advice!!
>
> Thanks!!
>
> Tamara
>



Reply With Quote


  #4 (permalink)  
Old 06-29-2008, 09:29 PM
alleyshea
 
Posts: n/a
Diggs:
Default Re: "Count Up" Timer (& Need to Display Different TimeDenomination)

Thank you both for your help. I have tried both ways and they work, but each
way I get stuck with a different problem.

With the way Amy suggested, I am not sure how to trigger the movement to the
next page after a certain number of days.

This is probably why Mike suggested a different way, this works and I do get
to the next page after the specified length of time has passed. However, the
number of days doesn't update on the screen. If I click on the icon again, it
updates appropriately, but if I just go in and run it (without reclicking on
the icon) it stays at "0" until the time has passed and it moves to the next
screen.

Again, I greatly appreciate your help. This has to be one of the best message
boards around. Responses are always so quick and helpful, it makes using
authorware so much more manageable.

Tamara

Reply With Quote
  #5 (permalink)  
Old 06-30-2008, 01:07 AM
Amy Blankenship
 
Posts: n/a
Diggs:
Default Re: "Count Up" Timer (& Need to Display Different Time Denomination)


"alleyshea" <webforumsuser@macromedia.com> wrote in message
news:g48mbj$8t7$1@forums.macromedia.com...
> Thank you both for your help. I have tried both ways and they work, but
> each
> way I get stuck with a different problem.
>
> With the way Amy suggested, I am not sure how to trigger the movement to
> the
> next page after a certain number of days.


Put a Calculated path decision after the Display icon in the response where
the condition is TimesMatched = x (x being however many times you want it to
trigger) and attach a navigation icon to it that goes to the next page.

HTH;

Amy


Reply With Quote
  #6 (permalink)  
Old 06-30-2008, 04:54 AM
alleyshea
 
Posts: n/a
Diggs:
Default Re: "Count Up" Timer (& Need to Display Different TimeDenomination)

Wow, that was really easy! Thanks so much.

I just have one more problem. I probably didn't notice this before because I
was so excited it worked at all but it doesn't show the word or number of days
for "0" days. It's just a blank screen, and then after 10 seconds it says "It
has been 1 day(s) since you have contacted your partner". Maybe I didn't do it
quite right. I have an interaction icon inside a map (let's call it "map1")
that is attached to the rest of my framework. I then have a map icon ("map2")
attached to the interaction icon which has the time limit response. Inside
map2 I have a display icon within which I typed "It has been {TimesMatched}
day(s) since you have contacted your partner". After that is the decision icon
with the calculated path and the navigation icon.

Everything else works like a charm, I just would like the participants to see
"It has been 0 day(s) since you have contacted your partner" rather than a
blank screen for those first 10 seconds after they enter this section.

Thanks so much for your help!

Tamara

Reply With Quote


  #7 (permalink)  
Old 06-30-2008, 04:54 AM
Mike Baker **Adobe Community Expert**
 
Posts: n/a
Diggs:
Default Re: "Count Up" Timer (& Need to Display Different Time Denomination)

Select the display icon that holds the days calculation and check the top
box in the properties (update displayed variables). That should get your
counter working.

HTH,
Mike
====================
Mike Baker
Adobe Community Expert
mike-baker at cox dot net


Reply With Quote
  #8 (permalink)  
Old 06-30-2008, 02:18 PM
Amy Blankenship
 
Posts: n/a
Diggs:
Default Re: "Count Up" Timer (& Need to Display Different Time Denomination)


"alleyshea" <webforumsuser@macromedia.com> wrote in message
news:g49fr4$4tn$1@forums.macromedia.com...
> Wow, that was really easy! Thanks so much.
>
> I just have one more problem. I probably didn't notice this before
> because I
> was so excited it worked at all but it doesn't show the word or number of
> days
> for "0" days. It's just a blank screen, and then after 10 seconds it says
> "It
> has been 1 day(s) since you have contacted your partner". Maybe I didn't
> do it
> quite right. I have an interaction icon inside a map (let's call it
> "map1")
> that is attached to the rest of my framework. I then have a map icon
> ("map2")
> attached to the interaction icon which has the time limit response.
> Inside
> map2 I have a display icon within which I typed "It has been
> {TimesMatched}
> day(s) since you have contacted your partner". After that is the decision
> icon
> with the calculated path and the navigation icon.
>
> Everything else works like a charm, I just would like the participants to
> see
> "It has been 0 day(s) since you have contacted your partner" rather than a
> blank screen for those first 10 seconds after they enter this section.
>
> Thanks so much for your help!


Sorry, I didn't realize you wanted to see it before there were any days :-)

Try this:

Move your display icon that is displaying the information above the
Interaction. As Mike said in his response, set the Display to "Update
Displayed Variables." Change the text embedded in the icon from

It has been {TimesMatched} days since you have contacted your partner.

to

It has been {TimesMatched@"Your Response"} days since you have contacted
your partner.

Where your response is the name of the time limit response icon.

HTH;

Amy


Reply With Quote
  #9 (permalink)  
Old 06-30-2008, 10:06 PM
alleyshea
 
Posts: n/a
Diggs:
Default Re: "Count Up" Timer (& Need to Display Different TimeDenomination)

Works like a charm, thank you again so much!
Reply With Quote


  #10 (permalink)  
Old 06-30-2008, 10:06 PM
Amy Blankenship
 
Posts: n/a
Diggs:
Default Re: "Count Up" Timer (& Need to Display Different Time Denomination)

:-)
"alleyshea" <webforumsuser@macromedia.com> wrote in message
news:g4bfi1$eit$1@forums.macromedia.com...
> Works like a charm, thank you again so much!



Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 03:44 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Inactive Reminders By Mished.co.uk