thcmedia / papervision3d

Automatically exported from code.google.com/p/papervision3d
0 stars 0 forks source link

BitMapFileMaterial sandbox #131

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. use a bitmapfilematerial in pv3d
2. point the bitmapfilematerial to a url on another server
3. see the error pop up(security sandbox...)

What is the expected output? What do you see instead?
i would like bitmapfilematerial to be a well behaved citizen and check the
crossdomain.xml where appropriate

What version of the product are you using? On what operating system?
2.0 alpha

Please provide any additional information below.
can easily be fixed by editing BitMapFileMaterial.as

: replacing bitmapLoader.load( request);

with:

var ctxt:LoaderContext=new LoaderContext
ctxt.checkPolicyFile=true
bitmapLoader.load( request,ctxt );

Original issue reported on code.google.com by pappanik...@gmail.com on 13 Nov 2008 at 11:39

GoogleCodeExporter commented 8 years ago
Thank you for reporting. Implemented it like this for now. 

Original comment by r.hauw...@gmail.com on 17 Nov 2008 at 12:36