[flexcoders] Re: Need help Combobox label property

2009-07-29 Thread gan_sun2006
Thanks to everyone for suggestions. I am having a combo in which the values are dynamically coming from DB thru java WS. The case is, when i select a country for instance say India, the code for the corresponding selection IN is saved to the DB thru java WS during SAVE action. When i retrieve

[flexcoders] advanced datagrid refresh

2009-07-29 Thread awesome
When I press delete I need to refresh datagrid to display changes. Currently it displays changes only when I reload the page. I tried getAllItemsCollection.refresh(); but it only collapses grouping and does not display changes. For testing purposes I created delete button and tried everything

[flexcoders] Scrollbar intersection.

2009-07-29 Thread ivansebastiansurya
Hi everyone, I'm just wondering if any of you guys have attempted to color the square that results as the intersection of the vertical and horizontal scroll bars. I have a containers that have both scrollbars on, the ugly thing is that there is this white square at the bottom right corner of

Re: [flexcoders] Flex Compilation takes long time

2009-07-29 Thread Alexander Tarelkin
I googled on the same subject literally a couple of weeks ago. Here is the link that shed some light and helped me: http://stackoverflow.com/questions/33768/any-advice-for-speeding-up-the-compile-time-in-flex-builder-3 What turned out relevant for our projects: * Slow compile time is most often

[flexcoders] Re: AIR app, need MouseMove events NOT bounded by screen

