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








Movie Clip Rollover


I have a movie clip on my main stage. Does anyone know if is possible to make it that when the mouse hovers over this movie clip the main playhead jumps to a particular frame label on the main stage. Do I need to use a button or is this possible with the movie clip?


aly_ve




KirupaForum > Flash > Flash 8 (and earlier)
Posted on: 07-20-2007, 09:18 PM


View Complete Forum Thread with Replies

Sponsored Links:

Mouse Rollover On One Movie Clip Increase Decrease Alpha Of Another Movie Clip..
So I really haven't messed with Actionscript much for a couple years and here is my issue.

I have several movieclips I put together that will eventually be a menu for my website. When you roll over a menu option (movieclip) I am trying to get another movie clip to fade in giving the description of the menu item.

For example - when you roll your mouse over the 'Live Chat' option a brief text description would appear telling you what the live chat is about. This description is a seperate movie clip appearing away from the original menu.

I have made the movieclips for the menu and the movie clips for the descriptions. I tried this action on the menu option to get the description to fade in:


Code:
onClipEvent (load) {
this._parent.mc_text_discussionBoard._alpha = 0;
}
onClipEvent (enterFrame) {
this.onRollOver = function() {
if (this._parent.mc_text_discussionBoard._alpha<100) {
this._parent.mc_text_discussionBoard._alpha += 5;
}
};
}
But the alpha only increases on the description (mc_text_discussionBoard) by 5 when I keep rolling my move over and out and over again. It makes sense why it does that, but I'm not exaclty sure how to get it to continually increase the alpha by 5.

any help would be great and I am anxiously waiting to get this solved!
Kevin

View Replies !    View Related
Movie Clip W/rollover Inside Another Movie Clip W/ Rollover
I have a menu that pops up on roll over, and I have movie clips inside that are supposed to have on rollover and on release actions, but they're not working. It seems that the whole menu is active constantly. Here's the menu script:

this.onRollOver = function() {
if (!active) {
this.gotoAndPlay("rollover");
}
};
this.onRollOut = function() {
if (!active) {
this.gotoAndPlay("rollout");
}
};


and in the root the script for one of the menu items is:

mainmenu_mc.menu_mc.solo_mc.onRollOver = function () {
this.gotoAndPlay (2);
};
mainmenu_mc.menu_mc.solo_mc.onRelease = function () {
_root.my_mc.loadClip("contentpages/turf_solo.swf", _root["container"]);
_root.recent_projects._visible = false;
};

Any advice would be greatly appreciated!

View Replies !    View Related
On (rollOver) With A Movie Clip?
I have a movie clip that is attached to the stage through ActionScript. In that movie clip is some dynamic text and a button.

I want is so that whenever you put your mouse over the movie clip, a different dynamic box on the right side of the screen fills with information.

I'm led to believe that you can only use on (rollOver) with a button. I've tried placing a button over the movie clip with Alpha 0, and that works, except that because it's completely covering the movie clip, I can't click the button on the movie clip.

On the other hand, if I put the invisible button behind the movie clip, it only works when you have your cursor on invisible parts of the movie clip.

So to help you understand what I want to do, picture this. Divide the screen in half. On the left half, picture a bunch of tools/weapons, each one is a button contained in a movie clip attached through ActionScript. When you put your mouse over the weapon (or any of the surrounding movie clip containing a counter for that weapon), dynamic text will appear on the right half of the screen telling you about the weapon, how much damage it does, etc.

Any advice on how I could go about creating this?

View Replies !    View Related
Movie Clip Rollover
I want to apply this code to a movie clip, but there's not an option for a rollOver on a movie clip. Do I HAVE to embed a button within the movie clip. Here's the code I came up with.

this.onRollOver=function(){
black=new Color(this);
black.setRGB(Ox000000);
}
this.onRollOut=function(){
aqua=new Color(this);
aqua.setRGB(Ox33CCCC);
}

