RE: [flexcoders] Re: Huge impact of Class and Function on memory usage

2009-10-21 Thread Alex Harui
Make sure you understand the limitation of the loitering objects view. It is explained in the profiler article on my blog. You can get false positives from that view. In theory BitmapData should not be leaked by the framework. Any JPG, PNG, GIFs used in the app will be represented as

[flexcoders] Re: Spark layout / horizonal and vertical centered button

2009-10-21 Thread Markus
Ok, i got it. :-) It was really just a little thing. Only the height=100% was wrong on the VGroup - so it couldn't be aligned in the middle. So my code looks like this now: ?xml version=1.0 encoding=utf-8? s:Application xmlns:fx=http://ns.adobe.com/mxml/2009;

[flexcoders] Anti-aliasing for non embedded fonts / Spark components

2009-10-21 Thread Markus
I have a question regarding anti-aliasing for non embedded fonts using the Spark components (Flex 4 Beta 2). Is this possible like Joan Lafferty points out in her article Differences between Flex 3 and Flex 4 beta (updated for beta 2) on page six - ... Additionally, device fonts now have most

[flexcoders] Possible to change border thickness of textInput in error state?

2009-10-21 Thread G
I know you can change the errorColor of a textinput, but I have found nothing in the docs, or online about how to change the thickness of that border (when not in focus). It seems that the thin red line is not very noticeable, and I want to bring more attention to fields which have errors. I

[flexcoders] Serious bug with array sorting?

2009-10-21 Thread mole5000.geo
I'm running the below file in FP10 using SDK 3.4. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute applicationComplete=init() mx:Script ![CDATA[ var a:Array =

[flexcoders] use local flash dll instead of installed one for embedded flex app

