ActionScript 2.0 :: Adding + Symol To The Movie Clip I Clicked?
May 3, 2008
a gallery, i done the the roll over and roll out effects by using this keyword, now i want to add a + symbol over the imagewhen the image is clicked when the user clicks again the images with symbols it should clear the + symbol from the images,
View 8 Replies
Similar Posts:
Jun 26, 2009
Hi, I'm making a simple target shooting game in Flash CS3, and need to know how to make it so when you click on a movie clip, it adds 1 to a dynamic text box reading 00.
View 1 Replies
Feb 23, 2010
How could you place a movie clip on a click in the same position you click?
View 11 Replies
Apr 12, 2009
On looking into buttons, I understand that to get a movie clip to play when a button is clicked you simply place the movie clip on the buttons 'hit' state. Having done this it does not work? Have I read wrong? Also the movie clip has a background the full size of the stage area. So when I attach this to the button, the button changes size to the same size as the movie? (i.e. whole stage area). How do I keep the button in it's original size while still playing the movie clip with large background?
View 2 Replies
Nov 1, 2009
Im trying to load a movie clip when a button is clicked
heres the actionscript im using
on (release) { this._parent.loadMovie("Video.swf", "holder", 1); holder._x = 611; holder._y = -92;}
i want the swf to load into the holder MC, instead its loading the video.swf file and replacing the original swf
View 1 Replies
Aug 31, 2005
I normally write javascript code, so I wonder how to do this. In JS "Microsoft IS" you'll write code like this:
document.onclick = func;
function func()
{
var obj = event.srcElement; //And there I have reference to the object;
}
The graphic designer creates flash drawings and then converts whatever objects to movieclips. Then passes them over to me. All these "mc" need the same action applied to them. So I don't need to know how many they are or their names.
View 4 Replies
Mar 2, 2006
When you click on a button it loads the movie clip that is on the main timeline. What I want to be able to do is when you click on another button the movie clip that you are on reverses and the new movie clip loads up.
View 4 Replies
Jan 13, 2009
what i want to happen: when you click on gallery -> then bfa, it shows a list of names (movie clips). when you rollover a name, it plays a yellow fade in and a fade out on rollout. when you click a name, it opens an external movie clip that takes up the fullscreen. i want the movie clip that was just clicked to stay activated (yellow - to show that you already viewed this one) but still be clickable.
[Code]....
the this.enabled = false; keeps the name yellow but once you click it, you can no longer click this link. i think i'm really close and i hope I explained this as clear as possible. i just need to know what script would keep the movie clip stuck on the out.
View 1 Replies
Apr 6, 2009
I have a movie clip that i want to use for a button, so that when it is clicked it will move from scene1 to scene2
is there a way to make it change when the movie clip is clicked or is it only possible on a button? i want to use a movie clip because my "button" animates when the mouse hovers over it.
View 5 Replies
May 26, 2003
if i wanted to disable something like a movie clip from being clickbale (i have already linked it to a function) if i want to diable the movie clip form being clicked unless something else has been pushed how would i do this and where would i put it? also if its not too much trouble could you explain the code a little bit
View 3 Replies
Apr 10, 2009
I'm using a movie clip as a button to show content on a page, effectively its like a new page of the website. Problem is, with the script im using for it, once the content is show, the button is still active and if clicked again, will re-load the content. I want a way to effectively disable the button whist the content is shown.
this.services_inner.buttonMode = true;
this.services_inner.addEventListener(MouseEvent.MOUSE_OVER, rollOver_services);
this.services_inner.addEventListener(MouseEvent.CLICK, onClick_services);
[code]........
View 11 Replies
May 17, 2011
I want to play a movie clip when I click a button.I made 3 states: inicial (how it looks before anything happens) (up)hover (plays an animation after waiting 20 frames) (over)click (plays an animation right away) (down)I placed these movie clips inside of my button's up, over, and down frames. This works great except when I click, i'll need to click and hold for my animation to get past the first frame.
View 1 Replies
Sep 24, 2011
I am trying to build a website, and here is the logic behind my problem. I have 2 button, when user clicked on button 1 i load movie clip from library with: _parent._parent.cont.attachMovie("Page1", "e", 0, {_x:-265, _y:-250}); when user clicked on button 2, i load other movie clip. Problem: i want remove last movie clip after user clicked on button 2 and then load new movie clip but i cant...
View 9 Replies
Aug 1, 2010
I have a button that when clicked starts a movie clip(a box enlarges from very tiny to large).That works fine. How do I make the same button reverse the movie clip when clicked again?
View 13 Replies
May 7, 2005
I would like to make a movie clip's height change when it is clicked. However, I can't figure out how to do it so that it smooth like a tweening.
View 4 Replies
Aug 19, 2009
allow the user to clip a button and then place a sybmol (either movie clip or graphic) where the user clicks. I would like to use AS2. The project is simply to label a supply and demand curve graph and user needs to plot, or place points wherever they want on the canvas.
View 3 Replies
Mar 31, 2011
How do i make a movie clip go back to the main stage once it is clicked.. it has a roll in and out which is inside the movie clip.. i have a door and i want it so when you click the door it goes to another key frame on the main stage
View 1 Replies
Jun 11, 2003
I have an MC that contains a menu. Within the menu MC I have a little arrow movie clip that I would like to ease to the mouse position when clicked. I have this code on the little arrow, copied from many easing tutorials:
[Code]....
Also, I want the arrow MC to start at a particular place. But when I put _y = 30 (for example, which is where I would want it to start from) it is still at 0,0 - even when I change _y to this._y. What the heck?
View 12 Replies
Apr 13, 2011
I have a group of movie clips, each placed randomly on the stage. I want to be able to click one of the movie clips and move them around. They are stored in an array.
View 5 Replies
Nov 20, 2009
How do I delete/remove a movie clip after the wrong answer button is clicked?
View 16 Replies
Sep 27, 2009
We have a short video of a street, which we are looking to pause when it is clicked and then all the hazards turn into drawings and flash. Then when you hover over a hazard it tells you some info about it.I have managed to get the video to stop when clicked, using the below code but can't get the movie clip of the flashing hazards to play at the same time. Is it even possible?
ActionScript Code:
on (rollOver) {
Pause video[code]...
View 3 Replies
Sep 21, 2010
I have a movie clip that runs in its own timeline. I want to stop the movie clip from playing whenever the mouse is clicked (in this application I am actually using a touch screen and I want the movie clip to stop playing whenever the screen is touched). In addition, I want the movie to rewind back to frame one so that none of the movie clip images are left on the screen.
View 3 Replies
Nov 9, 2009
Drag and drop game. I'd like the instance to tint red when rolled over after it's been successfully dropped. I'd also like to play a sound file when clicked after successful drop. Here's the code:
ActionScript Code:
addEventListener("dropped", dropper);
function dropper(e:Event):void {
[code]....
View 6 Replies
Apr 12, 2011
Baisically I've created a button using symbol and I want the button to move a movie clip up the y axis by 4 every time it is clicked (move the movie.) I really don't know how to do this. This is what I currently have but its not ActionScript:
[Code]...
View 6 Replies
Jul 18, 2003
Okay i want to make it that when a ball hits a wall, it will dissapear, and in its place a new movie clip appears, i got the hitTest down and the visiblity, but i dont know how to attach teh movie to its location.
View 5 Replies
Aug 4, 2009
in this tutorial [URL]
I am adding a input box in one of the movie clip example content2
View 3 Replies
Mar 27, 2009
I have a function shuffling a array of numbers.How can I have each number correspond to a movieclip?Like if I have the number 4 comup first in my array, how can I have movieClip4 show up onto the screen?
View 1 Replies
Feb 20, 2009
I have two clips on the stage with mouseover and mouseout actions. When you roll over a clip, a new clip is created and added to the stage. I then use the drawing methods to draw a callout.It works fine the first time, but when you roll over the second clip, the drawing for the previous object is not erased and it adds to the drawing with the information from the second rollover.
Code:
node1.buttonMode = true;
node2.buttonMode = true;
[code].....
View 2 Replies
Jan 1, 2012
I've added a movie clip i've created to the stage and it works fine... the movie clip has 4 frame labels inside it with different content on each label. The main timeline has 4 buttons and I want to be able to click one of these buttons, it will load the movie clip (which it currently does) but goto a specific frame label within the movie clip. The below is a sample of the code from one of the buttons.
[Code]...
View 6 Replies
Nov 20, 2009
I am transitioning into AS3 and I'm working a block that I can't quite figure out. I need to add a child (external image) to a movie clip and resize it. This is what I have thus far and it loads the image just fine:
var imageLoader:Loader = new Loader();
imageLoader.load(new URLRequest(myOBJ.image));
productImage_mc.addChild(imageLoader);
[code].....
View 2 Replies