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




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



FlashKit > Flash Help > Flash Newbies
Posted on: 10-01-2007, 01:40 PM


View Complete Forum Thread with Replies

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

Start Movie On Rollover
Okay, I have a button in a movie clip, and the movie clip is of the button shaking like an earth quake. I have a stop command in the first frame of the movie, so when it starts, nothing happens. But when I move the mouse over top of the button, I want the movie to start, and the button to start shaking. Then when I take the mouse off the button, I want it to stop shaking.

How would I do this?


Here is what I have done so far...

Movie Start And Stop On Rollover
Hello, I have a page full of movieclips that start playing with a rollover. I want them to stop when rolled over again.

Any help with this would be boss.

I am using Flash MX.

Cheers

Alex

I posted this already on the MX forum but got no joy

Rollover Start Movie... I Give Up ><
I Just want to do a roll over and have my movie Start...

OR

When i roll over it starts a certain frame...
I've tried everything and been to site and site can't fig
out what' i'm doing wrong >< could someone plz post the sting ><?

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

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!

Start Movie Clip
i have a little problem... can somebody tell me how to start an .avi or .mpg out of flash
i just want windows to play a movie by pushing a button in flash...
thx

Start Movie Clip
your_btn.onRelease = function () {
your_mc.gotoAndPlay("yourframe or label");
}


I do not understand this code given to me to start a movie clip playing at a particular frame!

I want the code on a button that starts a movie clip playing at a label. The instance name of the movie is"startEnter" !

Can You Start A Flash Movie With A Clip?
is it possible to put like a 5 second clip from a movie into a flash movie here is a example
5 second clip of a nuke exploding then going into flash and making the video continue after that

Start And Stop Movie Clip
Hi!
I a newbie in Flash MX 6.0 and I 'd like to know how can I start a MovieClip and How can I stop it?

I also would like to make a button that 'd show some animation while I have the mouse over it.

Could you guys help me out?

On First Loop Start Next Movie Clip
I have two movie clips sharing the same frame on my main outline (two different layers though). One movie starts first and it loops three times with this script:

_global.count = count+1;
if (count < 3){
gotoAndPlay(1);
} else {
stop();
gotoAndPlay(_parent.nextFrame());
}

Ok, I want the other clip to start after this movie clip does its first loop and starts its second. What action script can I put in to tell it to make this happen. Will I need script for both clips to tell the first one to start the second and to tell the second to wait for the first?

Please help

Thanks
Ryan

