Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




How To Make An Effect With Text In Alpha



Hi:
I was making a preloader, and everything went well.
The preloader is really easy, a logo that appears from the bottom, and a pair of texts. Te first one is a text with the "loaded" string. I put the alpha of this text with the AS according to the percent of loaded.
The problem became when I wanted to make the same effect with the other text, the one who has the percent loaded amount.
Here is the code.


Quote:




_root.preloader_mc.percent_txt._alpha=20+valueAlpha;




The valueAlpha changes between 0 and 100.

Thank you,



ActionScript.org Forums > ActionScript Forums Group > ActionScript 2.0
Posted on: 08-28-2006, 02:44 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Alpha Effect On Dynamically Loaded Text
Greetings,

I am working with Flash MX 2004, Coldfusion and mysql. I am dynamically loading data from coldfusion into textareas in flash. Now, I want to load new data in same textarea. I need a fading/blurring effect to mingle between these two data packets.

I am new to AS and hence would appreciate if i get a step by step description of the same.

Also, I need to sound a beep after 6 seconds of loading of the flash/swf file. please help me with this too.

Thank You,
Jignesh Gautam Acharya

Alpha Effect On Dynamically Loaded Text
Greetings,

I am working with Flash MX 2004, Coldfusion and mysql. I am dynamically loading data from coldfusion into textareas in flash. Now, I want to load new data in same textarea. I need a fading/blurring effect to mingle between these two data packets.

I am new to AS and hence would appreciate if i get a step by step description of the same.

Also, I need to sound a beep after 6 seconds of loading of the flash/swf file. please help me with this too.

Thank You,
Jignesh Gautam Acharya

Flash 8 Alpha Text Effect - Doesnt Show In SWF
Hello all,

So I made some small SWFs with the alpha level of text changing(tweened) to create some fading. Whenever I "preview" it in flash, it looks fine, but once I export it to an SWF, it doesnt show correctly....the alpha goes from 10% to 100% in one frame, with nothing for all the rest of the frames...
I tried converting the text into a symbol and tried to alpha blend that, same results...
Anyone have any ideas?

Unable To Make Alpha Change For Customizable Text
Here is the problem I encounter. While I am able to pass variables from the HTML code FlashVars into flash movie to customize a header name, its color and font size etc, I have problem making it animated well. I am using Flash MX 2004 Pro, and I use a Label component to carry the variables, and able to make the label move, change size, but when I try to change its alpha during tweening, nothing happens. I also try to put the label in a movie clip then apply the tweening, nothing new happens. I appreciate any suggestions that may help.

AlphaSunny
www.alphatrade.com

How To Make This Text Effect ?
hi all,
can anybody tell me how to make this text effect//////
its in
http://www.max.co.il/interactive.html when u click......
protfoilo......the random characters come & they form portfolio..
can anyone tell me the idea how its done...
thanks for helping.....
amrapali

How To Make These Text Effect ?
I'm just a benginner on using Flash. How to make text effects like the attachment file I enclosed. ?

How To Make A Text Effect Like This?
hi guys, a noob here.

could any of you teach me how to do this kinda text effect?

link

-something simple like that. any tutorial links?

well, it's been awhile i touched flash, so i'm basically a noob. i'm making a small movie, and my texts are very choppy compared to that movie. is there anyway i can make things smooth?

sample

-text aren't crisp enough for me. i'm gonna have molecules clearing up her face.


well, thanks in advance!

joe

How To Make This Text Effect
http://www.group94.com/


When the site is loaded, news section is selected automatically. the way the text is loaded into news section is really cool . does anyone know how it is done?

Thanks in advance!!

How To Make This Text Effect
http://www.group94.com/


When the site is loaded, news section is selected automatically. the way the text is loaded into news section is really cool . does anyone know how it is done?

Thanks in advance!!

How Can I Make A Text Effect To Run Faster?
I attach this file, cause' i don't know how to make this text effect to go faster, if u know anyway that i can do it pls explained to me, thanks....i'm new in this how u can see ;-)

