Hello all,
This is a fair old bit to read, and for that I apologise but I feel the only way for anyone to understand all the elements that could be contributing to this problem is to explain (try) in detail.
I have a problem getting external .swf’s to function properly in my “main.swf” file.
In “main.swf” I have a movieClip variable called: “loadPage” and I have 7 buttons which load transitions (in and out) externally from a folder: “bitmapPage” into the “loadPage” variable.
On the first frame of the “main.swf” the first transition is loaded:
Code:
_global.trans = “1”;
trans = “1”;
loadMovie(“bitmapPage/bitmap”+_global.trans+".swf", _root.loadPage);
stop();
On the buttons: ‘onRelease’ the present .swf plays “out” and the required .swf plays “in”
Code:
on (release) {
if (_global.trans == “1”) {
stop();
} else {
_global.trans = “1”;
trans = “1”;
_root.loadPage.gotoAndPlay(“out”);
}
}
This works fine and I have used it countless times with all sorts of content within the transition files.
Now, this time within the transitions I have an image slider which has 6 buttons. On release of each of these buttons the slider slides to the appropriate image. Simple enough…
These transitions ("bitmap1,2,3,4,etc.swf) work perfectly when published individually. Yet when called upon by the buttons in “main.swf” they can be seen but the slider does not work at all…
When viewing the problem from the “main.swf” the output error message I get is this:
Target not found: Target="_root.control2" Base="_level0.loadPage"
“Control2” refers to the image slider controller within the"bitmap.swfs"
After all that I have mad respect for you for even reading this far!
I just hope it all made sense…
Thank you!