Css :: Flex 4.5 Application BackgroundColor Won't Go Black
Oct 27, 2011
I have a Flex 4.5 mobile app, I'm trying to set the backgroundColor to black, aka 0x000000 at runtime.It won't go black, in fact, it will go any other color but black.[code]Just as some extra info, I have my original Application backgroundColor #333333 set in a .css file and in the MXML Application node.
View 1 Replies
Similar Posts:
Sep 24, 2009
I just made a application that works fine... But it has one error. From time to time a black quadrant appears on top of the application. I call it a black whole, since it swallows every thing behind it.
View 1 Replies
Aug 3, 2011
I have a simple application which uses a RichTextEditor with a colored background, like so:
[code]...
This works fine when I compile against Flex 3.5.0, but in Flex 4.0 and 4.5, the background color remains white. I've tried setting it before the text, after the text, before and after it is added to the stage - even every single frame with an EnterFrame handler. Nothing - it just stays white.
Has anyone else encountered this and does anyone have a workaround? I don't really want to switch to a Spark component if I can help it, and I can't downgrade the whole application to 3.5.
View 1 Replies
Nov 2, 2010
Is it possible to convert an image (runtime) in Actionscript 3.0 from black/white to black/*color* ...Does someone know a solution? Matrix? Blending methods maybe? Pixel bender?
View 1 Replies
Apr 30, 2010
What I am trying to achieve might be trivial, however I am loading a PNG mask which does not have a transparent background, but rather a black background, with the shape defined on top in white (the actual mask which needs to be applied). Apparently Flex expects me to provide a mask with a transparent background for it to work, or am I missing something?
If that's the case, could I transform the bitmapData which I am loading so that it treats black color as transparent?
View 1 Replies
Aug 5, 2011
I am using ColorMatixFilter on an Image in Flex. I am really close to getting want I need out of the filter.Basically any PNG file the user uploads I want all pixels that are not transparent to be colored black. I have a function that sets the "brightness" already so I just through a really large negative number at it like -1000 and it does the job but the problem is any pixels that have any alpha to them, say 0.9 or below all end up being white when I encode my PNG file on the server later.
[Code]...
I would like all pixels to be solid black unless the pixel is completely transparent and not sure how to tweak the values to get that out of it.
View 1 Replies
Sep 7, 2011
I'm porting a card game from pure Flash/AS3 to Flex 4.5: I'm almost done, but the "speech baloons" marked by the blue color in the screenshot above are missing. Those "speech baloons" fade in, display red (if they contain hearts or diamonds char) or black text and finally fade out. I'm trying to implement those as mx.controls.ToolTips and have prepared a simple test case, where 3 users are represented by smiley-buttons and you can push a "Talk"-button to make them talk:
[Code]...
View 1 Replies
Feb 10, 2011
I am playing multiple short video clips behind each other and I want it to look like it is one continuous video. Is there a way to stich them together so that it's unnoticable when you set a new video source.
At the moment I am having a problem where a black frame is inserted when I set a new video source. The order of events seems to be something like this[code]...
View 2 Replies
May 11, 2010
Can somebody share an example on how to set the backgroundcolor of a datagridcolumn (dynamically)?
View 3 Replies
Jun 29, 2009
how to set the scrollpane's background color in AS3 with CS4?You can't seem to use _Globals, setStyle,and opaqueBackground doesn't seem to work
effectively.
View 0 Replies
Oct 8, 2010
I'm trying to develop a simple mxml Flex application to start Skype from the AIR/Flashplayer runtime. Is it possible to get back events from a native Windows application? In the simple example of Skype, the OS returns control to the Flex app when Skype exits. But what about native applications which have their own event model and wants to communicate with the Flex event model. For example, a Face detection system which shows "Hello" on a Flex app when the camera detects a face. Can this be done in the current Flex framework?
View 1 Replies
Mar 4, 2011
I am working on an Adobe AIR Application. The size on Application window is 800X600 and is contains border container and border container contains many controls. What I want is to if user re-sizes the application then that container should also be re-sized according to scale. i.e If user maximizes or minimizes the window then that border container should also be maximized or minimized respectively.
View 3 Replies
Aug 4, 2011
How I will be back in Login Page after click of logout which is in application's component.
Project.mxml
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" width="100%" height="100%"
[Code]....
View 2 Replies
Dec 22, 2011
how can i delete storage directory instances or folder while uninstalling any air application. In my application when i first time run my application, application copy some data from application directory to application storage directory. now i want to delete all data and application directory folder also while uninstalling application.
I am doing that because when i launch any update then application is accessing old data which conflict with my application new features.
View 1 Replies
May 16, 2010
I'm new to flex. Now I'm writing an flex application. I plan to split my application into some MXML files(Application as the root tag). How can I switch from one mxml to another?BTW, what is the best practice for design large flex application? Just one MXML Application and many MXML component or many MXML Application?
View 1 Replies
Jul 15, 2011
I want to read xml data to a mxml application from a xml file on my filesystem. The example I found was for AIR,link2, link3. But I want to target the Flash Player runtime. If I use the the tag, I can do it; however the xml compiles into my swf. How can I retain the xml file in my release build?
View 2 Replies
Mar 31, 2011
i used systemManager.addEventListener in sub application...... it is working well....but when i load sub application into main application through swfloader it doesnot working..
View 1 Replies
Aug 29, 2011
I have a native (Obj-C, standard Xcode project) application and I'd like to integrate a partners iOS application (or specifically, it's functionality) into it as just another view in my application. The problem is that their application is a Flex/Air app. I really don't understand the Adobe compilation process on how it gets from a bunch of flex code down to an IPA. I don't see intermediate projects, shared objects, etc on the disk to produce that IPA. It looks like it doesn't rely on the Apple tool chain... as I understand it, you can produce the IPA on Windows as well. Is there any way to build that Flex app in such a way that I can import it into Xcode so I can link against it and use it as a library from within my application? While I specifically used iOS as an example since that is the most important platform, we'll want to apply this solution to our respective Android and Blackberry 6 apps as well.
View 1 Replies
Feb 9, 2009
I've already tried a lot, but there was no way I could change the color of my textInput. Adobe Livedocs couldn't help me and there was no working piece of code I could find in other messageboards.
These things haven't work for me:
myTextInput.setStyle("backgroundColor", 0xFFF00);
--
myTextInput.setstyle("backgroundColor", Number(0xFFF00));
--
myTextInput.setstyle("backgroundColor", "#FFF00");
Do I have to do something about the border of the textInput. Or about the "background"-Property (if it still exists for AS3)??
View 9 Replies
Apr 26, 2009
That's really all I want to do. Why is something like this so complicated? When you go into Component edit mode, you can easily change the highlight colors. Then why make it impossible to change the actual ground color? Why should I have to scour the internet to find complex code just to change the color? Sorry, it's just frustrating.Anyway, if setStyle("backgroundColor", 0xCCCCCC); ... was all I needed to do that would be fine, but that doesn't work.Even if it's not possible, I would accept text rollOverColor, or hover... nothing.I think there should be a drop down color box in the component editing window at the very lest.
View 3 Replies
Apr 20, 2009
I searched and didn't find quite the right solution. Please bare with me as I am a complete infant with this.Using a component listbox in CS4. I have figured out how to call in formatting to the text by using this:Code: Select allimport fl.managers.StyleManager; var tf:TextFormat = new TextFormat(); at the head, and referring to it below, with:
Code: Select alltf.font = "Arial";
tf.size = 10;
tf.bold = false;
[code]....
View 2 Replies
Jan 18, 2005
I dont know how to change the backgroundcolor of the stage.
Shouldnt:
_root.backgroundColor = "0x00ff00";
..normally do the trick?
View 1 Replies
Jan 18, 2005
Just realized I don't know how to change the backgroundcolor of the stage.
View 1 Replies
Dec 8, 2009
I have an AIR application with a system tray icon. When clicked it shows and activates the app. This is working as expected when the app is hidden (docked), however if I select another application so my app is in the background clicking on the system tray icon does nothing.
Oddly I also have a contextual menu on the system tray icon, which has an option to restore, this calls the same event handler as ScreenMouseEvent.CLICK, yet works.
I expect it's something to do with the contextual menu changing the focus, perhaps it's a bug in how AIR works with the system tray, perhaps it's just something I'm missing. Would be good to know if that's the case.
View 1 Replies
Sep 1, 2010
I've been trying to launch a separate Air Application through my current Air Application.Both apps are compiled using the Adobe Air 2.0 SDK. The methods I have found so far involve passing the Publisher ID in addition to the Application ID, but I believe the Publisher ID became redundant past Air 1.5.3? Below is my current implementation whic seems to correctly ascertain the Air Application's version number, but when I try to launch it, nothing seems to happen.
private static var _air:Object;
private static var _loader:Loader;
private static var appID:String = "someOtherAirApplication";[code].....
I have changed the app-config.xml (app descriptor) on the application I am trying to load to allow browser invocation.The version number of the app descriptor of my application I am trying to load is "V1" which the versionDetectCallback seems to pickup. If this is the case I would expect to be able to launch it but this doesn't seem the case.
View 2 Replies
Mar 7, 2012
I want to load a flex application in mobile flex application and also i want it to interact with the parent application. Right now I am trying to load the swf with swfLoader in mobile app, but it gives me security error. And also should I want the parent application to be generic in terms of child application as in down the line if someone wants he can have another child application with same name run.
[Code]...
View 1 Replies
Jan 11, 2011
I have a textinput component that needs to have a transparent background. I've tried adjusting the alpha to 0% and 25%, the former doesn't display the contents (white font bold sans-serif) and the latter leaves a shaded background. I've also tried the following:
var tf:TextFormat = new TextFormat; tf.color=0xFFFFFF; tf.font="Sans-serif"; tf.size=12; tf.bold=true; txtlowtemp.setStyle("textFormat",tf); txtlowtemp.backgroundColor=undefined; txthitemp.setStyle("textFormat",tf);
[code].....
View 11 Replies
May 12, 2011
I have a textinput component that needs to have a transparent background. I've tried adjusting the alpha to 0% and 25%, the former doesn't display the contents (white font bold sans-serif) and the latter leaves a shaded background. I've also tried the following:
var tf:TextFormat = new TextFormat; tf.color=0xFFFFFF; tf.font="Sans-serif"; tf.size=12; tf.bold=true; txtlowtemp.setStyle("textFormat",tf); txtlowtemp.backgroundColor=undefined; txthitemp.setStyle("textFormat",tf); txthitemp.backgroundColor=undefined;
However, this gives error 1119 access to possibly undefined property backgroundColor.
How can I create a truly transparent background for these components?
View 3 Replies
Oct 24, 2011
I have a textfield on stage and on RollOver I want to get it's background color?
my code:
this.createEmptyMovieClip("holderSub_mc",mydepth+21029);
this.holderSub_mc.createEmptyMovieClip(["sub1a_mc"], mydepth+15);
[code]........
View 6 Replies
Feb 24, 2011
i can set the stage's background color, etc., using a SWF metadata tag:
[SWF(width="1024", height="600", frameRate="60", backgroundColor="#000000")]
or if i'm using Flash Professional, i can simply set these properties for the document in the UI.
while the Stage class offers the ability to set a frameRate and override width and height thru properties in actionscript, why is it not possible to set the background color of the stage the same way?
Stage doesn't have a property (public or otherwise) for background color. can anyone explain why that is? it seems strange to me but i'm assuming there is a good reason rather than this simply being a oversight.
View 1 Replies