<componentName eventName="clicked(event.param)"/>


-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Stanislav Zayarsky
Sent: 22 August 2005 15:15
To: [email protected]
Subject: [flexcoders] dispatchEvent with parameter

Dear Flex Coders,

I have next small issue: I don't know how to dispatchEvent with
parameter from *.as custom component to Flex.

Actually I know how to send parameter from component, it should look like
this:

link.dispatchEvent({type:"eventName",param:"Hello World"});

But I don't know how to receive the parameter in mxml! 

I'm writing smth like this:
<componentName eventName="clicked(param)"/>

And it show me error: There is no property with the name "param".

Can anybody help me?

Best regards
Stanislav



--
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



 


-- 
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.13/78 - Release Date: 19/08/2005
 

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.13/78 - Release Date: 19/08/2005
 



------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a 
href="http://us.ard.yahoo.com/SIG=12h4o5i68/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124728482/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
">Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy</a>.</font>
--------------------------------------------------------------------~-> 

--
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