Flash Advisor logo
:: Desktop Shortcut
:: Flash Help
Advice from Experts

Closed Thread
Results 1 to 2 of 2
  1. #1

    Default Play specific frame of movieclip from other movieclip

    now this may look like simple stuff but it is not happening.
    i ve made two movieclips 'menuball' which is animates the small ball inside the scene (like a bullet for menu item) and 'menumain' where 'menuball' is embedded and small text which is button.
    now i want when this button in 'menumain' is pressed. the 'menuball' clip shud be played from 12th frame onwards. this will basically withfraw the ball from the scene. i ve used simple code
    on(release)
    {menuball.gotoAndPlay(12);
    }
    or
    this.menuball.gotoAndPlay(12);
    or
    _root.menumain.menuball.gotoAndPlay(12);
    and many more like this
    but none is working
    i am attaching the small fla file.take it from here http://www.pivisions.com/trial3.fla please help me in this. i am not getting any solution. and my whole work is stuck coz of this.

  2. # ADS
    Join Date
    Always
    Posts
    Many
     
  3. #2
    Join Date
    May 2004
    Location
    U.S.A.
    Posts
    2,890

    Default

    Hi,

    From your description, the path would be ....

    _root.menumain.menuball.gotoAndPlay(12);

    Something else you can try is removing the button object code and using frame code. Give your button an instance name and on the first frame of the movie, use something like.....

    Code:
    _root.movieClipName.buttonName.onRelease=function(){
    _root.menumain.menuball.gotoAndPlay("frameLabel");
    }
    Using frame labels to target makes navigation a bit easier to understand.

    hope it helps
    NTD
    A mind once stretched by a new idea never regains its original dimensions.
    - Oliver Wendell Holmes

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. When a movieclip gets here do this
    By Dude in forum Advanced Flash
    Replies: 1
    Last Post: 05-05-2005, 11:08 AM
  2. how to control movieclip
    By parthy_ban_m in forum Flash Scripting
    Replies: 1
    Last Post: 10-07-2004, 03:03 AM
  3. MOVIECLIP!!
    By smurf123 in forum Advanced Flash
    Replies: 1
    Last Post: 05-29-2004, 07:50 AM
  4. MovieClip
    By WiLLiaM the BlooDy in forum Newbies
    Replies: 5
    Last Post: 02-17-2004, 08:48 AM
  5. current frame retrieval within movieclip control script
    By dougdayhoff03 in forum Advanced Flash
    Replies: 3
    Last Post: 12-23-2003, 10:11 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Sponsors
Create Speaking Characters for your website and Flash movies. 15 Day Free Trial