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
4764
votes
9 answers

How to pass "Null" (a real surname!) to a SOAP web service in ActionScript 3

We have an employee whose surname is Null. Our employee lookup application is killed when that last name is used as the search term (which happens to be quite often now). The error received is:
bill
  • 26,883
  • 3
  • 17
  • 13
97
votes
11 answers

Failed to load JavaHL Library

After updating to Snow Lion I started receiving these errors in Flash Builder / Eclipse when trying to use SVN: Failed to load JavaHL Library. These are the errors that were encountered: no libsvnjavahl-1 in…
1.21 gigawatts
  • 16,517
  • 32
  • 123
  • 231
96
votes
8 answers

How to unload a ByteArray using Actionscript 3?

How do I forcefully unload a ByteArray from memory using ActionScript 3? I have tried the following: // First non-working solution byteArray.length = 0; byteArray = new ByteArray(); // Second non-working solution for ( var i:int=0; i <…
maclema
82
votes
22 answers

What is Adobe Flex? Is it just Flash II?

Question Alright, I'm confused by all the buzzwords and press release bingo going on. What is the relationship between flash and flex: Replace flash (not really compatible) Enhance flash The next version of flash but still basically…
Adam Davis
  • 91,931
  • 60
  • 264
  • 330
79
votes
6 answers

Can maven projects have multiple parents?

We have Java and Flex projects. We currently have 1 base pom that contains the configurations we want to use for both projects. Problem with this is: Flex projects inherit configuration, for example, for javadoc and pmd plugins, which is not…
Wim Deblauwe
  • 25,113
  • 20
  • 133
  • 211
75
votes
6 answers

How do I get a HttpServletRequest in my spring beans?

I'm developing an app with a Flex-based front end and a Spring/Hibernate back-end. To get Facebook integration working in the way I've got it currently, I need to read the cookies set in javascript on the front end on the back-end and do some…
Jason Maskell
  • 1,716
  • 1
  • 17
  • 26
70
votes
22 answers

Silverlight vs Flex

My company develops several types of applications. A lot of our business comes from doing multimedia-type apps, typically done in Flash. However, now that side of the house is starting to migrate towards doing Flex development. Most of our other…
Kevin Griffin
  • 2,239
  • 4
  • 25
  • 27
59
votes
6 answers

Reloading Flash 17 times causes error #2046 and requires a browser restart

I am encountering some very strange behaviour with a Flex 4.1 app I am writing which gets in the way of testing. It seems that I can reload the app 16 times and then on the 17th, the loading process fails with Error #2046: The loaded file did not…
Ruy Diaz
  • 3,084
  • 24
  • 36
58
votes
11 answers

Eclipse memory settings when getting "Java Heap Space" and "Out of Memory"

When trying to launch and run a flex/java project in eclipse I kept getting a "Out of Memory Exception" and "Java Heap Space" using Eclipse, Tomcat and a JRE. While researching trying to adjust the memory settings I found three places to adjust…
Brandon
  • 6,832
  • 11
  • 38
  • 50
54
votes
3 answers

SQLStatement.execute() - multiple queries in one statement

I've written a database generation script in SQL and want to execute it in my Adobe AIR application: Create Table tRole ( roleID integer Primary Key ,roleName varchar(40) ); Create Table tFile ( fileID integer Primary Key ,fileName…
Shawn
  • 19,465
  • 20
  • 98
  • 152
46
votes
3 answers

How do I get from an instance of a class to a Class object in ActionScript 3?

How do you get an instance of the actionscript class Class from an instance of that class? In Python, this would be x.__class__; in Java, x.getClass();. I'm aware that certain terrible hacks exist to do this, but I'm looking for a built-in language…
Glyph
  • 31,152
  • 11
  • 87
  • 129
43
votes
2 answers

Skip window from being captured

I have created an AIR application which has two windows. First one is main window(spark Windowed Application) and the second one is a component(spark window). I am using Java to capture the Desktop screen with Flex-Java Bridge Flerry. Here is the…
Vishnu
  • 11,614
  • 6
  • 51
  • 90
43
votes
9 answers

How to catch all exceptions in Flex?

When I run a Flex application in the debug flash player I get an exception pop up as soon as something unexpected happened. However when a customer uses the application he does not use the debug flash player. In this case he does not get an…
Yaba
  • 5,979
  • 8
  • 38
  • 44
40
votes
12 answers

Flash versus Flex

I've tried looking everywhere for a concise list of the advantages and disadvantages of using Flex vs. Flash. Coming from a programming background, I absolutely love Flex. It's easy to pick up, and since it can use flash classes, why would I want…
Zack Marrapese
  • 12,072
  • 9
  • 51
  • 69
40
votes
17 answers

What is the best way to get the minimum or maximum value from an Array of numbers?

Let's say I have an Array of numbers: [2,3,3,4,2,2,5,6,7,2] What is the best way to find the minimum or maximum value in that Array? Right now, to get the maximum, I am looping through the Array, and resetting a variable to the value if it is…
1
2 3
99 100