| Package | com.transmote.flar.source |
| Class | public class FLARProxy |
| Inheritance | FLARProxy flash.display.Sprite |
| Implements | IFLARSource |
useProxy='true' to the flarSourceSettings node in your configuration XML file.
Since FLARProxy responds to mouse interaction, it must be added to the display list
in order to capture mouse interaction and dispatch FLARMarkerEvents.
Clicking the mouse sends a MARKER_ADDED event,
dragging the mouse sends a MARKER_UPDATED event,
and releasing the mouse sends a MARKER_REMOVED event.
These events can be handled exactly as if they were dispatched by FLARManager.
Press keys 0-9 to specify a patternId.
FLARProxy only supports patternIds 0 through 9.
| Property | Defined By | ||
|---|---|---|---|
| inited : Boolean [read-only]
Returns true if initialization is complete. | FLARProxy | ||
| mirrored : Boolean
FLARProxy cannot be mirrored;
method is here only for compliance with IFLARSource. | FLARProxy | ||
| source : BitmapData [read-only]
FLARProxy has no BitmapData source;
method is here only for compliance with IFLARSource. | FLARProxy | ||
| sourceSize : Rectangle [read-only]
Size of BitmapData source used for analysis. | FLARProxy | ||
| trackerToDisplayRatio : Number [read-only]
Ratio of area of tracker's reported results to display size. | FLARProxy | ||
| Method | Defined By | ||
|---|---|---|---|
FLARProxy(displayWidth:Number, displayHeight:Number)
Constructor. | FLARProxy | ||
activate():void
Activate marker simulation. | FLARProxy | ||
deactivate():void
Deactivate marker simulation. | FLARProxy | ||
dispose():void
Halts all processes and frees this instance for garbage collection. | FLARProxy | ||
update():void
FLARProxy updates on mouse interaction;
method is here only for compliance with IFLARSource. | FLARProxy | ||
| inited | property |
inited:Boolean [read-only]
Returns true if initialization is complete.
FLARProxy is inited automatically in constructor.
public function get inited():Boolean| mirrored | property |
mirrored:BooleanFLARProxy cannot be mirrored; method is here only for compliance with IFLARSource.
public function get mirrored():Boolean public function set mirrored(value:Boolean):void| source | property |
source:BitmapData [read-only] FLARProxy has no BitmapData source; method is here only for compliance with IFLARSource.
public function get source():BitmapData| sourceSize | property |
sourceSize:Rectangle [read-only] Size of BitmapData source used for analysis.
public function get sourceSize():Rectangle| trackerToDisplayRatio | property |
trackerToDisplayRatio:Number [read-only] Ratio of area of tracker's reported results to display size. Use to scale (multiply) results of tracker analysis to correctly fit display area. FLARProxy always uses the whole screen size, so this method returns 1.0.
public function get trackerToDisplayRatio():Number| FLARProxy | () | Constructor |
public function FLARProxy(displayWidth:Number, displayHeight:Number)Constructor.
ParametersdisplayWidth:Number — Width of active area.
| |
displayHeight:Number — Height of active area.
|
| activate | () | method |
public function activate():voidActivate marker simulation.
| deactivate | () | method |
public function deactivate():voidDeactivate marker simulation.
| dispose | () | method |
public function dispose():voidHalts all processes and frees this instance for garbage collection.
| update | () | method |
public function update():voidFLARProxy updates on mouse interaction; method is here only for compliance with IFLARSource.