gimmins
06-12-2005, 11:36 PM
Dear Flash developers,
I wonder if this type of question has already been posted, but since I cannot find satisfactory answer, I might as well post this question.
I have a movieclip loader in a loader.swf. I also have a rotate.swf file that has variables.
The problem is this. When I only run rotate.swf, the file works fine. However, when that rotate.swf is loaded from loader.swf, it doesn't give the result.
I am assuming that this is because for example if I declared and tried to access the variables in rotate.swf with something like the following code:
number = 0;
_level0.number = 50;
It will think that the number is located at the _level0 of loader.swf, not the _level0 of rotate.swf.
So my question is, is it possible to make the varibales work?
I wonder if this type of question has already been posted, but since I cannot find satisfactory answer, I might as well post this question.
I have a movieclip loader in a loader.swf. I also have a rotate.swf file that has variables.
The problem is this. When I only run rotate.swf, the file works fine. However, when that rotate.swf is loaded from loader.swf, it doesn't give the result.
I am assuming that this is because for example if I declared and tried to access the variables in rotate.swf with something like the following code:
number = 0;
_level0.number = 50;
It will think that the number is located at the _level0 of loader.swf, not the _level0 of rotate.swf.
So my question is, is it possible to make the varibales work?