ActionScript 2.0 :: Enlarge A Pic When On(rollOver)?
Jun 17, 2008
How do I enlarge a pic when on(rollOver)?Current code:
Code:
on (rollOver) {
_root.pop(2, _root.box); (<--not related to enlarging)
setInterval (_root.enlarge(), 1000);[code]....
and how do I make it enlarge equally in all directions (meaning not just to 4th quarter on x,y scale)
View 6 Replies
Similar Posts:
Nov 8, 2009
I have been trying to find a tutorial or actionscript on the web which will allow users to" click on an image to enlarge it " when they vew the webpage. Its such a common thing , but haven't had any luck whatsoever .Can someone please refer me to a link/tutorial on how to do this?
View 2 Replies
Dec 25, 2009
I'm building my first website in Flash, and it's a porfolio website. I'm trying to set up my portfolio page to show screenshots of my graphic design projects, and when a user clicks on them, it enlarges the photo.
I am looking for it to be done like this website below when you click on their photo samples, it enlarges it, where you can also go to the next photo.
View 1 Replies
Jun 25, 2009
I'm using Flash 8. The font in the files is very very small, nearly unreadable. There is no option to enlarge the font, and Ctrl+ does nothing.
View 5 Replies
Nov 13, 2009
Is there a way wherein I can enlarge the document property size and force the contents to align to the center? I'm new, so I probably started backwards. I made my file with animation just how I wanted it, then realized it would look better if I put a frame around it. But, when I enlarge the document properties to accommodate the frame, all content, including associated animations, are top flush left. I need them middle center.
View 3 Replies
Aug 28, 2011
I've completed my first character in Flash. Happy with it's performance. Got eyes blinking, mouth syncing, and hands gesturing. But the character doesn't fill the screen the way I want. I need this to be a close-up shot of the character.When I go to enlarge the character it screws everything up because the head and body are keyed separately.Shouldn't there be a simple way to just group and scale the whole character without messing up the performance inside?
View 2 Replies
May 8, 2010
i got have a bunch of thumbnail sized movie clips that i can drag and drop. reason for this is its a shopping cart.i really would like to have a big preview available without having to link outside of the page not extremely large but larger for better viewing.i have no current code that works at all for me at this time other then the one that loads in a new window/URL which is not what i want maybe bring in image or image url to inside window would work.
View 6 Replies
Feb 2, 2011
Following is the part where i am trying to attach the enlarged images that are already placed in the folder but i dont know what to add to make it work. I only tried to enlarge the first thumb but it doesn't work on that either. All it does is show a small scaled thumb of that enlarged image on the stage.
enlargeMC is a mc that is on stage.
ActionScript Code:
for (p=1; p<=_global.imagesNumber1; p++)
{
//my_pb._visible = false;
[Code].....
View 6 Replies
May 12, 2005
how can i enlarge the hit area of a button when i'm over it? i tried creating a movieclip ("mc") containing two frames; one frame ("normal") with a button including a small hit area, and one with a button containing a larger hit area (framename="over"). when i roll over the movie clip it sucessfully changes to frame "over" with the large hit area button (from root i tell "mc" to cange to frame "over"), but in fact only up,over and down state frames are taken from the new button. the hit area is still the small one from the first frame.
basically the thing i want to achieve is, that one rolls over the button, but will have to move his mouse farer away from the overstate graphic of the button, to release it. so optically the same button, but with a larger hitarea than the one you entered when rolling over the button in the first place, so one cant accidentally get off of it too early.
View 4 Replies
Feb 6, 2001
The Problem I have is that I need to enlarge my Movie from the standard 550 x 400 to an equal proportioned 825 x 600.But when I do that it only enlarges the one Frame that I am on in that moment. How can I enlarge everything at once?
View 3 Replies
Jul 2, 2011
Is there a way to easily way double the size of the entire flash document?
View 1 Replies
Aug 13, 2010
How to programmatically enlarge a flex 3 button's hitArea. Is there some function that I can override? There is no function in the button class called hitArea. What I have done is, I have created a programmaticskin for a button. The form of the skin consists out four arrows. In between the arrows there is nothing (meaning transparent). Because of the way the skin is shaped, it's difficult to click on the button. The skin has alter the buttons hitArea. What I'm looking for is a way to enlarge the hitArea and alter the hitArea shape in to an square. (the hit area must ofcourse still be invisible).
View 4 Replies
May 13, 2009
I'm working on a schoolproject and I have a flashapplication that I want on my site. In this image you see a horizontal scrollbar and a vertical scrollbar. In the middle are the photographs, those you'll click in the horizontal scrollbar and they will enlarge (with some text). That's the red arrow. The yellow arrow is the thing I wanted too. When you click a photograph in the horizontal bar en you hold em, you can drag that photograph in the vertical bar and drop it there.
View 4 Replies
Jul 6, 2009
Is it possible? What I'm trying to do is enlarge the hitArea for a selected movieclip on my stage, but only onRollover. I have 5 MCs on my stage acting as buttons of sorts. onRollover of any of the clips, they grow in scale and I'd like the hitArea to do the same so they (MC and hitArea) are proportional.
View 2 Replies
Feb 9, 2010
I'm going to have a row of images all of which will need to enlarge when you mouse over. the images surrounding the enlarged image will need to shirk when it enlarges. So I have multiple images that need to shrink and grow depending one which image is moused over.
View 7 Replies
Jul 23, 2010
if this is posted elsewhere I searched but could not find topic. I would like to know if there is a way to enlarge the size of the target drop point. Seems the users have to be spot on or the shape snaps back.
Any way to give users a little more wiggle room with target drops?
View 6 Replies
Oct 31, 2003
I am making some buttons that enlarge and then fall back to their original size when you mouse over them. The font used is a pixel font and this blurs when you do the mouse over. Is there anyway you can make them so they dont blur?
This is the code on the movie clips:
onClipEvent (load) {
xlen = 100;
ylen = 100;
xscale = _xscale;
yscale = _yscale;
[Code] .....
View 2 Replies
Nov 26, 2009
have a question. Is it possible to detect whether the user used or is using ctrl+scroll to enlarge the screen? I was looking at an example of a mouse avoiding game, which could easily be cheated on using ctrl+scroll, so that the passages were larger etc.
Is there any way to detect this inside Flash, and perhaps prevent it?
View 1 Replies
Jan 31, 2012
I have a building type animation where many buildings enlarge then I want a small bouncing type animation once they do... I don't want to do this all manually as I have 100s.... Is there an easy way to do this with AS3?
View 3 Replies
Apr 17, 2003
can someone give me an idea how I would use a function to enlarge and change the alpha of a button but make it span over a period of time like it was an animation.a long time ago on gear78.com I think he used functions to make his buttons do what they did and it was badass. if I find another site I will post a link. if you don't know what the heck I am talking about tell me and I will try and explain it more.
View 2 Replies
Feb 18, 2010
The script for my timer worked for one button but as soon as I set up the other 2 buttons to do the same, I started having a problem where the rollover action would go after the set amount of time was up but then would repeat itself once after the set amount of time was up again. just to clarify, if it needs it, the reason I don't have a rollout attached to these buttons is because I want the menu to stay out until you leave the menu area
so I have an invisible button called menuin_btn which sits to the right of the menu and covers the rest of the stage where the content will be, so you have to rollover that area for the menu to roll back in. The "rollin" in my code brings the movie clip to frame 16 (the end) where I have a gotoAndStop(1); command to get it back to frame 1 so the rollover can be used again. I've attached a zip with my current flash file and swf and here is what my current script looks like on the main scene:
[Code]...
View 3 Replies
Jan 22, 2005
I am making a ball move from left to right and back. but when I rollover twice quickly, it also accepts the second rollover command. I would like it to accept that second rollover only when the first one is finished. I mean, I want the first to be finished before it accepts another rollover.I know it is simple to solve this with a tween using frames instead of as, but I was wondering if someone knows how to adapt the script.
on(rollOver){
ballTween = new mx.transitions.Tween(balMC, "_x", mx.transitions.easing.Regular.easeOut,balMC._x, 44, .5, true);
ballTween.onMotionFinished = function() {
ballTweenterug = new mx.transitions.Tween(balMC, "_x", mx.transitions.easing.Regular.easeOut, 44,11.9, .5, true);
View 2 Replies
Jul 26, 2009
I'm using actionscript 1.0 and 2.0 on flash Pro 8 and keep getting an error when I test the movie. Here is the error:
[Code]...
I've tried to create this rollover navigation...starting over 6 times already. Is there different language / coding for 1.0 and 2.0? I don't understand what I'm doing wrong.
View 1 Replies
Jan 28, 2010
i wnat to show the message "Hi how are u" as a rollover message or a tooltip when i rollover the hyperlink Know More
View 1 Replies
Nov 13, 2009
I'm trying to create a rollover for a movie clip. On rollover, a line underlines the text,and when it rolls out, the underline reverses. This works fine the first time. The next time you rollover, the animation doesn't work. Then when you move the mouse off the button, a line appears under the text and doesn't go away. Here's my code on the invisible button.
on(rollOver){
this.gotoAndPlay("animIn");
}
[code].....
View 6 Replies
Jul 28, 2004
The animation/rollover works well but it still abruptly stops when I rollover another button. The link below is an example on what I want to accomplish.
View 1 Replies
Jul 15, 2009
I have a button set up, that when you rollover the button, it changes into another picture and stops, and also when it's rolled over, a large picture appears under the rollover.But when I first rollover the button, it acts like it's told to go to the out state. When I rollover it again it works fine.URl...there is my code to go into the movieclip and play the button
View 1 Replies
Mar 8, 2010
How do I do a onRollOver detect without using the onRollOver function?I have a movieclip and when it's rolled over I have it zooming using the AS2 tween function.In that movieclip there's a form with fields, and if I use the onRollOver function on the movieclip to zoom, the whole movieclip becomes a button thus preventing any input into the form fields. Is there an alternative I can use?
View 6 Replies
Nov 15, 2007
Im expeirementing with snow 2.0 and have changed the small snow object to a larger dollar bill. What I cant figure out is how to allow the movie clip to fall completely off stage before it dissapears.
View 2 Replies
Jan 24, 2012
Okay, now things are getting a little complicated. I need to build a Flash object that can sit over the corner of an image to serve extra content. It's way beyond my Flash skill level, my work is usually limited to print work in Photoshop and Illustrator so please excuse me if any of the following isn't clear. I am trying to learn though, So this is how it's all supposed to work, along with my issues; When the image & Flash item load a small looping animation will play to draw the eye/show the item as interactive.
When the user rolls over this the corner will peelback. I have a working peelback animation for the rollover, that reacts to mouse over/mouse off, and a looping animation for the initial, but I cannot work out how to make the initial loop until mouseover, then play the peelback when the mouse is over. And go back to the initial animation loop if the user rolls off. (Each of these animations is stored as a movie clip in the Library)
Then it gets more complicated... if the user stays on the corner until it is fully peeled back I need to make a small countdown (sort of a 3, 2, 1 situation) show, before launching a lightbox (would this have to be jQuery, or could it be done in Flash?) in the browser to serve the content.
[Code]...
View 1 Replies