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


Similar Posts:


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 3.0 :: Can't Get Any Alpha Other Than Full Opaque To Work?

Nov 5, 2009

This is really stupid.. But I can't get any DisplayObjects to take an alpha setting.. They remain full opaque no matter what- if I set alpha=.5, 0.0, etc. I'm using Sprites, but I've tried with TextFields and a couple other things.. Is there any setting, or anything about the containing object that would prevent me from setting alpha? I am really confused on this.

Code:
subItemHolder=new Sprite( );
subItemHolder.alpha=.50; //Remains fully opaque

[code]....

View 4 Replies

IDE :: Alpha Not Easing - It Fades And Then Sometimes Returns To Full Opacity

Mar 1, 2010

I'm new to Flash and I am having trouble getting this alpha tween to work correctly. It fades and then sometimes returns to full opacity. If I keep clicking the button it will eventually ease out and stay transparent.

var myalphaTweencornerout:Tween = new Tween(corner_btn, "alpha", Regular.easeOut, corner_btn.alpha, 0, 1, true);

View 7 Replies

ActionScript 2.0 :: Full Screen Alpha Fade (lightbox Style)?

Jan 21, 2010

Decided to join the forum after not finding anything on the internet. Im fairly new to AS2 so go easy on me Basically i want to re-create a lightbox effect where the rest of the browser window other than the image is faded to say a grey color once the image thumbnail has been clicked.

View 0 Replies

ActionScript 3.0 :: Use Alpha On The Whole Stage?

Aug 21, 2010

Can I fade out every single object at the stage with some code?

something like
ActionScript Code:
stage.alpha = 0;

View 6 Replies

ActionScript 3.0 :: Change Alpha Of Mc On Stage With XML?

Nov 5, 2009

Let me try to explain what I'm doing. I have multiple movieClips (mc_aitkin, mc_anoka, there will be a lot more) on the stage that I want to change their alpha using data from an xml when it loads. I can isolate the info I want and trace it so it shows in output, but I'm not sure how to use it from there.

I've tried to convert the xml data to a number and do an if/else as shown below, but the only output I get is "not" (from a trace). So I'm guessing the if/else isn't recognizing the xml data as a number?

If I can resolve that, the next step will be to apply this function to the large number of mc's I'll have on the stage. Would that be with something like e.currentTarget.alpha = .5; ?? I don't think I can put it in the same changeAlpha function because there the property of 'e' would be undefined.[code]...

View 8 Replies

ActionScript 3.0 :: Set The Alpha Of A Component Physically Placed On The Stage?

Feb 28, 2010

I am trying to access a button that has been added to the stage to change it's alpha value.I'm changing it from inside an object that is also on the stage.So I thought this.parent.feed_btn.alpha=0 would work but flash is saying:1119: Access of possibly undefined property feed_btn through a reference with static type flash.display:DisplayObjectContainer.I would actually prefer to remove it, but removeChild threw up the same error.

View 8 Replies

Professional :: Repositioning An Alpha Tween From The Stage?

Jul 6, 2010

attempting to reposition an alpha tween on the stage.
 
i'd like to do this without creating another keyframe that changes the position of the alpha tween.

View 8 Replies

ActionScript 3.0 :: Draw A Rectangle On The Stage With 40% Alpha?

Oct 5, 2009

How would I draw a rectangle on the stage with 40% alpha? using bitmaps, bitmapdata, and copypixels?

View 2 Replies

ActionScript 3.0 :: Setting Alpha On Clip Already On Stage

Jan 7, 2011

If I have a clip already on the stage. how can I go about having code to set the alpha = 0 so that the clip is default invisible. If I set the alpha in the class constructor it gets reset to what its set on the stage. I tried to use the Event.ADDED event since that gets dispatched before rendering too (I think). I mean If I don't have any choice then I'll just set it to 0 manually . Just was hoping to have the capability to set it in code. So that I can still see the clips on the stage just to make it easy for moving them around if I needed to. Where I need to set the alpha so that it takes effect 'after' the default values get applied..

View 9 Replies

ActionScript 3.0 :: TextField Alpha Is Wrong On Stage

Oct 27, 2010

I have a text caption (two textFields, one acting as a dimmable background and the second including the displayed text) that when added to the stage takes on the default alpha value (1) and is not changed when I address it in mouse_over and mouse_out events.Some background... What I want to accomplish is:

