Questions tagged [apache-flex]

Apache Flex [NOT CSS FLEXBOX] is a framework for developing Rich Internet Applications that run in Flash Player or Adobe Air. Originally designed by Adobe, Flex was donated to the Apache Software Foundation in 2011 and became a top level Apache project in December 2012.

Flex is a framework for rapid Rich Internet Application development which runs on Flash Player or Adobe . Originally designed by Adobe, Flex was donated to the Apache Software Foundation in 2011 and became a top level Apache project in December 2012.

Apache Flex® is a highly productive, open source application framework for building and maintaining expressive web applications that deploy consistently on all major browsers, desktops and devices (including smartphones, tablets and tv). It provides a modern, standards-based language and programming model that supports common design patterns suitable for developers from many backgrounds. Flex applications can be deployed to the ubiquitous Adobe® Flash® Player in the browser, Adobe® AIR™ on desktop and mobile or to native Android™, IOS™, QNX®, Windows® or Mac® applications.1

Usage

  • The lexical analyzer flex is not related to this. It should be tagged with or instead.
  • The CSS property flex is also not related to this. It should be tagged with instead.

Resources

23926 questions
31
votes
8 answers

HTTP Basic Authentication with HTTPService Objects in Adobe Flex/AIR

I'm trying to request a HTTP resource that requires basic authorization headers from within an Adobe AIR application. I've tried manually adding the headers to the request, as well as using the setRemoteCredentials() method to set them, to no…
Bob Somers
  • 7,266
  • 5
  • 42
  • 46
31
votes
7 answers

How does JavaFX compare to Flash and Flex?

I know Flex pretty good but also started to use Java FX. I am a little bit confused. Java FX seems to focus more on low level drawing operations and animations. Less on creating standard UIs like Flex. So is JavaFX more like Flash than Flex? On the…
Yaba
  • 5,979
  • 8
  • 38
  • 44
28
votes
4 answers

Conditional compilation "else"

In AS3 you can pass a constant to the compiler -define+=CONFIG::DEBUG,true And use it for conditional compilation like so: CONFIG::DEBUG { trace("This only gets compiled when debug is true."); } I'm looking for something like #ifndef so I can…
takteek
  • 7,020
  • 2
  • 39
  • 70
28
votes
7 answers

ASP.NET Web API, unexpected end of MIME multi-part stream when uploading from Flex FileReference

Following the tutorial found on ASP.NET, implemented a Web API controller method for doing asynchronous file uploads that looks like this: public Task PostFormData() { // Check if the request contains multipart/form-data. …
intrepidus
  • 974
  • 2
  • 12
  • 24
26
votes
12 answers

Scroll to selected item in Flex 4 Spark List component

I'm setting selected element in s:List component with Actionscript, it works, but List doesn't scroll to selected item -- need to scroll with scrollbar or mouse. Is it possible to auto-scroll to selected item ? Thanks !
Rodion Bykov
  • 614
  • 1
  • 7
  • 14
25
votes
4 answers

How to fix closure problem in ActionScript 3 (AS3)

In the code below I'm trying to load some images and put them in the stage as soon as they get individually loaded. But it is bugged since only the last image is displayed. I suspect it's a closure problem. How can I fix it? Isn't the behaviour of…
lbrandao
  • 4,144
  • 4
  • 35
  • 43
25
votes
9 answers

how to make text line break in flex textarea

I have a string var s:String = "This is a line \n This is another line."; this.txtHolder.text = s; //.text has \n, not a new line and i want to put it into a text area, but the new line character is ignored. How can i ensure that the text breaks…
Cameron A. Ellis
  • 3,833
  • 8
  • 38
  • 46
24
votes
4 answers

adobe air vs flex vs flash builder --- i need an explanation please

Can someone explain to me the difference between Adobe Air, Flex, and Flash Builder? I went to the Adobe website and it said that with Air I can build standalone apps for the desktop or mobile. They said the same thing with Flex. It said Flash…
Adam
  • 731
  • 2
  • 10
  • 16
24
votes
7 answers

Flex Warning: Unable to bind to property 'foo' on class 'Object' (class is not an IEventDispatcher)

I've got an object that contains a dozen or so fields I want to bind to form elements, so that I can use that object to send the data back to the server to be saved. Definition of my container object: private static const emptyLink:Object = { …
Adam Tuttle
  • 19,505
  • 17
  • 80
  • 113
24
votes
5 answers

How to pass arguments into event listener function in flex/actionscript?

Since when using sql lite if you try and do a function at the same moment it throws an error, im just trying to make a function that will check if its executing, and if it is try again in 10 milliseconds, this exact function works fine if i dont…
brybam
  • 5,009
  • 12
  • 51
  • 93
24
votes
7 answers

Actionscript 3 - Fastest way to parse yyyy-mm-dd hh:mm:ss to a Date object?

I have been trying to find a really fast way to parse yyyy-mm-dd [hh:mm:ss] into a Date object. Here are the 3 ways I have tried doing it and the times it takes each method to parse 50,000 date time strings. Does anyone know any faster ways of doing…
Matt MacLean
  • 19,410
  • 7
  • 50
  • 53
24
votes
11 answers

Flex development on Linux, what's a good free environment?

I would like to develop Adobe Flex applications using Linux and a free environment. I'd prefer a free as in freedom alternative, but as in beer would work as well. ;-) Are any of you developing Adobe Flex rich internet applications using such an…
user14070
24
votes
8 answers

Flex: Text Input that accepts number only

Need a code that only accepts numbers. Upon inputting, the code must check if it is number, if not, it must remove the entered key or not enter it at all
Treby
  • 1,328
  • 6
  • 18
  • 26
23
votes
1 answer

Embedding metadata time limit for Flash Builder 4.5.1mobile project?

I am working on a project that requires me to embed metadata on the fly with a recorded stream from a webcam. I am utilizing Flash Builder 4.5.1 creating a mobile project. I am using a simple netStream.send function to set the metadata I want.…
Nikeah
  • 231
  • 1
  • 2
23
votes
10 answers

Flex - Sending a parameter to a custom ItemRenderer?

What I am trying to accomplish to to get financial data in my Flex Datagrid to be color-coded--green if it's positive; red if it's negative. This would be fairly straightforward if the column I want colored was part of the dataProvider. Instead, I…
Matt Dell
  • 9,205
  • 11
  • 41
  • 58