Flex :: Skinning HorizontalList Scrollbar With Degrafa

Oct 9, 2009

I am having some issues when trying to skin the scrollbar on a horizontalList with Degrafa. The scrollbar doesn't show up at all. I checked to see if the scrollbar is supposed to show up without the skinning, and it does.Here is some code:This is where I define the HorizontalList where I want a skinned scrollbar.[code]I am populating the HorizontalList with more items than are viewable, and like I said before the scrollbar shows up when I remove the skinning.

View 1 Replies


Similar Posts:


ActionScript 2.0 :: Skinning A DataGrid Scrollbar?

Mar 18, 2008

(read the post title) I tried to the UIScrollbar tut here on Kirupa but it did not work.

View 2 Replies

ActionScript 2.0 :: Scrollbar Component - Fake Skinning?

Jul 14, 2006

I have yet to find a good and simple tutorial regaurding the skinning of the scrollBar component so I am trying to fake it...

Simply put I have MC buttons underneath the scroll bar and the bar itself is invisible... I need to know what the name of the actual scrubber bar (the one you drag arround) is called so i can attach a movieClip to it and match it's width/height and X position

does anyone know it? --- or Can someone simply explain how i would go about actually skinning it? Everything i have seen says open haloTheme or sampleTheme and edit those but I just want to change it once (not perminantly).

View 6 Replies

Flex :: How To Use Degrafa AutoShapes

Oct 21, 2009

I see a degrafa autoshape that I want to use but it seems like there are no autoshapes included in the swc. What do I have to do to use an autoshape?

View 1 Replies

Flex :: Draw Daisy Using Degrafa?

Dec 4, 2009

I'm trying to create dynamic flower component to depict relations between parent object and it's children.Parent object is represented by daisy center and the children are represented by petals. Each of above can have a specific fill/color and text label, moreover petals should be draggable. My question is: is that possible to do using Degrafa? Can anyone post an example of drawing flower using degrafa?

View 1 Replies

Flex - Degrafa States Memory Management?

Nov 10, 2009

I was recently profiling my application that uses Degrafa States in the skins and noticed that doing so uses more memory than I expected. Between the SetProperty and State, they were using about 10% of the total used application memory.

Would it be better to use css for the state changes and a new skin for each state? or Are there some simple tips to reducing the memory footprint of degrafa?

View 1 Replies

Flex :: Can't Automate Some Objects Which Uses Degrafa Libraries

Jun 15, 2011

In our application ,we have diagrams which make useof degrafa libraries.When this application is automated with flexmonkey any operation done on these diagrams are not recorded nor played back.

Rest of the application like filling the textfield and dropdown are working fine.

Is there any way I could automate these degrafa diagrams like clicking on it or changing the description.

View 1 Replies

Flex :: Degrafa Bezier Spline Bind Data To String?

Jun 8, 2009

I want to insert a bezier spline into my Canvas by this code

<mx:Canvas
id="graphCanvas"
width="100%"

[code].....

View 1 Replies

Flex :: Horizontallist Variable Width?

Feb 25, 2010

i want to populate a horizontalList component from a xml file, the width value will be inside the xml file as well with all the data.actually i have this code:

<mx:Model id="epg" source="epg.xml" />
<mx:Component id="customRend">
<mx:Label text="{data.description}" width="{data.width}"/>

[code].....

View 1 Replies

Xml :: Flex - Horizontallist Control With XML Dataprovider

Mar 4, 2010

I'm using a HorizontalList control with an XML file as a data provider. This is how the XML looks:

[Code]...

I tried using an array of objects as a dataprovider. The item renderer works and the horizontallist behaves as I expect it to. However, when I use an xml file, it's empty.... I don't know why it's not working.

View 1 Replies

Flex - Remove Horizontallist Rollover Color?

Mar 5, 2010

I'd like to remove the rollovercolor of a horizontallist (my component has a background image)I've tried using a css style sheet by setting the "roll-over-color" property to "transparent" But I get a black background >_<

View 1 Replies

