Thank you for replying, but I'm afraid I don't understand what you mean.  I'm 
already 
passing an Array from the Flex app into the Flash component, that part is no 
problem.

This is a little confusing to me:
"the Flex app can pass a reference to the Flex webservice and fetch the array 
from the 
component"

Can you be a little more specific please?

Here's a little more about what needs to be done.  My Flash component is built 
in 2 parts.

1 - A "Radar" circle that I can plot point on.
2 - Pointers (dots) that are the points to be plotted.

Each dot represents a project on the Radar.  Once I get the XML that holds all 
the projects, 
I'm passing some of the main info (id, title, startDate, endDate) into an array 
in the Radar 
class.  That's what I'm using to plot the points.  Then my class for the points 
needs to pass 
an id to a web service that gets the bulk of that project.  And that's the part 
I can't get 
done.  I can't seem to be able to see anything on the main Flex app (functions, 
vars, you 
name it). 


--- In [email protected], "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> 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