search text in P2FDoc, with TextField on stage
Posted: Thu Feb 19, 2009 10:35 am
On my stage I have a input TextField, and I would be able to search text, that is enter in the input, inside the P2FDoc.
I guess i should use these :
But I don't understand how can I use it.
Somebody can explain to me, or show me an exemple ?
I guess i should use these :
Code: Select all
public function SearchText(text:String,CBFunc:Function):void {
APILC.send(connstr,"SearchText",RegisterCBFunc(CBFunc),text);
}
public function findNext(CBFunc:Function):void {
APILC.send(connstr,"findNext",RegisterCBFunc(CBFunc));
}
public function ResetTextSearch():void {
APILC.send(connstr,"ResetTextSearch");
}
public function setFindText(text:String):void {
APILC.send(connstr,"setFindText",text);
}
public function getFindText(CBFunc:Function):void {
APILC.send(connstr,"getFindText",RegisterCBFunc(CBFunc));
}
But I don't understand how can I use it.
Somebody can explain to me, or show me an exemple ?