I'm looking to gain knowledge on how to have my c# talk to my actionscript via and xml document.
I know this can be done.
Does anyone know of a tutorial, book, API, or website that would provide me the insight I need?
Thank you in advance.
;0)
I'm looking to gain knowledge on how to have my c# talk to my actionscript via and xml document.
I know this can be done.
Does anyone know of a tutorial, book, API, or website that would provide me the insight I need?
Thank you in advance.
;0)
"Hence to fight and conquer in all your battles is not supreme excellence;
supreme excellence consists in breaking the enemy's resistance without fighting."
Art of War Sun Tzu
now that i think about it, on the c# side it would just be standard xml manipulation libraries.
this post might be misclassified under c#. i think it should be under general programming, due to i'm more concerned about the action script methods to work with xml
"Hence to fight and conquer in all your battles is not supreme excellence;
supreme excellence consists in breaking the enemy's resistance without fighting."
Art of War Sun Tzu
XML reading/writing is natively supported in C# via the XmlReader and XmlWriter. I have actually communicated with ActionScript from C# but it requires some third party libraries that talk to ActionScript and those are not free and unfortunately I'm not at liberty to discuss the technical details of it. I personally am unaware of any free or open source libraries that allow this but this does not mean they do not exist.
As a test you could use the Shockwave control from C# but be warned it is not documented at all and it is not well supported. The control, however, will play SWFs but I'm not sure if it will allow you to actually interface with the underlying ActionScript. You will have to experiment with the control in order to see if it will do what you want. Adobe has a little bit of documentation for it on their site but absolutely no documentation for it within C# or in the C# object viewer.
Last edited by VirtualAce; 11-22-2010 at 11:18 PM.