开发者

problem with events in flex using boxes

开发者 https://www.devze.com 2023-01-15 10:48 出处:网络
i have following problem, when i create box in action script and whe i addEventListner for drop accept, and if i add this box to some parent box, then this event is not working, if i add this event to

i have following problem, when i create box in action script and whe i addEventListner for drop accept, and if i add this box to some parent box, then this event is not working, if i add this event to not child but to parent box, then it is working, what can i do if i want create many boxes, add to them events listners and then add them all to some other parent box开发者_如何学C?


  1. Post your code you want get working.
  2. Use dynamic addEventListener adding to each component, and also add this function to parent boxes too, in all cases.
0

精彩评论

暂无评论...
验证码 换一张
取 消