Im new to actionscript and these forums so first ill say hello!
Im trying to create an image gallery, the images are loaded from locations in an XML file and are placed on the stage as buttons. However when I try to add the same Bitmap to the stage as the larger image the button dissapears. I first thought I could simply assign the bitmap to multiple variables so that i have more than one reference to it, but this diddn’t help. I suspect this is because AS3 treats all variables as pointers and each reference I create refers to the same object.
So, my questions are:
- Are all variables pointers?
- How can I duplicate my bitmap?