Stop A Sliding Menu On Rollout
Hi guys, new here, and kinda new to Flash, i'm using MX for my build but the scroller has flash 4 in it as well. a button on my main movie loads a menu.swf into an empty MC. the code for that scroller is as follows: its old code
dX = ../slider:_x-230; ypos = ../slider:_y; if (Number(ypos)<60) { ypos = 60; } setProperty("", _x, _x-dX/14);
reset = _xscale/100*360; if (Number(_x)>Number((230+Number(reset)))) { setProperty("", _x, _x-(_width/2)); } else if (Number(_x)<Number((230-reset))) { setProperty("", _x, Number(_x)+Number((_width/2))); }
the scroller MC itself is only 460*60 but its loaded into the main movie which is 720*460. because the slider is set to ../slider the scroller responds and move accordingly to the mouse on the entire movie. I wish the scroller to stop scrolling when the mouse is no longer near it.
so should code be put into the scroller or the main movie? i can't seem to create a hittest to tell the Scroller to stop when the mouse has moved away.
any ideas?
ActionScript.org Forums > ActionScript Forums Group > ActionScript 1.0 (and below)
Posted on: 07-05-2004, 04:34 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Sliding Rollout Menu
I have seen a few tutorials on the rollout menu effect but none that shows how to build a more complex menu like the one at this site http://www.realityslip.com/plur2k/hybrid.htm
Can anyone help me figure out the basics to this menu. Thanks for any help!!
Stop A Scrolling Menu Mc On Rollout
Hello,
I downloaded the vertical menu from this site but I cant get it to stop scrolling on rollout. I know I need to make a invisible button and script it to stop the mc on rollout but am not sure where to place button and what exact script. Thanks ahead for your help
Can't Stop This Sliding Menu
Hi!
I'm making a slide menu that loads a xml file and creates buttons dynamically.
Another functionality is that is a sliding menu also, and I can't stop it. Can you help me please.
Heres goes the zip file, which contains .fla and .xml files
Thanks in advance!
Sliding Menu Which Cannot Stop
Hi all!
I've tried out the tutorial by pom at
Sliding menu: http://www.kirupa.com/developer/flash5/slidingmenu.htm
and it was further developed under
http://www.kirupa.com/forum/showthread.php?t=74700
However, I cannot make the sliding menu to stop. If the user keeps on clicking next it will go on forever. Attached is the swf file regarding the problem.
many thanks!
Can't Stop This Sliding Menu
Hi!
I'm making a slide menu that loads a xml file and creates buttons dynamically.
Another functionality it has a sliding menu also, and I can't stop it. Can you help me please.
Heres goes the zip file, which contains .fla and .xml files
What I want to do is when I put the mouse at the top of the mask, the menu stops on the first option, and when I put the mous at the bottom, the menu stops on the last option.
Is it possible?
Thanks in advance!
http://www.marcogaspar.com/temp/slide_menu.zip
PS: URL fixed! Sorry!
Sliding Menu With A Stop ?
on this site, there is a tutorial for a sliding menu:
http://www.kirupa.com/developer/mx/infinite.asp
I want to make something like that, but more like this:
http://www.sonypictures.com/movies/index_ie.html
They are sort of the same, but i want the menuslider to stop sliding, when the mouse rolls over. And i want it to start sliding again after some time, when the mouse has been away for a while.
Does anyone know what i have to add of code, to make it stop ? I might be able to make it move again after a while, by my self, but the simple thing, to make it stop, i cant :/
plz help me
Sliding Menu Which Cannot Stop
Hi all!
I've tried out the tutorial by pom at
Sliding menu: http://www.kirupa.com/developer/flash5/slidingmenu.htm
and it was further developed under
http://www.kirupa.com/forum/showthread.php?t=74700
However, I cannot make the sliding menu to stop. If the user keeps on clicking next it will go on forever. Attached is the swf file regarding the problem.
many thanks!
Sliding Menu Doesn't Stop Where It Should
Hi,
I created a page using the sliding menu but I seem to have a problem with the way it stops on a movie clip. If I add too many movieclips (don't know if it's the number or the width of them causing the problem) the script doesn't stop right on the center of the movieclip. it looks like it doesn't stop smack down centered and it gets worse the more movieclips you add.
Can anyone help please? this is the page I made http://www.thenextmen.com/
If I add more links the content in the middle is not aligned. Every movieclip is the same size.
Thanks
Ben
Sliding Nav ( Can You Make It Stop Sliding)
*USING FLAH MX
Hello Im having some issues trying to get this sliding nav to stop sliding.
I was referenced this file
http://www.flashkit.com/movies/Scrip...y-87/index.php
It seems to be controled with a button called tracker but I cant get the nave to stop sling on roll out (also the text fields in this fla are not needed)
The effect I want to achieve can be found on this site
http://www.theopiumgroup.com/index2.html
If you click mansion and then click info you will see how they set up there sub navigation
Any help would be great,thank you in advance
Please Help With Sliding Menu Static Copy Works, Sliding Doesn't
I have a copy of the same sliding tab menu. On has actionscipt on the MC telling it to slide in/out. The other does not.
The moving one loses all it's sub-timeline actions.
The static one works fine. How do I get the moving to work?
Please help.
Will be very simple for the flash gurus out there.
RR
Sliding Menu - Need MC To Play After Sliding Has Finished
Hi,
I have created a Sliding Menu with about 12 sections. In one of the section/s I have a MC inside that I want to play. Is there a way to tell a MC to play once sliding has completed? Say based on pixel position (of the sliding MC) or something similar?
At the moment I'm using "on release" but with this method, the animation starts too early. (By the time you slide from section 1 to 12 the MC has already started playing)...
Any ideas?
Thanks in advance!!
Easing To A Stop On Rollout
Hello,
I have a MC that responds to the _x position of the mouse when it is on an invisible button on Rollover state in the MC. When the mouse Rolls out the _x movement of the MC stops (fine), but I'd like to have the MC ease out to a slow stop not a harsh abrupt stop. I've tried several pieces of code to accomplish this but with no luck, I've tried :
I set avariable for the ease like so:
onClipEvent (load) {
ease = 5;
xmove = _x;
Then this on the stop animation frame when the mouse rolls out of the MC:
_x += (_root.airplanescroller.photo.xmove-_x)/ease;
No matter where I put this it just makes my MC dissappear on Rollout (I'm guessing it moves the MC off the board somewhere. I'd just like the MC to come to a slow stop instead of stopping abruptly on Rollout, any thoughts ???
[F8] On Rollout Stop MC On Last Frame
Can someone show me the actionscript to have the movie clips stop on the last frame while the mouse is over the clip instead of going back to frame 1 of the movie clip?. If you want to see my source files, here is the URL where you can download it: http://www.transferbigfiles.com/Get....6-9f8c827dd069
Also how would I have the white text "About Us', 'Our Work', 'Services', 'Contact Us' change to gray text when someone mouseovers the button that also controls the movie clip? Can that be done?
Thanks!
Bethany
Stop A Script On Rollout
I found a really cool script on these forums for making sparks, and I want it to run only on the rollOver state of an mc, not the rollOut. I can't seem to figure out how to get it to stop running on rollOut. Here's the code:
ActionScript Code:
mc.onRollOver = function() {
// Create spark
sparkCount = 0;
function makeSpark() {
sparkCount++;
var spark = attachMovie("spark", "spark"+sparkCount, sparkCount);
spark._x = 275;
spark._y = 200;
spark.g = 0;
spark.yMovement = Math.random()*12-6;
spark.xMovement = -Math.random()*10-14;
spark.onEnterFrame = movIt;
}
//
//Move spark
movIt = function () {
this._alpha-=2;
if(this._alpha<4)this.removeMovieClip();
this._y -= this.yMovement*=.95;
this._x += this.xMovement+=1;
if(this._x>250){
this.xMovement*=-.6;
this._x = 250;
}
};
//
// Start shooting sparks
setInterval(makeSpark, 10);
//
//
}
I tried using this code on the rollout
ActionScript Code:
mc.onRollOut = function () {
clearInterval(makeSpark);
}
But I get an error. Can anyone help?!
Rollover Rollout Sounds Stop
I have looked EVERYWHERE trying to find out how to stop sounds on button rollouts. This is the site I'm working on, you'll see my problem as soon as you go there. http://www.hyenascomedy.com/flash.html
I am trying to get the sounds to stop on rollout, like on the this site. http://www.jongleurs.com/
Any help would be greatly appreciated!
Stop A Sound Immediately On RollOut
I have a menu that animates and plays a different song for each option. When I rollout, the animation stops, but the sound file keeps playing until the end of the timeline.
How can I make the sound stop immediately upon rollout?
Thanks!
Stop-play On Rollover-Rollout
I have the following script, that's how it looks:
>>CLICK<<
Everything is working fine except for the invisible button, which should stop the animation on Rollover and go on with on Rollout, but it does not work properly.
What I'm doing wrong?
PHP Code:
var tl = _root;
var i = 0;
var anz = 8;
// Number of MCs
var MCpauses = new Array(6, 4, 7, 7, 9, 12, 12, 4);
//Pauses - indidual for every MC
tl.createEmptyMovieClip("loader", 1);
tl.loader._x = 360;
tl.loader._y = 200;
nextPic();
function nextPic() {
i = i<anz ? ++i : 1;
var mc = tl.loader;
mc._alpha = mc._xscale=mc._yscale=mc.phase=0;
mc.attachMovie("MC"+i, "MC"+i, 1);
mc.i = i;
mc.onEnterFrame = function() {
if ((this.phase += 3)>100) {
this.phase = 100;
}
this._alpha = this._xscale=this._yscale=this.phase;
if (this.phase == 100) {
tl.iv = setInterval(fadeout, MCpauses[(this.i)-1]*1000);
delete this.onEnterFrame;
}
};
}
function fadeout() {
clearInterval(tl.iv);
tl.loader.onEnterFrame = function() {
if ((this.phase -= 5)<0) {
this.phase = 0;
}
this._alpha = this._xscale=this._yscale=this.phase;
if (this.phase == 0) {
nextPic();
}
};
}
//Button action
pause_btn.onRollOver = function() {
stop();
clearInterval(tl.iv);
};
pause_btn.onRollOut = function() {
stop();
clearInterval(tl.iv);
tl.loader.onEnterFrame = function() {
if ((this.phase -= 5)<0) {
this.phase = 0;
}
this._alpha = this._xscale=this._yscale=this.phase;
if (this.phase == 0) {
nextPic();
}
};
}
SIMPLEST Way To Stop Sounds On Button Rollout
I need to know if anyone can tell me the SIMPLEST way to stop mouse over button sounds on rollout. I have tried to figure it out myself but obviously I'm a complete dummy and haven't been able to get my sound objects defined right or something. Any help would be appreciated. I've been using this tutorial and I just can't get it to work. http://www.aspirin99.com/tutorials/sound/
Finish Animation And Stop At Frame 1 On RollOut
i'm trying to create a button, and i want it to play on rollOver and when i rollOut, i want it to finish it's animation to the end and stop at frame 1.
i've tried it with the "if" function and it wont play... any help???
btw, i've uploaded the .fla file. you can check it out and see what i've made.
McButton Question: Stop RollOut Until Release Is Done
Hi,
I'm using a movieclip as a button, and I've got it working the way I want, except that I want to prohibit the rollout function from taking place if the release function is playing.
What's the best way to fix that?
Should I set a variable on the timeline and have the rollout function check that status before doing the goto?
Thanks
Code:
this.data_mc.onRollOut = function() {
data_mc.gotoAndStop("_up");
}
this.data_mc.onRelease = function() {
data_mc.gotoAndPlay("_release");
}
Stop A Function On Rollout (n00b Question)
In flash 8, I have a movie clip("mc"), and when you roll over it, it runs a script that makes sparks. What I'd like to do is have the script STOP running when you roll out, but I'm not sure how to do this. Can anyone help? Here's the script:
ActionScript Code:
mc.onRollOver = function() {// Create sparksparkCount = 0;function makeSpark() { sparkCount++; var spark = attachMovie("spark", "spark"+sparkCount, sparkCount); spark._x = 275; spark._y = 200; spark.g = 0; spark.yMovement = Math.random()*12-6; spark.xMovement = -Math.random()*10-14; spark.onEnterFrame = movIt;}////Move sparkmovIt = function () { this._alpha-=2; if(this._alpha<4)this.removeMovieClip(); this._y -= this.yMovement*=.95; this._x += this.xMovement+=1; if(this._x>250){ this.xMovement*=-.6; this._x = 250; }};//// Start shooting sparkssetInterval(makeSpark, 10);//// }
Thanks in advance!
Finish Animation And Stop At Frame 1 On RollOut
i'm trying to create a button, and i want it to play on rollOver and when i rollOut, i want it to finish it's animation to the end and stop at frame 1.
i've tried it with the "if" function and it wont play... any help???
i'm really a noob in action script... hope u all will help.
RollOver-rotate & Speed Up | RollOut-slow & Stop ?
I am attempting to make a MC spin when the mouse rolls over it - I want the spinning to increase in speed while the mouse is making the MC active. When rolled out I then want the MC to slow to a halt....
The code below is great for the spinning but I'm having trouble applying it to a button or (rollOver) & (rollOut) scenario
onClipEvent(load){
rot = 1;
del = 10;
}
onClipEvent(enterframe){
this._rotation += rot;
del -= 1;
if(del == 0){
del = 10;
rot += 1;
}
}
Thanks if you can help
Animated Rollover / Rollout Buttons Won't Stop When Beginning
Hi all,
I needed to create two rollover / rollout buttons for the front page of a site. I followed the directions to a "t" on how to make these buttons from Kirupa.com
the buttons work great, but the problem I'm having now is that they won't start in their regular state... The code seems written to keep the buttons on Frame 1 until mouseover, but it goes straight to Frame 15...
Help!?!
Thanks!
j.
Random Motion, Stop On RollOver, Move On RollOut
Using the kirupa tutorial about random motion, http://www.kirupa.com/developer/acti...dom_motion.htm does anyone know if it is possible to stop one of the movie clips on rollOver and then have it resume its random motion on rollOut? If so what would the code look like. Thanks in advance.
Flash Sliding Menu / Horizontal Dynamic Picture Menu
Hello,
I am quite fascinated by the effect used to scroll a variety of pictures left and right with the ability to halt on a particular picture to click and navigate to another area of a site. Could anyone point me to a tutorial on how this is done? An good example of the effect may be seen on this site:
http://www.calatrava.com (click on the "slide show" link)
Would appreciate any pointers. Thanks!
Flash Sliding Menu / Horizontal Dynamic Picture Menu
Hello,
I am quite fascinated by the effect used to scroll a variety of pictures left and right with the ability to halt on a particular picture to click and navigate to another area of a site. Could anyone point me to a tutorial on how this is done? An good example of the effect may be seen on this site:
http://www.calatrava.com (click on the "slide show" link)
Would appreciate any pointers. Thanks!
Stop Sliding Hulp :(
Hey Guys, I used the slide tutorial from flashkit for my menu. Works great ,but I want something to be added.
If the user puts the mouse_cursor OUTSIDE the menu it should stop scrolling.
How can I do this?Can you help me out with the code?
I putted the slidecontroller down here!
thanx
code:
frame1:
______
speed =40;
slut = getProperty ( strip, _width);
setProperty ("strip", _visible, 0);
duplicateMovieClip ("strip", "strip1", 1);
duplicateMovieClip ("strip", "strip2", 2);
duplicateMovieClip ("strip", "strip3", 3);
gotoAndPlay (2);
_____</frame1>
<frame2>:
_______
startDrag ("drag", true);
_______
</frame2>
<frame3>
_______
xposition = getProperty("strip1", _x);
setProperty ("strip1", _x, Number(xposition)+Number(((getProperty("drag", _x)/(150-speed))*-1)));
setProperty ("strip2", _x, Number(Number(xposition)+Number(((getProperty("dra g", _x)/(150-speed))*-1)))+Number(slut));
setProperty ("strip3", _x, Number(xposition)+Number(((getProperty("drag", _x)/(150-speed))*-1))-slut);
// limits for slide
if (Number(getProperty("strip1", _x))<Number(-slut)) {
setProperty ("strip1", _x, 0);
setProperty ("strip2", _x, slut);
setProperty ("strip3", _x, -slut);
}
if (Number(getProperty("strip1", _x))>Number(slut)) {
setProperty ("strip1", _x, 0);
setProperty ("strip2", _x, slut);
setProperty ("strip3", _x, -slut);
}
__________
</frame3>
<frame4>:
_________
xposition = getProperty("strip1", _x);
setProperty ("strip1", _x, Number(xposition)+Number(((getProperty("drag", _x)/(150-speed))*-1)));
setProperty ("strip2", _x, Number(xposition)+Number(((getProperty("drag", _x)/(150-speed))*-1))-slut);
setProperty ("strip3", _x, Number(Number(xposition)+Number(((getProperty("dra g", _x)/(150-speed))*-1)))+Number(slut));
// limits for slide - minus slut
if (Number(getProperty("strip1", _x))<Number(-slut)) {
setProperty ("strip1", _x, 0);
setProperty ("strip2", _x, slut);
setProperty ("strip3", _x, -slut);
}
if (Number(getProperty("strip1", _x))>Number(slut)) {
setProperty ("strip1", _x, 0);
setProperty ("strip2", _x, slut);
setProperty ("strip3", _x, -slut);
}
gotoAndPlay (3);
_______
</frame4>
<frame5>"
_______
stopDrag ();
_____
</frame5>
How Do I Stop My Slider Sliding?
hi there, just joined & am a complete flash novice so please feel free to laugh at my bastardised script
i'm trying to make a dynamic slideshow taking in pics from xml. so far so good... (thanks to other peoples hard work!)
i'd like my thumbnails to scroll left & right (just using next & prev buttons). all's grand, they scroll... but my problem is i don't know how to STOP them scrolling when i run out of thumbnails. i'm left with a gaping white space
i don't suppose there's an simple bit of code that says something like:
if (you run out of thumbnails) {
stop(this.scrolling!!);
} else {
keep.scrolling("your doing a great job");
}
?
my scrolling code so far is:
function SlideMenu() {
this._x += (newX-this._x)/10;
this._y += (newY-this._y)/10;
}
// This next line calls the funtion named SlideMenu
menu_mc.onEnterFrame = SlideMenu;
//The next line is where you indicate the total number of display area(s)
PageTotal = i++;
//The following function is assigned to the Forward button
next_mc.onPress = function() {
XNumber--;
newX = -XNumber*-50;
newY = -YNumber*0;
}
//This is a similar function for the Back button except in reverse
previous_mc.onPress = function() {
XNumber++;
newX = -XNumber*-50;
newY = -YNumber*0;
};
would really appreciate some help... i haven't a clue what i'm doing
cheers
naoimh
Button-controlled Clip Movement That Doesn't Stop On A RollOut
Hello,
I have a movie clip that moves veritcally along the y-axis when a button is rolled over or out.
It works fine, but I'm having problems modifying it. What I want is for the clip to start moving up on the rollover (which it does currently), but cannot move back down until it has reached the top destination. Despite including the "if" statement it, as soon as the button is rolled-out, the clip starts dropping down no matter where it is along the y-axis. Does anyone know how to control that? Thanks in advance for your help.
Here are the scripts I'm using:
for the movieclip (name is boltgunSlider)
**********************************
onClipEvent (load) {
this._y = 490;
_root.boltgunSlider.newdest = 490;
}
onClipEvent (enterFrame) {
this._y += (_root.boltgunSlider.newdest-this._y)/3;
}
**********************************
for the Button
**********************************
on (rollOver) {
boltgunSlider.newdest = 325;
}
on (rollOut) {
if (boltgunSlider.newdest = 325){
boltgunSlider.newdest = 490;
}
}
**********************************
Combine XML Menu Tutorial With Verticle Sliding Menu
Hey Guys,
IM trying to combine the dynamic XML menu tutorial found here on Kirupa with a tut ive found else where.
Now I under stand how the sliding tutorial works, but its based on some fixed dimensions.
Obviously the dimensions of the XML menu can change as items are added ...if any one could take a look a source (below) and tell me where to start referencing the variouse dimensions involved?
The news.xml and news.fla files contain a rough working model of the XML menu in case they are fo any use?
LINK: www.nineironmusic.co.uk/scrollmenu.zip
Scroll menu AS:
ActionScript Code:
mouseX = _ymouse;menuX = menu._y;if (mouseX > 280) { diff = (mouseX-280)/15;}if (mouseX < 220) { diff = (220-mouseX)/15;}if (mouseX <= 250 && menuX <= 56) { setProperty("menu", _y, menuX+diff);}if (mouseX >= 250 && menuX >= -204) { setProperty("menu", _y, menuX-diff);}if (menu._y >= 56) { menu._y = 56;} else if (menu._y <= -204) { menu._y = -204; }gotoAndPlay(2);
Thanks... once again!
Zaid
Sliding, Growing, Stop Shrink And Slide Some More
Hi,
I have file that has a slider. It already moves left and right.
When the x position reaches a specific point it stops. What I want it to do is when it reaches that sepcific point is to stop, which it does, and then scale up, with _xscale and _yscale and stop again. When the user clicks on a different button it shrinks and then goes on sliding left or right and repeats the process. Any help would be great!
This is the code. there are a series of buttons related to the slider. The slider code is at the bottom.
stop();
about_btn.onRelease = function(){
_global.final = 0;
stopAllSounds();
}
services_btn.onRelease = function(){
_global.final = 650;
stopAllSounds();
}
projects_btn.onRelease = function(){
_global.final = 1450;
stopAllSounds();
}
news_btn.onRelease = function(){
loadMovie("pagemarker.jpg", _root.news_mc);
_global.final = 2100;
stopAllSounds();
}
jobs_btn.onRelease = function(){
loadMovie("pagemarker.jpg", _root.jobs_mc);
_global.final = 2800;
stopAllSounds();
}
contact_btn.onRelease = function(){
loadMovie("pagemarker.jpg", _root.contact_mc);
_global.final = 3400;
stopAllSounds();
}
//slider coder is below
menu_mc.slider_mc.onEnterFrame = function(){
//moves slider to the right
if(this._x < final){
this._x += 100;
//the conditional to make the slider stop
if(this._x >= final){
this._x = final;
}
//scaling of slider up--is this even the right spot to put it? How would I
// fix this code?
if(this._x = final._x){
this._xscale = this._xscale + 2;
this._yscale = this._yscale + 2;
}
if (this._xscale==110) // <-- 110 percent!
{
return;
}
//scaling of slider down to 100 and then continue on sliding
//now for the opposite, we add an else if
} else if (final < this._x){
//change this to a -=
this._x -= 100;
//flip the greater than to a less than
if(this._x <= final){
this._x = final;
}
}
}
stop();
Load External Movie Into A Sliding Clip On Stop.
Guys, I spent days on this it's 5:30 am and I'm up figuring this out, yesterday I was up till 7am. I NEED HELP!!!
I have a sliding menu on a stage that is 700x500. the menu slides in a movie clip on a stage that has small movie clips inside for each of the 13 menu sections like : intro, overview etc...
I need each of those sections to load an external movie and ONLY PLAY IT When it detects that the sliding is done on each one.
This is the control2 that slides the movies: first frame has stop action, 2nd has code below and 3rd makes it go back to second.
Xsquare = _root.large._x;
Xdiff = _root.Xpos-Xsquare;
Xmove = Xdiff/3;
_root.large._x = Xsquare+Xmove;
this resides in a control clip at the root. then each of the buttons has this script:
on (release) {
_root.xpos = 2542;
tellTarget ("_root.control2") {
gotoAndPlay(2);
with coordinates changing every 750 px to account for the size of the stage since all the movies span across it.
How do I adjust this script to load the external movie when the control2 script stops sliding? Please help me before I totally go crazy.
Thank you.
pixelfan
my email: mayka06851@hotmail.com
Rollout Menu
Hello!
Can anyone point me to a good tutorial that explains how this roll-out ease menu works?
If you roll over "select a category" or "select a vendor" on www.shopcomposition.com, you will see a menu expand with ease. How is this done?
Thanks!
Rollout Menu Help
hi, i need to create a rollout menu, i no how to do most of it, but i dont no how to make it so that when the user stops hovering over the button or the rollout area, the area that rolled out disappers... please reply with code or a tutorial, thx
Rollout Problem In A Menu
Hello,
I've a menu (http://www.metadelic.com/menu.swf), all work fine, exept when I
have my mouse on a menu item (p.e. Internet), I got the inverse what I wish
to do.... ;o(
What I want is that when I come on the menu, it open, and when I go out, the
menu will close and vice versa.
I can't find the solution and I will appreciate your help. Here are the
source file:
-> http://www.metadelic.com/menu.fla (120ko)
Many thanks in advance, Dominique
Menu Rollout Issue
Flash Menu
The button you rollover and the menu that drops down are two different objects on two different layers.
I can't think of how to get the menu to go away after you rollout of the drop-down menu area. The area is already used for buttons on the menu so how do I get this to work without getting some funky coding glitches (like rolling onto a link in the menu causing the menu to dissapear)?
Rollout Menu Button
Hey,
I am trying to make a flash menu for my clan site. The images i will be using are
http://img.photobucket.com/albums/v...0000/Across.jpg
http://img.photobucket.com/albums/v78/ps90000/Chain.jpg
http://img.photobucket.com/albums/v...00/Dropdown.jpg
When I click one of the buttons, i would like the first "edger" to come out horizontally,but the tube/chain will follow it. Then, when it gets out to the end, i would like the grey box to come down. I am having problems with it though, i really have no idea how to make it work. I hope I described it well enough, and I really appreciate any help.
I did try it a little bit with the shape tween, but for some reason the chain got "bigger" i was wondering if there was anyway to have the "edger" be a mask and then after it passes the chain, the chain becomes revealed.
Rollover Rollout Menu
I am trying to make a menu where each button, when rolled over makes the over buttons below move. and when rolled out it goes back. I've got this part down, but I want to be able to click on buttons that appear beneath the button I'm on, but when I roll off the buttons go back to normal. Can someone please help?
Thanks a lot!
Rollout Menu Effect
I have seen a few tutorials on the rollout menu effect but none that shows how to build a more complex menu like the one at this site http://www.realityslip.com/plur2k/hybrid.htm
Can anyone help me figure out the basics to this menu. Thanks for any help!!
Hide Menu On Rollout
Hello All.
I've searched the forums and couldn't find a post.
I'm using the kirupa xml drop down menu and it works fine. What I'd like to have and need help on is how to 'close' the submenu if you rolloff it or if you roll back up to a higher level.
If I put closeSubmenus(); on an onRollOut statement (like the current onRelease statement) the submenu is closed just by moving down to the next submenu item. I understand why this happens as each submenu item is just an instance of an attached movie and thus it works correctly. Is there a way to treat the whole submenu as one coherent entity (i.e. its own movie clip) so that it only hides when you rolloff the sides not from one menuitem to the next.
Also (if this affects any code help) I've modified the menu so that the submenus appear vertically below the mainmenu item as opposed to the right. All I did was change:
curr_item._x = x;
curr_item._y = y + i*curr_item._height;
Thanks for your help
Problem With Sliding Menu (menu.xml)
I have tweeked one of the free sliding menu's (menu xml) downloaded from a website.
We have made it to go vertical instead of horizontal, also we make it stop once the top or bottom of the menu reaches the top/bottom of the page. Therefore we have removed it from looping all over again. The problem that occurs is that once it does stop the last menu button jumps up a bit; and everytime we go up and back down it jumps again and this keeps on happening.
Also the top part does the same (going up), this only happens to the first and last buttons.
I have attached my file so you can see what I have done wrong and hopefully help me on this.
Thanks in advance.
Mega Help Needed For Rollout Menu
Please can someone help me.
Ive created a rollout menu. I can't get the menu to stay out when i mouse over the buttons. Can anyone help me???
I've attached the fla. file for you to have a look. I'm very basic when it comes to action scripting.
Rollover/rollout Menu Probs... HELP
Hi All,
I've been having huge issues with the attached FLA file, just in the "fashion" gallery submenu and rolloff function. I can't seem to get the menu to open, and stay open when moving the mouse over to "gallery two" of the menu.. can anyone help? please??? it's for my friends photo site that I've been toying with for months now... and can't get it working right...
Thanks!!!
- Jon
www.uglyshz.com
Sub-menu Visibility Based On Rollout
I created a slick dynamic menu that can make a second set of sub-menus for the first set. When you rollover a submenu, a third menu (subChild) pops up to the right of the submenu.
I have the rollout for the submenu set to hide its subchildren which obviously hides them regardless of if I'm trying to roll onto the children or not.
Currently I have a rolledOver variable and all of the subchildren have an onEnterFrame that changes their visibility based on rolledOver. The submenu's onRollOver updates rolledOver and its onRollOut clears it.
How do I get the subchildren to stay visible if I roll off the submenu onto its subchildren? I know it has something to do with multiple conditions just can't wrap my head around it. Thanks in advance.
Rollover/Rollout Menu Issue
I've read similar threads but nothing exactly like this. I'm creating a simple rollover menu: when a menu heading is rolled over, a submenu appears, and each submenu item is a button. Conversely, I *want* to the submenu to disappear when it is rolled off - as seen in Macromedia's main navigation menu. However, I have been unable to get this to happen.
I have set this up (as seen in the attached file) thusly: the main timeline is just one frame, which contains a movieclip of the Rollover Menu, which has three menu headings. The Rollover Menu movie clip has four sections: one with all of the submenus closed, and one of each submenu open. When any of the menu headings is rolled over, I gotoAndPlay the corresponding "submenu open" section.
I made the submenus movieclips of their own, in the hopes that they would respond as a group to the "rollOff" command (by going to the "menus closed" section). However, I've since learned on this forum that movieclips containing buttons will not take button behaviors. I do not want to use the cheap trick of creating a large invisible button and using "rollOver" to go to the "menus closed" section. I have looked at two examples posted on this site that use the "hitTest" command to determine whether a movieclip is being rolled over, but I have not been successful at applying hitTest to my file.
I'm new to actionscript, but I'm not afraid of a little coding, as long as I can comprehend what's being done. The code in the examples seemed to be more complex than what I need. If anyone can take me to this next step, I'd be much obliged.
[AS2] Horizontal Rollout Menu Problem, Please Help
Dear all,
I'm a complete noob and I have been trying to modify a verticle rollout menu to work as a horizontal rollout menu.
The menu now rolls out to the right when mouse rollover is applied, but the menu doesn't stay put when the mouse point is over it. I've attached the fla. I hope someone can give me some pointers what's the problem.
Thanks for any advice given.
Buggy Menu - Rollover, Rollout
Hi,
I was wondering if any good individual can help me here. I've got an interface of six buttons. Each button plays its own animation on rollover, and rollout.
BUT, when you mouse over at super fast speeds, the animations sometimes doesn't start and when you suddenly stop on a button its not activated its animation.
Is there a a way of making sure the animations begin?
Here is my current code:
import mx.transitions.TweenRGB;
import mx.transitions.easing.*;
import mx.transitions.Tween;
six_btn.onRollOver = function(){
gotoAndPlay(2);
_root.x +=2;
_root.six.swapDepths(_root.x);
_root.circle_mc.gotoAndPlay(125);
_root.labels_mc.gotoAndPlay("learning");
new TweenRGB(_root.bg_mc, "RGB", Strong.easeInOut, 0xff6908, 0x7fc41c, 0.5, true);
}
six_btn.onRollOut = function(){
gotoAndPlay(7);
_root.circle_mc.gotoAndPlay(135);
_root.labels_mc.gotoAndPlay("learningout");
new TweenRGB(_root.bg_mc, "RGB", Strong.easeInOut, 0x7fc41c, 0xff6908, 0.3, true);
}
The above code seems very buggy when exploring the stage at very fast speeds (with the mouse).
Thanks
|