ActionScript 2.0 :: Loading Swfs, Alpha Effect Fade In/Out?

May 17, 2002

I have set up a site I am building...real basic I know.rolling text boxes).So Here's my question...when you use the load movie command...in this case, I am using buttons on my main nav (level 0) to fire the load movie command for subpage swfs located on level 1...is there a script that I can write that would make the level 1 swf fade (dissolve) on using the _alpha command instead of just appearing (from thin air...like a cut in videospeak)???. Is there a way to create a similar transition for unloading the swf as well?

View 2 Replies


Similar Posts:


ActionScript 2.0 :: Mx - Grid Effect With Alpha Fade?

Jul 30, 2003

I have the code below positioned on a keyframe in the main time line which gives me a grid effect using the instance 'cube' of the MC 'cube.

gridy=30;
gridx=30;
num=0;
for (var i=0;i < 10;i++)

[code]....

The effect i want though is for the reduction in alpha to stagger from instance to instance, whereas at the moment they all fade together. Is there a way of tweeking the code i already have to achieve this staggering effect or does the whole thing need re thinking.

View 12 Replies

ActionScript 3.0 :: Make A Fade In/out Effect When Loading Images?

Jun 28, 2009

how can i make a fade in/out effect when im loading images?

View 2 Replies

ActionScript 1/2 :: Fade Out Effect Before Loading External Movie Clip?

Jun 4, 2009

Whenever someone clicks on a nav button, the corresponding .swf file loads into a blank movie clip I have on my home page. What I'd like to do is have the content on the current page fade out before the content on the new page fades in. I've used Flash for years, but this is the first web site I've built entirely in Flash, and I don't quite know how to approach this. I'm assuming ActionScript would be the easiest and most efficient way to produce this effect, but I don't know how to go about doing it.  Is there a way to tell the current movie to go to a certain frame in the movie and play it before loading the next external movie clip?

View 5 Replies

ActionScript 2.0 :: Modify Fade In - Movie Image To Fade Back In From Alpha0 To Alpha 100 Before It Re-starts

Feb 4, 2010

I have a tweened movie which plays on a loop. A click on the image area stops the movie and the image fades nicely from alpha 100 to alpha 0. A second click brings the image back immediately to alpha 100 and the clip continues. I would like the movie image to fade back in from alpha0 to alpha 100 before it re-starts; (the reverse of the fade out). At the moment the re-appearence of the image is a crude jump. So far my ill informed tinkering has not worked.

[Code]...

View 4 Replies

ActionScript 2.0 :: Alpha Tween - Movieclip Containing The FLV Component To Load The Right File - Fade In And When The Video Ends - Fade Out

Oct 13, 2008

I simply have one FLVPlayback component in the background and a movieclip on the layer above with an FLVPlayback component inside it. The first FLV component is constantly looping a five-second video. So all I need is for the movieclip containing the second FLV component to load the right file, fade in, and when the video ends, fade out. Absolutely all of that works... apart from the fading in. What I noticed was that my movieclip was fading in correctly, but the FLVPlayback component was empty and transparent until the fade had finished - then it played the clip. Here's my code, which gets called at random intervals:

[Code]...

View 3 Replies

ActionScript 3.0 :: Fade In/Fade Out External Swfs On Button Click?

Feb 3, 2010

I have 2 buttons on the stage whose each MouseEvent load a different external swf when clicked. In an attempt to get the current swf to fade out and new swf to fade in on button click, I vainly added a Tween to the function but to no avail.

As it is now, when the movie starts, the button 1 swf fades in, however, when button 2 is clicked, the new swf is loaded but the old swf does not fade.

Code:
import fl.transitions.Tween;
import fl.transitions.easing.*;
var image:Loader = new Loader();

[Code]....

View 1 Replies

Fade In / Fade Out Alpha Tweens Not Working?

Jul 10, 2009

I've got a function 'onIntroFinished' which starts two tweens (musicPlayerIntro and fullResetBtnIntro). After each tween, an eventlistener is added to that particular tween to see when it's ended, so it can call on another function to start a new tween. The first tweens complete within the 'onIntroFinished' function....however, they don't go on to start the second tween in the 'musicPlayerIntro2' and 'fullResetBtnIntro2' functions? The trace statements are getting called for the second tween functions, so they're getting through to that point, but why aren't the tweens starting?  Ocassionally when I test it, the second tweens half work, fading out to 50% alpha, but then stop and stay visible, rather than fully fading out. Is this necessarilly the best way to do a fade In/fade out alpha tween?

