Autor Zpráva
maros
Profil *
cau, mam jeden problem

pouzil som standartny scrolbar z UI kompontov na textove pole, dynamicke, text je tahany z externeho suboru,

scrollbar funguje az po druhom nacitani, to jest ked idem na cast kde mam pole so scrolbarom, scrollbar nefunguje, ale ked idem inde a vratim sa spat na cast s polom a scrolbarom uz mi scrollbar funguje a mozem text rolovat,

nevie niekto kde moze byt problem??

dik
Miroslav Charvát
Profil
Z manuálu :o)

FScrollBar.setScrollTarget

Availability

Flash Player 6.

Usage

myScrollBar.setScrollTarget(target)

Parameters

target A reference to the text field for the scroll bar.

Returns

Nothing.

Description

Method; specifies the text field instance to which the scroll bar applies. This instance must be defined in the same Timeline and on the same level as the scroll bar. Calling this method overrides the Target Text Field parameter value set during authoring. Passing undefined for the target parameter disassociates the scroll bar from the text field.

Example

The following code attaches scrollText1 to the text field with the instance name textField1.

scrollText1.setScrollTarget("textField1");
Toto téma je uzamčeno. Odpověď nelze zaslat.

0