[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Integrating Flash 8 and C# Windows Application, what is the best way for data transfer?

Posted on 2006-05-17
3
Medium Priority
?
297 Views
Last Modified: 2012-06-27
I m creating a windows application using C# with Flash 8 embeded on it. (Please note this is windows application not web based). I would like to know what is the best way to communicate the variables:

 from Flash to C#
 from C# to Flash

The application that I will be developing will be a datagrid in Flash that is editable. Once the user edit the values in the datagrid, it will be submitted and passed into C# and C# will be the middleware that is communicating to the database. There might invalid values that must be rejected and that must be told to the user.


After some searching through google, I found out that there are several options available:

- fscommand
- xml through netservices
- some serializing and deserializing of strings
- and there might be other options that I don't know of

However some of the examples given on those websites are still not very clear.

My question:
1. what other alternatives for the data transfer?
2. what is the best solution for the data transfer from flash to C# ?
3. what is the best solution for the data transfer from C# to flash ?
4. will it be possible to transfer raw arrays from flash to C# directly?
5. is it possible to have an xml passed from C# into flash that can be directly populating the datagrid? (so that I dont have to parse the values in actionscript and put it inside the datagrid)
6. can I get an example for each of these data transfer?

thx in advance :)
0
Comment
Question by:kecoak
2 Comments
 
LVL 39

Accepted Solution

by:
blue-genie earned 2000 total points
ID: 16709911
hi there, just my 2c worth.
i only have 1 experience with wrapping flash in c# and we used fscommand for the communication channels and that worked a charm.
what we were doing was writing out xml as a string, and parsing that to the C# which wrote out the physical xml file.
don't know if that helps :-)

blu.

0
 

Author Comment

by:kecoak
ID: 16781547
Can I have some example of the coding both in C# and actiontionscript
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Here are some practices and techniques that can be adopted into your Flash/Flex application development process. Note: Not all "performance tips" provide an immediately-recognizable benefit.   This article does not include timing validation data,…
While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
The goal of the tutorial is to teach the user how to how to record live broadcast.

873 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question