Flex :: Change Gaps To See Background Image Between Items

Jun 20, 2011

I have created a tile list with custom item renderer and in terms of functionality it works as it should. I reduced the width and height of the item renderer to 95% which then shows the tile lists background in the remaining 5% of that item. The problem is that only when I hover over the item, the background is covered up and I cant get a gap to appear between items. Is it possible to change the height and width of the hover over?

<mx:Canvas id="Card2" label="Card2" width="100%" height="100%" backgroundColor="#FFFFFF">
<mx:TileList id="tlCard2" x="10" y="10" dataProvider="{acCard2}" width="580" height="340" dropEnabled="true" borderThickness="0" maxColumns="4" maxRows="4" rowHeight="85" columnWidth="145" borderColor="#000000" horizontalScrollPolicy="off" verticalScrollPolicy="off" borderStyle="solid" dragMoveEnabled="true" dragEnabled="true" backgroundImage="{imgGuide}" themeColor="#BCBCBC">
[Code] .....

View 3 Replies


Similar Posts:


ActionScript 3.0 :: Programmatically Added Gaps Between Certain Menu Items

Nov 21, 2009

How can I modify the following code to add 26px space between the 2nd and 3rd item in a vertical menu, and the same added space between the 5th and 6th items?

[Code]...

View 4 Replies

Flex :: Change Background Image Of HBox?

Oct 25, 2010

I have assigned a logo image of my software to HBox as follows [code]...

Now I need to change the backgroundImage to some other image on a event.

View 1 Replies

Flex :: Change Background Image Of Preloading Bar In It?

Sep 19, 2011

I would like to change the bacground image for the preloading bar in Flex, the one which appears before loading your application. This article describes the way in which you can change the background-color, but is there a way to add a background image (and keep the loading bar on top of that)?

View 3 Replies

ActionScript 3.0 :: Background Image Will Change To This Button Specified Image?

Jul 10, 2011

I am making a new flash website and i stack on the as3 part.My site have a menu like all the site do.Now on the site load there is a background picture.When you press one of the menu buttons, the background image will change to this button specified image.But all that in an animation of fade in and out.My problem that i have everything but i cant know which image was before it changes to the buttons specified one. It maybe require as3 which i dont know.I cant upload here my work. its personal.But i ask you the professionals, please make a short fla file which will have the code and animations i need.(if you cant understand me)Please, make a fla file, which contains random 3 images.At the start it will have main background and a menu on it(just text-for fast and short work)The menu is 3 text ine(main,about,contact)now, make that when you press about(for example) it will change the main image(background) to the image of the about page.

View 2 Replies

Actionscript 3.0 :: Change The Background Image?

Oct 31, 2010

Developing website using flash CS4. how to change background picture through AS3 .

View 2 Replies

Change The Image Used For The Background And The Puzzle Pieces

Jun 28, 2006

I just went through the ActionScript tutorial for the jigsaw puzzle found here: [URL] I would like to change the image used for the background and the puzzle pieces, and am running into problems. I can change the background for the work area with no problem, but the puzzle pieces are still displaying the original artwork.

View 6 Replies

ActionScript 3.0 :: Change Background Image Of A MovieClip In It?

Oct 15, 2009

I have the following package[code]...
 
1. The class instantiates and adds a number as text on top of the image that I created the MovieClip class from

2. As the main class of the fla rotates images it calls the loadItem() function of each corresponding button.

3. That function starts the timer and, on each tick of the timer, the background image changes.
 
What is happening right now with this code is that the new image (that I want to be the background image behind the text) is coming in on top of the text.

Is there a way to simply replace the image currently loaded into the MovieClip.

View 2 Replies

ActionScript 2.0 :: Creating Flash Rollover To Change Background Image

Jan 5, 2010

I'm looking for a very specific tutorial, Basically I want to create a flash 'rollover, image background change type thing' which I will display photos on. A very good example of what I mean can be found here:[URL]. You will see 6 small thumbnails which, when you mouse over them, change the background image to match. My design, I want to be a lot simpler. If you look at the following image you should see what I'm after: [URL]. 5 small thumbnails on the left, when you hover over them, they animate and the big 'red' rectangle changes to display the image.

View 0 Replies

Flex :: ContextMenu Change The Items Dynamically?

Sep 14, 2010

I am using a ContextMenu for an AdvancedDataGrid in my application. I could implement the normal context menu for the grid. Now, I am planning to make the context menu dynamic.For example, if I click on a particular cell, I need to see only the items related to that cell in the Context Menu. Is there any way we can do that?

View 3 Replies

Flex :: How To Change Skin Of Items Highlight / RollOver

May 13, 2011

I am trying to Skin a "hightlight" of a DropDownList item. I can not find any documentation on changing the skin of the items hightlight / rollover skin. How to do this?

View 1 Replies

Actionscript 3 :: Avoid Image To Get Stretched When Used As Background Image, In Flex

Dec 12, 2009

I am developing a website in flex. And in that, i am trying to set the background image of my application. like this: parentApplication.setStyle("backgroundImage", data.image_src);