Button To Start Movie Clip
I have a movie clip that does an animation and ends with an action calling to goandPlay another scene. I now want to create a button that holds the movie clip. I then want this clip to run when the button is clicked (also, if I don't need a button to do this please say). I have tried to do so but the clip runs only as long as I am holding the mouse button down.

I just want the user to be able to click once see the small movie clip do its animation (like explode) and then go to next scene.

How do I do this?

Thanks
Ryan

Stop Start Movie Clip
Hi

I would like to have a scene with a play button on.

when the button is clicked, I would like it to call a movie clip that would run frame 1 to frame 4 and stop. When the play button is hit again, I would like it to run from frame 5 to frame 8.

Is this possible?

Default To Movie Clip On Start-up?
Hi, I'm pretty new to all this and am just starting to try and get my head around ActionScript.

What i am trying to achieve is to have a movieclip that is already in the website... (ie. it runs when you click on the homepage button), run when the website first loads (it is the homepage content movieclip).

All of my background and menus are in place, and all buttons function when clicked (the movies play), i just want the one movie to be the default to play on start-up.

I have tried searching for an answer but to no avail.

TIA!

Movie Clip Frame Start
Did I learn this once or was I dreaming? I want to bring multiple instances of the same movie clip to a single frame on the main timeline. My movie clip is 35 frames long, all 35 frames with a different keyframe. On the main timeline, I want each instance of the movie clip to start playing the movie clip on a different frame so that each instance is not identical to the other, but staggered. Isn't there a way to do this?

Thanks,

Can I Delay The Start Of Movie Clip?
Without inserting loads of blank frames, can I delay the start of my movie clip? Also, can I get it to loop a specified number of times? Thanks!

Movie Clip (start & Stop)
okay i made a (.flv) file and imported it into flashMX and put it inside movie clip symbol.. it plays fine, but loops over and over forever.. how do i play it just one time!? and how do i start, pause or stop it from a button on the main stage.

the mc variable is local inside the symbol, and isn't visible from the main stage.. so how do i go about doing this...

no looping.. and a symbol movie clip control from main stage...?

Defining Start And End Of A Movie Clip
Hi,

For some time, I began to look to Flash with different eyes - I'm more a "Frontpage guy" with raw HTML, etc. ( my ranking in Flash is -1 )

Well, i found in the net a banner that types the text we want and stops. Meanwhile, I made in the project a movie clip with an image - it starts with alpha zero to alpha 100% - a very simple thing.

Now, I want it to run when the text reaches the end. How do I do it?
I include it in a new layer - result: it keeps running without showing the type text ( it's logical ).

Can someone give me a hand?

Regards,

Kepler

Using A Movie Clip Inside A Movie Clip To Start A Frame Of An MC Inside A Movie Clip
Situation:
I have a movie clip inside a movie clip with a button inside of it.

This button on release goes to a different movie clip(svideo) in a different frame on the maintime. This movie clip has a movie clip(portfolio) inside of it.
Okay: I use an absolute path on the aforementioned button
on release
_root.svideo.portfolio.gotoAndPlay(60);

But, for some reason Flash won't go to frame 60 of the portfolio movie clip that is inside of the svideo.

I have tried numerous variations on reaching frame 60 of portfolio. Like going to the maintime line and going to the portfolio MC. Also, portfolio and svideo are the instance names and not the name of the actual movie clip.

If anybody could help, I would appreciate it. Thanks.

Make A Movie Clip Start Playing?
hi! what's the AS for a button to make a separate movie clip start playing when i press it.

Random Sound Clip At Start Of Movie... Possible?
hey, is it possible to use somekinda actionscript to randomly load say, from 3 MP3 clips (either exterior or interior) at the start of a movie, like a preloader?

would be nice.. just havn't seen it done before.

Start Movie Clip Instances At Random
i have a movie clip of a rotating wind turbine that i want to be used in a field of turbines.

the problem is that when i put the turbines onto the stage they all run at the same speed with the blades all turning together which doesn't look natural.

how do i get them to turn at different start times (not necessarily different speeds)?

Actionscript To Start At Frame In Movie Clip
I have Actionscript on a frame:

if(button_name == "button1"){
tellTarget ("frameTransition") {
gotoAndPlay(14);
}
}

This plays a movie clip at frame 14 that has an instance of frameTransition. This works fine. But when I get to frame 26 of this movie clip I want to play frame 2 of a different clip.

Something like this to add to the above code:

when frame == 26
tellTarget ("frameButton1") {
gotoAndPlay(2);
}

I know that "when fame == 26" is not correct. Can someone tell me the correct syntax indicate when I am at the frame of one movie clip to to start playing at a frame on a different clip.

I need to note that putting the following code on frame 26 of the first movie clip is not the solution I'm looking for.

tellTarget ("frameButton1") {
gotoAndPlay(2);
}


Thanks,

Rod

Movie Clip Start And Stop On Mouse Over
Hello,

I'm attempting to create a movie clip animation that plays a loop when you mouseover and when you mouse out off of the movie clip i want the loop to stop at that current frame and stay there until the next mouse over event which would then start playing the movieclip at "last" frame prior to the mouseout.

Any ideas?

Thanks

Start External SWF When Movie Clip Gets To Y Position
Hi,
I have one movie clip that when clicked on moves to the left of the screen, after it gets there I want another and exteral swf to load. But I dont know how to get the external clip to load after the movie clip gets to the left side of the screen....
Here is what I got so far..


square_mc.onRelease = function()
{ square_mc._x = 30;
square_mc._y = 180;
}
square_mc.onEnterFrame = function()
if(square_mc._y = 180)
{ _parent.createEmptyMovieClip("container_mc", _parent.getNextHighestDepth());
container_mc.loadMovie("slideshow.swf");
}

Baicly the idea is when square_mc get to the Y position of 180, run the external clip.

Any ideas, thank you.
Adrien

Movie Clip Start And Stop On Mouse Over
Hello,

I'm attempting to create a movie clip animation that plays a loop when you mouseover and when you mouse out off of the movie clip i want the loop to stop at that current frame and stay there until the next mouse over event which would then start playing the movieclip at "last" frame prior to the mouseout.

Any ideas?

Thanks

Making Button Start Movie Clip
This is a pretty straightforward question: I have a button to which I'd like to assign an action which starts a movie clip. I can get as far as moving the playhead to the frame which contains the movie clip...what next?

Thanks,

How To Start A Movie Clip X Seconds Into Program?
Hi,

Let's say I've created a movie clip named tree_mc. I've placed the movie clip off the stage to the left. A specified number of seconds--let's say 5 seconds--after the Flash movie begins playing, I'd like the tree_mc movie clip to begin moving slowly horizontally to the right, entering and crossing the stage, exiting off the right-hand edge of the stage and then stopping. (The stage is 640 pixels wide, if that helps.)

Could someone show me the ActionScript script for performing these actions? AS2 if possible; otherwise, AS1.

Thanks!
Bill

Movie Clip To Be At Certain Frame At Start Of Movie
I am wanting a movielip(used as button) to be at frame 21 when it starts the movie. The movieclip will be my "home" button and frame 21 will be the "down" state of the button to represent the "home" page.

What code would I use for this?

Start Playing Movie Clip Instance In A Frame
I have this movie clip in my library. I dragged it onto the stage at a particular frame, gave it an instance name, but when I play it, the movie clip instance doesn't play at that frame (doesn't play at all). How can I make it so that the clip starts playing (and looping) at that specific frame? I tried adding instanceName.gotoAndPlay(1) but that doesn't seem to work? Please help me! I would use the search but I think it's down b/c I'm getting timeout errors. Thanks!

Making Movie Clip Start When Timeline Gets To Frame
Hello,

I have a movie clip call t-home, it is on the stage with an instance name of home...


When i get to a certain frame in my intro i want the movie clip to start playing, (also when they click a button later on, bur dont worry about this)

its not playing though... this is my script on the timeline

telltarget ("_root.home"){
gotoAndPlay(2);
}

and ideas

[CS3] Fade Scene 1 Then Start Movie Clip, Coding?
Hi, I've been away from Flash for about 4 years now and just upgraded to CS3 for the company I've just started. I'm creating a presentation and have a the main scene acting as the introduction. What I'm looking for is to fade the scene to about 20-30% and then play movie clips I've made over the still running but faded introduction animation. All the clips are done and I know how to set up the timer just not the coding, if anyone could point me in the right direction on how to code this it would help a ton. Or is there a way to do it with any code? Thanks in advance.

Start() Stop() Noob Movie Clip Question
hi!
i'm trying to write the code for a flash animation which uses different movie clips and buttons.
all the movie clips are in the same layer but i've written code to make all but one invisible when the animation loads.

dance._visible = false;
harmonica._visible = false;
violin._visible = false;

i've then got buttons which are supposed to make the movie clips visible, but then disapear again after the clip has played.

i want to be able to press one button to have one clip start playing, but then i want to be able to press another button which stops that movie clip and starts a new one playing.

this is what i came up with but it doesn't work

on (press) {
violin.stop();
harmonica.stop();
}
on (release) {
violin._visible = false;
harmonica._visible = true;
harmonica.play(1);
}

this script is from one of the buttons which is supposed to start the movieclip harmonica and stop violin playing.

i've got the same code for violin but the other way round

when i press a button it works fine and plays the clip which then disapears (leaving a default clip which plays all the time visible) but pressing buttons to interrupt the clip and play another one don't work properly.

hope this is making sense because i'm slowly confusing myself

anyway the problem is that the movie clips don't stop and reset when they are interupted. they kind of pause instead. when i go to play a clip that has previously been interrupted it starts from where it has been paused and not from the beginning

i also wanted to ask about this.swapDepths(this._y);
read a tutorial on it because i thought it would be helpful but i havn't the foggyest how to make it work.
i put all the movie clips in the one layer intending on using the swapDepths command but it didn't work so i abandoned it.

any help would be greatly appreciated!
Weston

Start() Stop() Noob Movie Clip Question
hi!
i'm trying to write the code for a flash animation which uses different movie clips and buttons.
all the movie clips are in the same layer but i've written code to make all but one invisible when the animation loads.

dance._visible = false;
harmonica._visible = false;
violin._visible = false;

i've then got buttons which are supposed to make the movie clips visible, but then disapear again after the clip has played.

i want to be able to press one button to have one clip start playing, but then i want to be able to press another button which stops that movie clip and starts a new one playing.

this is what i came up with but it doesn't work

on (press) {
violin.stop();
harmonica.stop();
}
on (release) {
violin._visible = false;
harmonica._visible = true;
harmonica.play(1);
}

this script is from one of the buttons which is supposed to start the movieclip harmonica and stop violin playing.

i've got the same code for violin but the other way round

when i press a button it works fine and plays the clip which then disapears (leaving a default clip which plays all the time visible) but pressing buttons to interrupt the clip and play another one don't work properly.

hope this is making sense because i'm slowly confusing myself

anyway the problem is that the movie clips don't stop and reset when they are interupted. they kind of pause instead. when i go to play a clip that has previously been interrupted it starts from where it has been paused and not from the beginning

i also wanted to ask about this.swapDepths(this._y);
read a tutorial on it because i thought it would be helpful but i havn't the foggyest how to make it work.
i put all the movie clips in the one layer intending on using the swapDepths command but it didn't work so i abandoned it.

any help would be greatly appreciated!
Weston

Start And Stop Main Timeline From Movie Clip Symbol
Hi All,

I have a main movie where I have 4 different movie symbols in 4 differnet frames.

I want to stop the main timeline > play the first symbol movie > at the end of the first clip, start the main timeline again and play the next movie clip.

I tried putting "root.play();" at the end of the symbol movie clips, but it does not seem to affect the main timeline.

[MX04] Random Number Generator Tells A Movie Clip To Start
I have a movie clip. In it i am trying to get a dynamic text box to constantly generate random numbers. When it finds a certain number i want it to make a movie clip play.
I am using:
onClipEvent (enterFrame);
_root.randomtext = random (10);
If (_root.randomtext == 4)
gotoAndPlay ("start clip");
}}

The problem is the text box will sometimes generate only ONE number or none at all. Please help.

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?

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);
}

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?

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

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!

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

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

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

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

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

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"

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--

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?

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?

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