Hello!
I’m new to AS3 and drupal and I’m having some problems getting the two to work together. I don’t know if anyone else has done this before, but if you have I would love some help
I’m using this tutorial : http://thanksfornotsuing.com/discussion/flash-integration-drupal-6
I’ve gotten it to connect so I know the Drupal Flash connection is made. The problem I’m having is when I try and assign the class to an object in Flash. (I’m a little new to OOP so I might be doing it wrong).
Here’s my code in the AS :
[INDENT]var dru:DrupalConnector = new DrupalConnector;
[/INDENT]
This seems to be throwing me this error :
[INDENT]Error: Error #2136: The SWF file file:///Design/Interactive%20Group/Temp/drupal%5Fflash/as3/drupaltest2.swf contains invalid data.
at DrupalConnector/::frame1()
[/INDENT]I don’t know if this is a syntax error on my part, a problem with the class… or what it is. Also, if I can get it working, any tips on using the object to grab data and use it in Flash?
I’ve attached the class. Thanks for your help!!