 |
 |
The time now is Thu Jan 08, 2009 8:53 pm |
|
|
|
| Author
|
Thread |
|
|
|
|
|
|
Aeioun
Super UFSC Member


Age: 65
Joined: 11 Sep 2006
Posts: 837
|
Thanks
O,
Thanks for deleting those unnecessary files.
Thought it might be nice for a posting in the Politics Thread if test good.
Since you've tested some Flash Movies "SWF's" you might give me a tip or two.
The file "nov7elec.swf" is 56w x 48h, and should resize nicely to any aspect ratio of 7/6 (56/48). Dynamic text using local user machine "_sans" font at 36pt.
I even think it adventuresome of GW to allow upload of *.php files.
EDITED Post here
I haven't used Adobe Macromedia Flash since version 4 years ago. The SWF was built with SWiSHmax
PHP script/code:
| Code: | <?php /* Created on: 9/14/2006 */ ?>
<html>
<body>
<?php
$nowSec = date(U);
$estSec = $nowSec;
$nov7Sec = mktime(0, 0, 01, 11, 07, 2006);
$voteSec = $nov7Sec - 7200; /* server offset to EST midnight */
echo "&currSec=".$estSec."&nov7Sec=".$voteSec."&";
?>
</body>
</html> |
And SWF (swish) script/code: 10 Frames per second. One TextField "daysRemain"
| Code: | onload(){
currSec = "";
nov7Sec = "";
currTime = "";
voteTime = "";
//
loadVariables("http://www.upstateforums/upload2/nov7elec.php");
}
onframe(3){
if(nov7Sec == ""){prevFrameAndPlay();}
currMsec = Number(currSec) * 1000;
nov7Msec = Number(nov7Sec) * 1000;
}
onframe(4){
diffMsec = nov7Msec - currMsec;
remDays = Math.floor(diffMsec / 86400000);
daysRemain.text = toString(remDays);
}
onframe(5){
stop();
} |
It's got to be a timing issue within post/thread, because outside works OK for me. Could be permissions.
Thanks again.
` _________________ "When fascism comes to America it will be wrapped in a flag and carrying a cross." ~ Sinclair Lewis, circa 1935
GOOGLE: When +Fascism +comes +America
Corporate Control of Government without Accountability is the foundation and cornerstone of Fascism ~ Aeioun, circa 2007
At least a 100 years old:
An unsophisticated forecaster uses statistics as a drunken man uses lamp-posts...for support rather than illumination. ~ Andrew Lang
He missed an invaluable opportunity to hold his tongue. ~ Andrew Lang
Life's more amusing than we thought. ~ Andrew Lang
Last edited by Aeioun on Thu Sep 14, 2006 9:52 pm; edited 1 time in total
|
Thu Sep 14, 2006 9:35 pm |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
 |
|
 |
|
|
|
| |