FlashPlayer.TargetSwfVersion

static var TargetSwfVersion : String

Description

Get a string representing the version of the SWF which the current project has been compiled against.

JavaScript
import UnityEngine.Flash;

var swfVersion = FlashPlayer.TargetSwfVersion;

using UnityEngine.Flash;
using UnityEngine;
using System.Collections;

public class example : MonoBehaviour {
public string swfVersion = FlashPlayer.TargetSwfVersion;
}

import UnityEngine.Flash
import UnityEngine
import System.Collections

class example(MonoBehaviour):

public swfVersion as string = FlashPlayer.TargetSwfVersion