This content has been marked as final. Show 9 replies
you can use the _parent and _name properties of movieclips.
...so I could code based on some kind of if function where if the parent equaled a certain instance then it would activate
Sorry I'm such a dunce at this. I havent been doing it long...
I tried using the script assistant with the if function but as the symbol spins there is a "transform" and I cannot get passed that to the point in the hierarchy where the instance name changes, which is what the condition of my if clause is going to need.
oh, and thanks very much by the way.
if you want spinner1 to load images like image11, image12, image13... and
you want spinner2 to load images like image21, image22, image23...
then on the timeline of spinner_components you could use something like:
Ok, thanks. I'll have a look over the wekend and see if I cant sort it out.
I might be in touch on Monday!
OK, sorry, I havent had too much chance to play with this.
Tells any instance of the symbol "holder" to load an image called "image(the seventh letter of the parent symbol)x" So for any instance of holder in spinner1 it will load image1x.
My images are assigned using the following:
[quote]var image10:String = "logo/jamon.gif";[/quote] etc.
"holder" is in "spinner_components"
The symbol "spinner" contains "spinner_components" spinning using the transform function.
Therefore I also tried the code as:
Is it the transform function that is messing it all up? or some syntax?