# Flash CS3 and Drupal 6

**URL:** <https://forum.kirupa.com/t/flash-cs3-and-drupal-6/282837>\
**Category:** flash\
**Created:** [February 26, 2009, 11:40pm UTC](https://forum.kirupa.com/t/flash-cs3-and-drupal-6/282837 "2009-02-26T23:40:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![baddfish86](https://avatars.discourse-cdn.com/v4/letter/b/c4cdca/32.png) [@baddfish86](https://forum.kirupa.com/u/baddfish86)\
**Post date:** [February 26, 2009, 11:40pm UTC](https://forum.kirupa.com/t/flash-cs3-and-drupal-6/282837/1 "2009-02-26T23:40:26Z")

</div>

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](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!!
