I have an "Exit" button that I need to close the application and call a
URL. What is the proper syntax for this? I get an error with the
following code:

 

1084: Syntax error: expecting identifier before rightbrace.

 

               <mx:HBox borderStyle="solid" paddingTop="10"
paddingBottom="10" 

               paddingLeft="10" paddingRight="10">

                        <mx:Button label="View"
click="myViewStack.selectedChild=ViewOnly;"/>                        

                        <mx:Button label="Edit"
click="myViewStack.selectedChild=EditView;"/>

                        <mx:Button label="Delete"/>

                        <mx:Button label="Exit"
click="http://www.google.com;"/>

                </mx:HBox>
 
 

Thanks,

 

Frank

 
 
 



-------------------------------------------------------------

To unsubscribe from this list, simply email the list with unsubscribe in the 
subject line



For more info, see http://www.affug.com

Archive @ http://www.mail-archive.com/discussion%40affug.com/

List hosted by http://www.fusionlink.com

-------------------------------------------------------------

Reply via email to