<? XML version = "1.0" encoding = "UTF-8"?> <Mx: Application Xmlns: MX =" Http://www.adobe.com/2006/mxml "Layout =" Vertical "Verticalalign =" Middle "Backgroundcolor =" White "Viewsourceurl =" Srcview/index.html " > <Mx: SCRIPT> <! [ CDATA [ Import MX . Managers . Cursormanager ; [ Bindable ] [ Embed ( Source = "Assets/bug.png" )] Private VaR Bugicon : Class ; [ Bindable ] [ Embed ( Source = "Assets/bug_delete.png" )] Private VaR Bugdeleteicon : Class ; Private VaR Cursorid : Int ;] > </MX: SCRIPT> <Mx: applicationcontrolbar Dock =" True " > <Mx: button Label =" Setbusycursor () "Click =" Cursormanager . Setbusycursor () ;" /> <Mx: button Label =" Removebusycursor () "Click =" Cursormanager . Removebusycursor () ; " /> </MX: applicationcontrolbar> <Mx: button Label =" Setcursor () "Width =" 100 "Height =" 100 "Rolover =" Cursorid = Cursormanager . Setcursor ( Bugicon ) ; "Rolout =" Cursormanager . Removecursor ( Cursorid ) ; " /> </MX: Application>