Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CARL>>>clock (again) sheeeesh ;-) 1

Status
Not open for further replies.

davdesign

Technical User
Oct 21, 2000
1,482
GB
endangereddate = new Date();
/:hours = endangereddate.gethours();
/:mins = endangereddate.getMinutes();
/:secs = endangereddate.getSeconds();
/:fulldate = new Date(year, month, date, hour, min, sec, ms);

dynamic text-box has variable /:fulldate, locate text-box within first frame of mc (no additional fframes required).

Drag mc onto stage, right-click on it and select actions, insert the following:

onClipEvent (enterFrame) {
endangereddate = new Date();
/:hours = endangereddate.gethours();
/:mins = endangereddate.getMinutes();
/:secs = endangereddate.getSeconds();
/:fulldate = new Date(year, month, date, hour, min, sec, ms);
}

Everything done in single frames.

dave ;-) davdesign@pinkzeppelin.com

^^^^^^^^^^^^^^^^^^^^^
 
ignore top 5 lines of that previous post.

dave

6am, signing out davdesign@pinkzeppelin.com

^^^^^^^^^^^^^^^^^^^^^
 
sorry dave i got it now..you won't beleive it if i told ya..the whole time i was forgeting to pull the damnn mc onto the main timeline..ok now that i have humiliated myself i will jump out the window..or go to sleep seeing that i have been working for two days with no sleep and this computer is driving me crazy..

but remember children of flash land..if you create a mc make sure you drag the dang thing into the main timeline if ya wan't it to work..

shhhheeeeeeeeeeeeeeessssssssshhhhhhhhhhhh..is right dave..

sorry about that..
e.gif


virtuality2001@aol.com
 
LOL nice one Carl! davdesign@pinkzeppelin.com

^^^^^^^^^^^^^^^^^^^^^
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top