Форум Flasher.ru

Форум Flasher.ru (http://www.flasher.ru/forum/index.php)
-   ActionScript 3.0 (http://www.flasher.ru/forum/forumdisplay.php?f=83)
-   -   Ошибка 1119 (http://www.flasher.ru/forum/showthread.php?t=110250)

Blazer 30.03.2008 12:57

Ошибка 1119
 
Люди прет всем
Access of possibly undefined property bablo through a reference with static type com.yoongen:UserAccount
bablo --- клип
не могу понять
Выбивает после этого кода
Код:

var $index:uint = uint(was.currentTarget.name.split("n")[1]);
  this.userInfo.visible = ($index == 1);
  this.userFeedbacks.visible = ($index == 2);
  this.userVideos.visible = ($index == 3);
  this.bablo.visible = ($index == 6);
  this.bg2.visible = ($index == 3);
  this.bg1.visible = !(bg2.visible)
  this.init();

Точно всё проверял, все неймы правильные. Когда объявляю в начале вот тогда без ошибки, но прятать не хочет.
Пожайлуйста, помогите!

Mr. Fixit 30.03.2008 13:21

Код:

var bablo_mc : MovieClip = this.getChildByName('bablo') as MovieClip;

Blazer 30.03.2008 13:26

Терь ошибка 1061: Call to a possibly undefined method getDefinitionByNam through a reference with static type Class.

(

etc 30.03.2008 15:42

getChildByName.


Часовой пояс GMT +4, время: 01:39.

Copyright © 1999-2008 Flasher.ru. All rights reserved.
Работает на vBulletin®. Copyright ©2000 - 2026, Jelsoft Enterprises Ltd. Перевод: zCarot
Администрация сайта не несёт ответственности за любую предоставленную посетителями информацию. Подробнее см. Правила.