It'll probably be easier to expose properties on the Flash component
where the Flex app can pass a reference to the Flex webservice and fetch
the array from the component

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Mark
Sent: Tuesday, October 02, 2007 3:53 PM
To: [email protected]
Subject: [flexcoders] help builing a component in Flash CS3 for Flex



I'm building a pretty simple component in Flash and need to access my 
a few things that sit on the application in Flex.

I'd like to pass an array from the Flash to Flex and would also like 
to invoke my web service from the Flash as well. Can anyone lend a 
hand in this? There must be a way to access the vars, arrays, etc. 
from the Flex part of this. 

Here's the basics....

addEventListener("click", clicker);

protected function clicker (event:Event):void {
//web service
ws2.GetGlobalRadarFullById.send();
//get's the date in a main movieClip in the Flash
trace((parent as MovieClip).dates);
}

Thanks,
Mark



 

Reply via email to