ActionScript 2.0 :: Make A Picture Fade Into The Distance?

Apr 7, 2002

A while ago pom helped me with some script to make a picture fade into the distance. This is the script he gave me

onClipEvent (enterFrame) {
i++ ;
_xscale = _yscale = 100*Math.cos(i/60) ;
}

After seeing "dansflash2001" last weeks site of the week, it got me wondering how did he achieve his button effect. When you clicked on one of his buildings the whole site faded into a miniture version. Then when the small version was clicked it reappeared in it's normal state. I'm probably a mile of with the code pom gave me as it wasn't made for that effect anyway. Does anyone know how to achieve the effect Dan used?

View 7 Replies


Similar Posts:


ActionScript 2.0 :: Make Picture Fade After Interval Completes?

Sep 30, 2009

I want the part labeled fade to happen after the interval completes. Right now it does it right away.[code]...

View 1 Replies

ActionScript 2.0 :: Button Actions - When Clicked Fade The Image In The Background Out And Fade A New Picture In

Aug 22, 2006

I have 5 buttons that need to, when clicked fade the image in the background out and fade a new picture in. each of these buttons has a specific image related to it. how can i achive this smooth transition in and out for all of the buttons?

View 1 Replies

ActionScript 2.0 :: Background Picture1 Fade Out And Picture 2 Fade In On Menu Click

Jul 5, 2007

I want background picture1 fade out and picture 2 fade in on menu click, so here is what I came up with... laugh , I have tried it 1ste frame:

[Code]...

View 2 Replies

ActionScript 3.0 :: Horizontal Scroll Class For Picture With Fade In And Fade Out

Sep 21, 2009

I located the following Actionscript 3.0 Class which performs the task of horizontally scrolling a picture in a continuous loop. Once it reaches the end of the picture, it then immediately starts over from the beginning of the picture. I am interested in making it so the picture fades in, scroll horizontally and then when it reachs the end of the picture, it fades out... It would then fade back in after a period of time and begin the process again of scrolling horizontally... Continuous loop. adding those features to this Actionscript 3.0 Class?

[Code]....

View 1 Replies

ActionScript 2.0 :: Make A Picture Gallery And Use Buttons That Move You From Picture To Picture And Backwards?

Apr 22, 2002

I want to make a picture gallery and use buttons that move you from picture to picture and backwards, but I don't want to tell button 1 to go to frame 2 and button 2 to got to frame 3 and so on (I hope you know what I mean)Can I use on button on a separate layer with the same action set? I tried something like that, but it didn't work:

on (release) {
thisframe =+1
}
[code]........

but it didn't work. I'm kind of new to any action script other than gotAndPlay, easy functions and all that.

View 2 Replies

ActionScript 3.0 :: Make Every Picture Go To A URL When The Picture Is Clicked?

May 27, 2011

I made a simple picture slideshow with a timer, prev/next buttons, pause/play buttons and jump buttons. Everything went good so far.Now i'm trying make every picture go to a URL when the picture is clicked but only the link on the first frame goes to the URL when clicked the other 5 buttons do nothing when click.(FYI: I made alpha 0% buttons in a layer above pictures)I tried two different codes but both have no effect.

as layer

Code:
stop();
var nextImage:Timer = new Timer(3000);
nextImage.addEventListener(TimerEvent.TIMER,playNext);
nextImage.start();

[code]....

View 1 Replies

Actionscript 3 :: Reveil / Fade In Parts Of A Picture?

Jan 17, 2011

How do I make certain parts of a picture fade in, in the movie?

an example would be showing script as it is written (i.e. it reveals more and more of the script as it fades in.)

View 1 Replies

ActionScript 2.0 :: Possible To Modify This Script To Make Images Load Like A Fade In/fade Out Slideshow?

Mar 29, 2010

is it possible to modify this script to make images load like a fade in/fade out slideshow. It works with buttons to action the transition I want, but I want a similar script to play a simple slideshow with same transitions.

stop();
this.pathToPics = "images/";
this.pArray = ["home1.jpg", "home2.jpg", "home3.jpg", "home4.jpg", "home5.jpg" ];

[code].....

View 8 Replies

CS3 :: Pages - Make Each Page Movie Clip Have A Fade Start And Fade End

Apr 12, 2010

flash version: CS3 AS2 Im having trouble making the pages for a website im working on. I have a row of buttons, and I want each one to open its corrisponding page ie. contact_us_button to open contact_us movie clip. the thing is I want each page to transition in and out. so when I click contact us, the contact us movie clip fades in and stops. When I click about us, the contact us movie clip fades out and about us fades in.

Is the way to do this to make each page movie clip have a fade start and fade end, and have it stop before the fade end, and on another page click continue playing the current clip to get the fade out and then open the new page movie clip?

View 4 Replies

ActionScript 3.0 :: Make Alot Ball Endless Fade In And Fade Out By Using Tween Event Class?

Feb 11, 2012

my intention is to make alot ball endless fade in and fade out by using tween event class , but i got some problem see my code.

import fl.transitions.Tween;
import fl.transitions.TweenEvent;
import fl.transitions.easing.*;[code].....

but only 1 ball restart back,other 14 ball just stop at there , try paste on action and try you will see what i mean , how i going to make all ball restart back?

View 5 Replies

ActionScript 3.0 :: Loop Through Image Array And Load - Fade In Picture

Aug 19, 2009

I would like my picture to fade in, how do I do it? I load my image like this:
var imageFolder:String = "main_pictures/";
var imageArray:Array = [imageFolder + "picture.png"];
//Container
var imagecontainer:Sprite = new Sprite();
//Loop through the image array and load:
[Code] .....

View 7 Replies

