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

Spark form not showing up in flashbuilder 4

I am going through the flex in a week training and I'm trying to use the Spark form in Flashbuilder 4, but it does not appear in the components windows. When I drag a form from there it is an mx form control. The project is set to use the 4.5 sdk…
chobo
  • 31,561
  • 38
  • 123
  • 191
4
votes
1 answer

How to cancel editing in Halo/Spark TextInput and TextArea components

I am using Flex 4, ActionScript 3. In the AdvancedDataGrid component, when you are in Edit mode in a cell, you can hit the Escape key to cancel editing (i.e. return to the previous value in the cell). I had expected the same behaviour while in Edit…
bon_t
  • 97
  • 1
  • 7
4
votes
6 answers

How can you display a multi-line column header using the Flex Spark Data Grid?

How can you display a multi-line column header using the Flex Spark Data Grid for Flex 4.5?
Brandon
  • 6,832
  • 11
  • 38
  • 50
4
votes
4 answers

What is the purpose of 'fb:purpose' in a Flex ?

I've now seen it a few times here and there and it's got me curious. //script stuff So far, I have seen no difference with it there and without it. Nor do I get any compiler erros. How does a…
Jonathan Dumaine
  • 5,575
  • 3
  • 38
  • 50
4
votes
5 answers

How do I attach camera to Spark.components.VideoDisplay

I'm using Flash Builder and created a spark-application Flex project that will stream video from the local camera. If I use mx.controls.VideoDisplay; there is no problem since it has attachCamera(camera) method. But Spark's VideoDisplay component…
Onur Yıldırım
  • 32,327
  • 12
  • 84
  • 98
4
votes
4 answers

How can I get the ItemRenderer of a Flex Spark List from its DataProvider Object?

In Flex I can create an ItemRenderer to represent each item in the Lists DataProvider but how do I access the instance of the ItemRenderer via the DataProviders Object? Something like myList.getItemRenderer(dp.getItemAt(10));
Lee Probert
  • 10,308
  • 8
  • 43
  • 70
4
votes
0 answers

Getting "invalid application descriptor: Unknown namespace: library://ns.adobe.com/flex/spark " in adl (flash builder command-line debugger)

Getting "invalid application descriptor: Unknown namespace: library://ns.adobe.com/flex/spark" when using adl (command-line debugger) for a flash-builder 4.6 adobe air project its a very simple project mxml file starts like this :
3
votes
1 answer

Make spark ButtonBar act like mx ToggleButtonBar Flex 4

Hello all i have the code below to define a buttonbar control in spark: Latest Videos
sstauross
  • 2,602
  • 2
  • 30
  • 50
3
votes
2 answers

Super interface and super class having the same method name

I am trying to create a spark datagrid item renderer. This item renderer extends a checkbox, and implements IGridItemRenderer public class CellCheckBoxItemRenderer extends CheckBox implements IGridItemRenderer When I implement IGridItemRenderer, I…
Mansuro
  • 4,558
  • 4
  • 36
  • 76
3
votes
1 answer

Spark SkinnableComponent skinDestructionPolicy

As a part of trying to tackle a memory leak in our application, we discovered that for every SkinnableComponent, the skinDestructionPolicy is set to "never" by default. This means that when using static skin parts, the skin is forever detained in…
Dennis Jaamann
  • 3,547
  • 2
  • 23
  • 42
3
votes
2 answers

Removing the header from a Spark DataGrid

How do you remove the header row from a Spark DataGrid? MX DataGrid had the attribute "showHeaders" but this doesn't seem to be present in the Spark DataGrid. This seems like it should be a very easy task, so either I'm extremely dense or just…
Phil
  • 1,897
  • 4
  • 25
  • 48
3
votes
1 answer

Halo theme on a Spark component

I have a Flex form made up mostly of MX components. Due to limitations with the MX mx.controls.ComboBox, I'd like to use the Spark control, spark.components.ComboBox. This works, except the Spark ComboBox sticks out visually because it doesn't use…
Steve Kuo
  • 61,876
  • 75
  • 195
  • 257
3
votes
1 answer

Does the Flex4 Host Component have the same function as a view mediator/helper?

Coming from Robotlegs/PureMVC, I am pretty familiar with the concept of the view mediator, i.e. a component that pretty much listens to events/requests coming from the "dummy" view and makes a further request, sends an application-wide signal/event,…
user802232
  • 2,541
  • 7
  • 34
  • 40
3
votes
2 answers

Display a message that a Spark List is empty

Sorry, this is probably a really easy to answer question, but how in Flex can I display a message within a Spark List component that states that the List is empty. For example if I have a List showing number of jobs outstanding, if my List is empty…
Phil
  • 1,897
  • 4
  • 25
  • 48
3
votes
2 answers

Spark Datagrid memory usage with dynamic columns

I have a question about the Spark DataGrid and how it works in terms of garbage collection. What I'm finding is that if I dynamically add and remove columns from the DataGrid at runtime, the GridColumns and ItemRenderers never get freed from…
David
  • 31
  • 3
1
2
3
34 35