[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 4770: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3884)
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 4772: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3884)
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 4773: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3884)
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 4774: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3884)
Forum eduweb.pl • Wyświetl temat - Odwołanie do movieclipa zdefiniownego w innej klasie
Strona 2 z 2

Re: Odwołanie do movieclipa zdefiniownego w innej klasie

Post: 18 sie 2013, o 22:14
autor: zchrobot
jak używać trace masz powyżej dokładnie taki kod jak napisałem bez ("1") itp

Re: Odwołanie do movieclipa zdefiniownego w innej klasie

Post: 19 sie 2013, o 21:56
autor: karamba89

Re: Odwołanie do movieclipa zdefiniownego w innej klasie

Post: 20 sie 2013, o 09:57
autor: zchrobot
no to masz już odpowiedź
trace(MovieClip(parent).scena) dopoki tutaj trace jest undefined to reszta kodu też jest źle wykonywana
sprawdz czy masz na scenie movieclip nazwany w properties 'scena' bo do takiego sie chcesz odwolywac, najprawdopodobniej nie ma takiego movieclipa lub nie ma on nadanej takiej nazwy lub w momencie odwolania jest on w innej klatce niz obecnie się znajdujesz na timelinie głównym

Re: Odwołanie do movieclipa zdefiniownego w innej klasie

Post: 20 sie 2013, o 19:09
autor: karamba89
Sprawdziłem
movieclip scena jest
kiedy zrobie:
trace(scena); output = [object MovieClip]
kiedy zrobie juz
trace(scena.c) lub trace(scena.c.landmarks) znowu wyskakuje undefided

jednak samo trace(c); lub trace(landmarks); daje output = [object MovieClip]
wszystko znajduje się w pierwszej klatce

przychodzą Ci jeszcze do głowy jakieś pomysły co może być nie tak jak powinno?

Re: Odwołanie do movieclipa zdefiniownego w innej klasie

Post: 21 sie 2013, o 09:45
autor: zchrobot
to czemu odwoływałeś sie MovieClip(parent).scena ? skoro obiekt scena jest dostepny bezposrednio.
scena.c undefined oznacza ze nie masz zdef takiego obiektu w movieclipie scena lub nie ma on nadanej nazwy w properties 'c'

Re: Odwołanie do movieclipa zdefiniownego w innej klasie

Post: 31 sie 2013, o 23:59
autor: karamba89
co do tego obiektu "c" to owszem nie miałem go w bibliotece ale był on definiowany w klasie
public var c:MovieClip = new MovieClip();
w końcu zrezygnowałem z tego buttona w innej klasie i utworzyłem go w klasie scena