;

PDA

Click to See Complete Forum and Search --> : getVersion() and $version


Stephan P.
12-09-2002, 05:20 AM
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

Bob Hartzell
12-09-2002, 08:31 AM
getVersion should work but it doesn't. I will investigate.

Bob Hartzell
12-09-2002, 08:03 PM
Try this:

eval("/:$version")

getVersion gets output in the swf as the above

Bob Hartzell
12-10-2002, 09:18 AM
This also works:

txt1 = $version;