Flex :: Resizing Item Renderer When HorizontalList Resizes

Aug 15, 2009

I have a HorizontalList that is resized at runtime. The problem is that the items are not adjusting their height to the height of the HorizontalList. I use an item renderer (vBox) which has its height set to 100%. But the items always stay at their initial size.

View 1 Replies

Flex :: Programmatically Set Focus To HorizontalList So That It Could Receive Key Events?

Oct 26, 2009

look at the code:

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:creationComplete>

[Code]....

As you see, I try to make my HorizontalList focused when application is loaded. And I actually receive Received focus message in console. But I expected that I would be able to navigate over list elements with arrow keys after setting focus. But that's not the case. They work only after clicking component with mouse. How to make list have focus and respond to arrow keys?

View 2 Replies

Flex :: Remove An Eventlistener On (in This Specific Case) A HorizontalList

Dec 29, 2009

I'm trying to remove an eventlistener on (in this specific case) a HorizontalList. The list is initialized with the property itemRollOver="playPreview(event)" I'd like to remove this eventListener by switching state and stating something like: <mx:SetEventHandler target="{horList}" name="itemRollOver" handlerFunction="null" />

This doesn't seem to work. The event is still handled and playPreview(event:ListEvent) is still called. How to properly do this? (I know I can do it in Actionscript, but I specifically want to do it by means of state switching)

View 1 Replies

Actionscript 3 :: Flex - Flex 4.5 Simple Spark Button Skinning ?

Jun 25, 2011

Anyone missed the old simple method for skinning a simple button?

CODE:

The problem im having is that, this method of creating a simple button with skin is being phased out : Infact it is no longer supported in flex 4.5 mobile projects.

So the question: Is there a simple way to perform this, with spark buttons (which is suppose to be the new way to go). As simple as possible.

Basically i only need a button with 2 images : down/over & up. And i want to keep the code as simple as possible : The new skinning methods, seems to really adds way too much lines for something that used to be as simple as the example above.

View 3 Replies

Flex :: Skinning AIR Application Window

Mar 31, 2010

I'm using mx:WindowedApplication, I'm wondering how I can skin the title bar and close/minimize button for the window. I can see application like Pandora One is using it and setting transparency. Any pointer to a doc?

View 1 Replies

Flex :: Skinning Multiple UI Components?

Feb 2, 2011

Let's say you have a large number (N) of spark buttons in your app. Let's also say that your buttons all have very similar skins (size, various effects, etc) - the only difference being the specific png that they use as their BitmapImage. Do you end up with N skin files, all differing by 1 line? Or is there a smarter way to do this while not adding a lot of code when you create the buttons in MXML (in fact, ideally, none).

View 1 Replies

Css :: Skinning Halo Scroll Bar In Flex?

Mar 28, 2011

I have the Spark scroll bar in my application skinned the way I want where I use s|VScrollBar and then set skinClass: ClassReference(my skin class) in my CSS file. For my Halo scroll bar I have the skins set for each element of the scroll bar (arrows, thumb, track, etc.) but I want to have one central class like with the Spark scroll bar.

View 1 Replies

Flex :: Programmatic Skinning Of PopUpButton?

Aug 26, 2011

I am trying to programmatically skin a PopUpButton control in Flex Builder, but having no luck. As far as I know this requires writing a custom skin class or creating a modified version the control class itself (since the control is MX and not Spark). Again, just to clarify, I want to programmatically modify the appearance not simply set styling properties or display an image. I've been able to do this programmatically with other MX controls (e.g. tabs in a tab navigator), but not with the PopUpButton.I think part of the problem may be that the control is actually composed of two separate buttons, so you cannot draw just one rectangular area over the whole control.

View 1 Replies

Flex :: Skinning - HSlider - Set Different Skins For Different Thumbs?

Jul 1, 2009

I am going to use a HSlider to set a range of values. I would like the left thumb to look like ( and the right thumb to lok like ) so they appear to encompass the range like (range) instead of |range|. I only know how to set the skin for SliderThumb which will set the skin for both. Does anyone know of a way to set a different skin for each thumb?

