ActionScript 2.0 :: Unload With Alpha Transition?

Jun 22, 2006

gary_btn.onRelease = function(){
imageLoader.content._visible = false;
nailLoader.content.unloadMovie();
empty_mc.unloadMovie();

for the either of the following unload lines (or perhaps the above .visable=false) is there a way to actionscript so that the movie (swf), unloads with a transition from 100 alpha to 0 alpha, (opaque to transparent) and therefore create a smooth transition out, as opposed to a rapid disappear? perhaps a 1/2 or 2/3 of a second or 15-20 frames at 30 fps?

nailLoader.content.unloadMovie();
empty_mc.unloadMovie();

View 1 Replies


Similar Posts:


ActionScript 2.0 :: Unload Movie Stuff - Current Swf To Unload And The New One To Load Only After A Transition Occurs

Jun 16, 2003

I want the current swf to unload and the new one to load only after a transition occurs. Is there a more efficient way to do this than if. switch()?

View 2 Replies

ActionScript 3.0 :: Play The "out" Transition Than Unload The Current Swf Than Play The In Transition Than Load The Swf Of The Button That Was Clicked

Oct 11, 2009

i have looked everywhere for a tutorial on this - i have tried writing, and re-writing codes....i just cant get it. is there any tutorial i overlooked? here is what im looking to do - NO SHORTCUTS: have my main file that loads the buttons, my external swf container, my intro animations, and my swf "out" and "in" animations when a button is clicked i want it to point me to specific frame labels. i will have an "out" and "in" frame label and which will be the locations of the transitional starting points i want it to play the "out" transition, than unload the current swf, than play the in transition, than load the swf of the button that was clicked i want the animations to all be done using frame labels all within the MAIN swf file.... i have had no luck doing this....and i do NOT like the tween class....

View 10 Replies

ActionScript 2.0 :: Transition Alpha Between External Swf?

Jun 11, 2006

I did a flash movie with this code

////inizializzo le movie clip gallery_target 1 e 2
gallery_target1._alpha = 0;
gallery_target1.attivo = false;
gallery_target2._alpha = 100;
gallery_target2.attivo = true;//non sarebbe necessario settarla perch� se � attiva la 1 ovviamente non lo la 2..

[Code]...

View 1 Replies

ActionScript 3.0 :: Cursor Stops Alpha Transition?

Nov 10, 2009

I have an alpha transition on a series of buttons.  There are no eventListeners.  But for some reason, the transition stops when the cursor moves over buttons while in mid transition.  I don't undersand it.  There is no code to change the buttons or even to listen for the cursor or buttons.

View 1 Replies

ActionScript 3.0 :: Alpha Transition Not Working With Dynamic Fields?

Oct 23, 2008

I understand from reading various forums that if you do not embed the font in to the movie the dynamic field
won't fade with alpha. But when I try to enbed the font or setting embedFonts = true the text just disappears.

I have the text now with a tween just to show that the tween is working while the alpha is not.

This is the link to the SWF:

[Code]...

View 1 Replies

ActionScript 2.0 :: Get A Alpha Transition To Work When Select Another Picture

Jan 20, 2006

I have this actionscript which works perfectly for a little xml gallery. But What I am trying to do is get a simple alpha transition to work when you select another picture.

[Code]....

View 3 Replies

IDE :: Gradient Masks - Edges Gradually Transition 0 Alpha

Mar 31, 2011

Is it possible to get a 'feathered' mask in Flash CS4 where the edges of the mask gradually transition to 0 alpha? I tried to set this up by creating drawing a shape with the pen tool, turning into a movieclip, then filling the original outline with a white (or lime green) center to black on outside, with the outside fading to an alpha value of zero. When I apply this as a mask, however, the borders are completely sharp rather than the layer below being 'partially' masked.

View 2 Replies

ActionScript 3.0 :: Unload And Load Swf With Alpha?

May 27, 2009

I'm building a website, which contains text,images/video's on different pages with the same layout. the index.html(swf) contains only the layout of the website, without any text or info. onload at the index.swf the about page will be displayed with the info and videos in the 'index layout'.

When I click on a new link, I want to load a new(ex. products) swf INSIDE the index.swf, which always should be onstage. than when I click to another page again, it should unload the products.swf(not the index.swf) and load a new swf (ex. contact). The pages need to change smooth, so it would be nice to unload & load them with an .alpha.

View 1 Replies

ActionScript 3.0 :: Removing Child Movie Clip With Alpha Transition?

Sep 27, 2009

I've been trying to find this topic on the internet for what seems like forever but haven't had any luck. What I'm trying to do is remove a child movie clip and have an alpha transition when it is removed.

What I have so far can be found at: [URL]

Basically what I'm trying to do is when the video player is closed, instead of simply disappearing, I want it to fade to an alpha value of zero

this is the code I have so far:

ActionScript Code:
stop ();
MC_btn.addEventListener(MouseEvent.CLICK, vimeo_embed);
function vimeo_embed (e:MouseEvent):void {
var OpenEmbedPlayer:Vimeo_MC_PU = new Vimeo_MC_PU();

[Code].....

View 3 Replies

ActionScript 3.0 :: OnClick Unload & Load New Swf With Alpha

May 27, 2009

I'm building a website, which needs a nice flow of changing the pages.First i had everything done in one swf, by using a lot of movieclips and 'if & else' statements, to change the text and images etc.Now I'm also creating pages with different video material etc, and the actionscript and filesize is just getting too big for one swf. So I want to use different swf's to load the pages.The first page, Index.html(index.swf) will contain, the layout of the website, with a onload movieclip(About.swf) which will be the homepage that contains, a videomenu, some text and a videoplayer.But now when I would click to another page, i want to keep the same smoothness which i had with using movieclips unload and load with alpha.How do I manage, to Unload a SWF(about swf, not the index.swf) onClick alpha 100 > 0 in 0.2 sec or something and Load onClick new SWF with alpha from 0 > 100 in 0.2?

View 1 Replies

ActionScript 3.0 :: Add A Squeeze Transition Effect Between Frames Using The Transition Manager Class?

Nov 16, 2009

How can I add a Squeeze transition effect between frames using the transition manager class on a simple slideshow using the goBack and goForward functions in ActionScript3? Below is the code I have so far:

stop();
function goBack(event:MouseEvent):void
{[code].....

View 0 Replies

Flexbuilder :: Flex Transition Effects Work On 2nd And After Transition

May 18, 2010

i have a flex app that transitions between 2 states with the toggle of a button. my issue is that the effect of fading only seems to work on the 2nd transition and after. However, for my first transition... going from State1 to studyState... there is no fade effect whatsoever, in fact the components in state1 disappear completely (the footer fills the empty gap where the "body" use to be) and then the flex recreates the studyState (without any fade refilling the "body" with components only in studyState). After this first transition however, going between studyState and State1 working COMPLETELY fine.. why does this happen and how can i make it so that crossfade works STARTING FROM THE VERY FIRST TRANSITION?[code]

View 1 Replies

IDE :: Transition Slides With The Behavior Slide Transition Options?

Oct 25, 2009

I have a presentation using the "presentation" template that comes with flash. I am trying to transition slides with the behavior slide transition options. but I've learned that it works find while going into a slide and doesn't go to the next slide when leaving.So basically I want it so that on right arrow first play out transition then go to next slide.

View 2 Replies

ActionScript 3.0 :: Unload The Previous Loaded .swf And Load The New .swf Without Having A Separate Button To Unload

Aug 9, 2008

I am working on a school project that requires me to load external .swf or .jpg files. I currently have all of the buttons working and are loading an external .swf file on to the screen. The problem I am having is that when I go from one button to the next the loaded .swf stays on the screen and the next .swf gets loaded on top of it. I know that I need to unload the file but I am not sure where to put the code for the unload or what code exactly to use. I would like when the button is pressed to unload the previous loaded .swf and load the new .swf without having a separate button to unload.

[Code]...

View 3 Replies

ActionScript 3.0 :: Unload Not Unloading - Unload An External SWF On _root To Load A New One Instead

Jul 23, 2009

I'm trying to unload an external SWF on _root to load a new one instead. I've tried (almost) everything but can't figure it out... I get this error : "Error #1010: A term is undefined and has no properties."

[Code]....

View 3 Replies

ActionScript 3.0 :: Setting The Alpha Of MovieClip With Objects Changes The Alpha Separately For Each Object

Oct 23, 2010

[URL] i want the object to fade out but in the object there's a lot of overlapping pictures and each becomes half transparent. how to make the movieclip to change the alpha as it was without objects?

[Code]....

View 2 Replies

ActionScript 3.0 :: Curious Tip: Flipping Sprite.alpha=0 To Alpha=1 Back And Forth With No Logic?

Dec 15, 2011

just spotted this curious trick. If you want to flip something to go invisible on a click, and then reappear on another click (etc etc), try this:

create the sprite, setting alpha to either to 1 OR -1
mySprite.alpha=1; //OR
mySprite.aplha=-1;

[code]....

View 9 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 :: Create A Page Transition That Will Play A MovieCLip Transition Into A Page?

Apr 23, 2010

I am trying to create a page transition that will play a movieCLip transition into a page. and then it stops then when another button is pressed, it will play that transition out while loading the appropriate one. In the attached FLA, if you click on the red button first, the blue transition plays,

--red button code--
mybutton1.onRelease=function(){
_root.transitionClip.play();
}

and then stops on the stage. When you click the green button second,

--green button code --

mybutton2.onRelease=function(){
_root.transitionClip.play("out");
_root.transitionClip2.play();
}

it works correctly/ Playing out of the blue Transition and into the Red transition. However if I click it again it does the opposite, and just keep alternating.

If I add the

_root.transitionClip2.play("out");

to the first button then, nothing works right. I will eventually have more buttons, and may need to use a variable to control which "out" transitions is played, but how do I get the buttons to do this?I just want it to exit the current movie clip and play the "in" section of the desired clip.

View 16 Replies

Set Alpha For Whole Stage Down But Have 1 Mc Full Alpha?

Aug 2, 2011

I want to do aplpha = .5 for the whole app, but then have a MC display at full alpha, is there any way to do this?

View 6 Replies

ActionScript 2.0 :: Dynamic Text Alpha - Find A Component That Allows Alpha Control With A Dynamic Text Box?

Feb 26, 2005

As far as I know theres in no way to cahnge the alpha of a dynamic text box. I put one in a movie clip and when i try to change the alpha of it everything else in it changes its alpha but the not the DT box. Could someone plz verify for me that u can't change alpha and help me find a component that allows alpha control with a dynamic text box. thx in advance.

View 5 Replies

Get Rid Of Transition Tool?

Jul 13, 2009

I was playing around with the transition tool after reading one of the posts now every time I add an image from the library to the stage it's got the transition tool handles.  How do I get rid of them??

View 3 Replies

Get Rid Of A Hard Transition?

Feb 2, 2009

I have a photo slideshow that is on loop play, with photos fading into one another. Right now, when the video starts over it has a hard transition from the end to the beginning. How can I make the end fade back into the beginning, keeping a smooth transition?

View 1 Replies

ActionScript 2.0 :: Transition Between MC's?

Aug 24, 2005

I have a movie clip playing on a certain level. I have buttons on the stage that load different movie clips on that level. So far it's very easy. loadMovieNum ("name.swf", #);The thing is I don't want a new MC just to replace an old one. I want an old one to have a nice go away transition and only then a new movie clip will load.How to do that, since different movie clips are going to be on that level at different times?

View 4 Replies

ActionScript 2.0 :: Transition Within One Swf?

Mar 17, 2004

is there an action script command that: If you press the button the trigger in the timeline would first show closing animation of that page and the move to a specific frame number?oing from: "About" to "Contact" needs to go from frame 50 to 51 play the movie up to 69 then stop at frame 70 and then jump to specigic frame for contact page which is 280

View 3 Replies

Page Flip Transition?

Apr 17, 2009

Anyone know how to do this 3D page flip transition?When you click the menu it will flip the background before transitioning the new text

View 4 Replies

ActionScript 2.0 :: Slowing Down A Transition?

Oct 13, 2009

i have this slider effect and would like to reduce the transition speed between images, thus the circles take longer time to pass, anyone can help me out?here is the link for downloading the flash file[URL]

View 1 Replies

Transition Flash To A WebPage?

May 1, 2011

I'm using Flash CS4. When a page is opened it plays a 20 second Flash movie. At the end of the movie I want to be able to transition directly to another web page. How do I do it?

View 1 Replies

Fix Transition In Rotating Images?

Nov 28, 2009

how i could make the transition from my last photo to the first photo a more correct transition. maybe my explanation was difficult to understand??  take a look at these two sites(owendawsonphotography.com / owendawsonpga.com) and look at the rotating slide show. when the last image fades out it goes to complete white and the first image comes in at full opacity. I want it to look like the other transitions in the slideshow.

View 1 Replies







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