AS3 Alpha Tween "shimmer"
I've got a working alpha tween in a 31 fps movie clip that fades from 0 to 1.0 over 2 seconds, black background. The images that fade in seem to "shimmer" as if the alpha blend were computed with a low-quality (high speed?) algorithm. Is this normal, and is there a way to smooth out the tween?
Thanks,
Hunter
KirupaForum > Flash > ActionScript 3.0
Posted on: 10-30-2007, 05:51 PM
View Complete Forum Thread with Replies
Sponsored Links:
Seperating Motion Tween From Alpha Tween
I am trying to fade in the alpha on a graphic symbol rather quickly at the same time the symbol scrolls very slowly up the stage, but the two seem linked, so that a very slow scroll means a very slow opacity gain. How can I fade the photo in quickly while the photo motion tweens slowly?
View Replies !
View Related
Alpha Tween?
I tried to explain my problem in several old posts too but didn't get any help or replies.
http://www.istanbuldoors.com/i/right.swf
here is what I tried to say. How can I produce this effect? please help.
__________________
View Replies !
View Related
Alpha Tween
I have three images in jpg format that i would like to know what the best possible way it is to alpha tween them so they "blend"...
Yellow, Red, Black corvette(s) and when user clicks corresponding button it changes the color of the image that is seen.
View Replies !
View Related
Alpha Tween
say I have a tween of a painbrush dot on the first frame of the timeline and a dot on frame 50...how do you make a disappear when the tween plays???
View Replies !
View Related
I Cant Alpha Tween
i feel like its bugged or something, i have a picture for 40 frames and i cant make it fade, when i change the alpha of the last frame it changes the one from the first, its weird.
View Replies !
View Related
Tween Alpha
how to call if (mc.alpha == 0){do something}
it does nothing when i try to use it
Code:
import fl.transitions.*;
import fl.transitions.easing.*;
import flash.display.*;
Tween(mc,alpha,None.easeOut ,1,0,9,true);
if(mc.alpha == 0)
{do something
}
View Replies !
View Related
Alpha Tween
I am having a problem with a tween using alpha settings. I created a text graphic, placed it in a MC, extended it to 150 frames and created a motion tween, setting alpha to 0 in the first frame and 100 on the last. I also set a "go to and play 1" so that it would loop on the last frame.
I inserted this movie clip in the main timeline which only has one frame. when I test it the alpha transition does not happen, I see the full text. I have been going over books and the web trying to figure this out to no avail. Please if anyone can help I would appreciate it. I know its some kind of setting but I cant figure it out.
thanks
Frustrated newbie
View Replies !
View Related
Alpha Tween Help?
Having a problem with the function below:
The alpha tween var tweenAlpha works on the event target clientsSub, fading the menu in from an alpha of 0-100.
However, I can't the alpha tween for var closeWorkAlpha to work.
Trying to get the workSub element to fade out from an alpha of 100-0.
The y tween works fine, just not the alpha tween.
Any suggestions?
I'd greatly appreciate any help.
Thanks!
TGC
function clientMenu(evt:MouseEvent):void {
var tweenMenuY:Tween = new Tween(clientsSub,"y",Regular.easeOut,141,121,1,true);
var tweenAlpha:Tween = new Tween(clientsSub,"alpha",Regular.easeOut,0,100,150,true);
var closeWorkY:Tween = new Tween(workSub,"y",Regular.easeOut,121,327,1,true);
var closeWorkAlpha:Tween = new Tween(workSub,"alpha",Regular.easeOut,100,0,150,true);
}
bClients.addEventListener(MouseEvent.CLICK, clientMenu);
View Replies !
View Related
Alpha Tween
Hi
Have set a roll over condition is setting the alpha to 10 but is not increasing to 100.
any help would be wicked
on (rollOver){
s.setWind(_alpha += 10);
if (s.setWind(_alpha >= 100)) {
s.setWind(_alpha = 100);
}
}
View Replies !
View Related
AS Alpha Tween
I have an array (workArray), when one of the MCs in the array is hovered over, i want it to change from 50% transparency to 80%, then when one is clicked it should change from 80% to 100%. If another is clicked then the one first selected should go back to 50% and the new one selected should go from 80% to 100%
This is my first attempt with arrays, So here is what I have so far
ActionScript Code:
workArray = [t1, t2, t3, t4, t5, t6, t7, t8];this.onEnterFrame = function() { workArray._alpha = 50; }this.workArray.onRollOver = function() { workArray.alphaTo(80);}this.workArray.onRelease = function() { workArray.alphaTo(100);}
None of the above actually seems to be working... Am I using the wrong alpha syntax?
Any help on this would be greatly appreciated
View Replies !
View Related
Alpha Tween Help.
Good day all. I'm after some code for an alpha tween that I can attach to a MC it starts at 100% then fades to 0% stays at 0% for a bit (5 seconds) then fades back to 100%. It will go onto a about 30 small squares 10x10 that cover an image. I don't need the squares to be placed with action script as they are all in the places they need to be.
Can anyone help?
Many thanks "satrop"
View Replies !
View Related
Tween Alpha ?
function homeumMouseOverHandler(ev:MouseEvent):void{
var myTweenAlpha:Tween = new Tween(homeum, "alpha", Strong.easeInOut, 0, 1, 1, true);
}
function homeumMouseOutHandler(ev:MouseEvent):void{
var myTweenAlpha:Tween = new Tween(homeum, "alpha", Strong.easeOut, 0, 1, 1, true);
}
Why this code is not doing the tween alpha when i remove the mouse ?
Can anyone help me?
View Replies !
View Related
Alpha Tween
How can I tween the alpha property of a movieClip? :D
Here is an example:
http://photos.deliciousdays.com/gallery.html
if you press the copyright link and see how it show over the gallery area
...I know how to do that with time line tween animation but I want to learn how can I do that with ActionScript
In this way I can learn new things in every project made :D
Thanks
Paul
View Replies !
View Related
Alpha Tween
does anyone knows what I'm doing wrong here? If you take a look at the last frame inside the button (edit button) you will see that I'm trying to make it tween to that.. from frame 1 to frame 15.
(See Attachment)
View Replies !
View Related
Heat Shimmer
Hi everyone,
I'm new to Flash and I need to show heat shimmer in a flat desert like environment. Does anyone have ideas as how best to illustrate this?
Thanks
View Replies !
View Related
Shimmer Effect
hi, i was just wondering how they get that squiggle to shimmer across the screen when you click on any of the pages other than the homepage on this website www.wearbody.com.au
i also wanted to find out how to achieve a "shimmering" effect across a bitmap, so that it kinda fades unevenly across a picture.
thanks in advance!
View Replies !
View Related
A Shimmer And Loading..
Hey there guys..
I have been having trouble doing a shimmer effect one a piece of text. I have tried to accomplish it several times but i get a completely different effect.. and im always like..
"what the.. ???"
lol..
And problem number 2 is..
a loading bar of some sort. It doesnt neccessarily have to be a complex loading bar. Even if it just says "loading..please wait" that would be fine. But if its possible to have a small "bar" with the "%" with it thats still not too complex.. that would be even better.
So if anyone could help me out.. that would be much appreciative..
Im using flash 5 by the way..
ta..
*****Jakatta******
<--- I didnt do anything.. *evil grin*
View Replies !
View Related
Shimmer Effect?
Hi there, I am attempting to create a shimmer/shine effect in Flash. Essentially, I want a logo to looking like it is shimmering in the light, all the while, revealing the logo (company name). I have tried searching for a tutorial, but I just can't seem to find what I need.
Does anyone have any suggestions?
Much appreciated!
View Replies !
View Related
FADE - TWEEN TO ALPHA 0
I was following the the:
tutorial "Dissolving Words"
by "Derek Boge"
at "http://www.flashkit.com/tutorials/Text_Effects/Dissolvi-Derek_Bo-647/more4.shtml"
which suggests "change the Alpha to 0%".
It seems to work for him but when I go to the mixer and try this one of two things happens:
1) I make the stroke alpha 0, from black and go to the fill alpha to make it 0 and then check the stroke alpha to find it back at 100
2) I can make both alphas 0 (by accident!) but then rgb values go to 1 and will only go back to 1 if I make them all 0.
All that is needed is to fade, from black to nothing, from the first frame of the tween to the last.
It shouldnt be hard, so Im surely missing something basic!
Can someone help out please?!
View Replies !
View Related
Fade In Without Using Alpha & Tween...
I have some images and buttons I need to have fade in from 0 - 100 and I know there is some code to place on the frame in the timeline to cause this to happen.
I don't want to use the tween option as that adds a lot of memory the more times you use it per movie.
Does anyone have the code that I place in to make something fade in from 0 - 100
and then I need a separate one to make it fade back out from 100 - 0 later in the timeframe?
thanks for the help!!!!!!
View Replies !
View Related
Tween Alpha Using Actionscript
this one should be super simple - but i can't figger it ...
i want to do a loooong aplha changer on several symbols from 1 to 100 over about ten seconds - then back again.
I've done it using a motion tween, but this seems to make an otherwise tame little movie into memory gobbling pig.
any thoughts?
cheers - sumsum
View Replies !
View Related
Optimize Alpha Tween?
Yo,
See attached swf:
http:www.missiondesign.net/clients/working.swf
I'm creating a intro page for a site that contains 5 transparent gifs that I've optimized the crap out of. They tween for motion and alpha. It runs fine on my box(1.6ghz; 1gig ram) but very slow on my wife's machine(400mhz) What's best practice for creating this effect and keeping it smooth across *most* processors? Tween(aplha/motion) or seperate MC's for each image or WHAT??????
Thanks for any suggestions
View Replies !
View Related
Actionscripted Alpha Tween?
I have a button and a movie clip. The movie clip has a blue box in it. When I roll over the button I want the blue box in the MC's alpha to fade from 85% to 10% and when I roll out I want it to fade from 10% to 85%. How would I go about doing this with actionscript so it looks like a alpha tween? because when I do it with tweens if you roll over and out of the button fast the MC gets stuck on the wrong alpha.
View Replies !
View Related
Best Alpha Tween Using Actionscript?
I am working on a slide show project that will load external jpegs into movie clips and have them fade in and out of each other.
Unfortunatly the tweening is still really "chunky".
Is there a more efficient way of doing this?
if (fade<100) {
fade += 10;
_root.pic1._alpha = fade;
_root.pic2._alpha = 100-fade;
}
thanks in advanced!
Dave Braunger
braundm@startribune.com
View Replies !
View Related
Alpha Tween Does Not Show Up
Hi,
I have made a movie with multiple timelines.
When i alpha and motion tween towards the end of the timeline the motion tween will show but tha alpha (fade in fade out )doesnt show .
I have spent days on this with not much luck can someone PLEASE help me.
ps
When you view in flash it works fine but when you view the .swf it doesnt ? ? ? ? ? ?
View Replies !
View Related
Alpha Tween With Jpeg
Ok, I imported several jpegs into my movie, and that created symbols for each. I would like to create an alpha tween for each pic...
I inserted pic 1, then went down 20 keyframes, and inserted pic 1 again... How can I make the alpha fade in? I created a motion tween, and then I checked my properties, and I do NOT see an ALPHA setting...
What am I doing wrong??
View Replies !
View Related
Dynamic Alpha Tween
HELP!!! I have a menu that drops down dynamically when you roll over it and i want it to fade as well as drop down.. and fade away when you roll off or on another button... Can anyone help me?
Here is my fla:
http://www.steadyvibe.com/clients/dyn_menu3.fla
Thanks
View Replies !
View Related
Motion Tween With Alpha.
I'm trying to figure out a way to move a clip across the screen while it's fading in and then out. The goal here is to have the text fade in, sustain for about a second and then fade back out all while moving across the screen. Oh yeah, all with an ease out. This last part is what's giving me grief. I can get it to move while fading using four Key frames but when I put the easing in the tweens it make the text jerk everytime it hits a key frame. Thanks for you help!
View Replies !
View Related
Text Box Alpha Tween
OK so I've got the text box just the way I want it. What I'd like it to do now is fade in. Alpha from 0% to 100%. I have no problem doing this with any object except for a text box.
Any ideas?
View Replies !
View Related
Problem With Alpha Tween?
i have some text, that will fade from alpha 0% to 100%, but when i do it, the first keyframe of the tween is always 100% then the second is 0% and it starts to climb from there. Thats bad, why doesnt it make the first frame 0% and start building from there? Ive never had this problem before.
View Replies !
View Related
Alpha Tween With Actionscript
how many times has this been asked I wonder?
I am looking to slowly fade out a movie clip after releasing a button. I assume I use an onEnterFrame function but I am having trouble getting it up and running...
thanx
-j
View Replies !
View Related
Alpha Tween On Scroll Bar
Hi,
I've made a dynamic text box with a scroll bar attached to it. the .swf works fine until I try to put an alpha tween to gradually show the textbox+scrollbar : in the .swf the scroll bar seems to have disappeared ??
View Replies !
View Related
Cteatetextfield In Mc Alpha Tween
Hi can anyone tell me if I create text in an mc using createTextField how to alpha the mc and the text using the tween class?
Inside function
Code:
this.createEmptyMovieClip("welcome_mc", this.getNextHighestDepth());
welcome_mc._alpha = 0;
welcome_mc.createTextField("welcome_txt", this.getNextHighestDepth(), 200, 200, 300, 200);
welcome_mc.welcome_txt.type = "dynamic";
welcome_mc.welcome_txt.text = "Welcome text here";
Tween
Code:
new Tween(welcome_mc, "_alpha", 30, 0, 100, lightsOnFadeLength, false);
if i use the drawing api within the function to draw a simple box the alpha tween works, but if I use createTextField the text does not... why... what did i miss?
been a while since working in flash, and only starting to get my head around AS 2.0, so keep any replys simple please.
Thanks in advance
View Replies !
View Related
Alpha Tween On A A Gray BG
Has anyone else experienced this problem?
http://www.drunkenpublik.com/misc/alpha_fade/
NOTE: look at the center of the screen
When fading a gray object on a gray BG of the same color you can see the shape of the box. I have tried fading it with a tween and script same problem?
Thanks in advance
View Replies !
View Related
Controlling The Tween And Alpha
Please look at the fla.
*I want the mc_1 (the big one) on layer 1 to be visible first and the rest of the mc (mc_a, mc_b, mc_c) to be invisible. Then when i rollOver one of the 3 mc (red ones) with the mouse they will show up. And then when i decide to click one of the red mc it will tween up and the big mc (mc_1) will go alpha=0. And then when i click again on the red mc that was tween up it will tween back and the mc_1 will go to alpha=100.
Please look at the fla.
View Replies !
View Related
[F8] Alpha Tween Problem
motion tween of a symbol that starts at one position, alpha set to 0, and finishes at another position, alpha set to 100%.
previewing on the timeline the tween works fine, but when i export the movie it ignores all alpha settings. tween just moves on full alpha
any ideas?
View Replies !
View Related
[F8] Alpha Tween And Actionscript
hey, i'm working on this project..
and ive got the preloader, and ive got the navigation..
I want to make it look neat, so i wanted the preloader to finish, then disappear fading out.. and i want the whole menu to fade in..
Is there any actionscript that would help me do that?
If its any help, the preloader and the menu are in two different scenes..
Anybody?
View Replies !
View Related
[F8] Motion Tween And Alpha
My animated text is behaving properly, except for the change in alpha. If I click on teh frames in teh tween it shows that its changing but when I play it nothing it only animates, with out the change in alpha.
View Replies !
View Related
Having A Problem With Alpha Tween.
Hello everyone,
I am just having an issue with an alpha tween not working correctly. I am calling a swf into another Flash document and am trying to get the swf that I am calling in to go from an alpha of 0% to 100% (I'm using the tween class to do this). It works fine when I test it locally but when I put it up on to the server it doesn't work totally. If I let it run once and then reload the page after it has cashed the page it works fine. If anyone has any ideas that would be wonderful. Thanks to all!
View Replies !
View Related
Having A Problem With Alpha Tween.
Hello everyone,
I am just having an issue with an alpha tween not working correctly. I am calling a swf into another Flash document and am trying to get the swf that I am calling in to go from an alpha of 0% to 100% (I'm using the tween class to do this). It works fine when I test it locally but when I put it up on to the server it doesn't work totally. If I let it run once and then reload the page after it has cashed the page it works fine. If anyone has any ideas that would be wonderful. Thanks to all!
View Replies !
View Related
Fade Alpha After Tween
Hi 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?
Thanks
Code:
import mx.transitions.Tween;
import mx.transitions.easing.*;
var myHoriTween:Tween = new Tween (fadeLogo,"_x",Back.easeOut,400,100,1.2,true);
myHoriTween.onMotionFinished = function (){
timeOut = setInterval(someSubCode, 5000);
function someSubCode () {
var myAlphaTween:Tween = new Tween (fadeLogo,"_alpha",Regular.easeOut,100, 0,2,true);
};
}
View Replies !
View Related
Alpha Tween Rollover
i need a graphic symbol on the stage to fade in from 0% alpha to 100% alpha AS WELL AS have another graphic symbol fade from 100% alpha to 20% alpha at the same time when a specific button is rolled over. i need the exact opposite to occur on rollOut.
I know how to just make things snap to a different alpha state (this code is IN the button):
on(Rollover){
picture._alpha=100;
otherPicture._=20;
}
but i need them to FADE for 10 frames from one state of opasity to another.
get me?
i got this to work by using the timeline with all sorts of "gotoAndPlays" but if you rollOver and rollOut before the object is done fading, the object "freezes". so, i think that this needs to be done in actionscript for it to really work.
and being that i'm getting $2k for this site, I NEED SOME ANSWERS!!! PLEASE!!!
View Replies !
View Related
Help With Tween Class Alpha
Here is the problem I am having:
I am creating a slideshow made up of famous quotes…so basically static text fields turned into movie clips
I am using the tweenClass and want the text to load…fade in then out…then unload for the next quote to come in…
Here is the code I am using…I cannot get it to come in and then go back out…I think I am missing how long between tweens...
import mx.transitions.Tween;
import mx.transitions.easing.*;
new mx.transitions.Tween(slide1, "_alpha", mx.transitions.easing.Regular.easeOut, 100, 0, 3, true);
new mx.transitions.Tween(slide1, "_alpha", mx.transitions.easing.Regular.easeIn, 0, 100, 5, true);
View Replies !
View Related
|