Groups | Blog | Home
all groups > flash data integration > july 2005 >

flash data integration : Loader Component - Does not load symbol


italoosorio
7/2/2005 12:00:00 AM
:confused;
Hi. I need your help, this is very important for me.

I have a movie call data.swf. This has a symbol call "Form_Edit" in the
library. Data.swf use this symbol in this way:

var myWindow = mx.managers.PopUpManager.createPopUp(this,mx.containers.Window,
true, { contentPath:"Form_Edit"});

When I running data.swf the "Form_Edit" symbol appear in the Windows Component
which is normal.

When I load data.swf into another movie (main.swf) with loadMovie also every
thing work wel.

loadMovie("data2.swf",_root);

But, when I add an "Loader component" to main.swf and I set it to load
"data.swf" it load the movie, the Window component is showed but it can not
show "Form_Edit" symbol, appear empty. Flash show the error: "Error opening
URL: "file:///..../Form_Edit"" .

"Form_Edit" it is not another .swf, it is a symbol inside data.swf library.

It is not a problem of "Sharing Library" because by using "loadMovie" every
thing works. I test "From_Edit" as "Expor for rum time" and I got the same
problem.

Thank you for you help.
italoosorio
7/3/2005 12:00:00 AM
Hi. Are there people there?

I really need help in this issue. I have post it in other forums without
answer.

I have this webpage which show the problem.

Please check this URL:
http://reg.aiias.edu/test/flash/loader/index.html

:disgust;
LuigiL
7/3/2005 9:12:45 AM
Frame 1, line 1 of your actionscript in data.swf:
italoosorio
7/4/2005 12:19:13 AM
Hi LuigiL.
I put "_lockroot=true;" and also I have try "this._lockroot=true;" and it does
not help.

The examples in http://reg.aiias.edu/test/flash/loader/index.html has
"_lockroot=true" in the code now and I show the same problem.

Do you have another suggestion?

LuigiL
7/4/2005 7:45:30 AM
contentPath:"Form_Edit
When you load using the loader component this content path isn't valid anymore. Put the Form_Edit symbol in the library of main.swf and see what happens.
italoosorio
7/5/2005 8:35:17 AM
Hi LuigiL.

Yes, if I put "Form_Edit" in the main.swf it works. But I don't want this
solution. I want that main.swf can load any .swf dynamically selected with any
restriction. Maybe I am requesting too much for this component.

I will use loadMovie() instead.

Thanks you.

AddThis Social Bookmark Button