Pass serialized object from .NET to Flash

.NET Edition of the F-IN-BOX
MattiaLocatelli
Posts: 3
Joined: Fri Sep 01, 2006 1:12 pm

Pass serialized object from .NET to Flash

Postby MattiaLocatelli » Fri Sep 01, 2006 1:15 pm

Hi,
Is it possible to pass serialized object from .net to flash?

Thanks,
Mattia

Softanics
Site Admin
Posts: 1402
Joined: Sat Sep 18, 2004 3:03 am
Location: Russia, St. Petersburg
Contact:

Postby Softanics » Sat Sep 02, 2006 7:11 am

Could you explain what you need more detail?

You can serialize flash object into XML and pass it to an application using external api. Also you can pass XML to the flash, and restore flash object from passed data.
Best regards, Artem A. Razin,
F-IN-BOX support
Ask your question here: http://www.f-in-box.com/support.html

MattiaLocatelli
Posts: 3
Joined: Fri Sep 01, 2006 1:12 pm

Postby MattiaLocatelli » Mon Sep 04, 2006 8:06 am

lets say for example I need to pass an array of string from .Net to flash...

also which kind of objects is it possible to serialize? Which function should I use?

Thanks in advance,
Mattia.

Softanics
Site Admin
Posts: 1402
Joined: Sat Sep 18, 2004 3:03 am
Location: Russia, St. Petersburg
Contact:

Postby Softanics » Mon Sep 04, 2006 11:52 am

MattiaLocatelli wrote:lets say for example I need to pass an array of string from .Net to flash...


You should pack the array into single string. And then call flash function passing this packed string to it. In the flash function, you should unpack the string into array of strings.
About external api read here:
http://f-in-box.com/dotnet/features.htm ... _flash2app
Best regards, Artem A. Razin,

F-IN-BOX support

Ask your question here: http://www.f-in-box.com/support.html

MattiaLocatelli
Posts: 3
Joined: Fri Sep 01, 2006 1:12 pm

Postby MattiaLocatelli » Mon Sep 04, 2006 1:25 pm

Thanks.

jandrake
Posts: 3
Joined: Wed Mar 14, 2007 9:46 pm

Need to get bitmap rapidly into flash wrapped in f-in-box

Postby jandrake » Wed Mar 14, 2007 9:50 pm

I need to rapidly pass bitmaps to a flash movie wrapped in f-in-box. Is there a binary method of doing this?

Softanics
Site Admin
Posts: 1402
Joined: Sat Sep 18, 2004 3:03 am
Location: Russia, St. Petersburg
Contact:

Re: Need to get bitmap rapidly into flash wrapped in f-in-bo

Postby Softanics » Thu Mar 15, 2007 8:13 am

jandrake wrote:I need to rapidly pass bitmaps to a flash movie wrapped in f-in-box. Is there a binary method of doing this?


There is no a binary method.

You can use External API for this task.
Best regards, Artem A. Razin,

F-IN-BOX support

Ask your question here: http://www.f-in-box.com/support.html

jandrake
Posts: 3
Joined: Wed Mar 14, 2007 9:46 pm

External api?

Postby jandrake » Tue Mar 20, 2007 7:45 pm

Can someone be a bit more specific? I need to pass raw bitmap data into flash, can I do this using the external api and send binary data?

Softanics
Site Admin
Posts: 1402
Joined: Sat Sep 18, 2004 3:03 am
Location: Russia, St. Petersburg
Contact:

Re: External api?

Postby Softanics » Tue Mar 20, 2007 8:11 pm

jandrake wrote:Can someone be a bit more specific? I need to pass raw bitmap data into flash, can I do this using the external api and send binary data?


My idea is to encode bitmap data into string and pass this string to flash. In flash, decode it.
Best regards, Artem A. Razin,

F-IN-BOX support

Ask your question here: http://www.f-in-box.com/support.html


Return to “.NET Edition”

Who is online

Users browsing this forum: No registered users and 6 guests

cron