View Replies !    View Related
Movie Clip Rollover
plz help... i am trying to create a grid of square movie clips, and when u roll the mouse over it triggers the individual clips to play, creating a kinda trail as u roll across the grid. But is it possible to trigger the clip without the mouse turning into the lil pointing hand (which indicates a button).
Also the grid will be on a lower layer to other details but i still want it to work underneath these. Is this at all possible?

View Replies !    View Related
RollOver Movie Clip Help
Okay, so I made this movie clip where two objects swap places when the mouse rolls over it. Now how to I get the objects to go back to their original places when the mouse rolls over it again? Here is a "visual example"



Object 1
on Rollover (movie clip plays, they swap positions)

Object 2
on Rollover (same as above)


Object 2
(how do you get object 2 to go back to where it was before?)
Object 1
(how do you get object 1 to go back to where it was before?)


Thanks!

-thesportshero

View Replies !    View Related
Rollover Movie Clip.....
I'm trying to add a movie clip in my rollover state, and it is saying

Error: you can't place a symbol inside a symbol>? what the hell

am I doing something wrong, I have the reg. state on one layer, and the rollover on a new layer which I drag the movie clip I created into......please help!

View Replies !    View Related
On(rollover) To A Movie Clip
hi,

Can someone help me on this problem. I attach a movie clip (drag and drop) and fill in a form: name, add, etc and store the data to database. after that, i want to rollover the movie clip and all the info that i've just key-in before should be displayed but my problem is, i cant get it works.. anyone with brilliat idea? thnx

View Replies !    View Related
Movie Clip On Rollover, I Think
I am trying to do something similar to this http://homestarrunner.com/main6.html

On their page if you rollover "downloads" then a harp comes up and then on rolloff it goes back down. The only way that I could figure out how to do this was to place a movie in the over state of a button and then when I had it on the stage it took a lot of time to get it into the right place. If you go here http://mywebpages.comcast.net/jesler...gton_blue.html and then rollover the piano key at the top you will see what I mean. Can anybody help me do this. I am not sure if they are movies on a different level or movie clips within the movie itself.
Thanks in advance,
Duke

View Replies !    View Related
Movie Clip On Rollover, I Think
I am trying to do something similar to this http://homestarrunner.com/main6.html

On their page if you rollover "downloads" then a harp comes up and then on rolloff it goes back down. The only way that I could figure out how to do this was to place a movie in the over state of a button and then when I had it on the stage it took a lot of time to get it into the right place. If you go here http://mywebpages.comcast.net/jesler...gton_blue.html and then rollover the piano key at the top you will see what I mean. Can anybody help me do this. I am not sure if they are movies on a different level or movie clips within the movie itself.
Thanks in advance,
Duke

View Replies !    View Related
Moving A Movie Clip With A Rollover...
ok, I have an invisible button that I want to activate a movie clip with. When a rollover occurs I want the movie clip to move to the position of the mouse pointer, but over time, not instantly. I have tried several ways but I am a novice scripter and i would appreciate any help you can give. Thanks!

-rYan

View Replies !    View Related
Creating A Rollover For A Movie Clip
Hello,

Can you please help me??

I am trying to create a rollover that will allow a movie clip to play.

If you go to http://www.mccann.com/ you will see what I am speaking about.

The movie clip - when it plays - is quite simple. it is a general fade in and out of a circle shape that would go from one color to another and back again.

However, in trying to create a rollover, I cannot get the movie clip to play.

Can you help me with how I go about this. I have a variety of books on flash 5 and flash in general, but I cannot find answers. Can you please help me??

Thank you.

Lain Sky Kennedy
Web Mistress
Sharp Staffing
1665 4th Street
Santa Ana, CA 92701
t: 714.667.6909
f: 714.667.2916
e: lainkennedy@sharpstaffing.com
w: sharpstaffing.com
"Your Focus Determines Your Reality - Qui-Gon Jinn, Jedi Master"

