ID in flash
- Started
- Last post
- 6 Responses
- piperboytoy
Can you pleasae let me know how to give an ID name to a movie clip? i tried to look online but nothing.
thanks in advance
- material-10
click on mc, go to properties palette, enter name in little boxat left
- jpea0
of it you wanna do it dynamically, you could give it an instance name (as said above) or you could just give it a variable on the movie clip's own timeline :
for (i=0; i
- jpea0
whoops. forgot they strip certain tags
for (i=0; i < 4; i++){
this['myClip'+i].id = i
}
- piperboytoy0
thanks. is that the same as an instance name? i was checking the actions and the names aren't the same as the instance name?
- jpea0
right, not the same as an instance. the first reply was for instance name, the 2nd/3rd was for just basically pushing a variable into a clip.
- UndoUndo0
_root.myclip.myVariable = "thevalue"
?