AS3 stage = null?

后端 未结 3 1308
孤独总比滥情好
孤独总比滥情好 2021-01-21 05:48

I\'ve just tried to implement a menu system I saw a tutorial onto a game that I\'m working on and it was all smooth sailing until I\'ve now encountered a problem with the stage

3条回答
  •  孤街浪徒
    2021-01-21 06:30

    When a display object is not added to the stage or an other display object already in the display list, stage is null. Event.ADDED_TO_STAGE will be dispatched, when stage is set and available.

提交回复
热议问题