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>

 

CHAITU VADLAPATLA
SOFTWARE ENGINEER

T8DESIGN.COM | P 319.266.7574 - x145 | 877.T8IDEAS | F 888.290.4675


This e-mail, including attachments, is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential, and may be legally privileged. If you are not the intended recipient, you are hereby notified that any retention, dissemination, distribution, or copying of this communication is strictly prohibited. Please reply to the sender that you have received the message in error, and then please delete it. Thank you.

 

__._,_.___

--
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
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to