How to create custom MouseEvent.CLICK event in AS3 (pass parameters to function)?

前端 未结 6 1972
执念已碎
执念已碎 2021-01-05 05:50

This question doesn\'t relate only to MouseEvent.CLICK event type but to all event types that already exist in AS3. I read a lot about custom events but until now I couldn\'

6条回答
  •  一向
    一向 (楼主)
    2021-01-05 06:40

    Thanks so much for this usefull tips, this technique is better to understand than classes explanation.

    for me I just started new code algorithm using this technique to solve link relation between timers array and viewports array, and update status by change text inside them frequently, by passing ID's with timers events.

    like this:

        var view:Object=[];
    
        for(var i:uint=0;i

提交回复
热议问题