Flex - Create A Scrolling Group With A Background Color?

Nov 5, 2010

I'm using Flash Builder 4 Premium. My application has a title bar that I don't want to scroll, and a group underneath that should scroll. Here is the group that I want to be able to scroll:

[Code]...

View 1 Replies


Similar Posts:


Actionscript 3 :: Flex 4: Build A Group With A Background?

Oct 15, 2009

I'm trying to build a simple component extending spark.components.Group to have a background color, more specifically a spark.primitives.Rect component stretched to fill the background.

This is what I've come up with thus far:

<s:Group xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/halo"
<fx:Metadata>

[Code].....

View 2 Replies

Flex :: Possible To Put A Background Image To A Component 'Group' With CSS?

Jul 28, 2011

In a component 'Group' I drag multiple pictures at one time I need to clean this component, but contains a component BitmapImage and I will not be erased:

<s:Group id="droppedImages" width="100%" height="100%">
<s:BitmapImage id="bg" source="@Embed('lineal2.jpg')" width="1024" height="577" verticalCenter="0"/>

[code].....

View 1 Replies

Flex :: Listen To Mouse Events On The Background Of A Group?

Aug 2, 2011

Is this the most efficient way to listen to mouse events on the background of a group?

<s:Group width="200" height="100" rollOver="group1_rollOverHandler(event)" rollOut="group1_rollOutHandler(event)">
<s:Rect width="100%" height="100%">
<s:fill>
<s:SolidColor alpha="0"/>
</s:fill>
</s:Rect>
</s:Group>

seems pretty minimal, but alpha = 0 is not the most efficient thing out there.

View 1 Replies

ActionScript 2.0 :: Create A Scrolling Background?

Aug 20, 2004

I would like to create a scrolling background for a web site (something that functions like the old 2d pane scroller games). Does anyone know of any books/articles that address this functionality?

View 6 Replies

ActionScript 2.0 :: Create A Scrolling Background For A Website?

Aug 20, 2004

I would like to create a scrolling background for a web site (something that functions like the old 2d pane scroller games).

View 6 Replies

Flex :: Changing The Background Color And Border Color On Selection On A Tilelist?

Apr 23, 2010

I am using a tilelist I want to change the border color and the background color of the tile on selection.

View 1 Replies

Flex :: Transparent White Color To Background Color Of Image?

May 21, 2009

I have an image and i want to remove white color from image.That removing color is same like its background color. If anybody have any idea of this problem please answer?And my application in Flex 3 so please send me action script code of this problem.

View 2 Replies

ActionScript 3.0 :: Create A Scrolling Or Parallex Background For Site

Dec 22, 2007

I am trying to create a scrolling or parallex background for my site. This is a pretty popular effect and I cannot find code for it anywhere on the web. The ones I have seen is for AS2, have used the if statement. Also, do I have to create an invisible movieclip that goes over the whole stage so that AS know where x of mouse is?

View 92 Replies

Actionscript 3 :: Create A Fast Endless Scrolling Background

Feb 11, 2010

I'm trying to create a endlessly scrolling bitmap background. I want to make it as efficient as possible as there is plenty of other game logic going on too. The idea is to have a repeatable bitmap scroll horizontally on an endless loop, which can obviously be achieved by placing two sprites of the same bitmap next to each other and offsetting one when it reaches the far left boundary. I was wondering if there is perhaps a faster more efficient way to do this, perhaps using scrollRect or copyPixels? If anyone has any idea which method would be fastest,

View 1 Replies

ActionScript 3.0 :: Create A Scrolling Background Whilst Keeping The Car Static In The Centre Of The Screen?

Aug 17, 2011

Ok i have been looking at a racing game and have used the tutorial from this link here:[URL]...What i am having trouble with is trying to create a scrolling background whilst keeping the car static in the centre of the screen. Ane example of what im trying to do is here:[URL]...So i have tried incorporating the code from that scrolling background example, into the car racing game itself but i am having trouble doing so. Is there any way that the code used from the scrolling background can be input into the racing game example to create this scrolling background effect?

View 1 Replies

Flex :: Setting Background-color For Flex Tree Component?

Oct 21, 2010

I have a Flex Tree component in my app. I set the icons for open and close.
BUT I can't find something about changing the default background-color from white to something different.

obviously there is no background-color setable in css...

View 1 Replies

Flex :: Dynamically Set Flex Background (Color And Image)?

Sep 26, 2010

I want to give the users the ability to set the background color or choose image to make it background (Tile, Center and Strentch). I tried couple of things with no luck such as trying to chaing a Skin object and assign it.and tried something like:

FlexGlobals.topLevelApplication.setStyle("backgroundColor",uint(chosenColor));

View 1 Replies

Flex :: Flex 4 Textinput Skin Background Color

Jul 25, 2011

I'm trying to change the background color on a textinput component in flex 4. I've been able to change some of the appearance by messing with the canned code flash builder generates for the sparkskin but for some reason, background does nothing.I'm just trying to make the background black. I changed the background color but it's not working:[code]

View 1 Replies

Flex :: How To Set Common Background Color For All Tabs

Oct 30, 2009

Is there a way to set a common Backgroundcolor for all the tabs in a given TabBar? Rightnow I am able to set color only for selected tabs using
tabBar.getChildAt and setStyle

View 1 Replies

Flex :: Change Preloader Background Color?

Sep 6, 2010

