|
-
Maybe, just maybe, the error message might be telling you what is wrong. MovieClip is not a function.
You want getChildByName.
Actually, looking at that code, I have no idea why you're messing with the name at all.
Code:
function regionRollOver(evt:MouseEvent):void
{
MovieClip(evt.target).alpha = .5;
} //regionRollOver()
-
I would normally use this approach, but I have two movieclips that I want to control with dynamic reference:
Code:
target_variable_mc
text_variable_mc
... where "variable" is the stripped term. Both clips are within map_mc.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|