Login  |  Register
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome, Guest. Please login or register.
Did you miss your activation email?

August 19, 2022, 06:06:10 AM

Login with username, password and session length
Members
  • Total Members: 3843
  • Latest: Tricky
Stats
  • Total Posts: 193479
  • Total Topics: 21088
  • Online today: 58
  • Online ever: 1035
  • (November 26, 2020, 04:45:12 AM)
Users Online
Users: 1
Guests: 44
Total: 45

Author Topic: flash clocks  (Read 20497 times)

0 Members and 1 Guest are viewing this topic.

Moocat

  • Guest
flash clocks
« on: September 07, 2005, 09:58:47 PM »
EDIT: read below for flash clock embed code.
« Last Edit: September 20, 2005, 09:49:14 AM by Moocat »

Moocat

  • Guest
Re: clock
« Reply #1 on: September 09, 2005, 09:23:29 AM »
ok the problem is basically solved now... all i had to do was change the type of block to a javascript/html from a simple js block, and it works in IE and FF. for some reason, when i typoed and said the path was "/foum/clock.swf/" IE displayed the clock but FF did not. wierd huh? anyway, now its centered perfectly :) if anyone wants to know how to embed a clock in a simple js/html (*a plain html block won't work!!*) block, heres the code!

Code: [Select]
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" id="clock" width=157 height=157 bgcolor=white>
<PARAM NAME=movie VALUE="/forum/clocks/amber.swf">
<PARAM NAME=quality VALUE=high>
<PARAM NAME="wmode" value="transparent">
<EMBED src="/forum/clocks/amber.swf" quality=high NAME="clock" ALIGN="center" width=157 height=157 TYPE="application/x-shockwave-flash"
PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer" wmode=transparent>
</EMBED>
</OBJECT>
i had the width and height set to 162 to fit my block, but you have to change that to work for you... all you have to do to get your clock working is change the "/forum/clock.swf" to the path that your clock is in, and "clock.swf" to the filename and it will work :)
http://www.adamdorman.com/flash_clocks1.php is great for flash clocks :)
« Last Edit: November 14, 2005, 11:10:04 PM by Moocat »

carver

  • Guest
Re: flash clocks
« Reply #2 on: September 18, 2005, 05:13:13 PM »
is this a version 0.7.2 block or should this work with 0..6.5 ?
I get the block of proper size but no clock...
Any ideas?

Moocat

  • Guest
Re: flash clocks
« Reply #3 on: September 18, 2005, 10:01:16 PM »
you need to download the clock file (of course) and upload it to the directory specified. also name it clock.swf and it should work fine.

Moocat

  • Guest
Re: flash clocks
« Reply #4 on: September 18, 2005, 10:11:53 PM »
remember also, put the code in an html/javascript block, and make it without a title bar or background. then all you have to do is choose the clock and set the dimensions right and it should work. if not, maybe you don't have macromedia flash? try it in both firefox and IE see if it work in either, because you have to install macromedia flash seperately

carver

  • Guest
Re: flash clocks
« Reply #5 on: September 19, 2005, 07:09:31 AM »
Thanks. I need to stop doing this when I am half asleep...

Moocat

  • Guest
Re: flash clocks
« Reply #6 on: September 19, 2005, 10:00:18 AM »
did u get it all working?

carver

  • Guest
Re: flash clocks
« Reply #7 on: September 19, 2005, 10:34:07 AM »
Yeah, Once I woke up and understood what you wrote..
Thanks
Curt

Moocat

  • Guest
Re: flash clocks
« Reply #8 on: September 19, 2005, 11:27:06 AM »
yw :)

bzmorrow

  • Guest
Re: flash clocks
« Reply #9 on: September 22, 2005, 01:10:56 AM »
This is how I have it set up, why can't i get this smaller then it is? Its friggin huge!

Quote
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" id="clock" width=100 height=100>
<PARAM NAME=movie VALUE="glow.swf">
<PARAM NAME=quality VALUE=high>
<EMBED src="/forum/glow.swf" quality=high NAME="clock" ALIGN="center" width=100 height=100 TYPE="application/x-shockwave-flash"
PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">
</EMBED>
</OBJECT>

http://inspectorsforum.com/forum/
« Last Edit: September 22, 2005, 12:43:44 PM by bzmorrow »