Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 6. Debugging Flex Applications > Inspecting Event Properties with trace...

6.2. Inspecting Event Properties with trace()

Last chapter we learned that you can pass parameters into functions. To explore another use of the trace() statement, we’re going to do just that. For this exercise we need to add a new function, checkEvent(), and modify the NumericStepper control’s change attribute to call that function.

Add the checkEvent() function directly below doMultiply(). The code is shown in Example 6-5.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint