Hi guys,
I usually wouldn’t post on here as I like to find the answer myself, but after looking through Google literally all day I’m at the end of my tether, so I’m going to impose on you all and ask.
This is the situation;
I have a main file, called ‘Index.swf’, my main file only really contains placeholders for everything else, the main placeholder being called ‘contentholder’ contains the main site content. It loads whichever movieclip is called, many of which also contain their own placeholders. In this instance, using the loadMovie command, I load an external SWF called ‘allproductProSeries.swf’ into the ‘contentholder’, ‘allproductProSeries.swf’ contains a movieclip called ‘proSeriesHolders’, which contains 12 empty movieclips named holder1/holder2/holder3 and so on, which loads 12 buttons and are the images of the particular product.
So, simplified; ‘Index.swf’ (main) has a placeholder ‘contentholder’, which loads ‘allproductProSeries.swf’, which has a movieclip ‘proSeriesHolders’ which has 12 placeholders names after their product.
And REAL simple; Index.Swf > contentholder > allproductProSeries.swf > proSeriesHolders > holder1/holder2/holder3 etc…
The problem is, each button needs to control the other 11, to return it to it’s ‘off’ state essentially. In theory this shouldn’t be hard, it’s just a matter of getting the path right, but I can’t for the life of me figure out what that path is.
This is what I currently have;
on(press){
_root.contentholder.proSeriesHolders.holder2.gotoAndPlay(2);
}
Which from what I can tell is exactly what it should be, but it’s not working. If I’m analyzing my code correctly, it says from _root > contentholder (with ‘allproductProSeries.swf’ loaded) > proSeriesHolders (the name of the movieclip on frame 1 in ‘allproductProSeries.swf’) > holder2 (the name of one of the twelve placeholders in movieclip ‘proSeriesHolders’) > gotoAndPlay frame 2. But it’s not doing anything. I even tried putting tracers around to see if anything is happening at all, but nothing.
Anyone able to see where I’m going wrong?
Thanks to anyone that made it to this sentence, I hope it wasn’t too convoluted for you.