[AS3] How To Make Typewriter Text Effect?
I am trying to make a function where if i pass a text, it displays it with a typewriter effect! I really have no idea how to do it to be flexible enough to use with various dynamic textboxes, but thats for later, for now can any of you tell me how do i get the "blinking cursor" thing? Normally i can use a timer to append text to the box, but how do i get the blinking cursor at the end of that text being typed?


Also if you dont mind can you tell me if there is any way to pass the textbox id as a parameter to the function?

How To Make A Fade In/out Effect At The Top And Bottom Of A Text Box?
I want to add a fade effect at the top and the bottom of a text box (those with a scroll bar beside it), so that when i drag the slider/scroll bar down the words (or the information) will fade in at the bottom of the box and also the things will fade out at the top of the box, can somebody helo me plz !!!!!
Thank you !!!!!

Here is wat im talking about, click the link
http://www.motiongerm.com/main.html
u will see there are two text box, one is the [news], the a nother one is [my story]. When u drag down the slider which is at the right hand side of the text box, u can see the words/text/information is fading out from the bottom, that what i want to make (the effect) !!!!!!


by Ryan...

How To Make A Fade In/out Effect At The Top And Bottom Of A Text Box?
I want to add a fade effect at the top and the bottom of a text box (those with a scroll bar beside it), so that when i drag the slider/scroll bar down the words (or the information) will fade in at the bottom of the box and also the things will fade out at the top of the box, can somebody helo me plz !!!!!
Thank you !!!!!

Here is wat im talking about, click the link
http://www.motiongerm.com/main.html
u will see there are two text box, one is the [news], the a nother one is [my story]. When u drag down the slider which is at the right hand side of the text box, u can see the words/text/information is fading out from the bottom, that what i want to make (the effect) !!!!!!


by Ryan...

Text Inside Symbol Doesnt Obey "ALPHA" Effect
Hey,
Im working with flash, and i've got some text inside a symbol, but the problem is, when i try to animate the symbol to go to, for example Alpha 0% to 100%, it doesnt obey that, and just from one frame to another goes from "Invisible" to "visible", when i made it turn from alpha 0 to 100 through 30 frames.

Go to: http://www.elcardesign.com/text.png

Translations:
Static Text
Font size = 11.5 not ".5"
"Automatic Adjust" = Activated

These are my text properties, the text is in a symbol.
My alpha use to work, untill i activated the button i highlited in RED (Donno what its called in english), which makes the text look very fine, instead of a bunch of pixels. Once i activated this, the alpha doesnt work. What's wrong?
Any suggestions/solutions?

Thanks.

How Can I Make A Button Go From Alpha 0 To Alpha 100
i wanna create a rollover button

i made the before and after pngs in PS
and i want to put the image that will appear over the original image with an alpha of 0 and when i roll over it the alpha to turn to 100 so it looks like the fade in


how do i change a graphic alpha ?

how can i do this please help

How Would I Make A Line Break In This Text Effect? Should Be Easy To Answer I Hope.
I am using this text effect found at the site trying to learn the ins and outs of this form of actionscripting only thing I CANNOT figure out how to do is make a linebreak so I
can have like

"this line blah blah blha
this line blah blah blah.

all come in in order of the sentences. I will include the flash for anyone who will help.

Thanks a ton.

There may also be 50 dollars in it for anyone who can help me out before friday.

here is a link to the flash file. http://www.sinpulse.com/roll.zip

HELP About Alpha Effect/ Tint Effect
please go to this link to download my file first:
http://www.geocities.com/linhm01/help.fla






I am doing on a project by doing a flash and now I am having a big big problem that I have no idea how to deal with. I hope someone here can help me.

Let me tell you what do I expect to see in my flash first.

I seperated some objects (ie. trees, recycle bin, light) by turning them into buttons. For each botton, later I would like to have some descriptions nearby.

