Hi

I have made a custom pre-loader for my Flex app that displays an
embedded swf:

[ Embed(source="/assets/ui/loader_panels.swf",
mimeType="application/octet-stream") ]
public var WelcomeScreenGraphic:Class;

public function WelcomeScreen()
{
this.loadBytes( new WelcomeScreenGraphic() as ByteArray );
}

This works fine but the swf needs to laod different xml files
depending on the localeCode set in the flash vars of the main Flex App.

How can I pass this variable into the swf so that it loads the correct
xml file?

Also is there a way for the flash file to dispatch an event or call a
function in the flex app when the animation has finished?

Thanks.

Reply via email to