Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: RE: FLASH: Getting a Javascript variable?
From: Eric Dunham
Date: Wed, 15 Mar 2000 04:09:55 GMT

I'm not quite sure if you want to know how to actually get the variable,
or how to pass it to the .swf, but here's a document that has almost every
Date method there is in it (and a few other things... it's one of my simple
testing documents).

HTH,
Eric Dunham
------------------------------------------------------------------------
<html>
<head>
<title>JavaScript Test</title>
<style>
<!--
td,tr,th,caption,body,p{
font-size:7pt;
font-family:verdana,tahoma,serif;
color:#0e2774;
}
-->
</style>
</head>
<body bgcolor=#ffffff text=#0e2774 link=#0e2774 alink=#0e2774 vlink=#0e2774>
<table border=0 cellspacing=3>
<script>
<!--
var dateTest = new Date();

function elementWrite()
{
for(i=0; i<elementWrite.arguments.length; i++)
{
document.write("<tr>\n<td>\n" + elementWrite.arguments[i] + "
=\n</td>\n");
document.write("<td>\n" + eval(elementWrite.arguments[i]) +
"\n</td>\n</tr>");
}

}
elementWrite(
"document.alinkcolor",
"document.bgColor",
"document.cookie",
"document.fgColor",
"document.lastModified",
"document.linkColor",
"document.referer",
"document.title",
"document.vlinkColor",
"window.history.length",
"window.location.hash",
"window.location.host",
"window.location.hostname",
"window.location.href",
"window.location.pathname",
"window.location.port",
"window.location.protocol",
"window.location.search",
"window.document.images.length",
"window.document.forms.length",
"window.document.anchors.length",
"navigator.appCodeName",
"navigator.appName",
"navigator.appVersion",
"navigator.userAgent",
"navigator.platform",
"navigator.javaEnabled()",
"navigator.plugins.length",
"navigator.mimeTypes.length",
"dateTest.getDate()",
"dateTest.getDay()",
"dateTest.getFullYear()",
"dateTest.getHours()",
"dateTest.getMilliseconds()",
"dateTest.getMinutes()",
"dateTest.getMonth()",
"dateTest.getSeconds()",
"dateTest.getTime()",
"dateTest.getTimezoneOffset()",
"dateTest.getUTCDate()",
"dateTest.getUTCDay()",
"dateTest.getUTCFullYear()",
"dateTest.getUTCHours()",
"dateTest.getUTCMilliseconds()",
"dateTest.getUTCMinutes()",
"dateTest.getUTCMonth()",
"dateTest.getUTCSeconds()",
"dateTest.getYear()",
"dateTest.toGMTString()",
"dateTest.getTime()",
"dateTest.toLocaleString()",
"dateTest.toString()",
"dateTest.toUTCString()",
"dateTest.valueOf()"
);
//-->
</script>
</table>
</body>
</html>
------------------------------------------------------------------------

<snip>
Does anyone know how I can get the "time" browser object value, to import
into a .swf movie?
</snip>


flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and The Flash Film Festival
"The World�s Premier Flash Solutions Conference and Expo"
March 27-29, Nob Hill Masonic Center, San Francisco, California

-Register before Feb 25 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  Re: FLASH: Getting a Javascript variable, Frank

Replies
  Re: FLASH: Getting a Javascript variable, Frank

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]