I would like when people "mouseover" a button, everything (except the button) will be alpha or tint. That is to let people concentrate on the object that their mouses are over on.

I have made three buttons with the same alpha/tint effect in the .swf file attached. They are (trees), (light), and the (recycle bins).

Here are the procedures:
1: I made the trees into one button, and add effect

2: I made the light into one button, and add effect

3: I made the recycle bins into one button and add effect




but the outcome is that:

when i mouseover the tree: (i made this button 1st)


it turns out that all the buttons (3 buttons) can be seen clearly, while i expect that only TREE can be seen clearly and all others (including the buttons= recycle bins and the light) should be covered with "alpha" effect.

when i mouseover the light: (i made this button 2nd)

it turns out that 2 buttons can be seen clearly (while the 1st button i made, tree, is with alpha effect)

when i mouseover the recycle bin: (i made this button the last)

it is what i expected. that all buttons and everything are with alpha effect, except the recycle bin




i hope someone here can tell me the solution to solve it, thank you very much.

How To Do This Alpha Effect?
Go here
http://www.rtrtechnology.com/flash.htm

If you click on one of the buttons up at the top ("company", "solutions", etc), you can see the special FX that I'm wondering about. It's obviously not a jpg movie. To think that he did this manually by creating individual pngs just doesn't seem to make sense either. Is there a way to create this using programs such as AfterFX or something? I don't get how he made it so that it's got alpha channels. Like at the top part, as the fx is playing, the background isn't covered up.

Set Alpha Effect In Do While?
Hi, I've got a Clip and I'd like to set alpha to 100 to 0 but with nice effect....how to do this in a function???
Example :

myclip._alpha = 100;
do
{
myclip._alpha--;
}
while (myclip._alpha != 0);

The pb is it's too fast...how to do it please??????

Using Alpha Effect
Im trying to fade text in using the alpha effect tool from one key frame to another. I have set up the first frame with a movie clip containing text set at 0% and set up a second frame further down the timeline with the alpha effect set at 100%. I then added the tween effect to create the fading in of the text. When i move the timeline along on the stage the effect works perfectly. However, when i publish and test the movie as an swf the effect doesnt work. I am left with the text just popping on to the screen as opposed to fading on. Any ideas whats going on?

Thankyou. :)

Alpha Effect
Hi there,

I am trying to create an alpha effect with the graphic going from 0% to 100% then back to 0% over 10 frames. I converted it to a Movie Clip, there first frame is fine because there are the options of choosing the alpha effect which i put down to 0% but when i go to frame 5 there are no options to put it back to 100%, does anyone know what i'm doing wrong with this? I'm using Flash MX.

Any help would me much apprecited.

Alpha Effect
When i use and alpha effect in in external movie it doesnt seem to work its there any cure for this?

Mask+alpha Effect
Hi,
got one more for today,
i am attempting to make a mask for my animation, that fades out at on side. in the moment i am only able to to make a mask wich is one solid block ,the alpha effect does not seem to be the answer to my problem....
could anybody give me some advise?

thanx for taking the time to read

seuchenhexe

Great Alpha Effect
hey out there,

look at http://www.schmidtfoto.de

it has a nice alpha / whatever effect when the pictures are
being displayed. anyone knows how to do this?

nice site by the way too!!

thanks for your help

Ho To Do An Actionscript Alpha Effect
i had a lot of squares, and i need do an alpha effect with follow way:

when i put the mouse over the square, the alpha grows from 50% to 100% and when the mouse rollover it decrease from 100% to 50%...i try do that with this script...but thst´s dont work:

// controle alpha --------------------------
esse.onRollOver = function () {
clearInterval(aparece);
setInterval( some, "interval", 50 );
}
esse.onRollOut = function () {
clearInterval(some);
setInterval( some, "interval", 50 );
}

//--------------------------------------------
function over(qual){
setInterval( some, 50);
}

some = new Object();
some.interval = function() {
_root.esse._alpha -=10;
}

//----------------------------------------------

function out(qual){
setInterval( aparece, 50);
}