[Code]...

View 3 Replies

Flex :: Skinning Spark List Component?

Aug 2, 2010

How to skin spark List component so that every adjacent itemRenderer has different color (something like mx DataGrid)?

View 1 Replies

Flex :: Skinning The Datatip Of A Hslider Component?

Sep 1, 2010

how to skin the datatip of a hslider component.

I have created a 3 skins with degrafa. One for the track, one for thumb and one for the datatip. I had no problem attaching the skins for the track and thumb of the hslider component. But how can i skin the datatip?

View 1 Replies

CSS :: Difference Between Skinning / Coloring And Themes In Flex

Jun 24, 2011

Need Detailed explanation on the difference between skinning, coloring and themes.

View 1 Replies

Flex :: Skinning Button In AS - Adding Border?

Jul 29, 2011

I've just started playing about with skinning and am finding it harder than anything else I've come across in Flex 4 Mobile. It needs to be done in actionscript as I am trying to skin a flex mobile button. Here is what I have so far: (It does very little, only changes the background color)

package skins {
import flash.display.GradientType;
import flash.geom.Matrix;
import mx.utils.ColorUtil;
import spark.components.supportClasses.StyleableTextField;
import spark.skins.mobile.ButtonSkin;
[Code] .....

There doesn't seem to be much in the way of documentation for skinning Flex mobile components purely in actionscript. How do we add a border for example?

View 1 Replies

Flex :: Skinning A Button Through Document States?

Mar 21, 2012

I came across this piece of code and it intrigued me. I haven't seen skinning like this before. I'd like to know if there are any downsides and alternatives to it. For example, is it cpu intensive like addChild calls are?

<s:Button id="loginoutBtn" right="10" top="10" label="Log out" label.loggedout="Log in" skinClass.loggedin="skins.FBLogoutButtonSkin" skinClass.loggedout="skins.FBLoginButtonSkin" click.loggedin="logout()" click.loggedout="login()"/>

[code]........

View 2 Replies

ActionScript 3.0 :: Flex - Customizing/skinning Components?

Apr 8, 2009

I'm just starting out with Flex, and I want to customize a component (a HSlider) to have a gradient colored background that I can dynamically change Same functionality as a normal HSlider, except for the background.How should I approach this?

View 1 Replies

Css :: Set Skinning Like UpSkin,downSkin,overSkin To Accordion In Flex?

Aug 12, 2009

In my project i used Accordion . if i add skin to Accordion then so error ? but i tried like

<mx:Accordion borderStyle="solid" width="212" height="346" upSkin="@Embed(source='image/UPDATE.png')" >

But shows error like Cannot resolve attribute 'upSkin' for component type mx.containers.Accordion. how can i add overskin,downskin,upskin to Accordion in flex ?

View 1 Replies

Flex :: Skinning - Use StyleManager.setStyleDeclaration To Set Button Skins?

Feb 9, 2010

I am trying to load an swf file which has button skins as images (In the library of the swf file i have given export properties which is 'TickMark') and set the skin of a flex button using StyleManager.setStyleDeclaration.I am getting errors like 'Argument count mismatch on TickMark(). Expected 2, got 0.'This is what i am trying to do:

private function init():void
{
loader = new Loader();[code].....

If I use the class GraphicClass in setStyleDeclaration, it works... but basically I want it dynamically.Or there are other easy methods to skin (image) a flex button dynamically?

View 2 Replies

Actionscript 3 :: Accessing Custom Property Of HostComponent When Skinning - Flex 4.5, SDK 4.5

Jun 7, 2011

Using SDK 4.1 I was able to access custom properties of a custom button component from a custom skin. The project I'm currently working requires SDK 4.5 and I'm unable to to access the properties. Here's an example:

[Code]...

View 2 Replies

Center Item Renderer's In A HorizontalList?

Aug 13, 2009

I am trying to center itemRenderers in a horizontal list if the number of items in the list is less than the maximum visible number.

View 4 Replies







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