[flexcoders] arraycollection vs listcollectionview

2009-03-27 Thread arieljake
I'm confused. I have an ArrayCollection. And I listen for the COLLECTION_CHANGE.Remove event to know when to delete the item from the database. For displaying the contents of my ArrayCollection, i am using a ListCollectionView with a filter function applied to it, so that the filter function

Re: [flexcoders] Re: How to restore the default work space in flex builder 3?

2009-03-27 Thread krshnaonweb
Thanks Mark On Thu, Mar 26, 2009 at 8:39 PM, mark.jonk...@comcast.net wrote: Do you mean like Windows - Perspectives - Reset Perspective?? That would reset the Flex Debug perspective or Flex Developer perspective back to the original adobe defaults. Sincerely Mark R. Jonkman -

[flexcoders] ViewStack uninitialise

2009-03-27 Thread Wesley Acheson
Hi my understanding of this is that when a component is first made visible in a view stack thats when it and its childern are initialised. If these components had a large footprint , think mini application for each view, would it be possible to uninitialise a child (and thus release any memory

Re: [flexcoders] Re: is it not possible to upload a file to a flash app (no server)?

2009-03-27 Thread Tom Chiverton
On Friday 27 Mar 2009, Paul Kukiel wrote: Yes in FP10 and the 3.3 SDK you can load data client side. I have had trouble getting this to work on osx and linux though: Is there a bug for this in bugs.adobe.com, because I have the 10,0,22,87 debug player here, on OpenSuSE 64bit (but with 32bit

Re: [flexcoders] Start Column Chart Y-axiz from non-zero value

2009-03-27 Thread Wesley Acheson
I believe you have to define the axis in your mxml. Take a look at this sample http://blog.flexexamples.com/2007/11/12/controlling-whether-a-linechart-should-set-its-base-value-at-zero/ I know its a line chart but the same concept should apply. Also see

[flexcoders] Re: Combobox - force direction

2009-03-27 Thread valdhor
No, using that technique, you copy the required files to your classpath and modify them there. Quote: This will force flex to use mx.controls.ComboBox in your classpath instead of the Framework. If the Framework is updated Flex will still use the modified ComboBox in your classpath. --- In

[flexcoders] Get component width/height after resize?

2009-03-27 Thread Claudiu Ursica
Hi does anyone how to get a component's new height/width after it is being resized. I got as far as locating them inside the internal vars $height $width. I have also seen somewhere that for images it works with contentHeight and contentWidth. But I have a tabnavgator component which is being

[flexcoders] Hashmap vs Datagrid

2009-03-27 Thread senthilkumarirtt
i need to retrive hashmap return from java class to datagrid in mxml.

[flexcoders] Adding symbols to Flex Panel skin?

2009-03-27 Thread Sascha
Hi list, I need to write a Flex Panel so that it features several tabs on the left side of the panel. I remember darkly that I need to add sumbols to the components chrome for this to work but resources on the web seem to be very scarce (there's moslty only stuff describing how to add something

RE: [flexcoders] arraycollection vs listcollectionview

2009-03-27 Thread Scott
That's a nasty little bug. I haven't encountered that myself yet but I can see where that would happen. You may want to change your remove function to fire only on a button click and not a component update (component.remove). Scott From:

Re: [flexcoders] Hashmap vs Datagrid

2009-03-27 Thread Wesley Acheson
A hashmap is a map which will be converted to a dynamic object. see http://livedocs.adobe.com/blazeds/1/blazeds_devguide/help.html?content=serialize_data_3.html 2009/3/27 senthilkumarirtt senthilkumari...@yahoo.co.in i need to retrive hashmap return from java class to datagrid in mxml.

[flexcoders] Advanced datagrid vs Hashmap in java

2009-03-27 Thread senthilkumarirtt
I want feed the data into Advanced datagrid by data return from Hashmap in java class

Re: [flexcoders] Adding symbols to Flex Panel skin?

2009-03-27 Thread Fotis Chatzinikos
I do not know if the following is any help in your situation but a simple solution would be to have a canvas behind the Panel and position a tabbar on top of the panel's header...It might be a bit heavy thought On Fri, Mar 27, 2009 at 9:50 AM, Sascha sbal...@gmail.com wrote: Hi list, I need

[flexcoders] Re: Strongly typed responses from RESTful web services

2009-03-27 Thread jim.abbott45
--- In flexcoders@yahoogroups.com, djepyon i...@... wrote: Hey flexiverse, is there a way to generate dto's and have strongly typed result objects from REST services in flex? Short answer: POX (Google it...) Long answer: 1) Have each REST service serialize its result as XML (or possibly

[flexcoders] Re: ItemEditors Memory Leak

2009-03-27 Thread flexcoder99
No. And honestly I did not check the release notes. Will do that next time we upgrade. I tried test program with SDK 3.3 ...but NO CHANGE. Still having the same problem with TextInput editors. Also I tried to checkout flex sdk with TortoiseSVN, the one recommended by Adobe (for windows), still

[flexcoders] Re: Combobox - force direction

2009-03-27 Thread markgoldin_2000
I see, thanks. --- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote: No, using that technique, you copy the required files to your classpath and modify them there. Quote: This will force flex to use mx.controls.ComboBox in your classpath instead of the Framework. If the

[flexcoders] Re: ItemEditors Memory Leak

2009-03-27 Thread valdhor
How about http://opensource.adobe.com/wiki/display/flexsdk/download?build=3.3.0.4852pkgtype=1 --- In flexcoders@yahoogroups.com, flexcoder99 haritha.moos...@... wrote: No. And honestly I did not check the release notes. Will do that next time we upgrade. I tried test program with SDK 3.3

[flexcoders] horizontalAxisRenderer VS horizontalAxisRenderers?

2009-03-27 Thread sailorsea21
Hi everyone, I have the following script: var columnChart:ColumnChart = new ColumnChart(); var axisVRenderer:AxisRenderer = new AxisRenderer(); axisVRenderer.placement = left; axisVRenderer.axis = int_20;

Re: [flexcoders] ViewStack uninitialise

2009-03-27 Thread Tom Chiverton
On Friday 27 Mar 2009, Wesley Acheson wrote: Is my understanding of how this works correct? No, once children of a viewstack have been created, they stay created. -- Tom Chiverton Helping to interactively scale segments as part of the IT team of the year, '09 and '08

Re: [flexcoders] Re: ItemEditors Memory Leak

2009-03-27 Thread Tom Chiverton
On Thursday 26 Mar 2009, flexcoder99 wrote: Could not resolve hostname `opensource.adobe.com': Well ? Can you ping or browse to the address ? -- Tom Chiverton Helping to ambassadorially grow attention-grabbing best-of-breed features as part of the IT team of the year, '09 and '08

RE: [flexcoders] arraycollection vs listcollectionview

2009-03-27 Thread Alex Harui
You should be able to get what you want if you set it up correctly. The AC and LCV should be separate instances sharing the same source or list property Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com

[flexcoders] Remoting: Sending a typed object with zendAMF to the server

2009-03-27 Thread djhatrick
I am always getting a fault when I try this, I don't know what the param should look like for a typed object for sending a value object back to the server... Any help thanks? patrick

[flexcoders] Preventing duplicate database entries in ColdFusion and flex

2009-03-27 Thread stinasius
how can i prevent duplicate database entries in coldfusion and flex. for example for registration forms, i would like that if someone registers the same combination of username and password that already exist in the db, the entry is rejected and the user is alerted. thanks

[flexcoders] Re: ItemEditors Memory Leak

2009-03-27 Thread flexcoder99
Your link provides me with the latest from repository. I am trying to check out from SVN so i can see the revision history. Thanks --- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote: How about http://opensource.adobe.com/wiki/display/flexsdk/download?build=3.3.0.4852pkgtype=1

[flexcoders] Re: ItemEditors Memory Leak

2009-03-27 Thread flexcoder99
Yes. I can browse to http://opensource.adobe.com/svn/opensource/flex/sdk This is the error i get while doing svn checkout http://opensource.adobe.com/svn/opensource/flex/sdk svn: PROPFIND request failed on '/svn/opensource/flex/sdk' svn: PROPFIND of '/svn/opensource/flex/sdk': Could not

[flexcoders] Re: is it not possible to upload a file to a flash app (no server)?

2009-03-27 Thread gmoniey22
I was able to get it working on OS X...the biggest problem was getting flexbuilder to use the FP 10 player, otherwise the load() function fails at runtime. --- In flexcoders@yahoogroups.com, Paul Kukiel pkuk...@... wrote: Yes in FP10 and the 3.3 SDK you can load data client side. I have

[flexcoders] Re: ItemEditors Memory Leak

2009-03-27 Thread flexcoder99
Mistery solved...it is a Flash player bug # 2267790 . It has to do with removing a TextField (Flash Player component) from the stage while it is focused. The fixes above are a partial fix, but it requires a change to Flash Player in order to completely resolve the issue. This bug is open,

[flexcoders] Re: horizontalAxisRenderer VS horizontalAxisRenderers?

2009-03-27 Thread valdhor
columnChart.verticalAxisRenderers wants an array. Try this... columnChart.verticalAxisRenderers = [axisVRenderer]; --- In flexcoders@yahoogroups.com, sailorsea21 sailorse...@... wrote: Hi everyone, I have the following script: var columnChart:ColumnChart = new

[flexcoders] Re: Remoting: Sending a typed object with zendAMF to the server

2009-03-27 Thread djhatrick
Here's an example of what I am sending, but I always get a fault... I hate to say it, but ZendAMF is more complicated than the amfphp, and there's no service broswer tool, :( /** * * @param string $username * @param string $email * @param ArticleVO $articleVO

[flexcoders] Question an how to create dynamic content with Flex

2009-03-27 Thread timgerr
Hello all, I am creating an application that is a windowed system, I mean that I have windows that will launch and you can move them around. I have ad to create all my content dynamically in Action Script because when my windows close I remove the object. Here is my question for y'all, can

Re: [flexcoders] Re: horizontalAxisRenderer VS horizontalAxisRenderers?

2009-03-27 Thread - -
Thanks! It worked :) From: valdhor valdhorli...@embarqmail.com To: flexcoders@yahoogroups.com Sent: Friday, March 27, 2009 1:33:55 PM Subject: [flexcoders] Re: horizontalAxisRenderer VS horizontalAxisRenderers? columnChart. verticalAxisRend erers wants an

RE: [flexcoders] Adding symbols to Flex Panel skin?

2009-03-27 Thread Sascha
Nevermind, I've wrapped the Panel into a Canvas and put the tabs into the canvas too. The Panel does not need to be resized once it is instantiated so that's an ok solution I think. Thanks anyway. Sascha From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of

RE: [flexcoders] Hashmap vs Datagrid

2009-03-27 Thread Tracy Spratt
But be aware that you cannot use an Object directly as a dataProvider. You will need to for in or for each over the properties in the object to build some collection. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com

RE: [flexcoders] Preventing duplicate database entries in ColdFusion and flex

2009-03-27 Thread Kevin F. Benz
Select the count of those that have those credentials and if the number is greater than zero, return an error, otherwise do your insert. From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of stinasius Sent: Friday, March 27, 2009 10:19 AM To:

[flexcoders] mx:Text and line height

2009-03-27 Thread carloscarvalhar
Hi, how can i get a correct line heigth of mx:Text? This is code that i'm using: public function get textLineHeight():uint { var textLineMetrics:TextLineMetrics = this.getLineMetrics(0); _textLineHeight = textLineMetrics.height + textLineMetrics.leading; return

[flexcoders] Combobox and prompt

2009-03-27 Thread markgoldin_2000
I am trying to use a blank Prompt with my combobox in order to have a blank item on the top. But after selecting a non blank item the blank one is not in there. do I need to use blank data to get what I need? Thanks

Re: [flexcoders] video - capture and save locally

2009-03-27 Thread Alain Thibodeau
just trying again to see if anyone has any ideas on this? thanks! From: thibodeau.alain thibodeau.al...@yahoo.com To: flexcoders@yahoogroups.com Sent: Wednesday, March 25, 2009 7:15:43 PM Subject: [flexcoders] video - capture and save locally Hi all, I was

Re: [flexcoders] Combobox and prompt

2009-03-27 Thread Wesley Acheson
Try setting an empty string as the first item in the data provider. I should imagine that should work fine. 2009/3/27 markgoldin_2000 markgoldin_2...@yahoo.com I am trying to use a blank Prompt with my combobox in order to have a blank item on the top. But after selecting a non blank item the

[flexcoders] Re: ItemEditors Memory Leak

2009-03-27 Thread valdhor
I installed Subversive Plug-in from http://download.eclipse.org/technology/subversive/0.7/update-site/ and Subversive SVN Connectors from http://www.polarion.org/projects/subversive/download/eclipse/2.0/update-site/ and was able to check out revision 5656 using

[flexcoders] Re: Remoting: Sending a typed object with zendAMF to the server

2009-03-27 Thread valdhor
Sorry, my recommendation is WebORB. If you decide to change let me know and I can help you out. --- In flexcoders@yahoogroups.com, djhatrick djhatr...@... wrote: Here's an example of what I am sending, but I always get a fault... I hate to say it, but ZendAMF is more complicated than the

Re: [flexcoders] Re: is it not possible to upload a file to a flash app (no server)?

2009-03-27 Thread Fotis Chatzinikos
Any ideas why it was not working before? How did you fix it? Does it now play ok on win, osx + linuxes? I am considering using this for an app i am making, but i am not sure if it worths the trouble if it only works on windows... On Fri, Mar 27, 2009 at 7:32 PM, gmoniey22 gmonie...@yahoo.com

[flexcoders] SeriesInterpolate in actionscript ColumnChart?

2009-03-27 Thread sailorsea21
Hi everyone, I'm trying to set a SeriesInterpolate for my ColumnSeries, this is my code: var columnChart:ColumnChart = new ColumnChart(); (...) var action:SeriesInterpolate= new SeriesInterpolate(); action.duration = 1000; action.minimumElementDuration =

RE: [flexcoders] Combobox and prompt

2009-03-27 Thread Tracy Spratt
Yes, if you need a blank that selectable, it need to be in the dataProvider. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Wesley Acheson Sent: Friday, March 27, 2009 2:05 PM To:

[flexcoders] Re: Question an how to create dynamic content with Flex

2009-03-27 Thread timgerr
Never mind, I am a goof. timgerr --- In flexcoders@yahoogroups.com, timgerr tgallag...@... wrote: Hello all, I am creating an application that is a windowed system, I mean that I have windows that will launch and you can move them around. I have ad to create all my content dynamically

[flexcoders] Question for Amfphp and Flex RemoteObject ?

2009-03-27 Thread markflex2007
Hi, I take a look the Amfphp server code and structure. I do not see service-config.xml and remoting-config.xml file. I need set connection with the two files in server if I use Flex remoteobject. service-config.xml is used for endpoint setting and remoting-config.xml is used for

RE: [flexcoders] mx:Text and line height

2009-03-27 Thread Alex Harui
Flash has a 2 pixel gutter all around the text. Is that throwing off your calculations? Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of carloscarvalhar

[flexcoders] Re: is it not possible to upload a file to a flash app (no server)?

2009-03-27 Thread gmoniey22
I havent gotten a chance to play with it on anything but os x (10.5). I ended up getting it working by following these instructions: http://opensource.adobe.com/wiki/display/flexsdk/Targeting+Flash+Player+10 --- In flexcoders@yahoogroups.com, Fotis Chatzinikos fotis.chatzini...@... wrote:

[flexcoders] how to override multiselect in a datagrid

2009-03-27 Thread gmoniey22
Hi, I want to allow multiselects on my datagrid, but only conditionally. i.e. before the additional item is selected, I want to perform some logic and determine if it should be selected. I have tried adding: itemClick, mouseDown, click listeners which looked like the following: private

[flexcoders] Re: embedding HTML code in Flex

2009-03-27 Thread unestahl
Reply from MP3 Sound Stream: Well the code links to the player which is one swf and then the player links to the audio to stream it which is the other swf. If you have already uploaded the button swf just upload the audio swf into the same folder and you have your streaming audio. I tried

[flexcoders]Where does my SWF gain it's weight?

2009-03-27 Thread dorkie dork from dorktown
Is there a tool or a way to find out what classes are making my SWF fat? It's been a few months since I last checked my SWF file size and it's 1.2mb. It used to be 600kb and I've made so many changes since then I don't know where the weight is coming in.

RE: [flexcoders]Where does my SWF gain it's weight?

2009-03-27 Thread Tracy Spratt
Have you looked into the Flex Profiler? Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of dorkie dork from dorktown Sent: Friday, March 27, 2009 5:11 PM To: flexcoders@yahoogroups.com

RE: [flexcoders]Where does my SWF gain it's weight?

2009-03-27 Thread Maciek Sakrejda
If you have version control, just do a binary search through history to see where the bloat hit (something à la git bisect, though this can be easily scripted if you use another vcs). As far as actually analyzing a .swf and figuring out the bloat, perhaps someone else will chime in. You can

[flexcoders] Re: mx:Text and line height

2009-03-27 Thread carloscarvalhar
i think no...well, at least, with 2 lines i get a precise height. And with many lines the space is too much, like 42 lines and 200 px more.. So it shouldn't be this.. line height is actually just the line height plus the line leading (the space between lines) , no? Would it have more things

Re: [flexcoders]Where does my SWF gain it's weight?

2009-03-27 Thread dorkie dork from dorktown
I meant file size not memory unless the profiler can tell me that? On Fri, Mar 27, 2009 at 4:36 PM, Tracy Spratt tspr...@lariatinc.com wrote: Have you looked into the Flex Profiler? Tracy Spratt, Lariat Services, development services available --

[flexcoders] Re:ViewStack uninitialise

2009-03-27 Thread Nicolas Noben
If these components had a large footprint , think mini application for each view, would it be possible to uninitialise a child (and thus release any memory associated with it and its childern) when the component was hidden? Then if viewStack.selectedIndex was set back to the same

[flexcoders] Re:how to override multiselect in a datagrid

2009-03-27 Thread Nicolas Noben
Have you tried simply ... mx:DataGrid allowMultipleSelection={trueorfalsehere} / Which I'm pretty sure you can flip at runtime. HTH

Re: [flexcoders]Where does my SWF gain it's weight?

2009-03-27 Thread Nicolas Noben
Yeah make a search through all the files for 'Embed' and make sure that everything that is embedded really needs to be. That's the biggest hog. Also make sure your final build is published using 'Export release build'. You will save a fair bit at release time. But it's mostly assets' fault.

[flexcoders] Embed skinClass - no embed

2009-03-27 Thread carloscarvalhar
Hi, I have an external css file with many embed stuff, like this: borderSkin: Embed(skinClass=Modal_borderSkin); how can i use them without embedding? (This is a flex component skinned in flash) And i don't know this one also: background-image: Embed(source=images/bg.jpg); Just another: is

[flexcoders] Why Flex can not use flash.net.NetConnection?

2009-03-27 Thread markflex2007
Hi, I have following code for amfphp. import flash.net.NetConnection; private var connection:NetConnection; private var gateway:String = amfphp/gateway.php; private function init():void { connection = new NetConnection(); connection.connect( gateway ); } .