some = new Object();
some.interval = function() {
_root.esse._alpha -=10;
}


ideas please!!!!!

[F8] Alpha Effect And Nested MC's
Hello. I have yet another newbie question with actionscript.

Inside one MC, I have a series of other MC's such as a "news", "bio", etc. I would like all my MC's to start of with an alpha value around 20. Then when you rollover the MC it increases to 100 alpha.

I achieved this with mc.alphaTo but I am having a problem. Within the news MC, I have a nest scroller. When the alpha script is applied it disables the scroller.

How can I get this effect and still keep the nested items usable?


Thanks!
Jordan

Alpha Effect For Gallery?
Hi,

I'd like to accomplish the following effect without using levels or tweens on the timeline. I've attached a file with no actionscript, just the layoutand the clips.

Basically...

My gallery has three buttons and three movie clips. When you go to the gallery, the first image is visible. If you click on either the second, third or fourth button the first image fades out and the movie clip that corresponds to the button fades in.

Basically the button needs to know to do the following:

1. Fade in the MC associated with the movie to 100%

2. Fade out whichever movie clip is currently visible.

Any takers???


Cheers!

Jenny

Alpha Effect On Buttons?
Hi I'd like to know how to get a button to have its alpha increase gradually on rollover and then decrease back to its orignal alpha on roll out. I've tried google found 1 tutorial but it was very short and I could not apply it to my button. Has anyone made this effect before? How?

Thanks,
Apoc.

Alpha Effect: Problems...
when I use Alpha effect on symbol, and then I create a movement interpolation, I see this effect scrolling time line but, then I publish the file, the effect disappears...why? I use this effect a lot and now I can't use it...please, help me!

How Can We Do This Kind Of Alpha Effect
hi all,

I saw this small animation on a web template and would like to know how can we achieve such kind of alpha effect. It looks a little different from the normal alpha effect. Have a look at :

http://www.templatemonster.com/flash...ates/8480.html

In the website check the paper and clip on the right hand side and when it will load, it will load with a alpha effect, I want to know about that effect. If someone can tell us about it.

Regards,
Xeeschan

What Is This Effect It Isnt Alpha
I have seen this effect on a template and decoded it with Sothink SWF Quicker there is an effect which I could not solve.

I have posted the original picture, the timeline and the effect of the picture frame by frame

Here is the URL : http://www.terzzi.com/abus/AboutEffect

Here is the SWF : http://www.terzzi.com/abus/AboutEffect/9010.swf

In the first part there is an alpha effect but i couldnt solve the second effect. Anybody help?

MC's Not Functional With Alpha Effect
Just so you know, I am very much a newbie to flash.. but you can probably tell by my questions...


Anyway, I have a series of nested movieclips that on rollOver they come to full alpha value and on rollout they go to like 20 alpha. In one of the clips it has a scroller but when I apply the alpha effect it makes the scrollbar not functional.

How can I make an alpha effect like this with making everything inside the MC functional?


I was using this type of code by the way: my_mc.alphaTo(20,1);


Thanks
Jordan

Alpha Effect: Problems...
when I use Alpha effect on symbol, and then I create a movement interpolation, I see this effect scrolling time line but, then I publish the file, the effect disappears...why? I use this effect a lot and now I can't use it...please, help me!

A Particular Effect, Bitmap Alpha
what im looking to do is, using a bitmap, use the colour of each pixel to define its own alpha value,

to give you a better idea of the effect, im looking to have a cloud image pass over a logo, obviously you can see through some of the cloud and not oher bits, any suggestions ? or will i have to use multiply cloud layers and mock up an effect ?, thanks

Set Alpha Property With Fading Effect
Hi

I am just wondering if it possible to set the alpha property of a movie clip from 100% to 0% but gradually with a fading effect

thanks in advance

julien

Slowly Increasing Alpha Effect
What i am trying to do is when a botton is clicked, it will sent a movie instance to another frame and stop. where it stops i have another movie that is 100 layers and 1 frame. on that movie i am trying to get it to loop and display a slowly insreasing alpha effect. this is the code i have and im not sure what im doing wrong.