View Replies !    View Related
Moving A Movie Clip On Rollover
OK, well i have a set of buttons on the main page, along with a simple movie clip of 2 rotating arrows, i have the arrows appear when the buttons do, on the outside the "home" button to tell you that you are in the "home" section. Now there are 6 other buttons, and what i want, is that when your mouse runs over one of the buttons, the movie clip will jump down to the button your mouse is over. I cant get this to seem to work. This is the code i have that doesnt work:

on (rollOver) {
tellTarget ("blah") {
setProperty (blah, _y, -100);
}
}

blah is the instance name of the arrows movieclip. when i try to run it, it says, Target not found: Target="blah" Base="_level0.instance13.instance14.instance28" I THINK it might be that the button im using is in a movie clip, which is in ANOTHER movie clip, which is on the page with the indicator clip, so does it have to be in the same... 'area' as the button? please help if you can! I'm using flash 5. Thanks alot.
--Samsa--

View Replies !    View Related
Movie Clip Rollover Problem
I'm sure this is really simple, but........
I have this button. Its over state is an 11 frame animated movie clip. So when the mouse is over the button, the movie clip plays. The thing is, the animation stops as soon as you roll off it, but i want the entire 11 frames to play even after the mouse is no longer touching the button. Does this make sense? How do i do that?

View Replies !    View Related
HELP Trigger Movie Clip With Rollover
plz help... i am trying to create a grid of square movie clips, and when u roll the mouse over it triggers the individual clips to play, creating a kinda trail as u roll across the grid. But is it possible to trigger the clip without the mouse turning into the lil pointing hand (which indicates a button).
Also the grid will be on a lower layer to other details but i still want it to work underneath these. Is this at all possible?

View Replies !    View Related
Movie Clip Rollover Event
I have a movie which tells the timeline of another movie to play from a certain frame
EG:
on (mouseover) {
_root.MyMovie.GotoandPlay("MyLabel")
}

But when I rollout, the movie stops playing (natually). How can I get it so the movie just continues to play after the rollout occurs? (the movie that I am telling to play is an animation, and I do not want it to stop until it is done playing, and it will stop on its own)

Thanks

View Replies !    View Related
Movie Clip Rollover Question
I have a movie clip and when I roll off of it I want my timeline to move to a different place. Inside this movie clip I have buttons that change on rollover of each. This is an animated navigation bar. It seemed simple enough, but when I use that code below the buttons no longer change color and it doesn't go to another place on the timeline. This code is on the MC itself.
code:
on(rollOut) {
gotoAndStop(1);
}

Thanks in advace!

View Replies !    View Related
Cant Get Movie Clip To Stop On Rollover
hi guys
i have a dum question i think!!
ok....... i cant get one movie clip to stop when i rollver a button, so what ends up happening is that the new movie clip just goes ontop of the first one
any help would be great guys!!
i knwo its simple stuff i think but as you can tell im all new to this
cheers
Gary

View Replies !    View Related
Play Movie Clip On Rollover
this is probably a simple question but is there a way i can get a movie clip to play by rolling rolling the mouse over it ? thanks in advance

View Replies !    View Related
Play Movie Clip On RollOver
Using Flash Mx 2004

Have a button instanced "buttonA" placed inside a graphic called "menubar"

I have a movie clip instanced "OpsA" 10 frames long in a seperate layer in the MenuBar graphic. First frame of "OpsA" has a stop action on it. Tweens from scaled down tiny to full size by 5th frame, another stop on frame 5, then scales back down by frame 10, another stop.

I have the following code on frame one of the "menubar" graphic

ButtonA.rollOver = function() {
gotoAndPlay(OpsA.frame(1));
}

Any suggestions as to why this wouldn't play my movie clip?

View Replies !    View Related
Rollover Button / Movie Clip
Hello.

