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.
what is "DocArea"?
Re: what is "DocArea"?
DocArea is a reference to a standard ScrollPane component instance located inside the Print2Flash document. It is used to display the document in a scrollable area.