Flasher Archive

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


Subject: Re: FLASH: Getting the date
From: Aldis
Date: Wed, 20 Oct 1999 12:03:24 +0100

can you tell how i can use variable in flash ? how print variable to
screen(flash)
----- Original Message -----
From: H�glund, Johan <johogatwmdata [dot] com>
To: <flasheratchinwag [dot] com>
Sent: Wednesday, October 20, 1999 12:20 PM
Subject: RE: FLASH: Getting the date


> If you can use ASP, you can put this code into time.asp
>
> <%@ Language=VBScript %>
> <%
> time = time()
> %>time=<%=time%>
>
> Then you use the load movie command to load variables into flash. Type the
> URL to time.asp and when excecuted, you'll have a variable in your
swf-file
> called time, with the current time.
>
> /Johan
>
> -----Original Message-----
> From: John Croteau [croteauaterols [dot] com (mailto:croteauaterols [dot] com)]
> Sent: den 20 oktober 1999 12:07
> To: flasheratchinwag [dot] com
> Subject: Re: FLASH: Getting the date
>
>
> Hi Nashir.
>
> > I have been searching for a solution for this problem. Yes can get it
> > with the javascript command but in Javascript the Document.write
> > function is in the body tag i.e. at the exact place where you want the
> > date to appear in html. IN Flash I get it before or after my movie
> > clip in the html depending on how I connect flash FS command to
> > javascript. In short my FS command connects with the Javascript part
> > if it is in the head tag but not in the body tag.
> > Am I clear?
> I am not sure what the problem is but.....
>
> It is important that the Flash frame that will receive data from
> JavaScript is loaded AND any JavaScript functions used are also loaded
> before any Flash JavaScript Method is initiated.
>
>
> The two basic methods to insure that a Flash frame is loaded first are 1
> and 2. Method 3 is only for Flash 4 but can be used for the Date, if
> used for time there will be some inaccuracy due to the fact that there
> is a delay between when the time was captured and when Flash is loaded.
> Since the time Flash takes to load is not a constant you can not get the
> very accurate time as in the first two methods (assuming the computer's
> system clock is accurate).
>
> 1) Use OnLoad so that the JavaScript command is not activated until
> everything else is loaded on a page. This works fine for small files.
> 2) Use an FS Command (from the Flash frame that is required to be loaded
> to receive the Flash Method) to provide an 'OK to proceed' command.
> JavaScript receives this and runs the appropriate JavaScript function
> that sends the time or date to the Flash movie.
> 3) In Flash 4, if all you need is one time information you could use
> JavaScript to send the (in this case Date) on the URL (as variable/value
> pairs) that loads the initial Flash SWF file.
>
> --
> Coming Soon Flash 4 Web Animation F/X and Design
> http://www.amazon.com/exec/obidos/ASIN/1576105555/flashcentral
> ----------- -----------------------
> John Croteau croteauaterols [dot] com (mailto:croteauaterols [dot] com)
> ------------- -------------------------
> FlashTek (Advanced Websites with Flash) http://www.FlashTek.com/
> Flash Bible (Fast track to good Flash) http://www.FlashBible.com/
> Flash Central(The Universe Starts Here) http://www.FlashCentral.com/
> The Flash Tech Resource (Tech Notes) http://www.FlashCentral.com/tech/
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>
> flasher is generously supported by...
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Streaming Media WEST '99 Conference & Exhibition
> "The Worlds largest Internet Audio & Video Event"
> December 7 - 9, San Jose Convention Center, California
>
> Reserve your space today at http://www.streamingmedia.com
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> To unsubscribe or change your list settings go to
> http://www.chinwag.com/flasher or email helpatchinwag [dot] com
>
>
> flasher is generously supported by...
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Streaming Media WEST '99 Conference & Exhibition
> "The Worlds largest Internet Audio & Video Event"
> December 7 - 9, San Jose Convention Center, California
>
> Reserve your space today at http://www.streamingmedia.com
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> To unsubscribe or change your list settings go to
> http://www.chinwag.com/flasher or email helpatchinwag [dot] com
>



flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Streaming Media WEST '99 Conference & Exhibition
"The Worlds largest Internet Audio & Video Event"
December 7 - 9, San Jose Convention Center, California

Reserve your space today at http://www.streamingmedia.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  RE: FLASH: Getting the date, "H�glund, Johan"

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