Packagecom.bourre.events
Classpublic class LoopEvent
InheritanceLoopEvent Inheritance BasicEvent Inheritance flash.events.Event

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Event dispatched by the LoopCommand class to its listeners.

See also

BasicEvent.html


Public Properties
 PropertyDefined by
 Inheritedtarget : Object
The source object of this event
BasicEvent
 Inheritedtype : String
The type of this event
BasicEvent
Protected Properties
 PropertyDefined by
 Inherited_oTarget : Object
The source object of this event, redefined to provide write access
BasicEvent
 Inherited_sType : String
The type of the event, redefined to provide write access
BasicEvent
Public Methods
 MethodDefined by
  
LoopEvent(type:String, target:Object = null, count:Number = 0)
Creates a new LoopEvent object.
LoopEvent
  
clone():Event
Clone the event
LoopEvent
  
getCount():Number
Returns the iterations count since this event be fired.
LoopEvent
 Inherited
getTarget():Object
Returns the current source of this event object.
BasicEvent
 Inherited
getType():String
Returns the type of this event, which generally correspond to the name of the called function on the listener.
BasicEvent
 Inherited
setTarget(oTarget:Object):void
Defines the new source object of this event.
BasicEvent
 Inherited
setType(en:String):void
Defines the new event type for this event object.
BasicEvent
 Inherited
toString():String
Returns the string representation of this instance.
BasicEvent
Constructor detail
LoopEvent()constructor
public function LoopEvent(type:String, target:Object = null, count:Number = 0)

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Creates a new LoopEvent object.

Parameters
type:String — name of the event type
 
target:Object (default = null) — target object of this event
 
count:Number (default = 0) — the number of iterations realized since this event be fired
Method detail
clone()method
public override function clone():Event

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Clone the event

Returns
Event — a clone of the event
getCount()method 
public function getCount():Number

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Returns the iterations count since this event be fired.

Returns
Number — the number of iterations realized since this event be fired