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

Flex spark TextArea limit max characters when copy/pasted

I did a search and was not able to find it. We have a Spark TextArea with maxChars="3900". But it doesn't work when copy/paste to the text area. I tried to add this to the changingHandler: if (ta.text.length > 3900) { …
Harry
  • 546
  • 6
  • 22
  • 50
0
votes
1 answer

Why is my height changes not taking part in my transition on state change?

I have a transition setup on my Spark component. One of the changes from state 1 to state 2 is the change in height. The value was getting applied immediately. Here is my code:
1.21 gigawatts
  • 16,517
  • 32
  • 123
  • 231
0
votes
1 answer

Why does putting these objects into the MXML break this function?

I've got two classes, VideoPod and RemotePod, RemotePod inheriting from VideoPod. Without showing all the code in these classes, basicall here's part of VideoPod: public function showPanel():void { if (!pnl.visible) { …
Panzercrisis
  • 4,590
  • 6
  • 46
  • 85
0
votes
1 answer

Flex Spark Textinput different component width and inside text width

I am trying to change the length in pixels of the text displayed INSIDE a spark Textinput component. On a mx Textinput I would have overridden updateDisplayList and modified textField width but I can't come up with a similar solution here. Any…
user1727408
  • 11
  • 1
  • 4
0
votes
1 answer

Flex: RichTextEditor adds extra line before and after my text

I am using the RichTextEditor and couldn't find a way to resolve the below issue: I am getting an extra blank line above and below my text as in the image below: This is what I get using RichTextEditor: This is what I want using…
M.D.
  • 1,886
  • 1
  • 13
  • 14
0
votes
1 answer

How to hide the track on HSlider

Is there a way to hide the track in an HSlider and if possible so that only the button accepts mouse interaction? I would like to layer two HSliders together on top of one another and make a pseudo multithumb slider and hide the track of one of…
1.21 gigawatts
  • 16,517
  • 32
  • 123
  • 231
0
votes
1 answer

Return read-only ui component in Flex

In Flex, I want to create some variable that would hold a dictionary of ui components used throughout my application. Ideally, there would be a function in Application component that would return component for id: public function…
Ivan Zamylin
  • 1,708
  • 2
  • 19
  • 35
0
votes
1 answer

Custom Flex TextArea with html code completion

I made a text/html editor app but I want to add code hinting. Right now I'm using a basic Spark textures. What steps are involved in implementing code hinting/completion?
RapsFan1981
  • 1,177
  • 3
  • 21
  • 61
0
votes
1 answer

Flex RadioButton label won't truncate

I have RadioButton, just one singular RadioButton not in a Group or anything like that. I set it's width to 100. I then give it a label which is much longer than 100px. Also, in the Skin for this RadioButton I have the Label just being a subclass of…
user1513171
  • 1,912
  • 6
  • 32
  • 54
0
votes
1 answer

How to prevent an item from be selected in a List

How do I prevent an item from being selected in a List? Let's say you want to use it for display or other reasons.
1.21 gigawatts
  • 16,517
  • 32
  • 123
  • 231
0
votes
1 answer

Cursor moves to the start location on selection in spark combobox?

I have a . I provide arraylist as its data provider. my question is why moves to the ing location in when I select any item using enter key. Also when I press space from keyboard, again moves to ing location. How can I fix this? Thanks protected…
Sarfraz Ahmed
  • 1,349
  • 6
  • 23
  • 43
0
votes
1 answer

AdobeTV: Working with Data in Flex by James Ward - empWeb example in Flash Builder 4.0 Beta

From a video on AdobeTV, I tried to play with example empWeb (LiveCycle Data Services). In Flex Builder 3 (FB3) everything works fine. When I tried this on Flash Builder 4.0 Beta (FB4) it doesn't work. When I replaced original xmlns declarations…
None
0
votes
0 answers

Flex Spark GridItemRenderer on maximize window

Here is my problem. I have a s:GridItemRenderer (the spark DataGrid size where I use this, is: 100% x 100%) and here is the function in it: override public function prepare(hasBeenRecycled:Boolean):void { myLabel.text = width.toString(); } and…
0
votes
2 answers

Flex - spark.components.VideoPlayer - set alpha on source(?) or skin property

Long time consumer, first time poster. I posted this question in another forum but have had no luck in getting an answer, so I thought I'd turn to my "go-to-problem-solving" forum. I'm having an issue but am not sure where the problem lies, as I'm…
Chipleh
  • 13
  • 4
0
votes
1 answer

TextInput prompt display does not show correct embedded font

I have a TextInput that is using an embedded font. The prompt however does not show the correct font.
1.21 gigawatts
  • 16,517
  • 32
  • 123
  • 231