1) a horizontally scrolling image gallery
2) reads image source, caption title, link and page data from an XML file,
3) is re-usable on several web pages (both swf and xml) as it can identify the current page and dynamically display images appropriate to that page from the xml file
4) On image mouse over the image should resize (get bigger) and should pop up the text caption for the image (this is where I am stuck!!!)
5) on image click should take the visitor to a new url

I have cobbled this together from several tutorials and am not a developer.I sense I have gone terribly, terribly wrong with the textField stuff if not with other things too.The caption pops up on the stage at the bottom of the image (where it should be) at run time but at full alpha (1) even though I set it to 0 earlier.I suspect this means I am not loading these objects correctly (but I don't know where I've gone wrong).Then inside the MOUSE_OVER and MOUSE_OUT events I can't change the opacity attribute which makes me suspect I am not addressing these objects correctly (but I don't know where I have gone wrong here either).[code]

View 14 Replies

IDE :: Alpha Tween (ease In From 0 To 1) An Object On Stage Over 25 Frames?

Apr 29, 2010

I want to alpha tween (ease in from 0 to 1) an object on stage over 25 frames. And after the tween is over i want the object to persist on the stage and in the timeline. How can i do that?afaik i have to extend the tween in the timeline beyond the keyframe with 1 alpha. But when i do that this also extends the time of the tween from 0 to 1 and it actually lowers the alpha 1 in the keyframe automatically to some figure that fits with the ease in which apparently spans the entire tween.

View 8 Replies

ActionScript 3.0 :: Apply Alpha To BitmapFill When Drawing Image To Stage?

Dec 4, 2009

I got this code from [URL]; it writes an image to stage as a way of tile it.

holidaytile is an instance of a Gif Image.
 
But I want to change the Alpha so that my top layer shows through it, and I can't seem to figure out how to do that.
 
import flash.display.BitmapData;var tile:BitmapData = BitmapData.loadBitmap("holidaytile");this.beginBitmapFill(tile);

[Code]....

View 3 Replies

ActionScript 3.0 :: Guessing Game - Change The Alpha Of A Movieclip On The Stage?

Aug 2, 2010

I have 3 movieclips on a stage, all being instances of a square (mc_square01, mc_square02, mc_square03).What I want to do is on every reload to have a random movieclip to be the 'correct answer' - and this is the bit I'm struggling with.The way i'm testing this out is just to change the alpha of a movieclip on the stage.Here's my code....

var myArray:Array = [mc_square01, mc_square02, mc_square03];
mc_square01.addEventListener(MouseEvent.MOUSE_OVER , chooseMe);
mc_square02.addEventListener(MouseEvent.MOUSE_OVER , chooseMe);[code]....

View 4 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

ActionScript 3.0 :: Make A Slider Bar Reveal Movie Clips On Stage As Drag It Along And Alpha Values

Feb 25, 2010

I'm looking to make a slider bar reveal movie clips on my stage as you drag it along. I've written some sloppy code that works, but isn't smooth by any means. I basically put MCs on different frames on the timeline, and I want those MCs to fade in or out relative to where the pointer is on the bar. This was a workaround, what I think I need is a boolean solution, but I'm not familiar enough with AS to write one from scratch. Here is the code I have so far. Does anyone have any ideas?

[Code]....

View 5 Replies

ActionScript 3.0 :: Apply An "alpha" Tween To An Image On The Stage?

May 28, 2009

I'm trying to apply an "alpha" tween to an image on the stage. I've made it a movieclip symbol an it's instance name is background_mc.Here's the code I am trying. It's not working. Can anyone tell me what I'm doing wrong?
 
import fl.transitions.Tween;
import fl.transitions.easing.*;
stage.addEventListener(Event.ENTER_FRAME,backgroundfadeIn);

[code]....

View 3 Replies

Set The Background (o% Alpha) Of A Component?

Sep 26, 2009

I've bought a component on flashden. This is a text component that makes it possible to load CSS & Html on your flash project. Check the included zip for the source. What I want is that the background of the component is transparant. Now it has a linear gradient. I've tried to set the drawing in the component to zero alpha but that didn't do the trick. How to edit the background (if nescessary by actionscript)?