2009-07-29 Thread valdhor
Just throwing out an idea ;-} How about just keep on panning in the same direction when mouse move events stop (Maybe check the mouse X/Y position and do this if it's at the edge of the screen). When the user moves the mouse back into the screen bounds, you will start getting events again and

Re: [flexcoders] Flex Compilation takes long time

2009-07-29 Thread Alexander Tarelkin
This link can be useful as well: http://hasseg.org/blog/?p=194 On Wed, Jul 22, 2009 at 9:30 AM, ondemand_mayur ondemand_ma...@yahoo.comwrote: Hi folks, I have a project crated with Flex 3 ( SDK 3.2 ). When ever I compile it really takes much long time min 4 to 5 mins ( i.e. 240 to 300

[flexcoders] Re:compc namespace issue gumbo.

2009-07-29 Thread Teoti Graphix, LLC
Hi, This is what I use and I am compiling large component frameworks in nightly builds of Flex 4. compc output=${output.product.swc} link-report=${basedir}/deployed/link-report.xml target-player10/target-player namespace

Re: [flexcoders] variables name are in array

2009-07-29 Thread Alexander Tarelkin
Where is the breaking condition in the loop? On Wed, Jul 22, 2009 at 12:57 AM, markflex2007 markflex2...@yahoo.comwrote: I use a array to save variable names and other to save values,but why the following code doesn't work.please give me a idea. for(var i:int = 0;arrName.length; i++) {

RE: [flexcoders] Need help Combobox label property

2009-07-29 Thread Tracy Spratt
Use labelFunction, but an alternative to a switch statement would be to use an associative array (Object). Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Mark Lapasa Sent: Tuesday,

RE: [flexcoders] Re: AIR app, need MouseMove events NOT bounded by screen

2009-07-29 Thread Tracy Spratt
That is probably what I will implement if I can't find something better, but I think the design folks will not like it since it will require the user to move the joystick in the opposite direction to stop the map from panning endlessly. I am beginning to fear that I will have to push the

RE: [flexcoders] variables name are in array

2009-07-29 Thread Tracy Spratt
Try: for(var i:int = 0;i arrName.length; i++) Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Alexander Tarelkin Sent: Wednesday, July 29, 2009 8:41 AM To:

[flexcoders] Re: advanced datagrid refresh

2009-07-29 Thread valdhor
First off, it's a bit difficult to debug as we don't have access to your service to get the data you are seeing. Anyway, one thing I noticed is that in your function refreshBtn_clickHandler, you have the line: adg.dataProvider = {getAllItemsCollection}; This will not work as you intend. You

[flexcoders] Release Build through mxmlc

2009-07-29 Thread ilikeflex
Hi I want to do Release build from the command line. I am using the following command to compile mxmlc file=${grip.ui.src}/grip.mxml services=${web.inf}/flex/services-config.xml locale=en_US accessible=false

[flexcoders] Help with extending button

2009-07-29 Thread Angela
I am trying to create a toggle button that will show a label and a colored box dynamically. I thought extending the button component would be my best option. I add a Box component and set it's background color to the color passed to the button. Everything almost works, except the Box seems to

[flexcoders] catalog.xml on libRaVis.swc [1 Attachment]

2009-07-29 Thread cholid cholid
Hi all can someone give information how to make file swc that the contain of catalog.xml is like this (on attachment) because i just can put in it a file/ file/ (with -include-file) i can't put components/ and libraries that contain script/ and dep/ and def/ i hope has someone know it,because im

[flexcoders] selecting entire line in Gumbo?

2009-07-29 Thread luvfotography
Hi, back in Flex 3 builder you could click on the line number to highlight and select the entire line. Now in Gumbo, if you click on the line number the line gets highlighted, but does not get selected!! How can I select the entire line in Gumbo?? (running Mac os x v10.5.6)

[flexcoders] how to check if xml attribut value exists

2009-07-29 Thread bhaq1972
var myXML:XML = root node label=hello1something/node node label=hello2something/node /root; when I do trace(myXML..node.(@label=hello1).toXMLString()); its okay, but if i search for a @label which doesn't exists eg

[flexcoders] Manipulate y-axis of built-in tooltip?

2009-07-29 Thread Adrian Williams
Hi all, Quick question...is there a way to manipulate the y-axis position of a tooltip without using a custom tooltip? For example, I have an image that has uses the builtin tooltip and I need to have it display above the image. I have a series of images, side by side, in the bottom

Re: [flexcoders] Release Build through mxmlc

2009-07-29 Thread Marvin Froeder
May be using optimize=true? Or using the optimizer http://livedocs.adobe.com/flex/3/html/rsl_07.html http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Book_Partsfile=performance_118_16.html VELO On Wed, Jul 29, 2009 at 11:16 AM, ilikeflex

[flexcoders] Re: AIR app, need MouseMove events NOT bounded by screen

2009-07-29 Thread Adrian Resa Jones
Do I understand correctly that you want to track when the mouse cursor/joystick leaves the Air App window? I don't see why you shouldn't be able to reset the x y coordinates when they go off of the main application window. Not that logic always has anything to do with it. This is another one

[flexcoders] flex 4.0 component focus issue

2009-07-29 Thread blc187
trying to use tab key to tab through some inputfields in a form but none of my components get focus. anyone have any experience with focus issues using the flex 4.0 sdk? heres a sample of my code: mx:Form width=340 mx:FormItem label=Username width=100% s:TextInput tabEnabled=true

[flexcoders] Styling menu of PopUpButton

2009-07-29 Thread Richard Rodseth
I have a PopUpButton subclass which pops up a menu built as follows: private function buildMenu():void { _menu = new Menu(); _menu.dataProvider = _availableItems; _menu.labelFunction = this.menuItemLabelFunction;

[flexcoders] Re: Styling menu of PopUpButton

2009-07-29 Thread Richard Rodseth
Damn gmail, wasn't ready to send. Anyway, I'm trying to style this menu, and calling setStyleName or setStyle (as below) has no effect. Even a Menu { open-duration:3500; } in the css file affects other menus but not this one. Any ideas? On Wed, Jul 29, 2009 at 10:17 AM, Richard Rodseth

[flexcoders] extracting file path of a file

2009-07-29 Thread Adarsh Agrawal
Hi, i'm new in flex ..trying to load an external xml file whose path is provided by the user at run time.   can any one help me in below mentioned problems. how to allow user to provide path of the file using browser window or popup window which need to be loaded in flex.   regards,

Re: [flexcoders] Re: how to cleanly reduce the height of a TitleWindow's title bar

2009-07-29 Thread Andrew Ball
That's exactly what I was looking for! Thanks! Andrew On Tue, Jul 28, 2009 at 8:05 PM, Tim Hoff timh...@aol.com wrote: Hi Andrew, Have you tried the headerHeight Style in CSS? TitleWindow { header-height: 20; } -TH --- In flexcoders@yahoogroups.com, Andrew Ball anb...@...

[flexcoders] Flexbuilder 3 Java problems

2009-07-29 Thread Merrill, Jason
I'm having Java runtime problems with Flexbuilder 3 again. I swear, I'm so tired of this. I've never had software that kept breaking so much. I've done nothing to Flex (though maybe my company has), and it seems to break every six months or so. So weird. Anyway, the problem is when I try and

[flexcoders] Does it required to have Licenced Version of LCDS for Clustering

2009-07-29 Thread Dharmendra Chauhan
Hi, I am bit confused on LCDS products. I have downloaded trial version and trying to replicate DataService's Destination. Does it required to buy licensed veresion of LCDS to DataServive Destination replication ? My req is If serverA is down then user should immedialtely get connected to

[flexcoders] Re:compc namespace issue gumbo.

2009-07-29 Thread Nayan
Hi Mike, I am still getting the same error, if i put in the external libs it just means that the files get compiled without the flex framework and my swc file is 8 kb instead of 600kb. For some reason the name space is causing an issue and i have tried including all the source paths too but

[flexcoders] Re: Flexbuilder 3 Java problems

2009-07-29 Thread valdhor
Have you changed your memory settings for Eclipse?? This thread may help: http://forums.sun.com/thread.jspa?threadID=677639 --- In flexcoders@yahoogroups.com, Merrill, Jason jason.merr...@... wrote: I'm having Java runtime problems with Flexbuilder 3 again. I swear, I'm so tired of this.

[flexcoders] How to displaying symbols embedded in SWC files in Flex button icon styles?

2009-07-29 Thread Todd
Hello, I'm trying to do something that I think should be pretty basic. I have a mx:Button that at runtime, I want to set the icon property to artwork that I have embedded in a SWC file. Now, I know about using the Embed tag declaring a new object of type Class, like

[flexcoders] Re: Flex Compilation takes long time

2009-07-29 Thread Todd
Unfortunately, you can do all those things noted above, you can restructure your modules, etc...but you'll probably still have longer compile times than you like. I've learned to live with it, and just treat our Flex projects like C++ projects in 1995. Even optimized, on fast machines, we're

Re: [flexcoders] Re: Flex Compilation takes long time

2009-07-29 Thread Greg Hess
Although I have not tried this yet, the Flex 4 compiler has major optimizations and is backwards compatible. Apparently, you can install Flex 4 and configure Flex Builder to use its compiler instead of Flex 3 mxmlc. HTH, Greg On Wed, Jul 29, 2009 at 3:39 PM, Toddtpreka...@gmail.com wrote:

[flexcoders] Re: Flexbuilder 3 Java problems

2009-07-29 Thread Jason
I haven't changed anything that I am aware of. I'm concerned that my enterprise did withouth my knowledge, but I have played with various settings in the ini files for both Flexbuilder and Eclipse and not had any luck, so I reverted back. Could you or someone else send me examples of what's

[flexcoders] LinkBar Link Width

2009-07-29 Thread jdizowat
Is there a way to set a default link width for all links in a LinkBar? I tried this guy's approach - http://tdotblog.info/?q=node/25. Doesn't seem to be working. Thanks~

[flexcoders] Lcds via Tomcat on Mac - possible?

2009-07-29 Thread one_rabbit_one
I have read that although Lcds isn't supported by Adobe on macs, it is easy to hack it to get it working. Duane Nickull explains it - in his usual rather gung-ho way - for jBoss and LCDS 2.5 - and Simeon Bateman explains it for Tomcat. I've tried following them for LCDS 2.6.1 - I I unzipped

Re: [flexcoders] Does it required to have Licenced Version of LCDS for Clustering

2009-07-29 Thread Matt Chotin
Hi, yes you are required to have a paid license of LCDS if you expect to do clustering. Matt On 7/29/09 11:32 AM, Dharmendra Chauhan chauhan_i...@yahoo.com wrote: Hi, I am bit confused on LCDS products. I have downloaded trial version and trying to replicate DataService's Destination.

[flexcoders] Context Menu

2009-07-29 Thread wayne vetrone
Hello All, My searching is turning up empty. Does any one know of a way to determine when a right click context menu is closing/closed? thanks wev _ Windows Live™ SkyDrive™: Store, access, and share your photos. See how.

Re: [flexcoders] Re: Need help Combobox label property

2009-07-29 Thread Mark Lapasa
You got a questionable data model if the country names are not bundled with the same SOAP msg that has your country codes. 1) Is your Flex binary supposed to have hardcoded all the country names? 2) What happens if you have the server-side return you a country code that the client does not

