A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: Rollout/Button/MC Problem

  1. #1
    Junior Member
    Join Date
    Oct 2000
    Posts
    8
    Hi all,
    I've scanned past posts to try to find a solution to the following problem - there's a few that are close...but not quite close enough!

    So: the problem - I've created a psuedo 3D floorplan which is made up of a number of different sections (which are buttons). When you roll over a section it raises up into a box-type-thing. What I want to happen is when you roll out of a section the box drops back down into the floorplan, rather than just go PLONK back down.

    I've created an MC with first, a rise up animation (10 frames), then a drop down animation (10 frames) - how do I get Flash to go to the second ten frames on rollOut? I can't do it!

    Cheers,

    SamB

  2. #2
    Arckid - Curving the Web
    Join Date
    Dec 2000
    Location
    India
    Posts
    1,412
    i think u can do it by tell target ...

    on(rollOut){
    _root.mc1.mc2.gotoAndPlay(11);
    }

    and on 20th frame of the mc2 put stop(); and also put same on 10th frame of it ..

    m i right ?

  3. #3
    Junior Member
    Join Date
    Oct 2000
    Posts
    8
    Tried that - doesn't seem to work...

    on(rollOut){
    _root.mc1.mc2.gotoAndPlay(11);
    }

    There is only one mc, which is in 'Over, Down and Hit' states in the button. I've also tried:

    on(rollOut){
    _root.button.mc.gotoAndPlay(11);
    }

    Again no joy. Stop actions are attached.

    Hmmmmmm...

  4. #4
    Junior Member
    Join Date
    Mar 2001
    Posts
    12
    What if you don't have them as buttons at all but instead mc's...then you could use onClipEvent handlers and there wouldn't have the problem of targeting the mc...If I understand correctly, you are trying to target a mc which is inside the button?

  5. #5
    Arckid - Curving the Web
    Join Date
    Dec 2000
    Location
    India
    Posts
    1,412
    hi there ...

    just drop ur files and some brief description about ur problem to aashu3k@hotmail.com and i will solve it for u and will send u back ...

    god bless u ..

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