Hi there-
Am pretty new to AS3 and would love some help. Basically I have a photo gallery that runs in a container, which is added to the stage like so:
import com.xmlphotoalbum.*;
var gallery:XmlPhotoAlbum = new XmlPhotoAlbum();
gallery_container.addChild(gallery);
I want to have it set up so when you click on a “gallery” button, it reloads/refreshes the gallery to its initial state, because the “internal” navigation of the gallery isn’t very intuitive…and so the only thing I can think of is essentially to remove the gallery and re-add it, whenever “gallery” button is clicked, which resets the gallery to its initial thumbnail view.
I’ve tried fumbling around with removeChild, addChild, simple if statements, etc.
Can anyone help?