logs the change event to flashlog.txt each time the user changes panels : Panel Action « Container « Flex






logs the change event to flashlog.txt each time the user changes panels

logs the change event to flashlog.txt each time the user changes panels
            

<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
    <mx:Accordion id="accordion1" height="450"
        change="trace('change');">
        <mx:Form id="shippingAddress" label="Address">
            <mx:FormItem id="sfirstNameItem" label="First Name">
                <mx:TextInput id="sfirstName" />
            </mx:FormItem>
        </mx:Form>
        <mx:Form id="billingAddress" label="Address">
        </mx:Form>
        <mx:Form id="creditCardInfo" label="Information">
        </mx:Form>
        <mx:Form id="submitOrder" label="Submit">
            <mx:Button id="lastButton" label="Last" click="accordion1.selectedIndex = accordion1.numChildren - 1;" />
        </mx:Form>
    </mx:Accordion>
</mx:Application>

   
    
    
    
    
    
    
    
    
    
    
    
  








Related examples in the same category

1.Panel mouse down effectPanel mouse down effect
2.Register an event handler for the Panel containerRegister an event handler for the Panel container
3.Panel drag and dropPanel drag and drop
4.Panel rollOver and rollOut eventsPanel rollOver and rollOut events