I am using initialize to call a function when I enter a state. The
first time I enter the state everything works fine. The function is
called and the text input is populated correctly. But when I leave the
state, and go back into at another time, it appears that the function
is not called and the text input is not populated. Has anyone ran into
this before. 

Here is the code I am using

THIS IS MY WEBSERVICE --

        <mx:WebService id="listService" useProxy="false" 
                wsdl="cfc/adminList.cfc?wsdl"
                showBusyCursor="true">
                <mx:operation name="qiAdminListStart" 
                        result="listServiceqiAdminListStartResult(
listService.qiAdminListStart.lastResult )" 
                        fault="listServiceqiAdminListStartFault(event)"/>
        </mx:WebService>

FUNCTIONS FOR THIS WEBSERVICE --

// CALL WEBSERVICE TO POPULATE FILE NUMBER INPUT
                private function listServiceqiAdminListStart():void{
                        listService.qiAdminListStart();
                }
// WEBSERVICE RETURN RESULTS -- POPULATES FILE NUMBER INPUT ON
INIALIZATION

                private function listServiceqiAdminListStartResult(result):void{
                        fileNumber.text = result;
                }
                
// WEBSERVICE RETURNS FALUT -- RETURNS FAULT TO USER

                private function listServiceqiAdminListStartFault(event :
FaultEvent) :void {
                        Alert.show("TEST ERROR","Program Error:");
                }
                






------------------------ Yahoo! Groups Sponsor --------------------~--> 
You can search right from your browser? It's easy and it's free.  See how.
http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/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