ActionScript 2.0 :: Distance From Center - Output Distance Only In Positive Numbers

Jun 17, 2005

I am working on the project where everything is based on the distance from the center of the stage. First I made this fla where flash outputs the x and y distance from the center. First problem is that I want to output distance only in positive numbers.

View 1 Replies

Actionscript :: Fade Out Code But Can't Make It Fade In Again?

Nov 11, 2003

how to make images fade in then out again in sequence using actionscript? I'm a novice and have the fade out code but can't make it fade in again. So far I have this script on one image :

[Code]...

Followed by other images doing the same thing.

View 5 Replies

Flash 9 :: Make Buttons Fade On Fade Out?

Jul 22, 2008

Nowadays I tend to use photoshop and dreamweaver more than flash. how to do it? I can make the fading out movie clip, but it's just a case of telling the button to do that on release of it!

View 6 Replies

ActionScript 3.0 :: Making Distance Between All Mcs At Equal Distance From Each Other On Mouseover

Oct 16, 2010

I am posting my code that attaches the movieclips on stage

[Code]...

i was hoping that when the newMc expands, all other mc would keep the same distance between each other as at initialisation. I not able to figure how to do it. maybe even an earlier post or llink where similar query was explained.

View 1 Replies

ActionScript 2.0 :: Delete The On Enter Frame For Both And Start The Fade Again When Press The Button To Load Another Picture

May 8, 2005

iam loading in jpg's thru xml -- now when they load in they are fading in so i have this
holder_mc is my movieClip they are loaded into

[CODE]...

View 1 Replies

ActionScript 3.0 :: Get The Distance Between 2 3D Objects By Using Distance Method

Apr 28, 2011

In AS3 I am trying to get the distance between 2 3D objects by using distance method.
  
if(Vector3D.distance(model.position,model2.position) < 100)
{
// do something

[Code]....
 
>>You can use it directly as a method of the Vector3D class to get the Euclidean distance between two three-dimensional points.
 
Which point does this method pick? Is it the closest point to the other object ?
 
I am just thinking of how much time this would take in testing objects with large poly count.

View 1 Replies

Make A Fade In And Fade Out Movieclip?

Sep 9, 2009

I would like to make a fade in and fade out movieclip. However I want it so after it fades out, it will not loop and start over. In essence fade in and fade out and thats it.

View 1 Replies

ActionScript 2.0 :: Make An Object Move A Set Distance On Mouse Click?

Feb 23, 2011

I'm trying to figure out how to make an object move vertically or horizontally a set distance once the object has been mouse clicked and then stop. Sounds relatively simple, but I'm pretty clueless at it.

View 2 Replies

Make A Button With Picture?

Sep 3, 2010

I'm trying to make a button with a picture I made in photoshop.. but the problem is that the background is transparent, I just want the main part to be clickable.
 
Here is an example.. I just want the purple part to be clickable. The box around that is the actually whole image. So how can I fix this?

View 2 Replies

Make A Picture Available To Be Used As A Fill For A Shape?

Jun 4, 2009

How do I make a picture available to be used as a fill for a shape?

View 2 Replies

Make A Picture Gallery Run Automatically?

Feb 16, 2010

I have a gallery that shows pictures when yo hit a next and previous button, but id like to make it go automatically.[code]...

View 6 Replies

ActionScript 2.0 :: Make A Picture Gallery?

Nov 28, 2005

I just tried to do a picture gallery.But It has to have around 21 pictures.In 3 sections(this is around 7 pictures per section)

I would like to look like file 1. It must have 21 buttons (on which when you click to see the picture bigger) on the same window,now there are only 13.[url]...

View 1 Replies

Make A Video/picture Gallery In Flash?

Jul 31, 2009

how to make a video/picture gallery in flash? If not in flash then something else. I just need like a video gallery that i can put into flash!

View 11 Replies

ActionScript 3.0 :: Make The Picture Aligned In The Page?

Mar 16, 2009

I made the this tutorialhttp:[url]....and align the movie clip instance to the stage.The problem is when I test the movie the picture is loaded like the movie clip instance is the top left "insertion point" so the picture is not centered. How can I fix this to make the picture aligned in the page?

View 11 Replies

Make A Picture Show Up On Hover Over / On Click?

May 1, 2009

I have inserted in an image and a button and tried both ways.  When you click on the image I want a picture to appear.  I am using this on a map of a building I want to be able to show pictures of what you would see if you were in the building.  The only problem I am running into is that when you click where the picture shows up it will appear.

View 15 Replies

ActionScript 1/2 :: Make A Some Object Or Picture Got To A Color?

Jun 30, 2010

i am VERY new at adobe flash an i am trying to get a layer or a symbol or something (im not sure what the objects in flash are called) to go to a given color does anyone know how to do this? im trying to track motion from a webcam feed with a person wereing a blue colored shirt.

View 14 Replies

ActionScript 3.0 :: Make A Tween To Picture So That It Zooms Out?

Sep 4, 2009

I'm trying to make a tween to a picture so that it zooms out and back in to the center and back. There appears an error of placement depending on z coordinate: the picture moves a little bit towards top-left corner of the stage. How can I make it move to the center of the stage?

View 3 Replies

ActionScript 2.0 :: Make An Eraser Which Will Reveal A Picture?

Aug 20, 2005

get the zip file which will be very helpfull. I made some screenshots in photoshop for help.

1). map jpg: That's the map

2). the map is covered with a black layer

3).the user changes (somehow) the _alpha property (before starting revealing the image) to -let's say- 60% and reveals with the eraser the path of the map up to some point.

4).the user sets the _alpha of the cover back to 100% in order to get the picture shown in the example.

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved