tests: `as3_movieclip_displayevents_looping` should have a `RemoveObject` in it
This commit is contained in:
parent
ee1f39bba7
commit
f1d203311f
|
@ -25,6 +25,11 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
public function destroy() {
|
public function destroy() {
|
||||||
|
this.addEventListener(Event.EXIT_FRAME, this.delayed_destroy);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function delayed_destroy(evt: Event) {
|
||||||
|
this.removeEventListener(Event.EXIT_FRAME, this.delayed_destroy);
|
||||||
this.removeEventListener(Event.ENTER_FRAME, this.trace_event);
|
this.removeEventListener(Event.ENTER_FRAME, this.trace_event);
|
||||||
this.removeEventListener(Event.EXIT_FRAME, this.trace_event);
|
this.removeEventListener(Event.EXIT_FRAME, this.trace_event);
|
||||||
this.removeEventListener(Event.ADDED, this.trace_event);
|
this.removeEventListener(Event.ADDED, this.trace_event);
|
||||||
|
|
|
@ -20,36 +20,44 @@ blue (frame 2):[Event type="frameConstructed" bubbles=false cancelable=false eve
|
||||||
green (frame 1):[Event type="exitFrame" bubbles=false cancelable=false eventPhase=2]
|
green (frame 1):[Event type="exitFrame" bubbles=false cancelable=false eventPhase=2]
|
||||||
blue (frame 2):[Event type="exitFrame" bubbles=false cancelable=false eventPhase=2]
|
blue (frame 2):[Event type="exitFrame" bubbles=false cancelable=false eventPhase=2]
|
||||||
green (frame 1):[Event type="enterFrame" bubbles=false cancelable=false eventPhase=2]
|
green (frame 1):[Event type="enterFrame" bubbles=false cancelable=false eventPhase=2]
|
||||||
blue (frame 1):[Event type="enterFrame" bubbles=false cancelable=false eventPhase=2]
|
blue (frame 3):[Event type="enterFrame" bubbles=false cancelable=false eventPhase=2]
|
||||||
orange constructed
|
orange constructed
|
||||||
orange (frame 1):[Event type="added" bubbles=true cancelable=false eventPhase=2]
|
orange (frame 1):[Event type="added" bubbles=true cancelable=false eventPhase=2]
|
||||||
orange (frame 1):[Event type="addedToStage" bubbles=false cancelable=false eventPhase=2]
|
orange (frame 1):[Event type="addedToStage" bubbles=false cancelable=false eventPhase=2]
|
||||||
green (frame 1):[Event type="frameConstructed" bubbles=false cancelable=false eventPhase=2]
|
green (frame 1):[Event type="frameConstructed" bubbles=false cancelable=false eventPhase=2]
|
||||||
blue (frame 1):[Event type="frameConstructed" bubbles=false cancelable=false eventPhase=2]
|
blue (frame 3):[Event type="frameConstructed" bubbles=false cancelable=false eventPhase=2]
|
||||||
orange (frame 1):[Event type="frameConstructed" bubbles=false cancelable=false eventPhase=2]
|
orange (frame 1):[Event type="frameConstructed" bubbles=false cancelable=false eventPhase=2]
|
||||||
//MainTimeline frame 3
|
//MainTimeline frame 3
|
||||||
//BlueSymbol frame 1...
|
//BlueSymbol frame 3...
|
||||||
//OrangeCircle frame 1...
|
//OrangeCircle frame 1...
|
||||||
green (frame 1):[Event type="exitFrame" bubbles=false cancelable=false eventPhase=2]
|
green (frame 1):[Event type="exitFrame" bubbles=false cancelable=false eventPhase=2]
|
||||||
blue (frame 1):[Event type="exitFrame" bubbles=false cancelable=false eventPhase=2]
|
blue (frame 3):[Event type="exitFrame" bubbles=false cancelable=false eventPhase=2]
|
||||||
orange (frame 1):[Event type="exitFrame" bubbles=false cancelable=false eventPhase=2]
|
orange (frame 1):[Event type="exitFrame" bubbles=false cancelable=false eventPhase=2]
|
||||||
green (frame 1):[Event type="enterFrame" bubbles=false cancelable=false eventPhase=2]
|
blue (frame 3):[Event type="removed" bubbles=true cancelable=false eventPhase=3]
|
||||||
blue (frame 2):[Event type="enterFrame" bubbles=false cancelable=false eventPhase=2]
|
blue (frame 3):[Event type="removed" bubbles=true cancelable=false eventPhase=3]
|
||||||
|
blue (frame 4):[Event type="enterFrame" bubbles=false cancelable=false eventPhase=2]
|
||||||
orange (frame 1):[Event type="enterFrame" bubbles=false cancelable=false eventPhase=2]
|
orange (frame 1):[Event type="enterFrame" bubbles=false cancelable=false eventPhase=2]
|
||||||
green (frame 1):[Event type="frameConstructed" bubbles=false cancelable=false eventPhase=2]
|
blue (frame 4):[Event type="frameConstructed" bubbles=false cancelable=false eventPhase=2]
|
||||||
blue (frame 2):[Event type="frameConstructed" bubbles=false cancelable=false eventPhase=2]
|
|
||||||
orange (frame 1):[Event type="frameConstructed" bubbles=false cancelable=false eventPhase=2]
|
orange (frame 1):[Event type="frameConstructed" bubbles=false cancelable=false eventPhase=2]
|
||||||
//MainTimeline frame 4
|
//MainTimeline frame 4
|
||||||
//BlueSymbol frame 2...
|
//BlueSymbol frame 4...
|
||||||
green (frame 1):[Event type="exitFrame" bubbles=false cancelable=false eventPhase=2]
|
blue (frame 4):[Event type="exitFrame" bubbles=false cancelable=false eventPhase=2]
|
||||||
blue (frame 2):[Event type="exitFrame" bubbles=false cancelable=false eventPhase=2]
|
|
||||||
orange (frame 1):[Event type="exitFrame" bubbles=false cancelable=false eventPhase=2]
|
orange (frame 1):[Event type="exitFrame" bubbles=false cancelable=false eventPhase=2]
|
||||||
green (frame 1):[Event type="enterFrame" bubbles=false cancelable=false eventPhase=2]
|
|
||||||
blue (frame 1):[Event type="enterFrame" bubbles=false cancelable=false eventPhase=2]
|
blue (frame 1):[Event type="enterFrame" bubbles=false cancelable=false eventPhase=2]
|
||||||
orange (frame 1):[Event type="enterFrame" bubbles=false cancelable=false eventPhase=2]
|
orange (frame 1):[Event type="enterFrame" bubbles=false cancelable=false eventPhase=2]
|
||||||
green (frame 1):[Event type="frameConstructed" bubbles=false cancelable=false eventPhase=2]
|
blue (frame 1):[Event type="added" bubbles=true cancelable=false eventPhase=3]
|
||||||
|
blue (frame 1):[Event type="added" bubbles=true cancelable=false eventPhase=3]
|
||||||
|
green constructed
|
||||||
|
green (frame 1):[Event type="added" bubbles=true cancelable=false eventPhase=2]
|
||||||
|
blue (frame 1):[Event type="added" bubbles=true cancelable=false eventPhase=3]
|
||||||
|
green (frame 1):[Event type="addedToStage" bubbles=false cancelable=false eventPhase=2]
|
||||||
blue (frame 1):[Event type="frameConstructed" bubbles=false cancelable=false eventPhase=2]
|
blue (frame 1):[Event type="frameConstructed" bubbles=false cancelable=false eventPhase=2]
|
||||||
orange (frame 1):[Event type="frameConstructed" bubbles=false cancelable=false eventPhase=2]
|
orange (frame 1):[Event type="frameConstructed" bubbles=false cancelable=false eventPhase=2]
|
||||||
|
green (frame 1):[Event type="frameConstructed" bubbles=false cancelable=false eventPhase=2]
|
||||||
//MainTimeline frame 5
|
//MainTimeline frame 5
|
||||||
//End MainTimeline frame 5
|
//End MainTimeline frame 5
|
||||||
//BlueSymbol frame 1...
|
//BlueSymbol frame 1...
|
||||||
|
//GreenSymbol frame 1...
|
||||||
|
blue (frame 1):[Event type="exitFrame" bubbles=false cancelable=false eventPhase=2]
|
||||||
|
orange (frame 1):[Event type="exitFrame" bubbles=false cancelable=false eventPhase=2]
|
||||||
|
green (frame 1):[Event type="exitFrame" bubbles=false cancelable=false eventPhase=2]
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue