Professional Web Applications Themes

How to use event to detect the change of a arrayvariable? - Macromedia Flex General Discussion

I have a main application that includes a lot of sub components. the main app mxml file import a public class that includes an array variable. Each of the values in the array can be updated in the sub components. I would like to have the main mxml be able to detect the change of the values of the array. Is it possible to use event? And how? Is there a good example to follow?...

  1. #1

    Default How to use event to detect the change of a arrayvariable?

    I have a main application that includes a lot of sub components. the main app
    mxml file import a public class that includes an array variable. Each of the
    values in the array can be updated in the sub components.

    I would like to have the main mxml be able to detect the change of the values
    of the array. Is it possible to use event? And how? Is there a good example to
    follow?



    webvalue Guest

  2. #2

    Default Re: How to use event to detect the change of a arrayvariable?

    See this FB3 help topic, particularly watchers:
    Defining data bindings in ActionScript
    Greg Lafrance Guest

Similar Threads

  1. Detect a double click event
    By nicolas_PUSET@adobeforums.com in forum Adobe Acrobat SDK
    Replies: 2
    Last Post: April 2nd, 12:05 PM
  2. How to detect mouse right click event in Flex2
    By Joekin in forum Macromedia Flex General Discussion
    Replies: 1
    Last Post: April 25th, 10:22 PM
  3. detect change of remote page
    By will taubin in forum PHP Development
    Replies: 5
    Last Post: November 21st, 01:31 PM
  4. detect remaining rows in a PageIndexChanged event
    By Marc Miller in forum ASP.NET Data Grid Control
    Replies: 2
    Last Post: September 12th, 02:43 PM
  5. how to detect Browser close event.
    By sm mehta in forum ASP.NET
    Replies: 4
    Last Post: July 29th, 07:26 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139