I'm aware of textAlign property of the Text component. But it doesn't do what I'm trying to achieve:
I have a Text component which is 500x100 (the size does not change). The default font size is 80 px. The text, however, keeps changing. What I want is to resize the text to "fit" inside the textfield.
Let's say the text is changed to: ...
i've been testing a small Air app on different systems and found out that on one of these systems text does not show up, at all. Other (older) applications are fine, but this one does not display any text.
I've been frantically trying to solve this with text embedding. To no avail.
Could the system be missing a font?
system:
air 1.5.2...
I can pass values from HTML to a SWF when running my own HTML file, but I cannot see the way to do this within Flex Builder.
Creating my own HTML file with an extra param in the object tag works fine:
<param name="flashVars" value="greeting=Hello"/>
Then I can use this ActionScript to get the value in Flex:
blah = Application.applic...
Hi,
I'm a junior developer and I'm having some problems with my flex builder 3. Every time I make a new project, flex builder detects syntax errors like:
1084: Syntax error: expecting rightbracket before leftbrace. FotoBeheer line 23
1084: Syntax error: expecting rightbracket before public. FotoBeheer line 22
1084: Syntax e...
Hi,
No matter what value I put in the horizontalCenter property of the "Browse" button, it just follows the horizontalAlign property of the VGroup. Why is that ?
Thanks
<s:Group width="100%" height="100%" left="0" right="0" top="0" bottom="0">
<s:Panel id="mainPanel" title="File uploader" width="75%" height="75%" horizontalCenter=...
I have a Flex client that loads data from a server to display a chart. This data may change, so the client regularly repeats the request. Since the result may require some work to retrieve, I'm going to have the server detect if the result has changed, and issue a 304 status if it hasn't.
I haven't seen any headers in the Flash Player's...
I'm developing on Flex 4. I have a datagrid container and custom itemrenderer with a text field, a button and a few boxes. Every time some data is displayed, the app stalls for a second or two before rendering completely. Is there any way to make it render more fluidly or render one after another...?
...
Is working fine?, i found instruction in Adobe site confusing and i am not confident at all since it says that only works with eclipse 3.3 (actual version should be 3.5 or close)
There is any special instructions to do it well.
Thanks!
...
Let's say I'm trying to place a tooltip on the left side of a component on my view. Layout may look similar to this:
<mx:HBox>
<mx:Button id="btnBack"
label="Back"
click="btnBack_click();" />
<mx:Button id="btnFirstLoadDemo"
label="First Load Demo"
click="btnFirs...
I have following data:
var data: ArrayCollection = new ArrayCollection(
[
{ name: "ProductA", user: {login: "loginA", email: "emailA"} },
{ name: "ProductB", user: {login: "loginB", email: "emailB"} },
{ name: "ProductC", user: {login: "loginC", email: "emailC"} }
]...
I have Flex application requiring to filter users depending on there database groups. Depending on which group they are, the're is a config.xml file that is use to populate the swf.
Here is how I figure how to do this :
1. The client comes to a .aspx page with a form requiring a username and a password.
2. On the server side I confirm...
Hi folks,
I have a Flex 3 client interfacing to an RoR webservice for a POST request. When the webservice returns code 201 Created, Flex fires a resultEvent and everything is cool as I'm able to parse the XML response as you would expect.
However, when there is a problem with the data sent in a POST request, the webservice returns 422 ...
How to create a DateField in flex, that would disable all the dates before today's current date.
<mx:DateField id="dateField2" yearNavigationEnabled="true"
disabledRanges="{[ {rangeEnd: new Date(dateBeforeCurrentDate} ]}" color="0x000000"/>
I understand I will have to do sometime like the code above. But I don't know...
Hello.
I have a source collection (now a simple Array). At run-time I create ArrayCollections using the same array as the source (each collection show the same source, but they are differently filtered). My problem is, when a new item added to the source, the already created arraycollections wont updated if one of the property of this n...
I am using Flex 3 (ActionScript 3.0). I use the HTTP progressive download to play sound files. I want to secure the sound files, by only serving them when the request comes from my flex app. I chose the simplest solution of adding a HTTP header to each request send from the app. But flash.media.Sound object ignores the headers set in fla...
Ive been doing some research and I cant seem to find anything on writing to a file. My initial question was writing a array to a seperate file. But now I am looking for resources on how to write any data such as XML or a array to a file. What I want to do is create a game editor. I want to eventually save that data to a file to be opened...
Hello,
I'mm using flex builder 3.
I have an xml file that looks like this, notice the flag property. It can be either 0 or 1:
<question id="2">
<short>OMG</short>
<meaning>Oh My God</meaning>
<hint>OMG did you hear they broke up?!</hint>
<flag>0</flag>
</question>
<question id="3">
<short>BTW</short>
<meaning...
I'm just wonder if its possible to change States via a function in flex?
How would I go about doing this?
Thank!
...
How to write an AS3 object's memory location for example to a label?
I need it for debugging purposed. Thanx
...
I understand that in Flex builder we can right click on a CSS file and choose 'compile to swf' and our CSS SWFs will automatically be compiled along with the main app.
Is possible to compile the CSS file only (not with the main app) from the command line?
I want to :
Give clients a Flex CSS file to hand edit
Allow them to upload the ...