Hey everyone, quick question. I created an XML Grid Image Gallery in Flash (ActionScript 3.0) and it came out just fine. Problem is, now when I go to click on other sections of the site, the grid gallery won't go away. I have the grid in the portfolio section. Yet if I click the home button, it will then appear on the home page and any other page viewed after the portfolio section. It won't do it until after you view that section though. Is there a clear previous script code or something I could put at the top of each page to stop this from happening? Thanks for any help.
The site isn't up yet, but I tested it in every way possible and always had the same result. The script is attached if it helps.
Thanks a lot dawsonk, worked like a charm. But now I have a new issue, and I tried following your code to no avail. The image gallery works great, and now the thumbs go away whenever I navigate to a different section of the site. But if I click on a thumb to load a full image, and then click on a button to navigate to another section of the site without clicking on the image again to close it, the full image will carry over to the new section. If I click on it again in the new section, it will close just like in the portfolio section, but then I get ActionScript compiler errors. Basically I need a double function of the buttons or something that will close full the full images when you click on a navigation button.
I tried removeChild(full_mc); at the beginning of each new section of the site, and it works if you view that section after the portfolio section. If not, while it doesn't cause harm and does the job of removing any still open full images, it gives ActionScript compiler errors. So for example, when first loading the page, you'll receive AS comp errors because you aren't coming from the portfolio section. Any help again would be great. I'll attach the updated code. Thanks.
XML Gallery/Cover Flow stays on stage when going to other frames
Hey all, have a similar problem, but mine is in AS 2.0.
Basically have 4 button symbols and each one links to a different XML cover flow so when you click on the button it goes to the specific frame and the XML gallery loads in and flow across the stage. Problem is when I click to go back to the buttons (or go back to frame 1) the xml gallery stays on the stage.
Any ideas on how to make the XML gallery disappear when I click to another frame in as 2.0? See code below, full code is attached...Thanks!