A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Parse XML in AS3 and load in AS2

Hybrid View

  1. #1
    Junior Member
    Join Date
    Aug 2009
    Posts
    13

    Parse XML in AS3 and load in AS2

    Hey,

    I need to parse an XML feed so it's readable by an AS2 project. I want to use E4X and AS3 for all the parsing and simply load the parsed out document to AS2. Can flash send AS3 code to AS2 like this? Or is there an easy workaround to do something like this?

  2. #2
    Will moderate for beer
    Join Date
    Apr 2007
    Location
    Austin, TX
    Posts
    6,801
    You can probably pass basic types like strings, numbers, arrays and Objects by setting them in a SharedObject which is read by both movies. Anything with an actual user-defined class won't work.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center