Skip to content

Commit

Permalink
waiting for the new FLARManager working in CS4
Browse files Browse the repository at this point in the history
  • Loading branch information
tcha-tcho committed Jul 13, 2010
1 parent f25f9e4 commit 29e9143
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Binary file modified src/EZFLAR.swf
Binary file not shown.
8 changes: 7 additions & 1 deletion src/com/transmote/flar/FLARManager.as
Original file line number Diff line number Diff line change
Expand Up @@ -681,6 +681,9 @@ package com.transmote.flar {

//-----<MARKER DETECTION>----------------------------//
private function onEnterFrame (evt:Event) :void {
/*
FIXME updateSource() test is not passing... this will not fire detection
*/
if (!this.updateSource()) { return; }

if (!this.bActive) { return; }
Expand All @@ -694,9 +697,12 @@ package com.transmote.flar {
try {
// ensure this.flarRaster has been initialized
if (this.flarRaster == null) {
/*
FIXME flarRaster is not working ... is getting a error ... someone here is null
*/
//this.flarRaster = new FLARRgbRaster_BitmapData(this.flarSource.sourceSize.width, this.flarSource.sourceSize.height);
this.flarRaster = new FLARRgbRaster_BitmapData(this.thresholdSourceBitmap.bitmapData);
this.flarSource.source = BitmapData(this.flarRaster.getBuffer());
//this.flarSource.source = BitmapData(this.flarRaster.getBuffer());
}
} catch (e:Error) {
// this.flarSource not yet fully initialized
Expand Down

0 comments on commit 29e9143

Please sign in to comment.