onClipEvent (load) {
setProperty (this, _alpha, 0);
i = 0
z = 0
}
onClipEvent (enterFrame) {
do {
z = 0
a = random(5);
i = i+a;
if (i>100) {
i = 100;
}
setProperty (this, _alpha, i);
do{
z++
} while (z<1000)
}while (i<100);
}
this code only seems to display the movie when its at 100% alpha. any help would be greatly appreciated.

thanks

Alpha Cross Fade Effect
does anyone know where I can find a tutorial to learn how to do this one cross blending alpha fade effect, like the one this guy has http://hexvector.lux.ms/main.html on his little bars.. the way they fade up and down, instead of fading in and out

Alpha Settings / Multiply Effect
Hello All

I am working on a project where I need to have the vector art that moves around "multiply" when It moves over the artwork below it.

I can adjust the Alpha settings to create show thru but it seems to lighten the top object. I need to see the effect of the bottom colour and the top colour "multiplying" (as if the layer was set to multiply in a Photoshop document).

Any ideas on how to get a true multiply effect to work inside Flash MX?

I have uploaded a sample page to show the ideas to the following address (more details on this page):

http://www.disktop.ca/alpha/test.html

MC Movement With Alpha Effect. FMX2004
Hello.

I wish to include an animation effect to a new flash project and I don't know how to do it. What I want to do is that at the same time a Movie Clip is moving from left to right it's alpha value gets incremented from 0 to 70. What I really need is that the alpha transitions were synchronized with the movement of the Movie Clip. I will appreciate any help, because I'm lost here.

I'm using Flash MX 2004.

Thanks in advance.

Alpha Effect And Nested MC Problem
Hello. I have yet another newbie question with actionscript.

Inside one MC, I have a series of other MC's such as a "news", "bio", etc. I would like all my MC's to start of with an alpha value around 20. Then when you rollover the MC it increases to 100 alpha.

I achieved this with mc.alphaTo but I am having a problem. Within the news MC, I have a nest scroller. When the alpha script is applied it disables the scroller.

How can I get this effect and still keep the nested items usable?


Thanks!
Jordan

How Do I Add Alpha Effect To Shape Tween?
Hi
I have made a short animation using the shape tween and shape hint effects, however i want to add an
alpha tween to it, how can I do this please?

Making A Random Alpha Effect 0-100%
Hey Kirupa people!!! Whats up!! id like to thank all of the people who helped me with the lemmings movement! I now have a new question at hand!!


I have a lightpost and i want the light on the post to randomly turn on and off the name of the glow is g_glow so how would i be able to do this??? (i want the alpha to go 0% - 100% randomly)

Photo Gallery Alpha Effect Using AS2
Hi All,

I am new to AS2.

I am created a photogallery page using XML and AS2.
an I am got effect. but have some problems. i.e. Its displays 1st image with alpha effect. andafter that it diplays 2nd image.

But , when diplaying 2nd image the 1st image is disappier suddenly. so I dont want that.
I want to disappier the 1st image with alpha effect. and after that want to display the 2nd image with alpha effect.

=============
This is My code

====

function loadXML(loaded)
{
if (loaded)
{
var _loc2 = this.firstChild;
image = [];
caption = [];
total = _loc2.childNodes.length;
for (i = 0; i < total; i++)
{
image[i] = _loc2.childNodes[i].childNodes[0].firstChild.nodeValue;
caption[i] = _loc2.childNodes[i].childNodes[1].firstChild.nodeValue;
} // end of for
p = total;
slideshow();
}
else
{
content = "file not loaded!";
} // end else if
false;
} // End of the function
function doLoading()
{
var _loc2 = picture.getBytesTotal();
var _loc3 = picture.getBytesLoaded();
preloader._visible = true;
if (_loc3 != _loc2)
{
preloader.preload_bar._xscale = 100 * _loc3 / _loc2;
}
else
{
preloader._visible = false;
if (picture._alpha < 100)
{
picture._alpha = picture._alpha + 10;
}
else
{
delete this.onEnterFrame;
} // end else if
} // end else if
} // End of the function
function showPic()
{
caption_txt.text = caption[p];
picture._alpha = 0;
picture.loadMovie("images/" + image[p], 1);
this.onEnterFrame = doLoading;
} // End of the function

