Passing variables from classes to swfs

Hello all,

I’m having trouble passing variables from an class which is loading this data from an xml file to a swf that this class is also loading.

I want the swf file to use the some of the data contained in the main class.

At the moment I can’ seem to see a way of doing this, I haven’t used AS3 or Flash in a few months either which isn’t helping.

I’m able to load the swf fine from the xml but I still haven’t figured out how to compile the swf file without getting errors because the variables it needs are in the class…

Any help with a show in the right direction would be great.

Dave