x


"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!

more ▼

asked Feb 01 '12 at 02:08 AM

DigitalFlux gravatar image

DigitalFlux
1 2 2

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

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.

more ▼

answered Aug 24 '12 at 10:17 PM

DigitalFlux gravatar image

DigitalFlux
1 2 2

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x270
x21

asked: Feb 01 '12 at 02:08 AM

Seen: 485 times

Last Updated: Aug 24 '12 at 10:17 PM