Hope you can help. I have a button that has a controller in order to make it interactive as the user rolls over and out. The button is actually a movie clip, containing a video that simply has a build in and out effect which is triggered by the following:

this.music_bk.onRollOver = function() {
music_bk.gotoAndPlay("_over");
}

this.music_bk.onRollOut = function() {
music_bk.gotoAndPlay("_out");
}

View Replies !    View Related
On (rollOver) Movie Clip Question?
I have a movie clip (MC) on the main time line that scales up using a elasticScale affect. Then in that MC I have another MC that has a "on (rollOver)" command that animates something.

My question is when I am over a MC in the main time line it is suppose to animate something out when they mouse over it. And when the mouse out it animates back in. But it is not working it does not recognize my "on (rollOver)" state.

Any thoughts? Below is the code.

MC in the main time line:


Code:
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
setProperty(this, _alpha, "100");
this.swapDepths(1000);
elasticScale(150, 0.7, 0.1);
} else {
setProperty(this, _alpha, "69");
elasticScale(100, 0.3, 0.1);
}
}
And in the this movie clip I have another movie clip that has this attached to it:


Code:
on (rollOver) {
_root.firstItem.gotoAndPlay(2);
}
on (rollOut) {
_root.firstItem.gotoAndPlay(9);
}
I have this code on the main timeline at the first keyframe:


Code:
Movieclip.prototype.elasticScale = function(target, accel, convert) {
xScale = xScale * accel + (target - this._xscale) * convert
yScale = yScale * accel + (target - this._yscale) * convert
this._xscale += xScale
this._yscale += yScale
}
I can email you the fla if you need it...

Thanks!

View Replies !    View Related
[F8] Listener For Movie Clip Rollover
I working on a diagram of a skeleton.

For each bone in the body, I've got three movie clips, the image of the bone, the name of the bone and a line pointing to the bone. When the viewer rolls over the bone or the text clps they change colour and the line becomes visible.

This now works great, thanks to input from forum members.

Trouble is, my code for each bone runs to a few lines of script :


PHP Code:



// ------------thigh ---------\
this.thightext_mc.onRollOver = function() {
    appear("thigh");
};
this.thightext_mc.onRollOut = function() {
    fade("thigh");
};
this.thigh_mc.onRollOver = function() {
    appear("thigh");
};
this.thigh_mc.onRollOut = function() {
    fade("thigh");
};




For all the bones I'm doing that means quite a lot of code - though I've done hallf of them already! Is there a way I can cut down the code with a listener to detect which clip is being rolled over (and rolled out of) and extract the name of the bone from the movie clip name, as a string, and send that string to various functions ('appear' and 'fade')?

View Replies !    View Related
CS3 Rollover Start Movie Clip
So, I don't really know what i'm doing. I downloaded the trial for CS3 and I wanted to make a couple things to throw onto my webpage.

I want to have a movie qued up when I load a webpage - it's a simple 60 frame animation of things moving. I want frame one to be shown whenevver the page loads, and then whenever I rollover the animations start. When I roll off they freeze. I'd even at this point settle for a rolloff to set back to the first frame.

If someone could point me in the right direction for CS3 and rollover I would be extremely happy

View Replies !    View Related
Can A CSS Rollover Control A Movie Clip?
Hi,

I have an XML file I load into a text box in my flash movie. The XML file contains <a href""> links inside it which appear blue and underlined in my CSS formatted text box in flash.

My question is, is there a way to make these links in flash control something else in flash e.g.a movie clip, rather than just act as a link to an external page?

Many thanks for any help,
Seb

View Replies !    View Related
Rollover Sound In A Movie Clip
Tried searching the Forums to see if I could answer my question but I couldn’t find anything relevant – so im putting it to the board.

Basically is there anyway you can add a rollover sound to a movie clip like you would do a button? Some of you might say why not just create a button instead of a movie clip – well I cant as this is not my Flash movie and im only making slight changes to it for demonstration purposes, and the movie clip already has ActionScript applied to it and as im no expert in ActionScript im afraid to play around with it.

