- Home /
"Access of undefined property Environment" when exporting to Flash
I'm pretty sure that this is going to be covered by the same "beta" issue that is generating similar questions, but I wanted to ensure that the System.Environment.CommandLine is going to be supported by the Flash builds so that command line arguments can be passed through to the compiled Flash app. Currently, I'm getting the error message displayed in the title, pointing to the line "import System.Environment" in the AS3 code, which means no command line arguments currently.
Any information on this (or if there's any known work-arounds) would be greatly appreciated!
Answer by DigitalFlux · Aug 24, 2012 at 10:17 PM
Just as a way of answering my own question, it was the issue that in using the Unity networking, these errors come up, because that functionality wasn't meant to compile into AS3.
Your answer
Follow this Question
Related Questions
Get Console or Debug.Log output from Unity command line batch mode and custom build process 0 Answers
How do you get an application using parentHWND to detect keyboard input? 0 Answers
Solid color flash entire screen 2 Answers
flash problem 2 Answers
Unity3D flash compiler errors when compiling from C# 2 Answers