You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 18, 2022. It is now read-only.
When I forget to copy FlexMonkeyEnv.xml to same place where my swf is I got
those messages:
ioErrorHandler: [IOErrorEvent type="ioError" bubbles=false cancelable=false
eventPhase=2 text="Error #2032: Stream Error. URL:
file:///D|/temp/MonkeyExample/target/FlexMonkeyEnv.xml"]
Unable to load FlexMonkeyEnv.xml from current directory: Error #2148: SWF
file
file:///D|/temp/MonkeyExample/target/quick%2Dtutorial%2D0.1%2DSNAPSHOT.swf
cannot access local resource
file:///D|/temp/MonkeyExample/target/FlexMonkeyEnv.xml. Only local-with-
filesystem and trusted local SWF files may access local resources.
This is ok, but is avoidable embedding this xml.
Take a look here:
http://dispatchevent.org/roger/embed-almost-anything-in-your-swf/
VELO
Original issue reported on code.google.com by velo...@gmail.com on 23 Sep 2008 at 1:36
The text was updated successfully, but these errors were encountered:
Implemented as follows:
[Embed(source="FlexMonkeyEnv.xml", mimeType="application/octet-stream")]
protected const FlexMonkeyEnv:Class;
...
var byteArray:ByteArray = new FlexMonkeyEnv() as ByteArray;
var env:String = new String(byteArray.readUTFBytes(byteArray.length));
setTestingEnvironment(env);
Thanks Velo.
Original comment by stuinbou...@gmail.com on 23 Sep 2008 at 5:31
Original issue reported on code.google.com by
velo...@gmail.com
on 23 Sep 2008 at 1:36The text was updated successfully, but these errors were encountered: