A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Getting JavaScript Variables into Flash

  1. #1
    Junior Member
    Join Date
    Jun 2000
    Posts
    10
    What is a easy way to get JavaScript variables back into flash? I have a fscommand that calls a javascript function that sets a variable. I need to bring that variable back into Flash.

    Thanks,

    awol2k

  2. #2
    Junior Member
    Join Date
    Jun 2000
    Posts
    6
    Yes, the Flash object supports this. From JavaScript you can stop and start the movie, set variables,tell target, etc.

    The Macromedia technote #13945 describes settings variables. The title of this technote is "Scripting Methods Supported in the Flash 4 Players". If you search for these words at http://www.macromedia.com/support/flash/ you should find everything you need.

    Good luck!
    -Geoff

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