what is "DocArea"?
Posted: Fri Apr 04, 2014 3:37 pm
hi. new to print2flash. need some help...
in the following chunk of code, regarding the line "if (doc && doc.DocArea)", what exactly is "DocArea"?
public function checkLoaded(event:TimerEvent):void
{
var doc:MovieClip = getDoc();
if (doc && doc.DocArea)
{
doc.init(contentwidth,contentheight)
loadTimer.stop();
visible = true
dispatchEvent(new Event(ONLOADEVENT))
}
}
public function getDoc():MovieClip
{
return content as MovieClip;
}
thx.
in the following chunk of code, regarding the line "if (doc && doc.DocArea)", what exactly is "DocArea"?
public function checkLoaded(event:TimerEvent):void
{
var doc:MovieClip = getDoc();
if (doc && doc.DocArea)
{
doc.init(contentwidth,contentheight)
loadTimer.stop();
visible = true
dispatchEvent(new Event(ONLOADEVENT))
}
}
public function getDoc():MovieClip
{
return content as MovieClip;
}
thx.