Camera

10 views
Skip to first unread message

Benson Tan

unread,
Dec 29, 2009, 11:48:26 AM12/29/09
to FLARToolKit userz
Hi,

I having problem opening up my camera or the application when I am my
pc or other computer. The directory the files is kept within the same
folder. And I was able to run at my computer. However, when I copy the
folder out. And run it at other computer.

SecurityError: Error #2148: SWF file file:///Users/bensontan/Desktop/bin-debug/MajorProject.swf
cannot access local resource flarConfig.xml. Only local-with-
filesystem and trusted local SWF files may access local resources.
at flash.net::URLStream/load()
at flash.net::URLLoader/load()
at com.transmote.flar::FLARManager/initFromFile()[/Users/bensontan/
Documents/Flex Builder 3/MajorProject/src/com/transmote/flar/
FLARManager.as:198]
at com.transmote.flar::FLARManager()[/Users/bensontan/Documents/Flex
Builder 3/MajorProject/src/com/transmote/flar/FLARManager.as:160]
at MajorProject/initFLAR()[/Users/bensontan/Documents/Flex Builder 3/
MajorProject/src/MajorProject.as:57]
at MajorProject()[/Users/bensontan/Documents/Flex Builder 3/
MajorProject/src/MajorProject.as:43]


What should I do. I am using flex to do the application. Using
Flarmanager.

Thanks
Benson

SDaniel

unread,
Dec 29, 2009, 11:55:47 AM12/29/09
to flartool...@googlegroups.com
You need to write -use-network=false in the properties of your project in the ActionScript Compiler Options:
--
- ZoiX -
Sergio Daniel Fernández González
www.inkframe.com

eric socolofsky

unread,
Dec 29, 2009, 1:03:18 PM12/29/09
to flartool...@googlegroups.com
or allow local file connections via the flash player security settings dialog:

Benson

unread,
Dec 30, 2009, 1:46:47 AM12/30/09
to flartool...@googlegroups.com
Thanks it's work

Benson
Reply all
Reply to author
Forward
0 new messages