Re: [flexcoders] Re: Need help Combobox label property

2009-07-29 Thread Jeffry Houser
Ganesh, I'm still pretty sure my original post answers your question. In essence, no. You're dong it the way it has to be done. The Flextras AutoCompleteComboBox basically just encapsulates that loop so it is easier for you to handle. Mark, He already loaded the country names and

Re: [flexcoders] Re: Flex Compilation takes long time

2009-07-29 Thread Marvin Froeder
I agree flex is slow... but I never saw it taking more then 30 secs per module VELO On Wed, Jul 29, 2009 at 4:39 PM, Todd tpreka...@gmail.com wrote: Unfortunately, you can do all those things noted above, you can restructure your modules, etc...but you'll probably still have longer

[flexcoders] Re: Need help Combobox label property

2009-07-29 Thread vin.flex
Hi there, You can use the following code: ?xml version=1.0 encoding=utf-8? mx:ComboBox xmlns:mx=http://www.adobe.com/2006/mxml; mx:Script ![CDATA[ private var _selectedValue:String; private var bSelectedValueSet:Boolean = false; private var

RE: [flexcoders] Re: AIR app, need MouseMove events NOT bounded by screen

2009-07-29 Thread Tracy Spratt
Thanks, but my issue is that the AIR app is full screen. And AIR does not provide any way to set the system cursor(mouse pointer) position. I think I have an interim solution that notes when the mouse position reaches a boundary and sends a message to the socket server which calls an OS level