# Flashmatazz: plz answer(or anyone else)

**URL:** https://forum.kirupa.com/t/flashmatazz-plz-answer-or-anyone-else/18318
**Category:** Uncategorized
**Created:** [April 15, 2003, 3:20pm UTC](https://forum.kirupa.com/t/flashmatazz-plz-answer-or-anyone-else/18318 "2003-04-15T15:20:16Z")
**Posts on this page:** 19
**Page:** 1

<div class="post-metadata">

### Author: ![crazygamer](https://avatars.discourse-cdn.com/v4/letter/c/df788c/32.png) [@crazygamer](https://forum.kirupa.com/u/crazygamer)
#### Post date: [April 15, 2003, 3:20pm UTC](https://forum.kirupa.com/t/flashmatazz-plz-answer-or-anyone-else/18318/1 "2003-04-15T15:20:16Z")

</div>

How did you make the white arrow in the nav window “follow” the cursor to the different selections and then slow down at the end. I want to have the same effect only horizontally and with a different picture(not an arrow).  
tia  
p.s. his url"  
[http://www.twc.sshunet.nl/~swmvanbo/MT/flash/](http://www.twc.sshunet.nl/~swmvanbo/MT/flash/)

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [April 15, 2003, 3:39pm UTC](https://forum.kirupa.com/t/flashmatazz-plz-answer-or-anyone-else/18318/2 "2003-04-15T15:39:59Z")

</div>

It’s similar to the easing motion tut you can find on this site.

What I did:

```auto

// variables declared when frame loads:
speed = 4;
end = 0;
y = _root.pointer._y;     

_root.pointer.onEnterFrame = function() {
	this._rotation += (end - this._rotation)/speed;
	this._y += (y - this._y)/speed;
}

```

on the buttons I have:

```auto

on (rollOver) {
	// other stuff
	end = 45;
	y = _root.item1._y + 18;
}
on (rollOut) {
	end = 0;
}

```

I think thats’ it if I didn’t forget anything… 🙂

If you can’t figure it out, just let me know.

Cheers.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [April 15, 2003, 4:07pm UTC](https://forum.kirupa.com/t/flashmatazz-plz-answer-or-anyone-else/18318/3 "2003-04-15T16:07:15Z")

</div>

i tried the code, replacing all y’s with x’s, and pointer with the name of my mc(brackets)…nothing happens at all…it won’t even trace the x variable(y in your case) i’ll put the file on my site(  
[http://www.flashtek.devisland.net/website3.fla](http://www.flashtek.devisland.net/website3.fla) )  
it should be up in a few mins…can you please check it out(it’s a megabyte big so watch out) and see if you can do anything…btw i removed all the code that you told me to do from it since it didn’t work.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [April 15, 2003, 7:32pm UTC](https://forum.kirupa.com/t/flashmatazz-plz-answer-or-anyone-else/18318/4 "2003-04-15T19:32:08Z")

</div>

bump…anyone?

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [April 15, 2003, 9:35pm UTC](https://forum.kirupa.com/t/flashmatazz-plz-answer-or-anyone-else/18318/5 "2003-04-15T21:35:46Z")

</div>

bump…flash you there?

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [April 15, 2003, 9:38pm UTC](https://forum.kirupa.com/t/flashmatazz-plz-answer-or-anyone-else/18318/6 "2003-04-15T21:38:18Z")

</div>

sorry, but it’s really nice weather overhere so I wasn’t behind my screen but behind a beer or two 😛  
I downloaded your fla and will have a look at it tomorrow

Cheers

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [April 15, 2003, 9:41pm UTC](https://forum.kirupa.com/t/flashmatazz-plz-answer-or-anyone-else/18318/7 "2003-04-15T21:41:49Z")

</div>

alright thanx very much

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [April 15, 2003, 11:13pm UTC](https://forum.kirupa.com/t/flashmatazz-plz-answer-or-anyone-else/18318/8 "2003-04-15T23:13:22Z")

</div>

hey crazy gamer, i fixded it to do what you want (i hope).  
here is what i did…

first i made some new keyframes and turned your thing into a MC called “sliderMC”. make it with the registration pt at the top left

then i assigned this to the MC.

//sets the original position to match the x of “mask” which is our placement MC  
onClipEvent (load) {  
\_root.xnew = \_root.mask.\_x+(1-1)\*100/2;  
}  
// the number here determines the speed that it moves at. if you want it faster, make it less then 5, slower, more then 5  
onClipEvent (enterFrame) {  
\_x += (\_root.xnew-\_x)/5;  
}

then i made a new layer for the slider actions. and put this on them

MovieClip.prototype.move2 = function() {  
dest = \_root.xnew;  
pos = this.\_x;  
vel = vel\*0.7+(dest-pos)/7;  
this.\_x += vel;  
};

MovieClip.prototype.move = function() {  
dest = \_root.xnew;  
pos = this.\_x;  
vel = (dest-pos)/7;  
this.\_x += vel;  
};

then i made a mask layer, simply a MC named “mask” that is invisible to use as placement for the equation. name the instance “mask”. i just duped the sliderMC. it has to be the same size and registration pt. i put it on the home button, since that is where we want it to originate

then i added this to each button with the corresponding coordinates as to how far over past “mask” we want it to go

```
//change the (1+9.25) part if you need to change the mask. 1 is the starting x pos. + goes to the right, and - goes to the left
on (rollOver) {
_root.xnew = _root.mask._x+(1+9.25)*100/2;

```

}

here is a link to the complete fla on my server…  
[golgiEdit.fla](http://pathofaith.digitalrice.com/temp/golgiEdit.fla)

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [April 15, 2003, 11:18pm UTC](https://forum.kirupa.com/t/flashmatazz-plz-answer-or-anyone-else/18318/9 "2003-04-15T23:18:56Z")

</div>

i know the other way is easier prob, but i could never get that to work so i did it this way on one of my sites…

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [April 15, 2003, 11:20pm UTC](https://forum.kirupa.com/t/flashmatazz-plz-answer-or-anyone-else/18318/10 "2003-04-15T23:20:02Z")

</div>

wow man thanks…also, do you know if it is possible to make this whole complicated code work for the y axis too…because i changed my site a little(actually a lot), so i’d like it to move up AND down…you think you can solve this?!  
TIA  
thanx for the code

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [April 15, 2003, 11:24pm UTC](https://forum.kirupa.com/t/flashmatazz-plz-answer-or-anyone-else/18318/11 "2003-04-15T23:24:49Z")

</div>

yah, i did it on the Y on my site… BTW, i just found the tut that I used to help me do this stuff,  
[http://www.kirupa.com/developer/flash5/slidingmenu.htm](http://www.kirupa.com/developer/flash5/slidingmenu.htm)  
(wanna give credit where credit’s due ;))

i have to run to school now, but ill breif you real quickly on how to do the Y axis…  
ya ready?  
hehe. change all the x’s to y’s  
put your mask where you want it  
fuss with the #s to get the things located right.  
i made comments on the thing in the fla so you should be able to see what needs to get changed. you try that out, get familiar with it, and let me know if you need any help and i’ll check back when i get home tonight. 🙂  
good luck!

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [April 16, 2003, 12:16am UTC](https://forum.kirupa.com/t/flashmatazz-plz-answer-or-anyone-else/18318/12 "2003-04-16T00:16:52Z")

</div>

ok golgi, since i don’t get a lot of the code you gave me, to make the y movement for my slider i pretty much doubled what you gave me and replaced half of the x’s with y’s. I got it to work, but it doesn’t work right…the x is fine, but the y is WAAYYYY off, like 300 pixels above what it should be…and i can’t control it…i posted the fla, see if you can get it to work!:  
[www.flashtek.devisland.net/newwebsite.fla](http://www.flashtek.devisland.net/newwebsite.fla)

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [April 16, 2003, 2:35am UTC](https://forum.kirupa.com/t/flashmatazz-plz-answer-or-anyone-else/18318/13 "2003-04-16T02:35:31Z")

</div>

golgi, i got it to work…i found a mistake in my code…i forgot to replace an x with a y in one place…do you want to see the code?

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [April 16, 2003, 4:44am UTC](https://forum.kirupa.com/t/flashmatazz-plz-answer-or-anyone-else/18318/14 "2003-04-16T04:44:46Z")

</div>

hey. just got back in. you got it working alright then?

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [April 16, 2003, 4:55am UTC](https://forum.kirupa.com/t/flashmatazz-plz-answer-or-anyone-else/18318/15 "2003-04-16T04:55:59Z")

</div>

ya…it works great…you want me to put up an swf or fla?

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [April 16, 2003, 4:59am UTC](https://forum.kirupa.com/t/flashmatazz-plz-answer-or-anyone-else/18318/16 "2003-04-16T04:59:18Z")

</div>

sure! i’d like to see your swf and see what you’ve done with it. (dont need the fla, i know what the code is…lol)  
🙂

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [April 16, 2003, 5:01am UTC](https://forum.kirupa.com/t/flashmatazz-plz-answer-or-anyone-else/18318/17 "2003-04-16T05:01:50Z")

</div>

ok…it’ll be up in a sec at:  
[www.flashtek.devisland.net/newwebsite.swf](http://www.flashtek.devisland.net/newwebsite.swf)  
oh, and don’t ask about the brackets in the middle…it’s the start of something else

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [April 16, 2003, 5:06am UTC](https://forum.kirupa.com/t/flashmatazz-plz-answer-or-anyone-else/18318/18 "2003-04-16T05:06:01Z")

</div>

nice!!. looks very cool with that x&y thing. 🙂  
good job! its awesome that you got it working good.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [April 16, 2003, 7:01am UTC](https://forum.kirupa.com/t/flashmatazz-plz-answer-or-anyone-else/18318/19 "2003-04-16T07:01:29Z")

</div>

He crazygamer,

I see you got it working. Good job!

and sorry I couldn’t help you out myself…I’ve been sleeping like a baby =)