From a different location.

My issue is that, the images that i have are small and hence they are being stretched when used as background images. I want to avoid that from happening. How can i do it?

View 1 Replies

Flex :: Different Vertical Gaps Between Siblings In The Same Mx:Tree Control?

Jul 14, 2010

Does anyone know of a way to specify different vertical gaps between siblings in a Tree? I want to child nodes spaced tighter together (maybe 10px) while the top level parents remain spaced further apart (20px). Essentially, I need to change the gap dynamically based upon the depth of the node, but I'm not sure if the Tree class (or the List class, which Tree extends) offers this type of functionality.

View 2 Replies

Flex :: Line Chart Leaving Gaps In Data?

Dec 6, 2010

I have a Flex line chart where I allow the user to change the y axis ranges. When a data point falls outside the ranges, the chart drops the line segments on either side of the out of range point leaving a gap in the data line. I'm currently using the data function to clamp the values out of range to the y axis min/max, but this displays misleading data.

View 1 Replies

Flex :: Efficiently Fill Data Gaps In An Sparse ArrayCollection?

Aug 10, 2010

I have an ArrayCollection of Objects. Each Object with three attributes:CustomerID, Income and DateMy goal is to chart this data for each customer (or a couple together) in a Income by Date LineChart display. Selection of customers is done with ArrayCollection filters.Data is fetched from an SQL database, however, each customer has some data points missing.f there was zero income on August 8, 2010 there will be no entry for that.Charting the ArrayCollection as is, is misleading because there is no indication of the missing data points.One way to solve this is to artificially add zero points for the missing dates for each customer. However, this would explode the data set (and impact performance).

View 1 Replies

Flex :: Image - ComboBox Items Go Out Of Alignment

Mar 29, 2010

I have a combobox that uses a custom itemrenderer to display an image. when scrolling up and down the list the images randomly go out of alignment. How do I stop this?

public class PinRenderer extends UIComponent implements IDataRenderer, IListItemRenderer {
private var currentPin:DisplayObject;
private var _data:Object;
public function get data():Object {
return _data;
} public function set data( value:Object ):void {
[Code] .....

View 1 Replies

Flex :: Image - ComboBox Items Go Out Of Alignment?

Aug 18, 2008

I have a combobox that uses a custom itemrenderer to display an image. when scrolling up and down the list the images randomly go out of alignment. How do I stop this?

public class PinRenderer extends UIComponent implements IDataRenderer, IListItemRenderer
{
private var currentPin:DisplayObject;

[code].....

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 :: Change The Background Font Of The TextField?

Nov 25, 2010

I'm making a form and I add a DateField, and I would like to change the background font of the textField where the date selected is written but I don't know what I should change, I try with backgroundColor, Color, ColorFont and I just get to change the color of the text.

View 2 Replies

Flex :: Change A DropDownList's BackGround Colour?

Sep 17, 2011

This is what I've done so far.

<!-- fill -->
<!--- Defines the appearance of drop-down list's background fill. -->
<s:Rect id="background" left="1" right="1" top="1" bottom="1" >
<s:fill>

[Code].....

If you look closely you'll see that I've changed the default value for the bgFill color. However, when I run my application, the background color for the dropdownlist is still the default white.

View 1 Replies

Flex :: Dynamically Change Background Colour Of Datagrid Row?

Mar 7, 2010

It seems like there are various hacks out there to change the background colour of the row of a datagrid but all of them seem to happen at render time.See: http:[url]....I have a datagrid where I need to change row colours to red then back to normal frequently based on changes to the bound ArrayCollection. So I'm looking for a way to change the row colours dynamically.Obviously as the changes are happening frequently it would be nice if changing the background colour of the row wasn't an expensive process.

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 :: 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

Flex :: How To Set Background Image For App

Jul 9, 2010

I'm using Flash Builder 4 to create an application. I need to set an background image for the app. I've pulled through the data from XML. I am using an <mx:Image> for the background-image. But I need elements to then be added inside it. How do I achieve this? I considered using Layers, but dont know how you achieve this.

View 3 Replies

Flex :: Set Background Image In 4.5?

Jul 10, 2011

I have written a custom skin in Flex 4.5, which shows a custom image. I want this to my background image, so how can I set this skin to the application container?

View 3 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 :: Change Background Bluriness When Calling Alert Or PopupManager?

Aug 22, 2011

In Flex 4.5 is there please a way to control how blurred is background when displaying an Alert or PopupManager.addPopUp()?I have playing cards displayed on the background of my game, when displaying a modal popup window with possible bids to the user and can't blur the cards too much (because the player should see them before deciding what to bid).

View 1 Replies

Flex :: Set The A Background Image Of A RichTextEditor?

Apr 11, 2011

I have tried setting the background image this way, but it doesn't work. how to set the background image of a rich text control in flex as easy as possible?

.rte{
...
backgroundImage: "assets/globe.jpg";
}

[Code].....

View 3 Replies







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