Thread: C# => XML => ActionScript

  1. #1
    essence of digital xddxogm3's Avatar
    Join Date
    Sep 2003
    Posts
    589

    C# => XML => ActionScript

    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

  2. #2
    essence of digital xddxogm3's Avatar
    Join Date
    Sep 2003
    Posts
    589
    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

  3. #3
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    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.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Issues with decrypting XML document on remote machines.
    By darren78 in forum C# Programming
    Replies: 3
    Last Post: 09-14-2010, 09:40 AM
  2. XML string to dataset/datagrid?
    By Striph in forum C# Programming
    Replies: 3
    Last Post: 05-02-2010, 09:11 PM
  3. glade_xml_get_widget => SEGV
    By rabby in forum C++ Programming
    Replies: 0
    Last Post: 01-06-2008, 03:23 PM
  4. XML and data exchange
    By seexml in forum C Programming
    Replies: 0
    Last Post: 04-27-2006, 03:02 PM
  5. Need help with this xml tree example
    By kzar in forum C Programming
    Replies: 1
    Last Post: 11-22-2004, 11:23 AM