A Flash Developer Resource Site

Results 1 to 11 of 11

Thread: [RESOLVED] Control of dynamic, nested MovieClips

Hybrid View

  1. #1
    Will moderate for beer
    Join Date
    Apr 2007
    Location
    Austin, TX
    Posts
    6,801
    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()

  2. #2
    karldesign
    Guest
    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
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center