Показать сообщение отдельно
Старый 12.01.2009, 21:30
polol вне форума Посмотреть профиль Отправить личное сообщение для polol Найти все сообщения от polol
  № 1  
Ответить с цитированием
polol

Регистрация: Aug 2006
Сообщений: 102
По умолчанию как дотянуться с _root до текста, чтобы изменить его?

в _root лежит мувик "mclip", в котором я создал функцией типа

Код AS1/AS2:
addName ("mov01", 9, high ,  middle , inside01, XMLdaten_exchange[0])
несколько текстовых полей (
Код AS1/AS2:
this[clipName].textFieldName.text = textContent
).

вот таким образом:

Код AS1/AS2:
function addName (clipName:String, depth:Number, yPlace, xPlace, textFieldName:String, textContent:String) {
 
 
 
 
	var clip:MovieClip = this.createEmptyMovieClip (clipName , depth)
 
clip._y = yPlace;
clip._x = xPlace;
clip._alpha = 0
 
 
 
this[clipName].createTextField("textFieldName", this[clipName].getNextHighestDepth(), 0, 0, 200, 100);
 
....
 
this[clipName].textFieldName.embedFonts = true;
this[clipName].textFieldName.setNewTextFormat(myfromat);
 
this[clipName].textFieldName.text = textContent
 
 
}


как дотянуться с _root до текста mov01.inside01.text, чтобы изменить его?


не могу найти путь.