It won't let you invoke actionscript that way. Gotta load the swf
dynamically.

--- In [email protected], "gnaveenrajkumaar"
<[EMAIL PROTECTED]> wrote:
>
> Hi there,
> 
> i'm inserting a swf file in the mxml file using
> 
>  <mx:Image source="@Embed('map.swf')" />
> 
> i have a method inside he map.swf file
> 
> function setlocation(x,y){
>  latitude=x;
>  longitude=y;
> }
> 
> i want to invoke this function from the mxml file and pass parameters
> for this function...
> 
> 
> 
> please someone help on this....
> thanks...
> bye...
>






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to