Kirupa pls read, -- help on Drggble Menu 2.0 Prt2

O-)\r’-(\r;-)\rANNOYED

Oups, I’ve just seen that. What exactly are you trying to do ?

pom 0]

Hi there, thank you for replying.

I’m trying to add one more object (white ball) with the same “elastic” qualities to the stage. But the second one doesn’t work. (Btw, I’m talking about>> elasticter.fla)
I’ve tried to change the variables, but I cannot make it work.

And now I also bumbed into a second problem, because I want these objects to behave like buttons… and make them bump into one another…

This is completely out of my reach, because I’m just an beginner at actionscript. <img src=http://www.ezboard.com/intl/aenglish/images/emoticons/embarassed.gif ALT=":o">

oh dam! Sorry about that Conk, I forgot completely about helping you! I’m soooo sorry! I feel like an ass now! Well, Pom’s here and its his tut, so he’ll be able to help you more than I. Good luck.

Arghh!! I can’t get it to work. Gimme some time.

pom 0]

If you want to use it with several objects, the problem was that you have several startDrag at the same time and Flash doesn’t like that at all.
Replace it with

 this._x = _root._xmouse ;
this._y = _root._ymouse ;

pom 0]

Hi Pom,

this._x = _root._xmouse ;
this._y = _root._ymouse ;

This works perfectly!!
Thanks for helping me out, I really appreciate it.

I have just one final question:
I want these objects to behave like buttons. Now I added this piece of script to one of the movieclips:

onClipEvent (mouseUp) {
&nbsp &nbsp &nbsp &nbsp loadMovieNum (“movie.swf”, 1);
}

You probably know what the problem is: It doesn’t matter where the mouseUp occurs, movie.swf will appear at any time. What can I do to make the mouseUp work properly by clicking the “button” (read: movieclip) and not the entire stage?

Conk

Actually, if you look closely, you’ll see that there are buttons inside the movie clips. Then you can simply do something like

 on (release) {
        loadMovieNum ("movie.swf", 1);
//OR
        loadMovie ("movie.swf", this);
}

It depends on where you want to load your movie.

pom 0]

Oops…
Because I put all my energy in creating a second “elastic ball”, I was focusing on the movieclip in the scene…

Thanks for waking me up!

:smiley: