[Event] metadata?
On 6/27/10 8:48 PM, "aceoohay" <pa...@compuace.com> wrote: The "thing" I am referring to in my original post is of course the "myMethodComplete" thing. I have defined all manner of properties in my components, including "functions", I just don't know how to begin defining an "anonymous block" of code. Paul --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "aceoohay" <pa...@...> wrote: > > This is probably all ready answered, but I can't think of how to search for > it. > > I have a custom component. This component has a method. When this method > completes I want to execute user defined code similar to how a focusOut > handler allows the programmer to define a block of code in the mxml like; > > <mx:TextInput focusOut="myvar='test';myfunction('abc');"> > > I would like to define; > > <ns1:myComponent myMethodComplete="myvar='test';myfunction('abc');"> > > I just don't know how to define the thing (handler? property? method? it > would help if someone would tell me what it is called) that will do this. > > If you can show me, or show me where to go I would appreciate it. > > Paul > -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui