1-10 of 56
Flex 'Smart' DataGrid
Title: Flex 'Smart' DataGrid
Thread posted on Aug 19 by
A common need in a Data Grid or Advanced Data Grid is the need to search for a string in the rather huge data content of a datagrid as it is fairly difficult to visually eyeball specific text by scrolling the Data Grid contents. The Smart Data Grid is a Flex component that extends the basic Flex Data Grid by adding capability to show or hide columns. It also provides a search box that can be used to search the contents of the data grid. Try this component out by clicking here
Memory Issue 1
Title: Memory Issue
Thread posted on Feb 11 by
I am anbazhagan. Currently i am working in Ellaar infotech chennai (Flex & Java). I face memory issue problem in Adobe AIR. My application is based on dynamic components. We created the objects, buttons, components in runtime. We applied addEventListener for buttons also we remove listeners when user move to home page. But the problem is memory is still occupying that space. Can anyone help me to figure out this issue.
ph: 93459 09656
Curving A Gradient 3
Title: Curving A Gradient
Thread posted on Jun 29 by
Does anyone know if it's possible to curve a gradient to follow an irregular object? i.e. like a cylinder gradient that will follow a rod image that is bent into a "U". Im I making this clear????
Android and Flex 4 Converflow Component
Title: Android and Flex 4 Converflow Component
Thread posted on Dec 14 by
The Coverflow layout has been around for some time in Flash and Flex. Thanks to Flash Player 10's better 3D support the reworked extremely lightweight Horizontal Coverflow Component is a Flex 4 Laylout, tried and tested even in Android. The Flex 4 Coverflow component is versatile enough to support mant different options that generate layour variants. If you want to try this component and see how the different properties affect its look and feel, follow this link to the Flex 4 Coverflow component and rate the component up or down.
Making a Flex Preloader. 3
Title: Making a Flex Preloader.
Thread posted on Dec 18 by
I *thought* I could make a type of preloader for my Flex app using Flash, where a covered logo is slowly revealed as the app loads. This is different than a plain progress bar, in that in my estimation it requires a background image to be covered by a solid rectangle, and revealed via tweening.
Well. I can make said movie clip in Flash, but I can't seem to use it in Flex.
By the way, this project is Flex 3.5.
I've found websites that talk about customizing the Flex preloader, but always with some knowledge gaps that I can't bridge.
Maybe you know of a website that can help. Or maybe I don't need to use Flash at all -- maybe I can just use Flex. But I don't know. I'm just too new at this to be sure.
Any suggestions would be welcome.
Looking for Flex/Java Developers
Title: Looking for Flex/Java Developers
Thread posted on Jun 08 by
For more information please follow the link to the job posting:
Dallas Based Flex Project Work
Title: Dallas Based Flex Project Work
Thread posted on Jan 05 by
If you are interested in seeing some Flex work that has been done in the DFW area please feel free to visit my blog. There are several examples of work that AppFoundation has accomplished for our clients as well as code snippits that could help you with your day-to-day Flex development/architecture.
ActionScript Error 2015 With Firefox And Internet Explorer
Title: ActionScript Error 2015 With Firefox And Internet Explorer
Thread posted on Apr 28 by
Sometimes the InvalidBitMapData error is really masking something else. This error can occur with Firefox and IE7/8 by doing page refreshes. Here’s one way to work around it.
Doing a browser refresh shouldn’t result in anything exceptional, but certain Flash initialization demands, such as populating an image gallery, can result in a no show. It happens far more often with IE7 and IE8 than with Firefox. Chrome, Opera and Safari don’t have this rapid refresh problem, with XP, Vista and Win7.
Without going into the forensic details, the easily repeatable problem really is an out of memory detection that Flash reports as an invalid bitmap data error. Here’s the sequence of events.
From the browser 101 handbook, web page items are asynchronously built in the ordinary course of events. Flash items are launched by calling their constructors, which in turn build internal items and consume resources. Eventually, everything is completed. The Flash item probably has more smarts that the other page items, but the only thing it can be certain of is that its constructor was called, which is as close as Flash can get to an object complete event.
The visitor then refreshes the page.
The browser will start releasing page items in the ordinary course of events by sequentially going down the list built during the previous building sequence. When they are all released the page rebuild is started. But, the release is not the same as disposed and available.
The multistage garbage disposal is asynchronous, and reference counting continues apace, but variously behind the web page’s rebuild.
The Flash item is launched by calling its constructor, and when it goes for more memory, directly or indirectly, it hits an out of memory exception that is construed as InvalidBitMapData, because not all of the previous instance’s resources are actually freed, with some of them marked with process information that ultimately is related to the Flash’s registered program class. The confused memory manager ‘knows’ that the rebuilt Flash item is completely new and not an additional instance, and stops allocating any more memory to the class.
The solution to this specific problem (i.e., Flash errors when a page is refreshed) isn’t clean, but it does work, and is simple: Delay the Flash initialization, either with a timer (the easiest and most predictable) or by changing the order of initialization (probably a bit of work and unpredictable as processors are only getting faster).
For what it’s worth, we’ve found that this race problem disappears markedly with a timer value of 60ms for our set of machines, the slowest one having dual 2.8G processors and 2GB of r/w memory. Very unlikely that anyone can hit the F5 key more than 16 time a second.
Flex Modules And Error 1014
Title: Flex Modules And Error 1014
Thread posted on Jun 06 by
Not all error messages describe the primary failure, with all too many being downright misleading. Flex Error# 1014 ('...class mx::core layout container could not be found…') seems to be one of the catch alls that can result in all manner of angst.
Converting a regular Flex program to a module is usually straightforward, with the easiest and quickest way merely changing the outer tags and making sure events are properly named. So it was a big surprise when one conversion resulted in run time error E1014, yet it compiled without problem and ran in debug flawlessly. Not even reverting, in desperation, to adding Alerts in the module worked; they didn’t happen even when put in the creationComplete event.
The usual logical suspects had no clues, which, after a (considerable) while were abandoned in favor of the well known Montecarlo method of software debugging. This took another considerable while, which was a real problem given a go live date fast approaching and very few monkeys, much less typewriters, available.
Eventually a pattern, of sorts, revealed itself. The first dependency problem was the way the module treats space allocation as defined in the original code:
<?xml version="1.0" encoding="utf-8"?>
The second dependency problem was how color literals are declared. Here are the changes that eliminated the 1014 run time error:
<?xml version="1.0" encoding="utf-8"?>
But wait, there’s more! All color literals greater than #7FFFFF in the module had to be converted to uint format within the quotes.
Another problem was that, oddly, using the mxmlc command line compiler gave slightly different results (or more accurately shades of failure) than those when using the FlexBuilder’s ExportReleaseBuild procedure, probably (hopefully?) due to the latter’s use of inline switches.
All the fun that would have been missed of much softer red had been used.
Not sure there's a logical reason for this hack, but who wants to argue with success?
Title: Adobe Connect Web API In ActionScript3 For Flash/Flex
Thread posted on Nov 17 by
Collaborative applications lend themselves to RIA designs. Adobe Connect Pro can be extended, skinned and rebranded by using its Web API directly. Here’s an ActionScript3 implementation that handles the full API, complete with SWC file, documentation, a Flex demo project and access to a test database, downloadable at no charge from http://www.futurewaredc.com/FutureWareAdobeConnectWebAPI.html . Adobe Connect managed in a Flash/Flex application can easily piggyback on the opportunities created by Cisco’s recent Tandberg acquisition.