ActionScript 2.0 :: Alpha A MC With Dynamic Text?
Apr 10, 2005I wonder if i could alpha a MC with dynamic text...it doesn't work.
View 9 RepliesI wonder if i could alpha a MC with dynamic text...it doesn't work.
View 9 RepliesAs 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 RepliesHow to apply alpha rpoperty for dynamic text.
View 1 RepliesI've got a movieClip containing a background and 3 dynamic text inputs, that I'm trying to tween via the tween class.When I apply the alpha tween, the background within the movieClip does fade to 0 like it should, but the dynamic text inputs do NOT.I was wondering if anyone could explain how I could get this working, so that an alpha tween to a movieClip also alpha tween everything within it. It was my understanding that the point of putting things into a movieClip was so that you didn't have to apply to each element of the movieClip.
View 2 RepliesMovie clips containing dynamic text fields do not fade properly when _alpha is modified by AS. The text doesnt fade, but appears 100% at all alpha levels.
View 1 RepliesI have some text which was set up with an alpha fade-in motion tween (0-100%) and worked fine until the text was made dynamicaly loaded from a text file and variable. Now it still shows the fade-in in work mode, but during play it just pops directly to the final 100% state.
View 6 RepliesAs far as I know theres in no way to change 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. can't change alpha and find a component that allows alpha control with a dynamic text box.
View 5 RepliesI have a grid of animated dynamic text boxes that are being pushed in from an array. This works great. I was wondering if it possible to have those randomly bolded? If that is not possible, than could their alpha's be random but not any lower than 50%. I know AS3 does 0-1 but how would you force it to not be lower than a certain number?
PHP Code:
import fl.transitions.Tween;import fl.transitions.easing.*;import fl.transitions.TweenEvent;var myArray:Array=["Person1","Per2","theLongerPerson3","Person4","p5","p6","People1","Peep2","theLong
[Code]......
I have generated several TextFields dynamically through a for loop. I would like all the text fields to have their alpha set to 0 so that each field can eventually fade in.
When I apply the alpha property by setting it to 0, or even .5 the text appears to still be at an alpha of 1. Does anyone know how to make the text appear with a low to 0 alpha?
I have attached the code from the function which runs the for loop to generate the text fields. Please not that the value of the text fields are stored in a global array, and the text format objects are also global and are declared in the main body of the class.
I'm trying to make three text boxes each inside its own movie.Then I want them to each fade in.. not at the same time.. but like.. movie one starts fading in.. a few seconds later the second starts fading in.I've been working this code around but I'm having trouble with it.If I set it to embed fonts the text doesn't display.I also can't make the dynamically stuff be set to an alpha property.[code]
View 1 RepliesI've been making a game in ActionScript 2.0 Flash CS3. Now I want to be able to display my characters alpha using dynamic text. The instance name for the character is char and the Var for the dynamic text is alpha. I want to be able to display the characters alpha and ALSO the characters current alpha in other levels for example.
Variable for lives in level 1:
_root.lives = 5;
Variable for lives in level 2:
_root.currentlives = lives;
I want to be able to do the exact thing but display the 'char' alpha instead.
if i made a text field in as 3. like
var blah:TextField = new TextField();
blah.text = "hi ya";
addChild(blah);
then i used a tween class and tried to alpha it out (fade out) it doesn't alpha out that text field.
I am having problems with the _alpha property of dynamic masks. For some reason they don't seem to accept it. I have a holder mc that I use as a mask and the holder is full of dynamic mcs for which I would like to set apha properties. My code is:
[Code]...
i have a problem with the line space flash creates when a dynamic text is loaded in a dynamic text field on the stage i put a dynamic textFild with istance name "profile_text". then im loadin in it a text. my text is written in the Notepad like this
[Code]...
i already set a Textformat to my dynamic text with i tryied to play with the "Leading".. but i think it something dealing with paragraph. how i can decrease spacing between paragraphs??
All I want to do is add text from my string to dynamic text field when I click dynamic buttons. What should the as code be for this? Here is my code. Right now I just have the click returning another shape.
[Code]....
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]...
I am having problems with the _alpha property of dynamic masks. For some reason they don't seem to accept it. I have a holder mc that I use as a mask and the holder is full of dynamic mcs for which I would like to set alpha properties.
My code is:
_root.createEmptyMovieClip('holder',_root.getNextHighestDepth());
function init() {
for (i=0; i<100; i++) {
holder.attachMovie("msk","msk"+i,i,{_xscale:0, _yscale:0});
_root.holder['msk'+i]._x = (550*Math.random());
_root.holder['msk'+i]._y = (380*Math.random());
Im using the code bellow to draw a line:
Code:
createEmptyMovieClip("line",1);
line.lineStyle(2,0xFFFFFF,100);
line.moveTo(0,0);
line.lineTo(100,100);
How can I make the line to tween, from alpha 0 to 100 using AS2? I Tried TweenMax on "line" movieclip but it does not work.
Is it possible to make a dynamic textfield's background color alpha set to .5 and not affect the alpha of the text?
View 3 RepliesI would like to create a dynamic 3 layer image that can have any of the 3 layers changed. i was thinking of doing this with alpha mapping where I have a back, middle, and front layer each defined by an alpha map. So if the style or shape of these changed I just render the texture with a new alpha map to define what portion actually takes the texture. So for each of the 3 layers there is a type(defines the shape), the texture which is applied to the shape, and an alpha map that is used to specify how the shape takes the image.
Imagine a fruit basket that can have the fruit switched out or the basket, and any combination of textures applied. You could potentially see the inside of the basket which may have a different texture than the outside. The fruit would all be one image that would then fit into the basket, and finally the basket would render. Then if you swap the color of the basket but keep the same model it would update, and you could then swap the model of the basket and keep the same color. But i'd want to do it where I have 1 texture that can fit over all the baskets but is just chopped off using alpha mapping.
Below is the code for dynamic image gallery from XML.
We have an alpha effect to the image animation when the image is loading. The affect is working fine (fade in).
But, when the next image is loading, we want fade out alpha affect to the current image before the next image loads.
delay = 6000;
//-----------------------
function loadXML(loaded) {
if (loaded) {
[Code].....
I am using flash to create an animation where text, once converted into a movieclip or a button, fades at a certain point. To do this I am using the text tool and converting the text into a movieclip.
I am trying to make the text fade away by using the alpha property, but the preview will never adjust the movieclips alpha value. I've tried embedding the font and linking it but it still just doesn't work.
I converted a static text field to a mc then thirty frames later inserted a keyframe and droped the mc's alpha to zero.. then created a motion tween between the keyframes... yet for some reason the text isnt fading when I test the movie... it works fine in the flash authoring environment as you click through the frames but it doesnt in the test movie mode.. any suggestions? ( i broke the text apart down to shapes and it worked fine, but that of course will cause indexing problems for content with google so this really isnt an option)
View 1 Repliesi'd like to make an effect with "alpha", but when i'm using a particular class to set the scrollbar on my text, the text does not respond to my alpha. You'll see that the text does not respond to the alpha 0 at the beginning of the tween.
Here's my code in the fla that imports another class, which imports the scrollbar class ;-) :
import com.greensock.*;
import com.greensock.easing.*;
var loader:Loader = new Loader;
var url:URLRequest = new URLRequest("Rhizo.swf");
[Code].....
I have imported an object "DD_dropdown_clip" from the stage with this code:
[Code]...
The object is a black field. The fn "setup" writes text on this field. The problem with the code commented out is that it changes the alpha of both the black field and the text, whereas I simply want to change the alpha of the black field. How can I do this? Can I do it in the IDE?
We need to show transparency (around 70%) in the text in textarea and other components in Flex 3.5 SDK. I checked up and found these: I could use an embeded font (only ttf) and make it transparent. Now as per client requirement we have to use different sizes of Verdana only. Even If I download Verdana font in ttf format then how will I make it transparent? Using gradient boxes around the text - I found a link but this seems a heavy procedure.
View 2 RepliesI have a slight issue with a dynamically created text field I have. Basically I have a movieclip already on stage, and within it, using actionscript I create a text field in itAll that works, however when I animate the alpha of the parent movieclip from 0 to 100, the text field is always there, it never fades in. It looks wierd too, like the movielip will fade in, but the text will be there already without the fade, even though that textfield is inside the moveliphere's my code;
var my_fmt:TextFormat = new TextFormat();
my_fmt.font = new TitleFont().fontName;
my_fmt.color = 0xFFFFFF;
[code].....
I have run into this problem multiple times and never been able to find an answer, but this time rather than doing a work around, I wanted to try once-and-for-all to see if anyone has an answer.With actionscript I'm creating a new movieclip, then having that movieclip create a text field. I'm populating this text field with content pulled from an XML file, and also controlling its color, size, ect. with the same XLM document.I'm trying to set its alpha to 0, then have Tweener tween it in to 100, but have never been successful.Has anyone run into this and found a way to do it?
View 10 RepliesI'm making an interface with quite a few dynamically generated instances of the Button component. I'm trying to animate the buttons' alpha. The graphical elements in the buttons change alpha as expected, but the text label does not. I thought this issue would be fixed simply by using setStyle() to specify an embedded font, but even with an embedded font I cannot alter the alpha.
View 1 Replies[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]....