Adam Flater has announced that Merapi is open. I immediately downloaded asdoc documentation for flex library to check systemExecute method which was seen in alpha version, but I didn't find it. Then, I have tried merapi library in flex... unfortunately this method disappeared.
I hope guys from Merapi project will reply on my question what happened to this method.
I think it is still there just not documented maybe, I grabbed the swcs, and the MerapiSystemExecute example ( from http://code.google.com/p/merapi-examples/ ).
ReplyDeleteUnfortunately when i run it (AIR deploy) and browse to a local PDF file to open,I get a nasty sandbox violation:
Is this expected? Any thoughts?
Error #2044: Unhandled securityError:. text=Error #2048: Security
sandbox violation: app:/MerapiSystemExecute.swf cannot load data from
127.0.0.1:12345.
at merapi::Bridge$/connect()[/Users/adam/dev/os/merapi/pre-os/trunk/
flex/merapi-core/src/merapi/Bridge.as:204]
at merapi::Bridge/sendMessage()[/Users/adam/dev/os/merapi/pre-os/
trunk/flex/merapi-core/src/merapi/Bridge.as:366]
at merapi.messages::Message/send()[/Users/adam/dev/os/merapi/pre-os/
trunk/flex/merapi-core/src/merapi/messages/Message.as:113]
at global/systemExecute()[/Users/adam/dev/os/merapi/pre-os/trunk/flex/
merapi-core/src/systemExecute.as:30]
at IBMBrandSystem/__executeButton_click()[C:\Users\ikamanu\workspace\
MerapiSystemExecute\src\ MerapiSystemExecute.mxml:48]
update: Sorted this out, i didnt have bootstrap running
ReplyDeleteCould you expand on that? What do I need to bootstrap, how do I go about it?
ReplyDeleteCheers,
Konrad
Everything you need, you could find on Adam's page and on google code.
ReplyDeleteHi
ReplyDeleteWhen i have connect Flex AIR to Java using Merapi bridge, so i get a nasty sandbox violation error. In flex side using MerapiHelloWorld.mxml and server side use HelloWorldRunner,
the error is
Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation: app:/MerapiHelloWorld.swf cannot load data from 127.0.0.1:12345.
at merapi::Bridge$/connect()[/Users/adam/dev/os/merapi/pre-os/trunk/flex/merapi-core/src/merapi/Bridge.as:204]
at merapi::Bridge/sendMessage()[/Users/adam/dev/os/merapi/pre-os/trunk/flex/merapi-core/src/merapi/Bridge.as:366]
at merapi.messages::Message/send()[/Users/adam/dev/os/merapi/pre-os/trunk/flex/merapi-core/src/merapi/messages/Message.as:113]
at MerapiHelloWorld/___MerapiHelloWorld_Button1_click()[D:\Bambam_Cenpos_11feb\Merapi_15thFeb2009\helloworld\merapi-example-helloworld-flex\merapi-example-helloworld-flex\src\MerapiHelloWorld.mxml:37]
Any person have any idea must be provide related information.
Thanks
Bambam Choudhary
Try AIR 2.0. It supports now native processes.
ReplyDelete