[Code]......

View 1 Replies

Flex :: Won't Move Effect Work On Sprites When The Fade Effect?

Feb 8, 2011

It's a bit of decoration to go behind a logo. When the dMove var is commented out I get the appropriate line of squares fading in and out at random spots along the x = 78 axis, but when introduced nothing appears at all...

[Code]....

View 2 Replies

ActionScript 2.0 :: Ay To Add A Fade In Fade Out Effect

Jan 29, 2010

In the following code I am controlling the visibility of a MC with the following code:[code]This is working fine but the on/off transition is a bit harsh. Is there a way to add a fade in fade out effect with action script so the change from visible to not visible is not so abrupt?

View 1 Replies

ActionScript 2.0 :: Fade In/fade Out Effect?

Nov 5, 2003

over the button , its start contiunosly fade in/fade out effect until i rollout the mouse its have to stop , now i have the script but its works just when i rollover and rollout the mouse and then again i need to rollover again , i searched for this script in forum but didnt find the code for contiunosly effect.here is my script ..this script goes in my actionscript layer :

b1.onRollOver = function() {
_alpha -= 7;
if(_alpha<55)

[code].....

View 14 Replies

ActionScript 2.0 :: Loading A Movie A Solid Shape Is There With Alpha At 100% Then Over A Period Of 5 Secs Its Alpha Is Reduced To 0?

Jun 27, 2003

using AS, on loading a movie a solid shape is there with alpha at 100% then over a period of 5 secs its alpha is reduced to 0.

i'm new to this......please help if you want to if you don't have a good weekend but think of me struggling onwards and upwards...

View 14 Replies

ActionScript 2.0 :: Alpha Tween - MC To Fade In On RollOut And Fade Out On RollOut

Sep 17, 2003

I know this question has been asked a thousand times already, but I simply can't get it to work. I've looked at various other threads posts, but none of them seem to work. Here's what I'm trying to do: I have a button (Instance name: "go") and a MC (instance name: "fader"). Now, I want the MC to fade in on rollOut and fade out on rollOut. Currently, I have this code: In frame 1 of my movie: (taken from this thread)

[Code]...

View 3 Replies

IDE :: Mouse Over Alpha Fade?

Sep 14, 2009

I am new to Flash and am using Flash CS4. Can someone send me the code to make a top picture fade out to reveal a photo underneath when hovering with a mouse and then fade back in after you move the mouse?

View 3 Replies

ActionScript 3.0 :: Alpha Tween Fade In And Out?

Feb 24, 2012

I'm trying to find the most easiest way to fade in and out a movieclip in AS3. What I did is this:

import fl.transitions.Tween;
import fl.transitions.easing.*;
import fl.transitions.TweenEvent;

[code]........

View 3 Replies

Basic Fade In / Out Of Five Images Using Alpha

Oct 6, 2009

I am using Flash 8 - trying to get started by simply fading in/out using Alpha. I totally get on the first layer converting image to movie, inserting key frame and motion tween, selecting clip and changing alphato 0%. Where I am absolutely lost - is when it comes the second, third, fourth and fifth image. I have tried inserting new layers and repeating the steps - but for some reason 2-5 images do not transition like image one.

View 2 Replies

ActionScript 1/2 :: As2 Set Timer Fade Out (alpha)

Feb 28, 2011

Im using the following bit of code to advance through frames at a set interval. Each frame consists of a different quote (text) and while this works fine I want to add in a fade effect so that for the last second of the frame the alpha of the frame reduces from 100 to 0.Here is the timer code im using:stop();function goNext(){gotoAndPlay(2);clearInterval(timer);}var timer = setInterval(goNext, 10000);

View 1 Replies

ActionScript 2.0 :: Fade Colour Instead Of Alpha

May 28, 2010

I want to be able to fade to a colour, rather than alpha as I'm loading movies into a holder, when the alpha fade function is used it shows the surface beneath the holder and I don't want this to happen, so I tried to use a setRgb but it didn't work, how to fade to a colour not to opacity.

Here is my code:

stop();
timer = setInterval(this, "fadeOut", 1500);
function fadeOut(){
this.onEnterFrame = function(){

[Code].....

View 2 Replies

ActionScript 2.0 :: Alpha Fade In And Out When Rollover?

Jun 23, 2010

how to fade in / out the movieclip using actionscript with ease.. ?

View 5 Replies

ActionScript 2.0 :: [MX] Alpha Fade Overdose?

Feb 1, 2004

accomplish entirely in AS:

on button rollover, the button and title of the page fade in
on button rollout, they both fade out
on button release the MC fades in
on new button release, the last MC fades out

so far i have the following code for button so that on the rollover state, the title loads in a text field:

[AS]
on (rollover) {
_root.x + 1;
_root.caption.words = "shows";

[code]....

how and where to nest the rest of the actions into what i have so far.

View 6 Replies

ActionScript 2.0 :: Stopping A Alpha Fade?

Aug 1, 2005

this works but repeatidly fades in and out. I need to know how stop this after one loop and where to insert the script.

MovieClip.prototype.fade = function(minAlpha, maxAlpha, speed) {
this.onEnterFrame = function() {
if (!this.trigger) {
this._alpha -= speed;

[code].....

View 9 Replies

ActionScript 2.0 :: Alpha - Fade Out Button First

May 13, 2003

I have button the dissappears when i click it, but instead of disapearing straight away, i want it to fade out first. Whats the script for this?

View 2 Replies

ActionScript 2.0 :: Can't Get Mc Inside Mc To Alpha 0 For Fade In

Nov 15, 2006

I'm trying to place this scrollPane inside a movie so I can fade the text in.

//create text field - WORKS PERFECTLY
this.createTextField("content_initial",getNextHigh estDepth(),280,140,217,350);
content_initial.XML = true;
content_initial.multiline = true;

[Code].....

View 2 Replies

ActionScript 2.0 :: Stop An Alpha Fade?

Aug 2, 2007

I have an image that fades to 100 using this script:

Code:
this._alpha=this._alpha+5;
Is it possible to stop this at alpha value of 75?

View 4 Replies

ActionScript 3.0 :: Alpha Fade Using A Mouse Over?

Nov 6, 2007

What I'm trying to do is have an object go from 0% and fade to 100% when I move the mouse cursor over it.

For the life of me, I can't figure out the code to work this. I'm sure this is the easiest thing on the planet, but I've been working with AS for only about a week.

I've made the object a button symbol and given it an instance name of "btRed." I found the following code in the help file, but it isn't working.

function fadeBlock(event:MouseEvent):void {
btRed.alpha = 1;
btRed.addEventListener(MouseEvent.mouseOver, fadeBlock);
}

View 14 Replies

ActionScript 2.0 :: Fade Alpha After Tween

Jul 8, 2008

I made the following AS tween that moves the MC from right to left. It should fade its alpha after the tween finishes. But it doesn't fade. Why not?[code]

View 1 Replies

ActionScript 3.0 :: TransitionManager Fade To Certain Alpha?

Sep 13, 2010

What I'm trying to do is make a movie clip button that will fade from a certain alpha to a different alpha when I mouse over. Is this possible to do withing the transitionmanager fade effect? Or do I need to make separate movie clips for the fade in and fade out sequence for the button over and button out parts?

View 4 Replies

ActionScript 2.0 :: [FMX] Random Alpha Fade In And Out

Aug 29, 2004

I have a picture on the stage that is coverd by 24 small squares (suare01, square02,. square24) The alpha property for all squares is50. I would like the squares randomly fade to alpha 0 (stay on alpha 0 for approx. 8 seconds) and then fade back to alpha 50 again, while another one fade to alpha 0

View 14 Replies

ActionScript 2.0 :: Alpha Fade On Rollover?

Feb 19, 2004

i think this is like the 5th time i'm asking this question, i'll ask it differently this time. I just want the button to fade out on rollover. at the same time, i would like text (that is loaded externally in a text field called "caption") to fade in also on rollover.

View 6 Replies

ActionScript 2.0 :: Alpha Fade In And Out For Slideshow?

Apr 20, 2005

I had to make a simple slide show for a client and they wanted it done in flash. I am not very good in flash and am having a problem trying to get the first image and text to fade in once the user clicks on the category they want.

I want both the image and the text to fade out and have a new image and new text to fade in when the user clicks the next or previous button. I would also like it if I could have the text be timed so that it will fade in AFTER the image it goes with fades in.

Right now the slide show is really ugly, I will make it pretty once I have it built and working correctly, so don't judge the look...haha.

Anyway, here is the .swf file which is what it looks like now...my .fla file was too big to upload on here. I would post the code, but I have so much in different places that I don't know where to start as far as what you will need.

I can't see the swf file that I uploaded when I click on it.

View 2 Replies







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