Question
accessing loader's content using XML
Hi,
I've loaded an image into a loader from an XML file. Now I need to access that image to change it's X position. How do I go about doing this?
I have used the debug to list all my objects, but my image is going to change whenever it loads a new one, so I can't use the image name...
The array which holds my images is called propertyImage and I would have thought I could do this:
_root.loader_mc.propertyImage[currentProperty]._x
but that didn't work
I've also tried this but it didn't work either:
_root.loader_mc.content._x
Thanks...
I've loaded an image into a loader from an XML file. Now I need to access that image to change it's X position. How do I go about doing this?
I have used the debug to list all my objects, but my image is going to change whenever it loads a new one, so I can't use the image name...
The array which holds my images is called propertyImage and I would have thought I could do this:
_root.loader_mc.propertyImage[currentProperty]._x
but that didn't work
I've also tried this but it didn't work either:
_root.loader_mc.content._x
Thanks...