dcsimg
A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: Button action not working to control a different movie clip timeline

  1. #1
    Junior Member
    Join Date
    Jan 2009
    Posts
    2

    Question Button action not working to control a different movie clip timeline

    Hi.

    I have a button action not working to control another movie clip timeline. The movie clip timeline I want to control has an instance name but for some reason it's not playing. The button is on a different movie clip timeline. Both movie clips are on Scene 1. I think there is something wrong with my target path?

    on(release){
    _root.insMcWorkNav.gotoAndPlay("lbWork04");

    insMcWorkNav is the movie clip, lbWork04 is the frame to play

    Any suggestions? Thanks!

  2. #2
    Senior Member
    Join Date
    Sep 2007
    Location
    UK
    Posts
    194
    The movieclip on the stage is actually labelled 'insMcWorkNav' right? I know it sounds simple but something my AS problems are!

  3. #3
    Junior Member
    Join Date
    Jan 2009
    Posts
    2
    Yes, that's the instance name. I used the target path icon in the Actions panel to get that target. Any other ideas?

  4. #4
    Jack Foster cabbar's Avatar
    Join Date
    Feb 2007
    Location
    England
    Posts
    111
    very strange, your syntax is correct, it maybe a typing mistake.
    I've also noticed that your closing bracket is not there , it may be why.

    try again

    on(release){
    _root.insMcWorkNav.gotoAndPlay("lbWork04");
    }

  5. #5
    Senior Member
    Join Date
    Sep 2007
    Location
    UK
    Posts
    194
    I would double check my path to the insMcWorkNav instance. Is it actually ON the root timeline, and not contained within another movieclip?

  6. #6
    Relearning flash... Bah!
    Join Date
    Jan 2009
    Posts
    4
    also check that the movie isnt called insMcWorkNav as well as the instance being called insMcWorkNav as can't that have 'issues' too?

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