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
3
votes
1 answer

How to display grid lines in a flex 4 list?

I am newbie with Flex 4 (and Flex/AS in general). I am using a spark list control to display certain items with my custom Item Renderer. I am trying to achieve the following: (1) show a separating line between rows in my list control (2) even when…
abhgh
  • 308
  • 1
  • 9
3
votes
2 answers

Adding background image to mx component while using flex 4

Again, a theming question. Because the project I'm working on requires older libraries that extend mx components (such as TitleWindow and TabNavigator), I can't use what I know about Spark skinning directly. However, since the project is being…
Dwight
  • 1,537
  • 2
  • 14
  • 17
3
votes
3 answers

Flex 4 States: includeIn and component creationComplete

I have a component that, once it's all ready, I need to set the state based on a variable I'm reading in from XML. I tried doing it with creationComplete, but it's apparently not ready, as the state isn't being set with elements rendering properly,…
Gregir
  • 1,574
  • 5
  • 21
  • 43
3
votes
1 answer

Spark item inside mx component won't render embedded font

I have recently converted a Flex3 AIR project to Flex4, so it now uses Flex4.1 sdk and . It is a large project and having painstakingly updated all the vital bits of code to work with Flex4 it now happliy compiles. Most of the…
Stanz
  • 81
  • 5
3
votes
3 answers

ActionScript MXML vs

Looks like I can use components for both or . So, which has more advantages?
The Student
  • 27,520
  • 68
  • 161
  • 264
3
votes
2 answers

Find out deselected item in spark list with multiple selection

In a spark list I could use the change event to find out which item has been selected or deselected. The dispatched IndexChangeEvent object has the properties newIndex and oldIndex holding this information. But with multiple selection allowed this…
Sören Brunk
  • 121
  • 1
  • 8
3
votes
1 answer

Why does the default spark button skin not have iconDisplay tag?

For a Flex 4.6 Button one can define a label and an icon: The corrsesponding skin parts are: iconDisplay:BitmapImage and labelDisplay:IDisplayText which are set by the component…
zavr
  • 2,049
  • 2
  • 18
  • 28
3
votes
2 answers

Setting the correct height on a spark datagrid containing variable row heights

While converting a mx:AdvanceDataGrid to a s:DataGrid, my variable row heights caused the height of my DataGrid to be calculated incorrectly. I am attempting to show all rows without using a scrollbar. This image shows the incorrect height (the…
JamesG
  • 33
  • 6
3
votes
1 answer

What's the difference between the mx/fx/s object types in Flex 4?

Flex4 provides the following namespaces: xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/halo" What's the difference? Which namespace provide which function? Where can I…
ufk
  • 30,912
  • 70
  • 235
  • 386
3
votes
1 answer

FormItems are not aligning as ItemRenderers within a DataGroup

I am trying to use a FormItem as an ItemRenderer within a DataGroup - the purpose being to dynamically create a Form based upon an XMLlist as a data provider. The first part is a success in that the form items are successfully rendered, however my…
Beaker
  • 214
  • 1
  • 4
  • 16
3
votes
1 answer

Looping through Form children in Flex 4

I have a spark form that looks this. I am trying to loop through the form and push the id of each individual DropDownList into an array. I am able trace out the ids of the form items successfully. But I cannot get the id of DropDownList using any…
Bobby Francis Joseph
  • 606
  • 2
  • 14
  • 34
3
votes
1 answer

iOS UITableView like Sticky Header Index list for Flex Air

Does anyone know if there are existing tools out there for Adobe Flex (Air) that have the same behavior as the iOS's UITableView's sticky header for Spark List view ? something like this, when you scroll down the sticky head will update to the…
Jonathan
  • 598
  • 6
  • 16
  • 33
3
votes
2 answers

Flex TextArea and TextInput on mobile not positioning correctly

I've had two issues when working with TextArea and TextInput on mobile components I don't know how to solve. The first is that the TextArea text does not position correctly and the second is that it overlaps other components. The issues occur when…
1.21 gigawatts
  • 16,517
  • 32
  • 123
  • 231
3
votes
0 answers

How to send composing extension notification using flex's XIFF API?

I'm using the Xiff API in flex to connect to my XMPP server. and ill send message successfully but ill not get typing notification . right now i am get following message
user1697238
3
votes
1 answer

styling images in spark textarea

This example shows how you can have Images in your spark TextArea and set their float and paddingLeft/paddingRight properties:
paleozogt
  • 6,393
  • 11
  • 51
  • 94
1 2
3
34 35