Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Rollover Slide



can some one advise? I am using serveral rollover buttons on top of a graphic. As you roll the mouse over the graphic the text will appear to discribe the item the mouse is over.The effect is working fine however, if I roll outside the button area the text flickers.I have the button set up as no action on up, text in over. I'm using CS3.Thanks



Adobe > ActionScript 1 and 2
Posted on: 02/28/2008 12:19:13 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Rollover Slide Up Or Over Nav
Greetings AS experts,

Rollover Slide Up Or Over Nav
Greetings AS experts,
I have a complex MC that I want to have parked 98% off screen.
(It's actually a site within a site.) When the user rolls over the 2% exposed area, the MC slides over. When the user rolls off the MC, it's slides back. Basically I want the MC to act as a button that moves itself. I've seen this before on a few sites. Can anyone point me to a tut or script?

Thanks in advance!
B

Rollover Slide
can some one advise?

I am using serveral rollover buttons on top of a graphic. As you roll the mouse over the graphic the text will appear to discribe the item the mouse is over.

The effect is working fine however, if I roll outside the button area the text flickers.

I have the button set up as no action on up, text in over. I'm using CS3.

Thanks

A Slide Effect On Rollover
Hey guys,

I've created a nice little movie that is a timeline of events for an aircraft company. Not being very flash compliant I've come to a bit of a stop! I've created the movie up to a point whereby a white box surrounds the date that is hovered over. However, I would like this white box to have a smooth, easing transition from one date to another depending which one is hovered over. I currently use:


Code:
on (rollOver) {
_root.whitething._x = 501.8;
}


To get the white box to appear in the correct position. How could I add a mathematical script to make the box have a smooth transition from one place to another and appear to ease out?

Thanks for you help!

Click on the 'Timeline' Link In The Header

Help With Rollover Link-to-image And Slide-out Menu
hi, i created a popup menu with rollover buttons... i have a circle on the page too that i want the inside to change with each rollover - when the cursor rolls over the links, the image in the circle will change accordingly. how do i get the images to connect? i followed an example provided by flash... there is a separate movie created to house the images and each frame is labeled according to picture... i don't know how to link these images to the buttons that appear from the pop up menu... which is set up in anotehr movie, called PopMenuwhich leads me to the next question - right now my menu is set to pop out - to only appear after a rollover, how do i get to to scroll out (to the right) from behind the main image, each link sliding out individually and stopping in place?? hope someone can help...

Make Menu Slide Tray Stick On Rollover/then Retract On Rollout
Hi,

I'm trying to make a top horizontal navigation bar that has trays of other sublinks that slides down, stays in place while the user picks which link, then retracts on "release" when they click a link or when they move their cursor off the sublink tray.

I've tried two approaches, but I'm not having any luck. Can anyone give me a boost?

FIRST METHOD:

I've tried making each drop down slide tray a separate movie clip all on the first frame (a one frame movie), and each has its visibility set to "0". When someone rolls over one of the main links to open the corresponding sublink tray, it becomes visible. Problem is, how do I get it to stay visible while the person moves their cursor off the main link and down onto the tray, then get the tray to disappear again when they roll off the tray?

SECOND METHOD:

I've also tried setting up each sublink tray on a different frame. On frame one, all the subtrays aren't showing. If you mouseover main link 1, with a GotoandStop command, it goes to frame two where the sublink tray for main link 1 appears. That's working okay, but problem is, how do I get it to disappear again when someone either clicks one of the sublinks, or when they move their cursor away from the subtray?

I tried adding a GoToandStop command to one of the buttons in the sublink tray, which on Release would send you back to frame 1, where all the submenu trays are retracted. But that isn't working for some reason. Also, that would only work if someone clicks a link. What if they don't click a link?

Are either of these methods correct for this type of action...and if so, which one, and what should I do? Thanks for any help!

How To Control The Flash List The Slide Block Slide Whit AS?
How to control the Flash list the slide block slide whit AS?

Slide In Photo Slide Show(actionscript Newbie)
Hello good pple of the forum,
I have about four jpeg pictures, wat i want to do is a slide show. What i want is a movie whereby the first pic would slide up vertically, followed by the second pictures, third and fourth.
Thank you so much for your anticipate reply.
Cheers

Reload/Restart Slide In Slide Presentation
Quick Question. I'm using flash CS3 and making a flash slide presentation. How do I make it so when i press the "next slide" button, that the "next slide" starts from the first frame each time? Right now, when I have it set, if it has already played once, it stays at the end.

I'd like to to start from frame 1 each time I click next, or previous, and each time it does so. So that it automatically reloads that slides contents each time I go to that slide.

Right now, each "next slide" button only has:


Code:

on (release) {

// GoTo Next Screen behavior
var screen = null;
var target = this;
while((screen == null) && (target != undefined) && (target != null))
{
if(target instanceof mx.screens.Screen)
{
screen = target;
}
else
{
target = target._parent;
}
}
if(screen instanceof mx.screens.Slide)
{
screen.rootSlide.currentSlide.gotoNextSlide();
}
// End GoTo Next Screen behavior

}

[CS3] Slide Out Menu W/ Flash Slide Show
I stumbled across this website and figured you may be able to help me. Since I am the "computer guy" at our church, I have been asked to design a website for them. I know the very basics of website design but figured I'd give flash a try. I have attached what I would like our menu to look like. This was designed in Photoshop as is the rest of the website (not shown). Basically, I want the pictures to become a Flash slideshow and then the menu to slide out to the left when the mouse is over it and whichever word (HOME, ABOUT US, etc) the mouse is over, that word will slide back to the right to the original position. Then, if someone clicks HOME it will go to the Home page and such. I also want the menu to slide back when the mouse is not over it. How in the world do I do this? It's an idea I had in my mind but unfortunately I don't know enough about Flash to do this. If someone can step me through this step-by-step or has any code, that'd be great. Thanks in advance guys!

Convert Horizontal Slide To Vertical Slide
Hello,

I have a simple script that moves an MC left and right of X according to the mouse location on the X-axis and I'd like to tweek it so it moves on the Y-axis according to the mouse's location on the Y-axis and I can't seem to get it to work. Seems simple enough, yet I don't seem mathematically/logically up to the challenge. Here's my original code:

onClipEvent (enterFrame) {
_root.xChange = Math.round(_root._xmouse-this._x);
_root.xMove = Math.round(_root.xChange/100);
this._x -= _root.xMove;
if(this._x <= 10){
this._x = 10;
}
if(this._x >= 450){
this._x = 450;
}
}

If someone could post back what I need to do to make this vertically oriented I'd sure appreciate it. Thanks,

Llyfre

SLIDE PRESENTATION - NAVIGATING TO FIRST FRAME OF EACH SLIDE?
Hello -

Newbie needs some help -

I'm creating a Flash Slide Presentation. A number of the slides have brief animations, and timelines of up to 30 frames.

The first time I page through, each slide begins on the correct frame (#1). When I page back or forward a second time, the screen remains static on the last frame of the timeline.

How do I make it so that each time I navigate (or renavigate) to a screen, the animation will play from the beginning, starting with the first frame?

Thanks,
- Markobooga

Made It Slide Out But Can't Make It Slide Back....
Hi there,

I have made a button that when you rollover it has a different colour slide out from under it (makes it look slightly 3D). However, when the pointer moves off the button the other bit that slid out just goes. I want to make it slide back and go, can I do this? I've been trying and have made the opposite tween etc but don't know where I am going wrong.

Please feel free to look at the file for a better understanding: http://www.dbsgames.co.uk/new_about_usTEMP.fla

HELP: FLV Video On Slide Won't Wait Until Slide Is Displayed
Hello folks,

I am putting together a slide presentation in Flash 8 and I am loading video (FLV format) into a few of the slides. The problem is that as soon as the slide presentation starts, so do the videos (even though the first slide has no video)! I have been able to get the videos to not play right off the top by setting autoplay to false, but then how do I get the video to play once I display the slide that it is on?

Any help would be greatly appreciated.

Glen

How To Create Slide In Slide Out MENU ?
Example I have button on the top of the screen "MENU"
When u click on it Window slide down with menu!!!
When I click on close button it slides back off the screen!!!

I was trying to do using different levels but it didnt work because I want to use navigation buttons in slide in slide out menu!!!

Post action script here or do quick flash file and email it to me digital_plasma@yahoo.com.au

Thank U in advance !!!

Timer Pushes To Next Slide In Slide Doc
I realize this may be the simplest question ever, but I just can't find it anywhere... I don't know actionscript yet and I am simply trying to go from one slide to the next slide with a timer within a slide document in Flash 8. The behaviors are great for interaction for go to next slide and go to first slide, but how do I get all of those things to happen so many seconds after a slide loads, instead of it being triggered by the action of the user?

Button Navigating From Slide To Slide
I have a question about using buttons (rather than a playbar) to navigate in swf files. I am not very versed in actionscript.

I'd like to create buttons that can be used to move from slide to slide in swf files. Basically a "Next" and "Back" method. Click the next button and the user goes to the next slide, the SWF file "waits" for another button click to advance.

The method should be somewhat "generic" in nature. No calls to any specific file or slide. Basically a component that can be used with any swf file.

Is such a method possible?

Thank you,
TPK

Slide Show Image Dispears 3 Minutes After Slide Show Is Stopped - Why?
I have created a slide show with a stop button. The buttons stops; but after about 3 minutes of being stopped, the image just disappears and all I see is the movie's background. Does anyone know why this is occuring? If so, is there a quick fix for this issue?

PS: I used one of the goToAndPlay Key Frame events built right into my software; I assume it was this (to make movie stop):


Code:
on(release) {
stop();
}

Slide To The Left..... Slide To The Right.... HOW?
how is the sideways (to the left and right) scrolling image effect done?
like when a button is clicked the images scroll to the selected one while flying past the ones that arent selected.

example: http://www.darktowerproject.org

is there a tutorial or .fla anywhere showing how this navigation concept is accomplished?

Slide In Slide Out OnRelease
Hey all,

I am bulding a flash mp3 player that I want to be able to hide and reveal onRelease of a button.

So, when a user enters the page the music player is visible from the right of the page. On the music player there is a minimise button so the user can hide the player. On release of this button the player slides to the right stopping and leaving a tab for the user to click and slide it back in.

I have made this kind of work but in a really messy way: with a movieClip and tween, 2 frames of buttons etc...

I guess this should be possible with one button and action script that moves the movieClip _x a certain amount and then _x the same amount back using maybe an if statement? Ideally with some ease.

Anynoe no of any egs? Or tutorials for simialr functionality...
Many thanks in advance
Henry

Trying To Make A Button Rollover, Wait And Recheck Rollover
hi. i'm mostly comfortable with the graphical elements of using flash and there a gaps in my knowledge when i want to polish things up.

i have a bunch of buttons which, when rolled over, trigger some text to sweep accross in an area above the buttons and sweep away when rolled out.
this works nicely but if the viewer sweeps the mouse over a few buttons quickly all the MCs with text in play and it gets very messy.

the only way i can think to tidy this up is to make the button delay when rolled over and recheck about half a second later. if it's still rolled over then it plays the MC. i tried this the obvious way (triggering a small MC with onRollover > play MC at the end) but it needs the actual act of rolling over to trigger so i had to roll out and over again which defies the point >.<

i realise this is a really specific problem and it's very cheeky to ask others to solve my problems but if any of you have come accross similar problems and can point me in a better direction i'd really appreciate it.

Button RollOver/RollOut Effects WITH Looping On RollOver
I'm planning to use this tutorial, below to make a button:
http://www.kirupa.com/developer/mx2004/button_effect.htm

My question is how can I make it so that only on the rollover, the effect will keep looping?

Example: http://jump5.com/

On the right side, the navigation has this nice hover animation with the pointing arrow that continues to twitch on rollover.

RollOver Action. I Need It To Stay In RollOver Mode When Mouse Is Off.
I have a movieclip with this action attached:


PHP Code:



on (rollOver) {
    loadMovie("logo_intro.swf", "bottom_logo");








When I roll over it, it loads the movie correctly. Yet, How do I get the movie to stay once the mouse is off ite movieclip/button area?

Rollover On Top Of Rollover OR Exit Flash Reset
So I have been working on a project for the last two days now that requires several layerd boxes to swapDepths in order for them to expand correctly. I have been doing this with a on(rollover) tag on a hit area button which then expands to a full screen.

PROBLEM
I cannot figure out how to add a fuctioning button to on top of this full rollover.

I have attached the files so that they may be viewed below
http://www.jdhillen.com/flash/dc_test.fla
http://www.jdhillen.com/flash/dc_test.swf

If you scroll over the yellow box it will expand and show a blue button. I'm trying to get the button clickable, but I'm afraid the way i built the flash doesn't allow me to do so.

Any advice would be greatly appreciated. Thank You

Background Rollover With Button Rollover
I'd like for my background behind my buttons to rollover, but remain rolled while I touch the buttons and make those rollover. Here's an example:

http://www.zymocreations.com/index_f.htm

I can get both of my rollovers going, but I can't get the background to stay rolled when I move to the buttons.

Any suggestions? Thanks ahead of time!

Button Rollover Disabled Due To MC Rollover
i have used this nifty code from this .fla (http://www.actionscript.org/forums/a...chmentid=12251, 6.4kb) and it works perfectly. it's a rollover effect that plays or reverses an MC on rollover, i have just one extra thing i'd like to ask that maybe someone could help me with.
in my example, i have a curtain that goes up and down when rolled over and out. this works fine, but what i want is to have my menu behind the curtain, so when the user rolls over the curtain, it goes up, revealing the menu. i've done this, but for some reason my basic menu's rollover actions are disabled. can't anyone help me to get them to work?

here's the code from devonair's example:code: stop();
curtain.onRollOver = function() {
this.onEnterFrame = function() {
this._currentframe == this._totalframes ? delete this.onEnterFrame : this.nextFrame();
};
};
curtain.onRollOut = curtain.onDragOut = function () {
this.onEnterFrame = function() {
this._currentframe == 1 ? delete this.onEnterFrame : this.prevFrame();
};
};and here are the actions on my basic menu that is within the 'curtain' MCcode: on (rollOver) {MC1.gotoAndPlay("over");}
on (rollOut) {MC1.gotoAndPlay("out");}
on (release) {getURL("home.htm", "iframe");}many thanx in advance for any help given...

Blink Rollover Effect On Rollover
- i have three layers within the OVER state of a button (layer1, layer2, layer3)

- layer 3 has a rollover fade in effect for my button
- layer 2 has a blinking effect for my button
- layer 1 is the canvas of my button

I just want layer 3 to animate 1 upon rollover but has layer 2 keep on blinking while the user has its cursor on the OVER state of the button.

I have the "stop();" actionscript function for the rollover fade effect on my layer 3 but it stops everything! I want the layer 2 effect to continue the blinking.

I have tried extending the keyframe time on layer 2 but that didnt work.

Anything else I should try?

Complex Rollover -rollover Sounds
Hello,

I've used the complex rollover tutorial and it works great. My only problem is attaching a sound to the rollover. The rollover is set to rewind when you roll off the navigation link and this replays the rollover sound which I don't want. Is there a way to attach the sound to only the rollover?

thanks for any help you might have

On Rollover Doesnt Like It When It's In Another MC With On Rollover :(
Ok, so I have a menu that slides out when you rollover a small tab, works great, anyways, the menu has another MC in it, a button, that has a on(rollOver) Attached to it, so that an animation plays when it's rolled over. Why doesnt this work? I mean I guess it's because there's a duplicate rollover command, but whats the work around to this?

RollOver Inside Another RollOver
Hello,
Is this possible?
I have a movie clip with an on (RollOver) function. I have attached another movie to load dynamically with the attachMovie function, but it's on (RollOver) is ignored. Targeting the attached movie clip within the RollOver function doesn't work either. I'm trying to create a menu button with a submenu that opens within it. Thanks!

RollOver Inside Another RollOver?
Hello all,
Is this possible?
I have a movie clip with an on (RollOver) function. I have attached another movie to load dynamically with the attachMovie function, but it's on (RollOver) is ignored. Targeting the attached movie clip within the RollOver function doesn't work either. I'm trying to create a menu button with a submenu that opens within it. Thanks!

One RollOver-function Above Another RollOver
Is it possible to have two areas with rollOver/dragOver funktions to work att the same time, one inside the other.

I have one big button with this code in it:

Code:
on (rollOver, dragOver){
this.gotoAndStop("active");
mx.behaviors.DepthControl.bringToFront(this);
}

on (rollOut, dragOut){
this.gotoAndStop("closed");
}
And i need a smal area, in a Movie Clip places above the big button, to trigger another rollOver/dragOver event. Without killing the rollOver/dragOver from the big button.

I tyed to use rollOver, dragOver and rollOut, dragOut
but it did not work.

Now i have solved it without the second button. I use this code for the second "moseOver" function:

Code:
if ((_root._xmouse>210) and (_root._xmouse<495) and (_root._ymouse>282) and (_root._ymouse<300)) {
this.mcTjanster.gotoAndStop("t1");
}
and it works but is to complicated for my us.

Is it possible to solve it in an more siple way?

Rollover Inside A Rollover...?
Hello,

I was just wondering if it is possible to get 2 rollovers working at the same time which occupy the same space (one on top of the other). I've created a universal thumbnail for my site with a rollover effect which I want to use several times. However, each little thumbnail icon wants to load up a different swf, so each one also needs individual behaivour. So travelling up a level, I have a rollover on the parent movieclip occupying the same space for the individual behaviour.
I am finding that the uppermost rollover is the one that works, and any rollovers beneath it dont, - which makes sense really. I was just wondering if it was possible to get both working...

Can anybody help?
Or am I going about this the wrong way?
Is there a better solution?

Any help appreciated.

Thanks

A Rollover/rollout Movieclip With Rollover/rollout MC's Inside It
Hi there, I am trying to figure out how to make a bottom bar similar to the one seen on www.1000pis.com how he's got clips with animations inside the bar- here's what I've got so far: http://cg.psdsliced.com/test1/ - as you can see I have a date/time MC inside the bar_mc which is working fine but whenever I try to have a new rollover/rollout movieclip (or button) inside the bar_mc it won't work/won't show rollover animation.

so does anyone know how the guy at 1000pis.com does it or can offer me any help at all?

Help Me With Pic Slide
I would like to create a page with 2 buttons next and previous
when I hit on next there will be loaded a pic above it?? My prob is,
is it possible that when I make a map with the pictures in it and if I add a new pic in this map and I press Next he automaticly finds it :/

Grtz Insa

Vol And Pan Slide
okay i havd made a vol and pan slide. And amazingly they work, they actually slide along the bar. Any way I have 3 songs one in frame 2 one in frame 3 and one in frame 4. All i need to know is how to link the vol/pan control to the frames.

http://www.flashkit.com/tutorials/Au...-727/index.php

This is the one i have been following how ever when i get to the chapter

Creating and Linking The Sound Object

mine is different coz my sound is on a frame.

Slide Bar
Hi, I want to create a movie control slide bar. I have a scene with lots of animation, (60 frames long, 20 layers) and I want to be able to control the animation with a Slide Bar so that the user can move back and forward just by dragging a slider.

All other tutorials that I can find on the net about slide bars all seem to dynamically scale something not play a movie or a scene!

Can anybody help, please.

Thanks!!

Slide Up Box
at the bottom bar of the site I want 4 tabs that are to different parts of the the site - contacts, about, etc.

When you click the tab (button) the box attached to the button - then slides up to cover the screen - you then have text - links - etc. inside that box.

When you click on aother box the first box slides back to place - showing the tab (button) and the other comes up.

How might I go about doing this?

Do I build eash box then have it layers behind so it only shows the tab and then add action script (what would it look like) to make them go up and down as clicked.

Thanks for your time and Help.
JT

ATL

How Do They Do This Slide?
http://www.swishzone.com/products/si.../mainmenu.html
This is a very nice menu system but unfortunatly I can figure out how it's done, it gets a little complicated. I would appreciate any help to figure this out because my boss is now stuck on using this method.

Thanks

How Can I Do The Slide Like This ?
Hello

How can i do like in this example ("Featured catalogue")?
http://www.templatemonster.com/websi...ates/8602.html
I would like the image load in a xml file.

Thanks
Fabien

The ICE Slide
I am making a photoalbum and have various movieclips shaped like polariod pictures, which i can grab and move around on a virtual table top. (a top view of all the pictures scattered about.)

I want the polaroids to be able to be thrown around and decrease speed like they are on ice. The harder you grab and toss the pictures the harder they slide, then eventually hit the side of the frame like they hit a wall.

could anyone point me to a tutorial, or even give me a brief explainition of the concepts for this effect.(remember, i already know how to create the clips, grab and move them to the top of the pile and release them at another point.)

Slide Y Or X In AS3?
Hi everyone,

This is my first as3 question, god this as3 is freaking me out, anyways.

I have attached some source files...

http://www.sbdesigns.ca/slideFiles.zip

slideY_A2.fla file is what I would like to accomplish in as3,
cool, easy right!!

Now my question is, how do I do this in as3?

I have started it the best I can in as3, lol!

Any help is mucho mucho appreciato, what?

Car Slide
i was working on a birds eye car game and was wondering how to get the car to slide. can anyone point me in the right direction, i've been searching and searching and finally decided on registering.

Slide In,Slide Out
Hi everyone on the www.rainerbehrens.com website how do they achieve the effect of having the righthand photo "slide" in while the left one "slides" out while browsing the photogallery?

Slide
Hi, I am VERY new to flash MX 2004.

I was wondering how to make an image slide in from the right?

Thanks

Slide...
Hello how can I make my button symbol "slide" upwards?
I have tryied

Code:
on(rollOver) {
gotoAndPlay(2);
}
where frame 2 is the animation and it still did not work.

Help With Slide Bar
I created my own stop, play, pause buttons and slide bar to go along with my movie. the code necessary to make them work is below. It used to work seamlessly... however, it stopped working. the slidebar specifically doesn't work at all. can anyone take a look at the code below and tell me what you think it's wrong...?

this is my website, you can go to it and see that the slide bar at the bottom doesn't work... any help will be appreciated. http://www.dmusseb.com

videoclip.stop();
playing = false;
top = progress.slider._y;
bottom = progress.slider._y;
left = progress.slider._x;
right = progress.bar._width - progress.slider._width;
barlength = right;
this.onEnterframe = function()
{
if (videoclip._currentframe == videoclip._totalframes) {
playing = false;
videoclip.stop();
}
if (dragging) {
frame = Math.ceil((progress.slider._x/barlength)*videoclip._totalframes);
videoclip.gotoAndStop(frame);
} else {
frame_fraction = videoclip._currentframe/videoclip._totalframes;
progress.slider._x = (frame_fraction*barlength);
}
}
playbutton.onRelease = function(){
videoclip.play();
playing = true;
};

stopbutton.onRelease = function(){
videoclip.gotoAndStop(1);
playing = false;
};

pausebutton.onRelease = function(){
videoclip.stop();
playing = false;
};
progress.slider.onPress = function(){
dragging = true;
startDrag(progress.slider,false,left,top,right,bot tom);
};
progress.slider.onRelease = progress.slider.onReleaseOutside = function(){
dragging = false;
if(playing == true){
videoclip.play();
}
stopDrag();
}

Slide Y Or X AS3
Hi everyone,

This is my first as3 question, god this as3 is freaking me out, anyways.

I have attached some source files...

http://www.sbdesigns.ca/slideFiles.zip

slideY_A2.fla file is what I would like to accomplish in as3,
cool, easy right!!

Now my question is, how do I do this in as3?

I have started it the best I can in as3, lol!

Here is the AS2 code...


Code:
Code:
circle.onEnterFrame = function() {
current_y = circle._y;
slideTo_y = current_y-_root.circle_y;
circle._y = current_y - (slideTo_y/2.5);
};
btn.onRelease = function() {
_root.circle_y = "250";
}
Here is what I have in AS3 so far...


Code:
stop();

Code:
btn.addEventListener(MouseEvent.MOUSE_DOWN, SLIDEY);
function SLIDEY(event:MouseEvent):void {
circle.y = 20;
}
btn.buttonMode = true;
Any help is mucho mucho appreciato, what?
__________________

I Want To Do A Slide Like The One That Is In The NFL.com
I want to do a slide like the one that is in the NFL.com, when is about to star a game, its a image that moves along with the mouse from left to right, please help. thanks

Copyright © 2005-08 www.BigResource.com, All rights reserved