A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Targetting a movieclip inside a movieclip.

  1. #1
    -i11.5Ki113D- jerryCLEMENT's Avatar
    Join Date
    Jan 2004
    Location
    Los Angeles, CA
    Posts
    248

    Targetting a movieclip inside a movieclip.

    I also posted this thread in the CS3 forum, but i am going to end up using AS2 for the site, so i figured i might be able to get more help here since this forum is more common.

    What i am trying to do is target a button (which is actually a movieclip) that is inside another movie clip for rollOut, rollOver, and release functions. I have tried various versions of code but still seem to be having trouble or something is just eluding me. I have posted a version with just the code for the first rollover, because i have been using a blank version for code testing.

    The path to the movieclip i am trying to function is _root.navigation.home

    If anyone can access this file and help me out it would be greatly appreciated.

    This file is in Flash 8 format, unfortunately i can't seem to save below that in Flash CS3 (sorry).

    File is here navigation.fla and is roughly 225k.

    Again any help would be appreciated on this as it has been bugging me senseless for the past 4 days.
    Last edited by jerryCLEMENT; 06-22-2007 at 07:30 AM.

  2. #2
    Senior Member
    Join Date
    Feb 2006
    Location
    Düsseldorf, Germany
    Posts
    142
    It's not logical to add button inside a button...

    U should try something differenet. for exmaple create one MC and all the rollOver and rollOut statements would be on a background with (mc.useHandCursor = false);

    and all your buttons will be having the actions only then when rollOver statement is finished.
    Last edited by ifmi; 06-22-2007 at 07:55 AM.
    --
    there is a place for those who dare to dream...

    Flash Developer
    VISTAPARK GMBH
    BÄRENSTRASSE 11-13
    D-42117 WUPPERTAL

  3. #3
    -i11.5Ki113D- jerryCLEMENT's Avatar
    Join Date
    Jan 2004
    Location
    Los Angeles, CA
    Posts
    248
    Apparently this is possible, but only with AS3. Thank you for the reply, but i guess i have to keep this in the AS3 forum.

  4. #4
    Total Universe Mod jAQUAN's Avatar
    Join Date
    Jul 2000
    Location
    Honolulu
    Posts
    2,429
    just add
    enabled = false;
    to frame 12 of navigation.
    Basically you have to shut off buttons over lapping other buttons.
    Check out the layered roll over link in my footer for more info.

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