|
Prev: Authorware for DVD games creation?
Next: M,I-5,Persecu tion MI5 are Afrai d to Adm it T heyre Behi nd t he Persecuti on
From: Rodimus_Prime on 29 Dec 2007 08:46 I am trying to use the Microsoft Date and Time Picker Control 6.0 to allow the user to select dates that have already passed. I can get it inserted into my piece okay, but I am wondering how to capture the variable that would hold the date the user selected? Any thoughts or directions to resources would be appreciated, thanks
From: Mike Baker **Adobe Community Expert** on 29 Dec 2007 10:41 Try this.. result := GetSpriteProperty(@"ActiveX...", #Value) HTH, Mike ==================== Mike Baker Adobe Community Expert mike-baker(a)cox.net
From: Rodimus_Prime on 30 Dec 2007 04:48 That's awesome mike. I was able to catch the date when the ActiveX loads for the first time, but it kinda sucks if the user wants to go back and change the entry. What's the best way to set up a perpetual calculation icon to constantly check for changes in the ActiveX, and update the variable? I know working with controls to watch for the change event variable, does ActiveX have similar variables that I could watch for? Jon
From: Mike Baker **Adobe Community Expert** on 30 Dec 2007 11:28 Drag in an interaction below the activex icon then attach a calc icon. When the dialog box asks you for "Response Type" select "Event". Click the little "E" to open the properties for the event response. On the "Event" tab, doubleclick the icon with the activex calendar in the "Sender" box. Then double-click "Change" in the "Event" box. On the "Response" tab, check perpetual then select "Return" for the "Branch" option. Put the script to get the property into the calc attached to the icon. That should do it. Mike ==================== Mike Baker Adobe Community Expert mike-baker(a)cox.net
From: Rodimus_Prime on 1 Jan 2008 21:41
Thanks Mike, that's perfect. |