function nextImage()
{
p = p < total - 1 ? (p + 1) : (p);
showPic(p);
if (playState)
{
clearInterval(myInterval);
myInterval = setInterval(slideshow, 4000);
} // end if
} // End of the function
function prevImage()
{
p = p > 0 ? (p - 1) : (p);
showPic(p);
if (playState)
{
clearInterval(myInterval);
myInterval = setInterval(slideshow, 4000);
} // end if
} // End of the function
function slideshow()
{
clearInterval(myInterval);
p = ++p >= total ? (0) : (p);
showPic(p);
myInterval = setInterval(slideshow, 4000);
} // End of the function
function nextImage()
{
p = p < total - 1 ? (p + 1) : (0);
showPic(p);
if (playState)
{
clearInterval(myInterval);
myInterval = setInterval(slideshow, 4000);
} // end if
} // End of the function
function prevImage()
{
p = p > 0 ? (p - 1) : (total - 1);
showPic(p);
if (playState)
{
clearInterval(myInterval);
myInterval = setInterval(slideshow, 4000);
} // end if
} // End of the function
stop ();
var myInterval = null;
var playState = true;
var image = new Array();
var caption = new Array();
var total = 0;
var p = 0;
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load("jalan_merlimau_imgs.xml");
listen = new Object();
listen.onKeyDown = function ()
{
if (Key.getCode() == 37)
{
prevImage();
}
else if (Key.getCode() == 39)
{
nextImage();
} // end else if
};
Key.addListener(listen);
previous_btn.onRelease = function ()
{
prevImage();
};
next_btn.onRelease = function ()
{
nextImage();
};
btn_mc.gotoAndStop(playState);
btn_mc.onRelease = function ()
{
clearInterval(myInterval);
playState = !playState;
this.gotoAndStop(playState);
if (playState)
{
slideshow();
} // end if
};


=======================

Thanks,
Gopi.

Problem With Alpha Effect Flash MX
Hi,

I'm trying to get the Alpha Effect for a fade in on a Motion Tween of a JPEG image to work in Flash MX but it won't let me. All I would do in Flash 5 is set the first keyframe to Alpha=0 and the last to Alpha=100. However in Flash MX the effect pulldown is greyed-out no matter what I try.

I've got everything setup as I would in Flash 5 but when I go to change the alpha it won't let me.

What am I doing wrong?

How To Make A MC Disappear Progressively (alpha From 100% To 0%)
can somebody show me how to make a movieclip disappear progressively, as in a fade out, with actionscritpt please? thanks

Need Actionscript To Make Mouse Alpha 0
If anyone has it, please and thanks, seriousy apprecieate this.

How Do I Make A Fade In Using Actionscript (I Mean With Alpha)?
Does anyone know how to make a alpha fade in of a movieclip using actionscript? I'm in need of a script for that... I've never worked with controling alpha with the help of actionscript before... Thanx in advance for any help.

Niklas

Make A Mc Alpha Go Up And Down And Control Speed
Hello i posted another tread but i will rephrase my self with this one.

How can you set a start alpha point for a MC then make it go up and down within a definable range and also set the speed of going up and down with action script????????

your input would be very valuable on this one
thanks alot.

Creating An Alpha Effect On A Button..am I Missing Something?
For some odd reason when I apply an alpha of say 30% on a button that only consists of text, it does not seem to take effect in preview mode even though it shows up while editing the movie? Is there a step I'm missing??

Thanks.

Copyright © 2005-08 www.BigResource.com, All rights reserved