2009-10-21 Thread Amitabh Ghatak
hi, i've created a flex app that is embedded in a VC++ container app (thru activex). we're facing a lot of headaches in terms of versioning (QA efforts, stability etc). is there any way i can use a specific version of flash dlls only shipped for my app (and placed in my app's install

[flexcoders] Re: Serious bug with array sorting?

2009-10-21 Thread Markus
Yes, it's the same to me - and I tested it on FB9 / 3.2 and FB10 / 4.0 (Beta 2). So far I can't see any reason why this happens. Markus --- In flexcoders@yahoogroups.com, mole5000.geo aardvark5...@... wrote: I'm running the below file in FP10 using SDK 3.4. ?xml version=1.0 encoding=utf-8?

[flexcoders] Apparent data value change in Advanced DataGrid

2009-10-21 Thread Tom McNeer
I have an Advanced DataGrid that uses a Grouping Collection created from flattened data in an array collection. The hierarchy is only two levels deep: the grouping level and a detail level. At the grouping level, I want to display a grouping label, plus information in four of the other eight

[flexcoders] Is there Coldfusion Syntax coloring / highlighting in FB4

2009-10-21 Thread boy_trike
I miss the Coldfusion extensios in FB4. Is there a plug in for eclipse that handles that or is there a better editor? Thanks Bruce

[flexcoders] Re: Apparent data value change in Advanced DataGrid

2009-10-21 Thread droponrcll
--- In flexcoders@yahoogroups.com, Tom McNeer tmcn...@... wrote: I have an Advanced DataGrid that uses a Grouping Collection created from flattened data in an array collection. The hierarchy is only two levels deep: the grouping level and a detail level. At the grouping level, I want to

[flexcoders] Re: updating display of GroupingCollection on AdvancedDataGrid with refresh

2009-10-21 Thread vam6981
You can extend the AdvancedDataGridGroupItemRenderer and add checkbox in the createChildren() http://vam1021.webs.com/ADGPanel/srcview/source/commongrid/ADGGroupItemRenderer.as.html Check out my blog http://flexingflashing.blogspot.com/ --- In flexcoders@yahoogroups.com, ibo power...@...

[flexcoders] Re: filtering advanced datagrid

2009-10-21 Thread vam6981
There is an example here with ADG filtering http://flexingflashing.blogspot.com/ --- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote: This article should help: http://jonathanbranam.net/solutions/filter-hierarchicalcollectionview-parent-child-data and possibly this one:

[flexcoders] Re: Help with AdvancedDataGrid - Urgent

2009-10-21 Thread vam6981
Santosh, Check out the example here http://flexingflashing.blogspot.com/ --- In flexcoders@yahoogroups.com, Adrian Williams adri...@... wrote: Hi Santosh, Check out GroupingCollection. Adrian Santosh Varghese wrote: Hi, I am new to Flex development. I wanted to use

[flexcoders] Re: Accessing DataProvider from GroupingCollection

2009-10-21 Thread vam6981
Another way is to use recursion var selectedLeafObj:Object = selectedRow; while(selectedLeafObj selectedLeafObj.children){ selectedLeafObj = selectedLeafObj.children[0]; }//while --- In flexcoders@yahoogroups.com, fumeng5 fume...@... wrote: I can do it this way but it seems totally

[flexcoders] Re: How to add custom sorting to AdvancedDataGrid to worked on grouped Data?

2009-10-21 Thread vam6981
sorting works on grouped data also. checkout the example here http://vam1021.webs.com/ADGPanel/ --- In flexcoders@yahoogroups.com, golnooshp golnoo...@... wrote: Hi, I have an advancedDataGrid that I need to add custom sorting to it which overrides the original sort! my sorting should work

[flexcoders] Re: What the heck am I doing wrong with my GroupingCollection?

2009-10-21 Thread vam6981
See if this example resolved your problem http://vam1021.webs.com/ADGPanel/ --- In flexcoders@yahoogroups.com, golnooshp golnoo...@... wrote: Hi Mark, Can you sort on groups at all? Because I know this is a bug in flex that you actually cannot sort on grouped data! the groups can only be

[flexcoders] Re: What the heck am I doing wrong with my GroupingCollection?

2009-10-21 Thread vam6981
See if this example resolved your problem http://vam1021.webs.com/ADGPanel/ --- In flexcoders@yahoogroups.com, golnooshp golnoo...@... wrote: Hi Mark, Can you sort on groups at all? Because I know this is a bug in flex that you actually cannot sort on grouped data! the groups can only be

[flexcoders] Re: Display ADG Data Asynch (was: Advanced Datagrid performance)

2009-10-21 Thread vam6981
Checkout my version of GroupingCollection http://flexingflashing.blogspot.com/ --- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote: If you have a look at the documentation for GroupingCollection (http://livedocs.adobe.com/flex/3/langref/mx/collections/GroupingCollection.html)

Re: [flexcoders] use local flash dll instead of installed one for embedded flex app

2009-10-21 Thread Steve Mathews
Are you using f-in-box (http://www.f-in-box.com/)? We are using it and it allows you to use a local player version rather than the installed one. Steve On Tue, Oct 20, 2009 at 11:09 PM, Amitabh Ghatak amita...@ivycomptech.comwrote: hi, i’ve created a flex app that is embedded in a VC++

[flexcoders] Re: sorting data on non-grouped field in an advanceddatagrid

2009-10-21 Thread vam6981
The first step for Grouping is to sort on that specific column. and then put the flat data rows into each bucket. Now to achieve your objective of sorting on a non-grouped column First call GC.refresh() -- sorts on grouped column Now u need to set the Gc.dataprovider.sort = new Sort(non-grouped

[flexcoders] SWFLoader unload function only free up my memory the second time

2009-10-21 Thread sebi2706
Hey Folks, I'm working on a big portal project which uses subapplications, these are loaded using the SWFLoader control, I know there many issues with unloading subapps and I have carefully removed any listeners, references before unloading. However, the profiler shows me the memory is not

[flexcoders] Version Recommendation for New Project

2009-10-21 Thread DJ
I'm about to start working on a small to medium Flex project again, after working exclusively on backend type work for the last 10 months. I'm working on catching up with changes, new amazing libraries, etc. I'm a bit concerned about starting development on the wrong version, given that Flex 4

RE: [flexcoders] RemoveChild not removing instance from memory

2009-10-21 Thread Brandon Krakowsky
The only way I was able to have GC remove these objects was to remove their children first - radio buttons, checkboxes, etc., then remove them.  Seems odd but it works. Thanks for your help. Thanks, Brandon --- On Tue, 10/20/09, Alex Harui aha...@adobe.com wrote: From: Alex Harui

Re: [flexcoders] Re: Apparent data value change in Advanced DataGrid

2009-10-21 Thread Tom McNeer
Amy, Thanks for the advice. I'm very new to the ADG, and as you well know, it has quirks. Put a break point into a handler for the event when the row is opened, then look in the variables window to see if the data has actually changed. If it has, then you'll need to work backward from there to

[flexcoders] Thumbnail image of a Panel

2009-10-21 Thread flexcoder99
How can we create a Thumbnail view of a Panel ? Just like how we can have tumbnail view in Photo slide shows, I would like to use thumbnails to navigate between panels.

[flexcoders] Bar chart horizontal axis - DateTimeAxis

2009-10-21 Thread rlull2001
Is it possible to create a horizontal axis that contains large tick marks that denote days (Ex: 10/20/2009, 10/21/2009, etc) and in between each day you would have smaller tick marks to denote hours (Ex: 8:00 am, 9:00 am, etc). So there would be 24 hours in each day. I can get it to do one or

[flexcoders] Mind telling us progress on very annoying bugs in the sdk

2009-10-21 Thread djhatrick
The Scrollbug where if you are scrolling through a big page, the flashplayer loses focus IResponder being called twice with http service results in 3.4? Are these bugs going to be fixed in 3.5? They are pretty important to us (speaking on behalf of every developer) Thanks, Parick

[flexcoders] Re: DateTimeAxis not displaying all values in collection

2009-10-21 Thread c0mpl3xxx
I've created an example that illustrates the issue described below: http://kyletyacke.com/clients/coremd/datetimeaxis/ If you click on the displayLocalTime checkbox, you can see that setting this value to true causes all days in the month to be displayed; however, it breaks the alignment of the

[flexcoders] Developing Flash/Flex on Linux

2009-10-21 Thread fonzibruno
Powerflasher, the creators of FDT, the Flash/Flex IDE, is seriously considering investing to support the a Linux version of FDT, if interested let us know. Bruno Fonzi the FDT Team http://fdt.powerflasher.com

RE: [flexcoders] Re: Spark layout / horizonal and vertical centered button

2009-10-21 Thread Peter DeHaan
Couldn't you just use this instead? Using a nested Group/HGroup/VGroup seems like overkill just to center align something. ?xml version=1.0 encoding=utf-8? s:Application xmlns:fx=http://ns.adobe.com/mxml/2009; xmlns:s=library://ns.adobe.com/flex/spark

[flexcoders] Flex application - Performance test

2009-10-21 Thread olearix
Hi , I have to execute a performance test for my flex application. I need to test webservice reactivity, CPU usage depending on selected functionalities and other parameters. Does anyone know how to proceed, or any tools to execute this performance test? Thanks you -- View this message in

[flexcoders] Re: Mind telling us progress on very annoying bugs in the sdk

2009-10-21 Thread turbo_vb
speaking on behalf of every developer Since your choice of words and approach is very annoying in itself, please just speak for yourself. -TH --- In flexcoders@yahoogroups.com, djhatrick djhatr...@... wrote: The Scrollbug where if you are scrolling through a big page, the flashplayer loses

Re: [SPAM] [flexcoders] problem XML selection functions

2009-10-21 Thread David Pariente
Yah, actually it was inline code... I will try your solution or move it to AS3, as this function will be so useful in my project. I was not really sure if it could be done, or was something impossible. Thanks a lot :) Tracy Spratt wrote: If that is in-line mxml code then you need to use

[flexcoders] Flex cache, any problem?

2009-10-21 Thread olearix
Hi, I'm wondering if Flex applications use cache for data. I mean, I open XML file into my application (with httpservice) then I edit the XML content, then I call a WS which saved the file. The problem is that if I reopen the XML file into my application, I don't see changes, on the other side,

[flexcoders] Re: Performance of associative array or dictionary lookup

2009-10-21 Thread d9_tech
What's the big O of a lookup in the hash table? If I were to use an array and just iterate sequentially through the array looking for an item it would be O(n) in the worst case scenario (if what I'm looking for happens to be in the last position in the array). What's the worst case scenario

[flexcoders] TextArea and new line problems (with PHP and MySQL)

2009-10-21 Thread David Pariente
Hello all, I got into a problem, that i guess it's pretty common. I got a TextArea in a form that sends to PHP and records to MySQL database. My text area won't record the new lines, and they will just dissappear, next time i load the text from the DataBase :( How do people manage that?

[flexcoders] Re: Mind telling us progress on very annoying bugs in the sdk

2009-10-21 Thread djhatrick
Sorry these are really important to my dev, maybe not yours... I'm just asking for some light on the picture here. If you haven't been plagued by these issues affecting your application, oh well you are lucky. Losing the focus of the flash player when scrolling a datagrid or having a

[flexcoders] Re: Huge impact of Class and Function on memory usage

2009-10-21 Thread gtb104
I looked at the memory profiling presentation on Alex's blog, but there is a discrepancy between what I see listed in the Object References view and what is shown in the presentation. It's not presented in the same way. I see my instances, and then when you expand one, it shows you paths. It

[flexcoders] Re: What the heck am I doing wrong with my GroupingCollection?

2009-10-21 Thread droponrcll
--- In flexcoders@yahoogroups.com, vam6981 v...@... wrote: See if this example resolved your problem http://vam1021.webs.com/ADGPanel/ --- In flexcoders@yahoogroups.com, golnooshp golnooshp@ wrote: Hi Mark, Can you sort on groups at all? Because I know this is a bug in flex that

[flexcoders] Re: Apparent data value change in Advanced DataGrid

2009-10-21 Thread droponrcll
--- In flexcoders@yahoogroups.com, Tom McNeer tmcn...@... wrote: Amy, Thanks for the advice. I'm very new to the ADG, and as you well know, it has quirks. Put a break point into a handler for the event when the row is opened, then look in the variables window to see if the data has

[flexcoders] Web Based Flex App AIR App

2009-10-21 Thread jwc_wensan
Good afternoon, I am about to begin development of a new Flex app. It will need to be both a web-based app and AIR app. I will also need to be able to sync the databases. I would appreciate any and all recommendations on how to approach this project including best practices, articles,

[flexcoders] ArrayCollection.setItemAt() triggering a new instance of itemRenderer class

2009-10-21 Thread Brandon Krakowsky
Hello all, I'm using an array collection as a data provider for a list component with a custom itemRenderer.  If I use arrayCollection.addItemAt(), a new instance of the itemRenderer class is created.  If I use arrayCollection.setItemAt, the current instance for that particular item is

[flexcoders] Button skin without button behaviour

2009-10-21 Thread Richard Rodseth
I have a menu bar-like structure composed of PopUpButtons with no gap between them, and wish to extend the bar to the edge of the page. If I do that by adding a dummy button what's the easiest way to suppress the appearance changes due to rollover and mousedown? I figured that might be easier

Re: [flexcoders] Re: Apparent data value change in Advanced DataGrid

2009-10-21 Thread Tom McNeer
Hi Amy, On Wed, Oct 21, 2009 at 3:29 PM, droponrcll amyblankens...@bellsouth.netwrote: In your example data, you _did_ have Pending in the second grouping. If your ADG is editable, the possibility is that your retained value is somehow triggering an edit on the wrong item. That's

RE: [flexcoders] Re: Performance of associative array or dictionary lookup

2009-10-21 Thread Gordon Smith
O(1) = constant time = independent of the number of items in the hash table Take a look at http://en.wikipedia.org/wiki/Hash_table : In a well-dimensioned hash table, the average cost (number of instructionshttp://en.wikipedia.org/wiki/Instruction_(computer_science)) for each lookup is

Re: [flexcoders] Developing Flash/Flex on Linux

2009-10-21 Thread primo411
Of course lots of people will be interested ! There is a big demand but Adobe has shown no interest for Linux... Would the Linux version be free or commercial ? If commercial, would there be an effort to support open-source projects ? I think this is the most important decision to make for your

[flexcoders] How to set focus to a control in a popup when activated

2009-10-21 Thread reflexactions
How can I set focus to a particular control in a container whenever it it first gets poped up. However after the user has clicked in some other control I want focus to go to the control they last clicked in if the window gets deactivated and activated.

[flexcoders] Flash player not recognizing microphone plugged in after program launch

2009-10-21 Thread jaywood58
I have run into a problem with Flash player's handling of microphones --if I launch the program with a mic attached, then call Microphone.getMicrophone(), everything works fine; however, if I start out with no mic attached, then attach one while my program is still running, subsequent calls to

[flexcoders] Stand alone player vs browser memory usage question

2009-10-21 Thread ag_rcuren
I was recently just messing around with ModuleLoader and noticed some funny things when using a stand alone player vs a browser. Here is the code I am using Main.mxml ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute addedToStage=init();

[flexcoders] Flash Player on HTC Hero

2009-10-21 Thread jer_ela
The HTC Hero has a flash player that appears to be version 9. And it does play some flash content. But it is also unable to play a lot including even a hello world written in flex. Is there any documentation available at to what this player does and doesn't support? Why is it labeled flash

[flexcoders] Re: Stand alone player vs browser memory usage question

2009-10-21 Thread gtb104
If you look around, you'll find this is a well known feature? From what I've seen, the FP team is pointing fingers at the browsers, and the browsers are pointing fingers at the FP team. So who knows what the deal is. --- In flexcoders@yahoogroups.com, ag_rcuren robert.vancuren...@...

Re: [flexcoders] Developing Flash/Flex on Linux

2009-10-21 Thread Nick Collins
Personally, I'm not all that concerned about Flex Builder running on Linux, in and of itself. Now if they ported the Creative Suite as well, I would be totally psyched. Unfortunately, as long as CS is only available on Windows or OSX, I'm going to be tied to those platforms. That being said, for

[flexcoders] Search Suggestion

2009-10-21 Thread Wiznu Prabowo
Hi All,  I am new in flex, but have several years experience with coldfusion. anyone have a source/tutorial about making Search Suggestion, it will shows up into the selectable list, the

RE: [SPAM] [flexcoders] ArrayCollection.setItemAt() triggering a new instance of itemRenderer class

2009-10-21 Thread Tracy Spratt
First, please do not hijack threads by doing a reply and then changing the subject line. It confuses many threaded readers. Always start a new message unless you ar really replying. Then, I think you will not be successful with the approach you are taking. The list controls manipulate

RE: [flexcoders] Re: Huge impact of Class and Function on memory usage

2009-10-21 Thread Alex Harui
Beta2 profiler looks different. I'll have to find time to update the examples. On the filter page in beta2 it defaults to only showing 10 backreferences. I usually check the box to show all. Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog:

RE: [flexcoders] SWFLoader unload function only free up my memory the second time

2009-10-21 Thread Alex Harui
See the post on my blog about unloading modules. Most of the principles apply. Most likely the StyleManager issue is your problem. Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com