Форум Flasher.ru

Форум Flasher.ru (http://www.flasher.ru/forum/index.php)
-   Общие вопросы о Flash (не затрагивающие ActionScript) (http://www.flasher.ru/forum/forumdisplay.php?f=60)
-   -   Flash 7 (http://www.flasher.ru/forum/showthread.php?t=72340)

Vier 24.11.2005 19:19

Flash 7
 
Такой вот вопрос:

Подгружаю xml'ку.

Код:

this.input_xml = new XML();
this.input_xml.load("album.xml");
this.input_xml.onLoad = function(success) {
        if (success) {
                if (this.status != 0) {
                        trace("invalid xml");
                } else {
                        this.addID();
                        _root.preview.loadPictures();
                }
        } else {
                trace("error opening URL");
        }
};

если публикую в 6м плеере -- все нормально.
в 7ом -- "invalid xml" :confused:

KUZEN 24.11.2005 21:28

В седьмом попробуй поставить AS1 в параметрах публикации

Штрек 25.11.2005 03:20

Цитата:

Сообщение от Vier
Такой вот вопрос:

Подгружаю xml'ку.

Код:

this.input_xml = new XML();
this.input_xml.load("album.xml");
this.input_xml.onLoad = function(success) {
        if (success) {
                if (this.status != 0) {
                        trace("invalid xml");
                } else {
                        this.addID();
                        _root.preview.loadPictures();
                }
        } else {
                trace("error opening URL");
        }
};

если публикую в 6м плеере -- все нормально.
в 7ом -- "invalid xml" :confused:

Ну так протрейси -
this.status
и всё узнаешь.......


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

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