Linking pics with actionscript

This is a discussion on "Linking pics with actionscript" within the Flash & Multimedia Forum section. This forum, and the thread "Linking pics with actionscript are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Flash & Multimedia Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Dec 4th, 2005, 22:19
New Member
Join Date: Dec 2005
Age: 59
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Question Linking pics with actionscript

Hi, I have been trying to get a digital clock to work but to no avail because I can't get the simple graphic of the clock to work with the script. Can anyone help an idiot?
Kevin
Reply With Quote

  #2 (permalink)  
Old Dec 5th, 2005, 17:30
benbacardi's Avatar
Highly Reputable Member
Join Date: Feb 2004
Location: United Kingdom
Age: 20
Posts: 611
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to benbacardi Send a message via Skype™ to benbacardi
Re: Linking pics with actionscript

we may be able to help if you could post the code or some more information?
Reply With Quote
  #3 (permalink)  
Old Dec 5th, 2005, 21:30
New Member
Join Date: Dec 2005
Age: 59
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Linking pics with actionscript

Hi,
Thanks for taking the time. Here's is the code used which I think is allright. its the linking to a graphical image of a clock that I am unable to achieve.
Reply With Quote
  #4 (permalink)  
Old Dec 5th, 2005, 21:33
New Member
Join Date: Dec 2005
Age: 59
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Linking pics with actionscript

This code was inserted in the actionscript frame 1 (Hours)
Reply With Quote
  #5 (permalink)  
Old Dec 6th, 2005, 01:32
Highly Reputable Member
Join Date: May 2005
Location: U.K
Age: 21
Posts: 739
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to benbramz
Re: Linking pics with actionscript

eeerm what code?
Reply With Quote
  #6 (permalink)  
Old Dec 6th, 2005, 09:52
New Member
Join Date: Dec 2005
Age: 59
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Linking pics with actionscript

Sorry, Forgot to paste code:

var dt, timeint;
dt = new Date();
ch = dt.getHours();
cm = dt.getMinutes();
cs = dt.getSeconds();
timeint = setInterval(timer, 1000);
function timer() {
dt = new Date();
ch = dt.getHours();
cm = dt.getMinutes();
cs = dt.getSeconds();
}
Reply With Quote
  #7 (permalink)  
Old Dec 31st, 2005, 14:39
New Member
Join Date: Dec 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Linking pics with actionscript

Hello
I've checked Your code. It works...but I don't know what is a reason of creating 2 Date's objects... Perhaps I don't understand the problem.

I've tried also this:

function timer() {
var dtate = new Date();
ch = dt.getHours();
cm = dt.getMinutes();
cs = dt.getSeconds();
trace(ch + ":" + cm + ":" + cs + " it works!");
}
timeint = setInterval(timer, 1000);
Reply With Quote
  #8 (permalink)  
Old Dec 31st, 2005, 14:40
New Member
Join Date: Dec 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Linking pics with actionscript

Sorry... this one...

var dtate;
function timer() {
dt = new Date();
ch = dt.getHours();
cm = dt.getMinutes();
cs = dt.getSeconds();
trace(ch + ":" + cm + ":" + cs + "-it works!");
}
timeint = setInterval(timer, 1000);

what is the problem??
Reply With Quote
Reply

Tags
linking, pics, actionscript

Thread Tools

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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
post pics of your work area alexgeek Webforumz Cafe 41 Feb 29th, 2008 15:09
2nd attempt, site but no pics! jotto Starting Out 6 Sep 14th, 2007 00:02
Member Pics! Daniel Webforumz Cafe 16 Apr 3rd, 2007 21:41
Member pics Daniel Webforumz Cafe 81 Dec 13th, 2006 13:36
Actionscript linking to HTML parameters, can it be done? Zhan Flash & Multimedia Forum 12 Jul 25th, 2005 21:14


All times are GMT. The time now is 11:56.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43