Questions tagged [flex-spark]

Spark is the new component skinning library introduced in Adobe Flex 4.

Spark is a library for skinning components in Adobe Flex. Spark supersedes the previous library, Flex MX.

521 questions
0
votes
1 answer

Styles metadata is not included in release build?

I'm using the reflection classes of Flex and I've notice when I publish in debug all of a components style metadata is found by describeType. But if I create a release build none of the styles show up.
1.21 gigawatts
  • 16,517
  • 32
  • 123
  • 231
0
votes
1 answer

how to distinguish between value set by user interaction vs binding on a Spark input component

How do I determine whether a value set comes from user interaction with the input component, or from binding? Example: override public function set…
P Varga
  • 19,174
  • 12
  • 70
  • 108
0
votes
1 answer

Is there a way to get the list of events a component dispatches?

I thought that describeType would list the events an object dispatches but I don't see any listed in the describe type XML. Is there a way to list the events or am I missing something? For example, on Spark Button there is "click", "mouseDown",…
1.21 gigawatts
  • 16,517
  • 32
  • 123
  • 231
0
votes
1 answer

Spark Scroller maximum scroll height

How can I set the maximum vertical scroll height? I mean the scroller contains 100 items (let's say) and i want to scroll down only on few of these items (from 0th - 30th). possible?
hassicho
  • 99
  • 8
0
votes
2 answers

Flex DataGrid Spark HeaderRenderer Sort Icon

I am trying to have an icon for one of my columns in my DataGrid. I initialized the DataGrid and put the columns like so:
K2xL
  • 9,730
  • 18
  • 64
  • 101
0
votes
1 answer

Flex: How do you use pushView() to access a specific state of a certain viewClass?

From a viewClass called TheFirstView I want to "move" to a viewClass called TheSecondView with the state SpecificState. I know how to get to the TheSecondView, the code is: navigator.pushView(TheSecondView); Is there a way to specify using…
Julia
  • 151
  • 3
  • 11
0
votes
1 answer

How to center a header renderer in a Spark data grid?

Currently I have this code: But it's not working, even though I have textAlign="center"! Thanks for any help.
user940016
  • 2,878
  • 7
  • 35
  • 56
0
votes
1 answer

Spark DataGrid multiline header renderer

I have a data grid and one of its columns has a long header text, so I want to span it across multiple lines. I tried several things but to no avail. Here's my current code:
user940016
  • 2,878
  • 7
  • 35
  • 56
0
votes
4 answers

Flex-4 Beta2 : Background image stopped working

After upgrading a project from Flex4 Beta1 to Beta2, I've found that the background-image style is no longer supported on Halo components. Eg:
Marty Pitt
  • 28,822
  • 36
  • 122
  • 195
0
votes
1 answer

How to get clip content to work on mx TabNavigator?

I have a TabNavigator and before that a ViewStack with TabBar that would not clip it's contents. It over flows the border or appears under other components positioned further down the screen. Has anyone run into this before? Here is my…
1.21 gigawatts
  • 16,517
  • 32
  • 123
  • 231
0
votes
0 answers

Rounded corners on spark buttonbar incorrect

I am having an issue with the spark ButtonBar. I use it on 2 places in my application with some custom CSS, but they look different in the 2 places and I have no idea why. This is a screenshot showing how I want it to look: This is what I don't…
Wim Deblauwe
  • 25,113
  • 20
  • 133
  • 211
0
votes
1 answer

Tools and process for designing a Spark skin

I come from the web development background where the process of skinning a website normally looks like this: Designer creates a design in Photoshop The design is transferred into HTML + CSS using the following heuristics: Where possible, use the…
jamix
  • 5,484
  • 5
  • 26
  • 35
0
votes
1 answer

Flex CSS Select button with skinClass

I want to select all buttons with a certain skinClass, I've been trying this but it doesn't work: s|Button[skinClass="local.MyButtonSkin"]{ fontWeight: normal; } My problem is that I have many buttons with different skins, all of them need to…
Drahcir
  • 11,772
  • 24
  • 86
  • 128
0
votes
1 answer

Skinning for different languages

I have a flex application that currently supports english , now my task is to translate it to different languages, that requires support for different parameters for the styles, for example , some buttons need to be wider and some font sizes need to…
Eran
  • 1,628
  • 16
  • 31
0
votes
2 answers

How do I create s:Path.data, polygon coords?

I have a PNG image, the image features a shape surrounded by a transparent area: I want to recreate this image as a path in flex mxml, something like this: How can I export the path data so…
Drahcir
  • 11,772
  • 24
  • 86
  • 128