A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: getVersion() and $version

  1. #1
    Senior Member
    Join Date
    Jan 2002
    Posts
    121

    getVersion() and $version

    Hi guys,

    I have two dynamic text fields on a frame, and use the following lines to display the Flash player version:

    txt1 = getVersion();

    txt2 = eval("$version");

    txt1 is empty and txt2 contains the string one would expect. This happens in both V5 and V6 players.

    Is getVersion maybe not implemented yet? $version is deprecated in V5, so I thought getVersion is the way to go.

    Stephan
    www.aspetersen.de
    Enabling you to communicate across cultures

  2. #2
    Senior Member
    Join Date
    Jun 2000
    Posts
    3,512
    getVersion should work but it doesn't. I will investigate.

  3. #3
    Senior Member
    Join Date
    Jun 2000
    Posts
    3,512
    Try this:

    eval("/:$version")

    getVersion gets output in the swf as the above

  4. #4
    Senior Member
    Join Date
    Jun 2000
    Posts
    3,512
    This also works:

    txt1 = $version;

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