View 2 Replies

CS3 - FLV Playback / Alpha And Timeline

Dec 1, 2009

I'm trying to get an instance of an FLV Playback that serves as a background to one of the sections of my Flash site to fade in once the section is entered, and fade back out again when it is exited. I've put it into an mc called 'vid container' and I applied some simple motion tweening to the container, to fade it in from 0 opacity to 100 and back down again. What I'm having trouble understanding is that, while the fadeout works absolutely fine, the fade in doesn't work at all.

View 2 Replies

ActionScript 3.0 :: Alpha Not Getting Set Properly?

Jul 13, 2010

I have a page with buttons and i want the buttons to grow on click, get bright on mouse over, get brighter on click, go back to original on mouse out (Unless clicked). Then I want the current selected button to shrink and return to normal alpha upon clicking another button. This is the code i have, and it works pretty well:

Actionscript Code:
import fl.transitions.Tween;import fl.transitions.easing.*;homeClip.addEventListener(MouseEvent.MOUSE_OVER,

[code]....

View 3 Replies

Alpha Effect On Text?

Oct 13, 2010

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.

View 4 Replies

ActionScript 3.0 :: Movieclip Can;t Set To Alpha

Nov 18, 2010

i draw a rectangle, convert it to symbol1 and export for actionscript. after that i edit the rectangle class and inside the constructor i want to change the alpha value by writing this._alpha=44; a error msg popout : 1119: Access of possibly undefined property _alpha through a reference with static type Symbol1.

View 2 Replies

ActionScript 2.0 :: Set Alpha To 0 For Printing?

Aug 3, 2011

I have a game I'm adding a print button to, for users to print their score at the end of the game. The problem is, is that the printing make some of the buttons look weird, for some reason (color is missing, a white box around the button, that should be empty/transparent). This is the script I'm using to print:

Code:
printButton.onPress = function() {
print(drawingArea, "bframe")
}

I've tried a number of ways of making it so the buttons are seen normally, even tracing them as bitmap, but it makes everything lock up when I try to print that way and nothing else seems to work. So I want to temporarily make the buttons invisible, while it's printing, and then go back to vissible once it's done.It's easy enough setting the button alpha to 0, with

Code:
printButton.onPress = function() {
buttonInstanceName._alpha=0;

and then the script to print; it makes it invisible just before it prints, but what I need is way to reset the alpha to 100 once it's done printing.

View 2 Replies

ActionScript 3.0 :: How To Set Alpha To TextField

Nov 21, 2008

I've created a txtField with background set to true, backgroundColor set to a certain color, and txtField.alpha set to 10; however, the alpha does not work. The background color of txtField appears to have a full opaque color and not transparency.

View 4 Replies

ActionScript 3.0 :: Changing The Alpha Of A Swf

Aug 10, 2010

I'm trying to create a tab system on my website. I have a small 25 pixel tall swf file at the top of the page that acts as the tabs. It uses PHP to communicate with the rest of the site. I have a larger swf below that acts as a directory to my files. When the user finds a file, he or she can open it in a new tab by clicking a certain button. And then switch between tabs using the top swf. I've got all of this down using AS3, but I'm not as good at the basic web design elements. How do I communicate to have every lower layer except for the one that the viewer wants to look at go to 0% alpha? Also, I cannot just have the tab system be all in one swf because some of the files that I want the user to open will be in AS2, which won't run inside an AS3 host.

View 3 Replies

ActionScript 3.0 :: Constantly Get Alpha Value

Sep 25, 2010

I am trying to get target movie clip's alpha value, which is animated.

When the alpha value is reached to certain value, I want to trigger certain event.

Is any way to get current frame's target alpha value by using set interval or event lister?

View 7 Replies

Professional :: Should Alpha Tween Go 1 To 100 To 1 Or 1 To None To 1

Sep 27, 2010

I have a line that starts invisible then becomes solid then invisible again. First keyframe is alpha 1%, should the two keyframes that follow next in the timeline where it shows as full strength colour be left alone, showing still as colour>none in properties, or should I choose alpha and 100% ? Last keyframe again sees it given alpha 1%. ( I was told dont use 0% as it causes flash more work !)What is best practice here? I have many of these to do so leaving keyframes as 'none' for colour would make life much quicker.

View 3 Replies







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