How would I start learning how to program in Flex? [closed]
Check out Ten Great Ways to Learn Flex, but I think number one should be to use the Quickstarts on the Adobe Site.
Check out Ten Great Ways to Learn Flex, but I think number one should be to use the Quickstarts on the Adobe Site.
The “Flex Framework” is a collection of AS3 classes and components used in developing RIAs. “Flex Builder” is an IDE used to develop “Flex Applications.” Much in the same way HTML is a collection of tags to develop web pages and Dreamweaver is an IDE for developing web pages. However you don’t need Dreamweaver, you … Read more
The three digit hex colors are expanded by doubling each digit (see w3 spec). So #F3A gets expanded to #FF33AA.
I’m only mildly familiar with Flex, but have worked with GWT for many years. We had to make a very similar decision some years ago (Flash vs GWT), but for different reasons. In the end we saw the many advantages of GWT over Flash (Many of which apply to Flex): Not all our customers have … Read more
This should work for Java and Maven processes. You can get the command line from the Process properties. run the process in debug mode right click on the process item in the “Debug” view and choose “Properties” the command line is displayed
Don’t have any benchmarks to support this, but one would assume that the native Array.splice method would be the fastest… So, to remove the entry at index 5: array.splice(5, 1);
First, What is your adapter definition? Try this: <adapters> <adapter-definition class=”flex.data.adapters.JavaAdapter” id=”java-dao”></adapter-definition> </adapters> Second, add custom=”true” attribute to your paging property. <paging enabled=”true” pageSize=”100″ custom=”true”/> Third, possibly change your scope to application Fourth, in your destination definition, add adapter=”java-dao” instead of having a reference to it. <destination adapter=”java-dao” id=”invoiceListDataService”> Fifth, make sure you’re Overridding the … Read more
Flash and Flex both use the same underlying rendering engine, just with different front-ends. Flash is better suited for making movies and animations. Flex is better for application development.
The theoretical answers from everyone else are all neat, but let’s be pragmatic. ActionScript provides the tools you need so that you don’t even have to write a loop in this case! First, note that Math.min() and Math.max() can take any number of arguments. Also, it’s important to understand the apply() method available to Function … Read more
If I understood correctly your problem. You can use built in Flex/as3 function to take a screenshot of the entire application or a particular component then convert into bytearray and PngEncoder (or JPGEncoder if you prefer), than save it… Here’s an example: <?xml version=”1.0″ encoding=”utf-8″?> <s:WindowedApplication xmlns:fx=”http://ns.adobe.com/mxml/2009″ xmlns:s=”library://ns.adobe.com/flex/spark” xmlns:mx=”library://ns.adobe.com/flex/mx”> <fx:Script> <![CDATA[ import mx.graphics.codec.PNGEncoder; private function … Read more