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
2 answers

What do the ScaleGrid properties in Spark Skins do?

I've been searching for what attributes like scaleGridLeft and scaleGridRight actually mean, but cannot find a coherent explanation anywhere. One description said that if you have an image, what you're trying to do is to define a rectangle that will…
David
  • 703
  • 1
  • 15
  • 31
0
votes
1 answer

Two pixels lost when using MXDataGridItemRenderer

I have mx DataGrids with custom item renderers on one column based on HBox. I tried to optimize them using the spark MXDataGridItemRenderer class, but using it results in the first row of the column being 2px shorter than the rest, as if the first…
0
votes
1 answer

adobe flex spark group graphics disappears on addEventListener

When creating a simple Flex 4.6 App, where the creationComplete-handler looks like this: protected function creationCompleteHandler(event:FlexEvent):void { var groupVisible : Group = new Group(); groupVisible.graphics.beginFill(0xff0000); …
0
votes
2 answers

How to add a 'Graphic' to an itemrenderer at runtime?

May be this is very simple but right now I am unable to put a solution for it. Here is brief description of my problem: I have a dictionary of clipart objects as: clipartDict['cat'] = Cat; //Cat.mxml clipartDict['dog'] = Dog;…
M.D.
  • 1,886
  • 1
  • 13
  • 14
0
votes
1 answer

How to make MXML Component Constructor with Arguments?

I`m new in flex and could anyone help me? How do I create a constructor that takes arguments for an MXML component?
zgnachvi
  • 33
  • 1
  • 4
0
votes
1 answer

Flex Spark Replace text to color text

I'm making simple editor. And I want that, let write replacing colorless text to color text from RichEditableText when I will write any text. For example: PHP --> PHP This codes not work: editorum.text =…
SamedDeger
  • 39
  • 1
  • 11
0
votes
2 answers

Flex ItemRenderer - how to tell when it's being reused?

I'm using a spark ItemRenderer in a list with useVirtualLayout="true" The itemRenderer has an image loaded in it. When the list scrolls, and a new Item is brought into view - the image flickers, briefly showing the previous image in the…
stevemcl
  • 367
  • 1
  • 3
  • 11
0
votes
1 answer

modify flex spark scroller to scroll by page, with easing

I have modified the scroller skin for my VScrollBar per Steven Shongrunden's excellent article http://flexponential.com/2009/10/09/changing-the-position-of-the-scroll-bars-in-a-spark-list/ so there are just the up and down button, no scroller…
andrew
  • 77
  • 10
0
votes
1 answer

Custom AxisRenderer

I am working with a LineChart with a CategoryAxis for the horizontal axis and I need each category to have a very custom formatted display. Using CategoryAxis.LabelFunction is not powerful enough for my purposes, as it only allows custom formatting…
prismaticorb
  • 895
  • 1
  • 8
  • 18
0
votes
2 answers

Spark top horizontal menu for mobile app

I'm new to Flash. In my mobile app I need a simple horizontal menu (or toolbar) with 3-4 items on top of the screen. ViewMenu is perfect for this task, but I couldn't find a way to display it on top - is it possible? As far as I understand,…
dop2000
  • 577
  • 1
  • 7
  • 17
0
votes
1 answer

Adobe Flex Android Mobile - Preventing inactivity causing loss of control values?

I am working on a mobile application that does a simple age calcualation. I have a datespinner that update 3 labels. When I first start my mobile app on my android device it works great. I am able to update the controls multiple times with out any…
Victor J. Garcia
  • 302
  • 4
  • 10
0
votes
1 answer

remove extra space in spark button

How is it possible to remove extra space in spark button? (source: turboimagehost.com) So i need the image or text starts exactly with left border of the button
Max
  • 1,090
  • 10
  • 23
0
votes
1 answer

How to use databinding with s:GridItemRenderer and anonymous objects?

I have a custom s:GridItemRenderer that contains a single s:CheckBox and is used to display a boolean property of the items in the grid's dataProvider which is dependend on which dataField was set for the column:
user1346245
0
votes
1 answer

Flex: How to animate the target I've clicked on?

I wrote a loop that adds a MouseEVENT.CLICK event listener to all of the images in my view. (this part works) var numChildren:int = PageScroll.numChildren; for (var i:int = 0; i < numChildren; i++) { if(PageScroll.getChildAt(i) is Image) …
Hyperion
  • 21
  • 2
0
votes
1 answer

How to add a controlbar to the Flex Spark Panel component just below to the title bar

I am trying to add a controlbar to the Flex Spark Panel component just below to the title bar. It is to works as the controlbar of the spark controlbar. So that I can add components to the To implement it I have created a skin and a as3 class…
1 2 3
34
35