Currently I created an invisible button with the rollover sound applied to it, made it slightly bigger than the said movie clip and placed it below the movie clip on the layers. This works fine when you rollover the button and onto he movie clip but when you rollout of the movie clip the sound plays again as you are rolling over the button again. Does that make sense? So this can get quite annoying when the sound plays twice.

The invisible button was placed below the movie clip as it has animation within it, so if you added the button on a layer above the animation would not play.

Is there anyway around this? Or do I have to add some form of ActionScript to the movie clip? Or am i missing something totally obvious and making a fool of myself?

View Replies !    View Related
Movie Clip Rollover Problem
swf source file

fla source file

I am having a problem. I have a small movieclip tab (instance name: 'thumbnail_buttonMc'), when rolled over, opens a secondary menu.

each button in the secondary menu has a fade in/fade out effect when rolled over (first menu mc instance: 'thumb1Mc'). But I can't get the fade to work. I want to keep all the code in the main timeline. This is the code I am using:

//Main Button//

thumbnail_buttonMc.onRollOver = function(){
{
thumbnail_buttonMc.gotoAndPlay(2); //loads submenu in mc's timeline
}
};

thumbnail_buttonMc.onRollOut = function(){
{
thumbnail_buttonMc.gotoAndPlay(16); //unloads submenu in mc's timeline
}
};

//first submenu button//

thumb1Mc.onRollOver = function(){
{
thumb1Mc.gotoAndPlay(16); //fade out effect in 'thumb1Mc' timeline
}
};

thumb1Mc.onRollOut = function(){
{
thumb1Mc.gotoAndPlay(30); //fade in effect in 'thumb1Mc' timeline

}
};


Thanks for any help!

View Replies !    View Related
Movie Clip Rollover Problem
Hey everyone... I am creating a series of movieclip buttons in my flash file and I followed a tutorial to the DETAIL but for some reason when I rollover the mc button it isnt playing like it is supposed to... I am not sure why... I know you will need my .fla file, but not sure how to get it to you... Please help! Thanks!

View Replies !    View Related
Rollover Movie Clip Button
i'm so very new to this whole flash and actionscript thing but i'm teaching myself how to do it but i'm having a small problem. i found a tutorial online http://www.toxiclab.org/tutorial.asp?ID=37 that i have been using and of course the coding doesnt work because i'm using actionscript 3. i was hoping if someone could explain to me how i can get this effect to work properly and where i should place it.

also, could someone refer me to a really good book or site that can help me to learn how to do flash and AS3 properly? thank you so much in advance!

View Replies !    View Related
Beginner Movie Clip Rollover
Alright. I am trying to get this to play. On rollover, and play backwards on mouse out.

After that I want it to become a button.

This particular movie clip is just something I made really fast, but I'm not sure how to make it play backwards or do the on mouseover part.

Thanks.

View Replies !    View Related
On(rollOver) Movie Clip With Text In It
I have text in a movie clip that needs a seethrough background. The text is animated and hollow so getting the mouse to stay on the actual black part of the letter is nearly impossible. Is there a way to make it so that anytime the mouse enters the movie it will be recognized, not just when it is over the text. (while still keeping the rest of the movie clip seethrough)

View Replies !    View Related
Movie Clip Play On Rollover
I have an onClipEvent (mouseMove) {
play();
}
action on a movie clip, but I would like it to be an onRollover.
can I just change the code (which I will go try right now)
or do I have to somehow treat the mc as a button?

Thanks

View Replies !    View Related
Movie Clip RollOver/Out Button
I used the Complex Button tutorial to create a movieclip with rollover and rollout actionscript. works great, but! I cannot get the this.onRelease to work with the gotoAndPlay function. only the getURL function works. what am I doing wrong here?

the actionscript in the movieclip is:

stop();

this.onEnterFrame = function(){
if(rewind == true){
prevFrame();
}
}
this.onRollOver = function(){
rewind = false;
play();
}
this.onRollOut = function(){
rewind = true;
}
this.onRelease = function(){
gotoAndPlay("Portfolio", 1);
}

View Replies !    View Related
RollOver Handler For Movie Clip?
Is there a handler for a Movie Clip that works like "rollOver" for a button? I have a button, that when released, needs to maintain its "down" state. If there's a way to do this with a button that would be great. Otherwise, I can change the button to a movieclip and use "gotoAndStop" commands. If I do that, I don't know how to cause the movieclip to advance from the first frame to the second frame when the user hovers over the movieclip on the main stage. Here's the code I have in the actual movieclip (called to the stage via AS):


Code:
this.gotoAndStop(1);
this.rollOver = function(){
this.gotoAndStop(2);
}
this.rollOut = function(){
this.gotoAndStop(1);
}
this.onPress = function(){
this.gotoAndStop(3);
}
When I preview my movie, the movieclip is called successfully and stops at frame 1 of the movie. If I rollover or rollout nothing happens. If I press the movieclip, it advances to frame 3 of the movie. Any suggestions would be great!

View Replies !    View Related
Beginner Movie Clip Rollover
Alright. I am trying to get this to play. On rollover, and play backwards on mouse out.

After that I want it to become a button.

This particular movie clip is just something I made really fast, but I'm not sure how to make it play backwards or do the on mouseover part.

Thanks.

View Replies !    View Related
On(rollOver) Movie Clip With Text In It
I have text in a movie clip that needs a seethrough background. The text is animated and hollow so getting the mouse to stay on the actual black part of the letter is nearly impossible. Is there a way to make it so that anytime the mouse enters the movie it will be recognized, not just when it is over the text. (while still keeping the rest of the movie clip seethrough)

View Replies !    View Related
Is It Possible To Rollover A Movie Clip And Get It To Play?
)using MX) I wanted to know how or if its possible to get a movie clip to play just when u rollover it like the over state of a button?

can ne1 help?

View Replies !    View Related
Movie Clip Scrolls To Left On Rollover
how would the actionscript for a movie clip that scrolls left on rollover with the movespeed about 6. Thanks
__________________
___________
______________
__________

View Replies !    View Related
Button Rollover & Movie Clip Description
i'd like to have a movie clip of a tv animation i have display the description of the button i rollover. how would this be done?
there's an example of what i want here:
http://biorust.com/index.php?page=ga...id=24&pageno=1

View Replies !    View Related
HELP Mouse Rollover Controlling A Movie Clip?
In flash I am trying to create a movie that consists of photos/text that goes up or down determine on what button the viewer roles over (either up or down button). So when the viewer roles over the up the images move up when the viewer isn't on any button the images stop where they are, and if the viewer roles over the down button the images move back down. What is the best way to do this, and explain it to me like I am a newbie as i am not familiar that much with action script. I am using flash mx on a mac platform.

