|
Hi, I am trying to call a method which resides in my MXML
component inside the main MXML file and wont work. Any help would be
appreciated. Main Application <?xml version="1.0"
encoding="utf-8"?> <mx:Application
xmlns:mx="http://www.adobe.com/2006/mxml"
creationComplete="initApplication()"
xmlns:ns1="myComponents.*" currentState="Login"> <mx:CheckBox click="CheckCell.dummy()"
x="15" y="535"/> </mx:Application> Component MXML <?xml version="1.0"
encoding="utf-8"?> <mx:VBox
xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Script>
<![CDATA[
// Define a property for returning
// the new value to the cell.
public var cbSelected:Boolean;
public function dummy ()
{
cbSelected = parentApplication.raga.selected;
}
]]>
</mx:Script>
<mx:CheckBox id="followUpCB" selected="{cbSelected}"
creationCompleteEffect="chaitu()" /> </mx:VBox>
-- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
YAHOO! GROUPS LINKS
| |||||||||
- [flexcoders] calling custom component methods inside... Chaitu Vadlapatla
- Re: [flexcoders] calling custom component metho... Jeremy Lu
- Re: [flexcoders] calling custom component m... Luís Gustavo Sanabio
- RE: [flexcoders] calling custom component metho... Chaitu Vadlapatla
- RE: [flexcoders] calling custom component metho... Chaitu Vadlapatla
- [flexcoders] Re: calling custom component m... Tim Hoff
- Re: [flexcoders] calling custom component m... Luís Gustavo Sanabio

