Difference between Adobe AIR and FLEX?

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

GWT vs Flex vs? [closed]

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

Flex/LCDS Server-to-data-source Paging

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

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

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

Skip window from being captured

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

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)