View Replies !    View Related
On (rollOver) { Tell Movie Clip To Go To Frame And Play. How To?
I have a button and I want that when you roll your mouse over it, a movieclip will go to a certain frame and play and then when you move your mouse away the movieclip will go to a different frame and play

Thanks for your help.

-Line

View Replies !    View Related
On Rollover, Movie Clip Appear And Follow Mouse?
Can anyone help me with this. I want a movie clip (specifically, some text in the form of a MC) to appear and follow the mouse when it rolls over a specific area and dissapear on rollout. can anyone help?? thanks!!

View Replies !    View Related
Movie Clip Move To Button On Rollover
i am trying to get an effect like the buttons on http://www.blitzds.com/relaunch.html after you enter the site.

where a box will out line the button that was last roll overed.

my code should work and does to some extent but is not smooth or dependable the movie clip does not move all the time

is there a different approch to this.

my code is this on each button:
mBox is the movieClip that moves to the button.

on(rollOver){
topic_txt.text = "information";

/* i will move this function to the main time line and call it from the button when i get it working
*/
function moveBox(xpos){

if(mBox._x < xpos){
mBox._x += 3;
}
if(mBox._x > xpos){
mBox._x -= 3;
}
}
//i pass the button _x position to the function to move the clip
var theX:Number = setInterval(moveBox,1,55);

}
on(rollOut){
topic_txt.text = "";

}

i have attached a mx 2004 file that uses setInterval

View Replies !    View Related
Change Movie Clip Brightness On Rollover
Is it possible to change the brightness level (not the alpha level) of a movie clip on rollover?

For example, I'd like the brightness of the MC to change to 65 on rollover and back to 100 on rollout.

Thanks

View Replies !    View Related
Dynamic Movie Clip Rollover Problems
The Setup
Using Flash MX 2004 Pro, I have created a scrolling image bar which pulls 106 .jpg images from a directory with a for statement and a loadMovie() command. It looks like this:

//create the base holder
this.createEmptyMovieClip("thumbHolder", 1);
//repeat everything 106 times...for (var i = 1; i<=totalImages; ++i) {
var imageT = new Array();
imageT[i] = "images/ch6/thumb/"+i+".jpg";
//duplicate base holder for each image
duplicateMovieClip("thumbHolder", "thumb"+i+"_mc", i+1);
startX = ((i*60)-60);
setProperty("thumb"+i+"_mc", _x, startX);
setProperty("thumb"+i+"_mc", _y, 0);
//load each image
loadMovie(imageT[i], "thumb"+i+"_mc");}

I created an empty movie clip named "thumbScrub" on the stage and put all of that code and other stuff to control the movie inside of the clip, assigned it a linkage name and I call it from _root.Scene1.

The Problem
I'm having problems referring to the dynamically created movie clips ("thumb"+i+"_mc") within the movie clip "thumbScrub" in order to give them rollover states and assign them actions. I can access them directly with the script below, but only when I put it on an enterFrame loop within the movie clip "thumbScrub."

onEnterFrame = function(){
thumb1_mc.onRollOver = function() {
flasherX = 0;
flasher.gotoAndPlay(1);
};}

The file is attached, but due to the sensitive nature of the images (This project is for a medical publishing firm) I cannot post them. Nonetheless, I'd very much appreciate any advice. The attached file is very well tagged with questions and comments.

Thanks in advance!

View Replies !    View Related
Button Problems W/in Rollover Movie Clip
I have a site in the works, and I am running into a problem that I shouldn't have...

I have a movie clip setup so that when the user rolls over the clip with the mouse, it toggles the movie to play a certain label within the movie clip using this common code:

on (rollOver) {
_root.hover.useHandCursor = false;
_root.hover.gotoAndPlay("on");
}
on (rollOut) {
_root.hover.useHandCursor = false;
_root.hover.gotoAndPlay("off");
}

As this works fine, I would like a button to appear at a certain part of the rollover animation within the "hover" movieClip, but it seems as though whenever I place a button (rectangle -> convert to button) on the frames where I would like it to show, it doesn't register as a button, thus being unable to be clicked...

What's the deal with this...? I've never had this trouble before...