I have a custom preloader that I designed in flash. When I load it in flex, it loads with a white background. When I try to change the background to black in my flash file & load it in Flex, the background color remains white. I've also tried to update the compiler settings in Flex, adding "-default-background-color #000000" but I still get a white preloader background. I am using Flex 4. Here is my Pre.as file:

View 2 Replies

Flex :: Change BorderContainer Background Color With AS

Oct 7, 2010

I'm trying to change the background color and or text color of a BorderContainer in flex 4 using Action Script, but have not idea how to. The Border Container component doesn't seem to have any properties like:
idname.color = "#333333";
idname.backgroundcolor = "#333333";
How might I go about doing this?

View 2 Replies

Flex :: Add Padding For SpanElement With Background Color?

Feb 21, 2011

I have a Spark TextArea with a SpanElement inside. This element has the backgroundColor property set, but I would like to have the background a bit taller because it looks a bit weird at the top like this.[URL]..

I already tried to adjust lineHeight and paddingTop for the SpanElement, but no luck.

View 1 Replies

Css :: Flash - Set Flex MX Button Background Color?

Apr 8, 2011

Using CSS, how do I set the background color of a Flex MX Button? My button is declared as:

<mx:Button label="My Button"/>

And the CSS is:

@namespace mx "library://ns.adobe.com/flex/mx";

mx|Button {
color: #66ffff;
backgroundColor: #333333;
}

backgroundColor doesn't seem to be the correct CSS property for MX Button's background color. Looking at the Flex API docs, I tried fillColors but that didn't do anything.

Is it possible to change mx.controls.Button's background color using CSS?

View 1 Replies

Css :: Flash - Set Flex MX ComboBox Background Color?

Apr 11, 2011

Is there a way using CSS, to set a mx.controls.ComboBox's background color. This would be the background color of each row when the ComboBox is clicked (expanded). I've tried backgroundColor, fillColors and backgroundGradientColors without success.

My ComboBox is contained within a FormItem. I've also tried setting FormItem's backgroundColor, fillColors and backgroundGradientColors. It's not clear to me where ComboBox obtains or inherits its list cell background color from.

View 1 Replies

Flex 3: <mx:list> Hover Background Color

Jun 29, 2011

How do I change the background color of the item I'm currently hovering over in a list? The default is that light blue, but I would like to be able to change it to whatever I want. I've gone through the list of available options, but I didn't see anything that stuck out at me.

I'm sure this is ridiculously simple, I just can't seem to figure it out.

View 2 Replies

Flex :: Advanced Datagrid Condition Row Background Color

Jul 3, 2009

I am trying to set the row background color for the advanced data grid control in Flex 3. Does anyone know if this is possible using a style function. Currently my style function looks like:

public function myStyleFunc(data:Object, col:AdvancedDataGridColumn):Object
{
if (data["status"] == "PRICING")
return {color:0xFF0000 , fontWeight:"bold" , backgroundColor:0xFF0000};

[Code].....

However the background color does not change.

I have heard on the grape vine that I may need to override some methods to enable the background color property.

View 1 Replies

Flex LinkBar - Set A Selected Button's Background Color?

Nov 13, 2009

I was able to set the text color of a selected LinkBar button by "disabledColor" style of LinkBar.Accordingly, I expect to set the background color of the selected button by "backgroundDisabledColor" style, however, it didn't work; and except "backgroundDisabledColor", I didn't see any other style that could possibly achieve this.

View 3 Replies

Flex :: Set Background Color Of Line Series Chart?

Nov 22, 2009

I have a Line Series Chart in Flex with values from 0 to 90. I would like to set the background of the chart in such a way that, 0 - 30 is in green, 31 - 60 is in red and 61 - 90 is in blue.

View 2 Replies

Flex :: Change Application Background Color At Run-time In Its App?

Apr 20, 2010

I have a Flex 3.5 application that will serve multiple purposes, and as part of the visual changes that I'd like to make to indicate which mode the application is in, I want to change its background color.[code]...

View 2 Replies

Flex :: Dropdown Combobox Selected Background Color?

May 6, 2010

Flex is so tricky to style.

I have a combobox, when I arrow up and down over a select it has a background color, how do I change this color. This should be easy.

View 1 Replies

Css :: Flex - Attribute To Specify A Background Color For A LinkButton's Up State?

Jun 9, 2010

There are styles for over and clicked but no up state.

View 1 Replies

Flex :: Set The Gradient Background Color For Panel Via Skins?

Jun 10, 2010

I am trying to set the gradient background color for my panel via skins. I try to change my code but nothing seems to change. Not sure what to do.

My skin file

/<!-- layer 2: background fill --/>
<!--- Defines the appearance of the PanelSkin class's background. -->
<s:Rect id="background" left="1" top="1" right="1" bottom="1">

[Code]....

View 3 Replies

Flex :: Change The Background Color Of A Toggle Button?

Jun 18, 2010

What is the easiest way to change the background color of a toggle button when it is selected?I've tried creating a custom skin for the button and applying it to the downSkin property, but I can't figure out how to change the background color from within the skin. Also I'd like to avoid using an image as a background if possible.

View 2 Replies

Flex :: Change Background Color In Spark VideoPlayer?

Sep 9, 2010

is there any way to change the black in background in the VideoPlayer component that comes with Flex 4 ?

I can change every color but i can't change the black in background.

View 2 Replies







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