<< D-Flex.org

Discussion Area

ask questions, discuss topics, solve problems

Discussion Home | About | Threads By Date | Search

Posts

1-10 of 56 | Next> | Last>>

Flex 'Smart' DataGrid
Thread posted on Aug 19 by AMessanger

Title: Flex 'Smart' DataGrid
Content:

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

Flex DataGrid, Searchable, Show or Hide Columns


Memory Issue 1
Thread posted on Feb 11 by Anbu Flex-Java

Title: Memory Issue
Content:

Hi guys,

           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.

Thanks,

Anbazhagan.T

ph: 93459 09656


Curving A Gradient 3
Thread posted on Jun 29 by B Ello

Title: Curving A Gradient
Content:

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
Thread posted on Dec 14 by BertieS2

Title: Android and Flex 4 Converflow Component
Content:

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.

Coverflow Layout


Making a Flex Preloader. 3
Thread posted on Dec 18 by bobby jim

Title: Making a Flex Preloader.
Content:

Greetings all.

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.

Thanks all.

Robert


Looking for Flex/Java Developers
Thread posted on Jun 08 by cgiamett

Title: Looking for Flex/Java Developers
Content:

For more information please follow the link to the job posting:

http://www.appfoundation.com/blogs/giametta/2011/06/07/looking-for-flexjava-developers/


Dallas Based Flex Project Work
Thread posted on Jan 05 by cgiamett

Title: Dallas Based Flex Project Work
Content:

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.

http://www.appfoundation.com/blogs/giametta/2010/10/27/need-help-with-a-project-using-adobe-flex/

 


ActionScript Error 2015 With Firefox And Internet Explorer
Thread posted on Apr 28 by chuckboc

Title: ActionScript Error 2015 With Firefox And Internet Explorer
Content:

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.

Chuck Brooks
FutureWare SCG


Flex Modules And Error 1014
Thread posted on Jun 06 by chuckboc

Title: Flex Modules And Error 1014
Content:

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"?>
<mx:Module  
  xmlns:mx="http://www.adobe.com/2006/mxml"
  layout="absolute"
  width="100%"
  height="100%"
  borderColor="#FFFFFF"
  themeColor="#FFFFFF"
  backgroundColor="#FFFFFF"
  creationComplete="onCreationComplete()">

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"?>
<mx:Module  
  xmlns:mx="http://www.adobe.com/2006/mxml"
  layout="absolute"
  width="780"
  height="650"
  borderColor="0xFFFFFF"
  themeColor="0xFFFFFF"
  backgroundColor="0xFFFFFF"
  creationComplete="onCreationComplete()">

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?

Chuck Brooks
FutureWare SCG


NoFields
Thread posted on Nov 17 by chuckboc

Title: Adobe Connect Web API In ActionScript3 For Flash/Flex
Content:

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. 

 

Chuck Brooks

FutureWare SCG


Filter by Date

<< May 2013 >>
Su Mo Tu We Th Fr Sa
      01 02 03 04
05 06 07 08 09 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  

Filter by Tag

All
announcement
Benefit
Flash
General
General Discussion
Question
Sticky

Change View

Titles
Summaries
Table
Clip
Clip & Comments
Full

Change Sort

Alphabetically
By Last Activity
By Date Posted
By Number of Comments
By Number of Views
By Author