View Replies !    View Related
Movie Clip Rollover Issues...frustrated :(
I have what I thought would be a simple issue to solve, but nothing I've tried has worked the way I want it to. Any help would be appreciated.

I have a movie clip I've assigned to be invisible when you rollover it. So on the MC I have:

on(rollOver){
this._alpha=0;
}
on(rollOut){
this._alpha=100
}

[sidenote: I've heard that ._visible is less processor intensive, but for some reason _visible set to true and false didn't work, it resulted in my MC flashing whenever i rolled over it...?? Can somebody tell me why?]

So that works fine. And then I have the MC as a link to another part of my flash file:

on(release){
_root.gotoAndPlay("frameLabel")
}

Which also works fine. And in this way I've set up a website, with each page of my site on a frame on the root timeline and given a frame label, and these MC's as links to all the pages. However, when you transition from one page to another, I've animated the movie clips to a different position. Which means when a new page opens, if your mouse happens to be over one of the movie clips, it's invisible to start with because of the rollover function I've applied to it. This, I DON'T want. I want the MC to be visible when the page is loaded, and THEN when the user rolls over it, for it to disappear.

Basically, I'm asking: Is there a way I can specify to Flash a difference between 'the action of rolling over" as opposed to "the mouse is already rolled over it to begin with"....or....can I have the rollover "disabled" until the user first moves the mouse?

My simple (attempted) solution:
I discarded the alpha actions assigned to my MC, and inside my MC itself I just created an "on" state in one frame (where alpha=100) and an "off" state in the second frame(where alpha=0).

Then in the hopes of having the MC be visible when it loads, regardless of where the mouse is, I put the code on the MC that says:

onClipEvent (load) {
gotoAndPlay("on");
}
on (rollOver) {
gotoAndPlay("off");
}
on (rollOut) {
gotoAndPlay("on");
}


but this didn't seem to work. I've tried variations of the above, using onClipEvent (enterFrame), using gotoAndStop, using frame numbers instead of labels......no dice.

What I ended up doing was just having about 5 frames for the "on" state, but this creates more problems (doesn't work at all if there is a stop action at the end of the "on" frames; and any subsequent rollover will be "on" for five frames before it goes to the "off" state, to name a couple). If it is AT ALL possible, I would rather have it a function of the user first moving the mouse, or Flash tracking the rollovers, instead of it being based on the frames themselves.

Am I missing something fundamental? I'm still fairly new to actionscripting, and knowing the most efficient ways to go about doing things.


Please.....help if you can... I can't attach my file, (even a modified, partial version) b/c it's too large.

View Replies !    View Related
[F8] Help With Rollover And Rollout On Button Movie Clip
hello,

i only know the very basic actions with flash just so you know.

i have a movie clip on the "over" frame of my button and this works fine, when i rollover the mc plays.

what i need (i think) is some script so that on rollout the movieclip reverses.

please help ive looked everywhere and i can only find old script that doesnt work, im presuming they are for older versions.

thanks

View Replies !    View Related
Movie Clip Rollover/ Color Change
var _color:ColorTransform = new ColorTransform();
function makeYellow(event:MouseEvent):void {
_color.color = 0xFFD700;
event.target.transform.colorTransform = _color;

How can this be changed instead of OxFF700, it only removes the Red from the original Move Clip color?

View Replies !    View Related
[CS3] Movie Clip Rollover Rolloff Question
hello all, new to the forum.

I recently started a new project, where I made a 3d product box (in 3d max) and exported the movie clip into flash. What I would like to happen is have the clip stay stagnent on the screen until you scroll over the clip. Then it will simply play the animation (the box circles once). I know how to get this to happen using a button, but when the mouse leaves the button the clip stops abruptly. I would like it to continue until it finishes the rotation. I know there is a way to accomplish this as I have seen it done using action script.

Would there be any way that some of you guys could give me a quick help to get this thing running? I know that it pertains to the rollover and the rolloff actionscript commands. Thanks!

View Replies !    View Related
[FL9] Faulty Rollover / Movie Clip Keeps Flashing
I'm trying to create a simple navbar and running into endless problems. First of all i created my rollover as a button which worked perfectly but then it wouldn't respond to the linking code.

mneil thankfully showed me that i could only link correctly if i convert it to a movieclip. This then killed my rollover effect. So i started again and did some tutorials in how to make a movie rollover clip.

The problem is that it keeps flashing I have placed the stop(); commands as directed but they appear to have no effect.

Here's an image of my timeline..

View Replies !    View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved