A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Mc target probs

  1. #1
    Senior Member
    Join Date
    Jul 2001
    Posts
    165

    Mc target probs

    how to target a movieclipbutton from the main timeline of scene1 to the image i scene 2, frame one instance.

    pls help

    sabs

  2. #2
    Member Pepember
    Join Date
    Jul 2001
    Location
    Berlin
    Posts
    886
    huh ? what exactly do you want to know ?
    first off, you can only target an mc or a button if it's already on the stage in the current frame.
    then you have to name the button and and the mc and target it like this:
    _root.mc_name.button_name

    if you want to jump to a certain frame, wherever it is, on clicking the button, give the frame a labelname and write on the button
    on (release){
    _root.gotoAndPlay("myLabelName");
    }

    is that what you wanted to know ?

  3. #3
    Senior Member
    Join Date
    Jul 2001
    Posts
    165
    No. from current scene to nextscene
    button is inside th movie clip on maintimelime and instance on next scene
    on click from main time line instance should appear

  4. #4
    Member Pepember
    Join Date
    Jul 2001
    Location
    Berlin
    Posts
    886
    ok, i have trouble targetting different scenes, that's why i use frame labels. so just do as i suggest above: name the frame where the instance is you want to go to and then jump there with gotoAndStop() or whatever on your button...

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