How can I detect when the last container in my flow is full?


i have bunch of linked containers flowing text through. how can detect when text has filled container? there's overflowpolicy assume can detected.

hi,

 

i used :

 

 

 

 

private function isoverset(textflow:textflow):boolean

{

 

var zecomposer:iflowcomposer=textflow.flowcomposer;

 

var itextlen:int=textflow.textlength;

 

var inocontroller:int=zecomposer.findcontrollerindexatposition(itextlen - 1);

 

return (inocontroller == -1);

}

 

hth,

 

j.



More discussions in Text Layout Framework


adobe

Comments

Popular posts from this blog

Joomla site hacked, cant see front and - Joomla! Forum - community, help and support

Christian Home School Programs - Joomla! Forum - community, help and support

Trouble with PF_OutFlag_I_USE_AUDIO and PF_CHECKOUT_LAYER_AUDIO