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
Similar Posts:
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
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
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
Aug 19, 2009
I've used this code to apply a gradient alpha mask: bg_mc.cacheAsBitmap=true;mask_mc.cacheAsBitmap=true;bg_mc.setMask(mask_mc); Then I applied a motion tween to the mask_mc clip. But the motion tween doesn't happen? It only shows the first frame of the motion tween. It does apply the alpha mask though. Why doesn't it show the rest of the motion tween.
View 9 Replies
Oct 12, 2011
i'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].....
View 1 Replies
Aug 30, 2004
I tried using this code because I need some mc to scale, others to fade, and others to move; but it won't work. It only allows the last function to work (in this case alpha).
[code]...
View 5 Replies
Apr 7, 2011
I have a papervision project and this problem has kept me from going for days. I have Text3D object in my project and I have to reduce and increase the alpha property of this object , and I do it by changing the alpha property of the ViewportLayer that contains this Object. everything works fine but when I change it's text property due to some circumstances I can't work with it's alpha property anymore.
I change it's text like this:
var text1:String = "second string";
mytext3D.text = text1;
I don't (and I can't) use "useOwnContainer" and I use a defined ViewportLayer for this Text3D which I've defined like this:
var textLayer1:ViewportLayer = viewport.getChildLayer(mytext3D);
And I change the alpha property of this "textLayer1" in order to change the alpha of my Text3D object. Everything works fine till I change the text property and after that when I change the alpha of my "textLayer1" nothing happens!
View 2 Replies
Oct 31, 2010
I installed Flash CS4 and the alpha doesn't seem to work. I follow all the instructions to the letter but get no results. I had no problems working in Flash MX
View 6 Replies
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
Sep 30, 2009
I am working with Flash MX Professional 2004 on a mac running Tiger. I am near to finishing a fully flash based website.I am fairly new to Flash so experiencing a wee problem with my Preloader. The preloader is an animation in a movieclip that I have placed at the start of each scene that contains only one of my portfolio photos which once downloaded fades in and fades out. The Preloader tested in an isolated test scene on its own works fine, it is placed in frame 1 with the following actionscript 2 and a stop action placed in an actions layer. The downloading photo fade in starts in frame 2. When the user closes the photo it unloads it from the level it is in ready for the user to choose another photo which will go in to the same level.
Yet when the same scene is played back on its own level within the main website FLA it does work as an animation. Rather it stalls, blank to start with then at 50% download it goes straight to the 100% loaded part of the Preloader animation and stays like that until the photo has fully downloaded. It does this at all bandwidth tests and also does this when tested live once uploaded to server. It should animate smoothly up until the photo downloads. Very frustrating problem. I notice that the first frame of the scene has an unusually large size for some reason as the preloader is only 10kb in reality yet shows as 60kb, may be there is something going on here or perhaps it just needs the script changing slightly?[code]
View 2 Replies
Aug 22, 2011
I have a problem with animation of TextField. I prepared an animation of MovieClip (containing TextField), that in 0.5sec gets 50% alpha. Then I used "Copy movement as ActionScript 3.0..." option.When I copied it into a class and wanted to animate TextField, nothing matters, excepting weird TF movement.Here my button class code - class works alone:
package UI {
import flash.display.*;
import flash.text.*;[code]...........
View 4 Replies
May 27, 2009
I have tried putting fs command for full screen for my Flash site, but that only works if I open the SWF on its own.
If I try opening the Flash website thru my browser, a warning pops up that Flash is trying to comunicate with the browser.
I would like it when a person goes to the website, that the website will automatially open up as a full screen website. No tool bars, address, navigation etc., like a DVD movie. Just the whole screen covered by my Flash site and it does not rescale. The Flash site is the same size as if there is no full screen.
View 5 Replies
Nov 15, 2010
When you go into full screen mode the button on the site stop working in Firefox. When you hit escape its all good agian.
View 2 Replies
Feb 12, 2011
I´m working on a project for a presentation, but there is a weird bug...When I test the project in Flash, it works properly, but when I open the .exe or .swf file in my pc, it apparently does not work.The proyect is set to be in full screen, but while testing the .exe, if I press (ESC) to leave full screen mode, then it works perfect!
I need my proyect to be full screen, so removing that feature is not an option.The bug makes my proyect to stop in a frame, but if I press ESC, I can see that the project never stoped, and it's in the frame that it should be.I uploaded my proyect so you can download it if you want and help me. It weighs 3Mb, and contains a video.[URL]
View 3 Replies
Jan 6, 2010
We've only successfully got this flash slideshow to resize correctly up until it goes to the #2 slide. I've looked all over the net, including this forum, many other have similar problem with resizing and scaling their movie clip to the full browser with correct aspect ratio, but most of them all involve a single video MC only. In my case, it's a bit more complicated which involves several pictures, masks, along with a pre-loader. Here's the FLA file. [URL]. Basically in a nutshell i am trying to make a website with an animated flash background that will scale to the user browser size according to the increase and decrease in browser width. exactly like you would see here on samsung's website [URL]. We know that it has something to do with the resize listener code. but we just can't overcome this glitch.
View 0 Replies
Jul 24, 2009
i have a problem where if my application is full screen i cannot click on any text input component and i cannot input any text into the fields. i have tried creating the text input fields at run time and i have tried creating them on the canvas when on the gui design window in flex builder. however they both give the same results and do not let me pick them and enter text.
View 3 Replies
Sep 10, 2008
i have a little trouble with my xml menu, i have this code, but went i call my full image and try to upload doesn't work. I try to put my full image in and Movie Clip with the name of contenedor. But appear a message saying "Error opening URL All work perfect less the onPress.
[Code]....
View 1 Replies
Jul 15, 2009
can someone please explain to me why i cant write Russian or France or Hebrew or any other utf char
when i am embadding my swf with opaque wmode??
is there a way to work around it? i have an HTML script with flash inside it and the text filed in the flash wont except any language other then English everything else is gibberish
I am new to AS3 (LAMP dev) i looked everywhere but no decent answer
View 1 Replies
Sep 22, 2009
I've got a gradient fill in the .swf that creates a nice background. But I want to import this file in a flash/xml website and the file has to be opaque in order to work properly.
This is the code
ActionScript Code:
import flash.display.StageAlign;
import flash.display.StageScaleMode;
import flash.display.GradientType;
[code].....
View 0 Replies
Sep 22, 2009
I've got a question about a swf that needs to be opaque. I've got a gradient fill in the .swf that creates a nice background. But I want to import this file in a flash/xml website and the file has to be opaque in order to work properly.
[Code]...
View 1 Replies
Sep 22, 2009
I've got a question about a swf that needs to be opaque. I've got a gradient fill in the .swf that creates a nice background. But I want to import this file in a flash/xml website and the file has to be opaque in order to work properly.
This is the code:
import flash.display.StageAlign;
import flash.display.StageScaleMode;
import flash.display.GradientType;
import flash.display.SpreadMethod;
import flash.display.InterpolationMethod;
import flash.geom.Matrix;
[Code] .....
View 2 Replies
Nov 19, 2010
I have a canvas component that I create and add as a child of a parent canvas component. I set the opaqueBackground property for the child component which makes it opaque over the parent component. However, when I add two child components, they are not opaque over each other. How do I set it up so that one child component completely covers up the other child component?
View 1 Replies
Jul 6, 2010
im trying to fix the flash overlap using regular expressions. here is an example of markup im trying to convert to my needs
<object width="440" height="300" data=
"http://www.youtube.com/v/dMH0bHeiRNg&color1=0xb1b1b1&color2=0xd0d0d0&hl=en_US&feature=player_embedded&fs=1"
[code]......
View 3 Replies
Sep 18, 2010
I have a datagrid column as follows:
<mx:DataGridColumn
headerText="Description"
dataField="description"
editable="true"
editorXOffset="2" editorYOffset="2"
editorHeightOffset="20" editorWidthOffset="60"
itemEditor="com.jono.controls.DgItemEditor"
wordWrap="true"
/>
And a very simple DgItemEditor:
<?xml version="1.0" encoding="utf-8"?>
<mx:TextArea xmlns:mx="[URL]" wordWrap="true" backgroundColor="#FFFFFF" backgroundAlpha="1">
</mx:TextArea>
Basically, this allows for a small 'popup' when the user edits a cell in the datagrid, allowing for more space to type. The problem that I am having is that the datagrid gridlines show through the itemeditor - i.e. the itemeditor is transparent. Is there any way that I can force it to be opaque?
View 1 Replies
Mar 1, 2011
I have a site with code like this:
[Code]...
I'd like to change all occurrences of wmode to opaque. Is this easily done via jquery? In the object definition, wmode is set to opaque but in the params it becomes transparent.
View 1 Replies
Jun 13, 2011
When setting wmode to "opaque" (or transparent) my flash app becomes slow on Facebook. I can particularly notice it when moving the mouse around (even on a tiny area of the screen), if I don't move the mouse then the slowdown doesn't seem to happen. Maybe its because its sending all events to facebook too?
View 1 Replies
Jun 29, 2011
I have a html/flex app loaded in an iframe, and wmode is set to 'opaque'. I have 'mousemove' listener attached to the document of flex app and document of the parent. Once I mousedown in the flex part of iframe and move my mouse around, i can see the logs from the iframe. However, when I move the mouse around in the parent, i dont see logs from the parent. But, if I mousedown on the html part of the iframe, i can see logs from both iframe and parent. Same sort of bug is reported in Firefox 4/5, which breaks html part of it. Visit [URL]
View 1 Replies
Sep 19, 2009
I have a flash project consisting of a single frame in the main time line. Upon user interactions many movie clips fade into the stage. My problem is that i am unable to continue working on these animations when i set the movie clips 1st frame to zero opacity. What is the correct way to access my movie clip instances when I am unable to simply double click on them?
View 1 Replies
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