A Flash Developer Resource Site

Results 1 to 2 of 2
  1. #1
    Junior Member
    Join Date
    Jul 2000
    Posts
    15
    how do i tell the flash file to associate with the server in receiving information like the last modified date... remember, this date has spaces so i can't switch from JS to flash variables and I tried using a cookie but had the same problem ... My only other option is to somehow have this displayed in a textfield in flash by calling the date from the server. how do i do this?

    Help greatly appreciated...

  2. #2
    Senior Member
    Join Date
    Feb 2000
    Posts
    195

    Lightbulb

    Simple, in your HTML code, use:

    <PARAM NAME=movie VALUE="yourflashfile.swf?lastmodified=<!--#echo var="LAST_MODIFIED"-->">

    and

    EMBED src="yourflashfile.swf?lastmodified=<!--#echo var="LAST_MODIFIED"-->"

    for the OBJECT and EMBED tags, respectively. The Last Modified date will then be sent to your Flash movie as a variable called "lastmodified". (You will need Flash 4 for this to work).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center