[flexcoders] Tabbing issue in Datagrid item editor

2009-01-28 Thread Easy Flexing
Hi Coders, I need your expertise advice to solve a problem in data grid with Item editors. I have a Datagrid with 2 columns with Item Editor which has an hbox and a textinput. After editing the first column, when they hit tab it has to go to the next column in the datagrid. I am capturing a

[flexcoders] RangeError

2008-10-29 Thread Easy Flexing
Hi All, I am creating a multiple row tabs using Flex 2. Using 2 view stacks and a Vbox inside a container and using array as dataprovider to the view stacks. Once, a tab is selected, I remove all the children from the vbox and add my component into it. I created the same multiple row tab

[flexcoders] Communicate between modules using module loader

2008-10-24 Thread Easy Flexing
Module Loader and Application   We use module loader to load our modules. In one of my case, one module loader (mod1) needs to communicate with the other module loader (mod2), so I am using Interface, ModuleLoadEvent.ready to do it. mod2 has a view stack and has 3 children. When module 1

[flexcoders] Communicate between modules using module loader

2008-10-24 Thread Easy Flexing
Module Loader and Application   We use module loader to load our modules. In one of my case, one module loader (mod1) needs to communicate with the other module loader (mod2), so I am using Interface, ModuleLoadEvent.ready to do it. mod2 has a view stack and has 3 children. When

[flexcoders] Multiple IFrames in Flex

2007-10-14 Thread Flexing...
Hi All, I am building an application which require me to show multiple IFrame based banners on a Panel. Is their a way to achieve this in Flex ? Is Adobe doing something in the direction to support IFrames in Flex ? Currently I am using a servlet based solution i..e create a single servlet

Re: [flexcoders] PopUpManager.createPopUp

2007-05-31 Thread Flexing...
Store a boolean (flag) in your titlewindow to indicate whether the Window is already open or not. On May 31, 2007, at 9:56 AM, Rohan Pinto wrote: how to i prevent a popup if the popup TileWindow is already Open.. ie: in my conrtol i have click=PopUpManager.createPopUp(this,main,false);

Re: [flexcoders] PopUpManager.createPopUp

2007-05-31 Thread Flexing...
Store a boolean (flag) in your titlewindow to indicate whether the Window is already open or not. On May 31, 2007, at 9:56 AM, Rohan Pinto wrote: how to i prevent a popup if the popup TileWindow is already Open.. ie: in my conrtol i have click=PopUpManager.createPopUp(this,main,false);

Re: [flexcoders] Remember Username/Password !

2007-05-31 Thread Flexing...
Ravi, BTW, you can access the client IP at the backend using String ipAddress = FlexContext.getHttpRequest().getRemoteAddr(); - import flex.messaging.FlexContext; FlexContext is part of flex-messaging.jar

Re: [flexcoders] PopUpManager.createPopUp

2007-05-31 Thread Flexing...
=button_clickHandler(event) ;/ Peace, Mike On 5/31/07, Flexing... [EMAIL PROTECTED] wrote: Store a boolean (flag) in your titlewindow to indicate whether the Window is already open or not. On May 31, 2007, at 9:56 AM, Rohan Pinto wrote: how to i prevent a popup if the popup TileWindow is already

Re: [flexcoders] Error #1009 - Problem running swf on production server

2007-05-31 Thread Flexing...
This is basically a null pointer exception. In your itemrenderer you must be trying to access the variable of an object to probably display the value. The object in this case is null. You need to add nullity check in your code. On Jun 1, 2007, at 12:19 AM, sarah_e_boys wrote: I get the

Re: [flexcoders] Extending TreeItemRenderer

2007-05-30 Thread Flexing...
have a look at http://flex-apollo.blogspot.com/2007/05/single-itemrenderer-for- multiple.html On May 30, 2007, at 6:22 PM, sarah_e_boys wrote: I would like to know how I pass a string (topicTitleParameter) in to the extended TreeItemRenderer class below. package samples { import

Re: [flexcoders] MXMLC compile multiple swf

2007-05-30 Thread Flexing...
add multiple mxmlc tasks in your build file; one for application/ module. On May 30, 2007, at 6:22 PM, Eduardo Dias wrote: Anyone know how to compile multiples MXML to generate multiples SWF using the ANT Tasks? Thanks

Re: [flexcoders] Custom Datatip Renderes for charts

2007-05-30 Thread Flexing...
You need to write an Renderder and assign it to the dataTipRenderer property of the chart. Have a look at the following thread. Though it is not in English but I guess you should be able to understand the code: http://www.fxug.net/modules/xhnewbb/viewtopic.php? topic_id=888post_id=3572

Re: {Disarmed} [flexcoders] Just getting started, hitting walls...

2007-05-30 Thread Flexing...
You may also want to have a look at Cairngorm http://labs.adobe.com/wiki/index.php/Cairngorm On May 31, 2007, at 12:52 AM, {reduxDJ} wrote: Well if you are going to make a big application, pick up Actionscript 3 design patterns. That will give you some ideas how to construct a big

Re: [flexcoders] SWF Size gets bigger (and bigger... but why??)

2007-05-30 Thread Flexing...
I am not sure why it keeps growing. But you don't need to create a new mxml everytime to reduce the size:-). Instead you can do one of the following: 1. If you are using FlexBuilder: Clean build the project (Project - Clean) 2. If you are using ANT. Delete you build (output) directory.

Re: [flexcoders] TileWindow showCloseButton

2007-05-30 Thread Flexing...
Listen for close event of the title window and perform the actions you wish to perform. e.g. ?xml version=1.0 encoding=utf-8? mx:TitleWindow xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical width=100% height=100% title=MyTitleWindow showCloseButton=true close={onClose(event)}

Re: [flexcoders] hyperlink image

2007-05-30 Thread Flexing...
Instead use LinkButton and specify your image as ICON of the LinkButton On May 31, 2007, at 12:51 AM, Rohan Pinto wrote: how to i hyperlink an image in flex ? my code has the following: mx:Image width=120 height=90 id=ThumbNail source={rp2.currentItem.thumb} completeEffect={fadeIn}/ I'd

Re: [flexcoders] Chart does not show up in Safari on Mac

2007-05-24 Thread Flexing...
I am also using MacOS but for me the Charts show up properly in both Safari and Firefox. Can you ensure that you have latest (9.x) FlashPlayer installed on MacOS. On May 24, 2007, at 12:02 PM, lanlin998 wrote: I wrote a FLEX chart application in ActionScipt3.0 and FLEX2.0 charting. It

Re: [flexcoders] Locking Last row in a Flex Data Grid

2007-05-24 Thread Flexing...
/07, Flexing... [EMAIL PROTECTED] com wrote: One approach can be: http://flex- apollo.blogspot. com/2007/ 05/adding- total-row- at- end-of- datagrid. html On May 23, 2007, at 2:46 PM, Dharmendran A wrote: hi, Does anybody know how to lock a last row in a datagrid. I know

Re: [flexcoders] Re: Firefox - FlashTracer on Mac: still looking for flashlog.txt

2007-05-24 Thread Flexing...
Hi, I am also a Mac User. Though I also couldn't make FlashTracer work on MacOSX however I am able to get the trace() output written to flashlog.txt. The location at which flashlog.txt is present is the same as mentioned in the previous post Macintosh

[flexcoders] Series::stripNaNs Exception in LineGraph

2007-05-23 Thread Flexing...
While I am trying to resolve it, if anyone has any clue about it that will be great. TypeError: Error #1009: Cannot access a property or method of a null object reference. at mx.charts.chartClasses::Series/ mx.charts.chartClasses:Series::stripNaNs() at mx.charts.series::LineSeries/

Re: [flexcoders] titleWindow cutomisation

2007-05-23 Thread Flexing...
Also set following to zero borderThicknessBottom borderThicknessTop borderThicknessLeft borderThicknessRight Refer http://livedocs.adobe.com/flex/2/langref/mx/containers/ Panel.html (TitleWindow extends Panel) for more details. On May 23, 2007, at 2:05 PM, Lincoln Mitchell wrote: How do you

Re: [flexcoders] Locking Last row in a Flex Data Grid

2007-05-23 Thread Flexing...
One approach can be: http://flex-apollo.blogspot.com/2007/05/adding-total-row-at-end-of- datagrid.html On May 23, 2007, at 2:46 PM, Dharmendran A wrote: hi, Does anybody know how to lock a last row in a datagrid. I know that lockedRowCount can lock all the rows abouve the specified

Re: [flexcoders] Re: Question about inline ItemRenderers

2007-05-23 Thread Flexing...
Hi Sai, In the attached code change mx:RadioButton groupName={parentApplication.sameGroup} value={data.emp}/ to mx:RadioButton group={parentApplication.sameGroup} value={data.emp}/ groupName attribute has been changed to group This should do the job. Thanks On May 24, 2007, at 12:41

Re: [flexcoders] One Item Renderer Component for Multiple Columns in a DataGrid - How to find name of column being rendered?

2007-05-23 Thread Flexing...
You need to use Action-Script to set the column renders: var colRendererFactory:ClassFactory = new ClassFactory(columnRenderer); colRendererFactory.properties = {columnName:mycol1}; column1.itemRenderer = colRendererFactory var colRendererFactory2:ClassFactory = new

Re: [flexcoders] Working with Session....

2007-05-22 Thread Flexing...
If you are using FDS, have a look at flex.messaging.FlexContext On May 22, 2007, at 11:27 AM, sanjaypmg wrote: Hi All, Am using flex with an existing java application here I need to use some session variables so can anyone let me know the followings: 1. How to get the session variables

Re: [flexcoders] A Problem about DateTimeAxis

2007-05-22 Thread Flexing...
The month in ActionScript start from 0(january) ... 11 (december) So in your code change var newDate:Date = new Date(a[0],a[1],a[2]); to var newDate:Date = new Date(a[0],(a[1] as int)-1,a[2]); On May 22, 2007, at 5:56 PM, sacrantoinfo wrote: I follow the example in the user guide about

Re: [flexcoders] Question about inline ItemRenderers

2007-05-22 Thread Flexing...
It is not to do with defining RadioButton inside HBox. Where have you defined your RadioButtonGroup ? Inside the mx:HBox tag or outside. I think you need to define it inside mx:HBox. Try the following. mx:itemRenderer mx:Component mx:HBox paddingLeft=5 paddingRight=5 verticalAlign=middle

Re: [flexcoders] Forms advantages

2007-05-21 Thread Flexing...
The form is not one columed.. You can place multiple form items in a container like HBox, VBox etc. e.g. mx:Form mx:HBox mx:FormItem label=item1 mx:VBox mx:RadioButton/ mx:RadioButton/

Re: [flexcoders] Re: Forms advantages

2007-05-21 Thread Flexing...
problem - more complicated labels, e.g. labels containing graphics? Can this be solved? I didn't find any work around so far... --- In flexcoders@yahoogroups.com, Flexing... [EMAIL PROTECTED] wrote: The form is not one columed.. You can place multiple form items in a container like HBox, VBox etc

Re: [flexcoders] Re: Resource Bundle hell

2007-05-21 Thread Flexing...
Try adding locale/en_US as the source folder. On May 22, 2007, at 1:31 AM, Praveen Saxena wrote: Hi, I am also facing the same problem, have you found the solution, please post the solution. -Regards, Praveen --- In flexcoders@yahoogroups.com, Dmitry Miller [EMAIL PROTECTED] wrote: Hi,

Re: [flexcoders] google adwords in my flex app

2007-05-21 Thread Flexing...
Few options which I can think of are: 1. Add support to show Adwords ad in application's HTML file which loads the application swf. You can show the ad on the left, right (like yahoo email), top or bottom. You can add some invisible static content/metadata to the HTML based on which

[flexcoders] Navigating away from a Tab

2007-05-20 Thread Flexing...
Hi All, I have a tab navigator each containing a form where user needs to fill some information. Now what I want to do is that if a user tries to move away from a Tab without completing or saving the information, I want to show an Alert (Changes will be lost if you navigate away from the

Re: [flexcoders] How can I tell the swf file name within my application ?

2007-05-03 Thread Flexing...
use Application.application.url On May 3, 2007, at 11:52 AM, helihobby wrote: Hello, Can anyone tell me how can one know the name of the compiled swf file name ? Is there a property which holds it ? Thanks, Sean.

[flexcoders] DataGrid Column bug

2007-05-02 Thread Flexing...
Hi All, I am hiding one of the columns of the datagrid based on the value of a variable i.e. visible={isVisible}. The column is hidden the first time I populate data to it but if I repopulate data (, the value of isVisible is still false), the hidden column shows up. Even if I reset the

Re: [flexcoders] DataGrid Column bug

2007-05-02 Thread Flexing...
from where can I download the hotfix ? On May 2, 2007, at 9:20 PM, Alex Harui wrote: That should be fixed in the latest hotfix. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Flexing... Sent: Wednesday, May 02, 2007 4:47 AM To: flexcoders@yahoogroups.com Subject

Re: [flexcoders] Can I lookup a div in the html page and hide it from within my Flex app?

2007-04-27 Thread Flexing...
use can invoke JavaScript function from Flex i.e. - write javascript function in the page hosting the flex app to manipulate div/ - invoke Javascript function from Flex. Refer to the documentation of flash.external.ExternalInterface. On Apr 27, 2007, at 7:18 PM, wdsnapper wrote: Hello,

[flexcoders] Sliding HDividedBox

2007-04-23 Thread Flexing...
Hi All, Has anyone created a Sliding HDividedBox i.e. HDividedBox in which when a use clicks on the Divider, it slides and hides the left container. Thanks

Re: [flexcoders] Sliding HDividedBox

2007-04-23 Thread Flexing...
right. but I would like to add an icon to the divider and enable this functionality on the click of that icon. I am not sure how to customize the divider. Any pointer would be helpful. Thanks On Apr 23, 2007, at 8:29 PM, Tom Chiverton wrote: On Monday 23 Apr 2007, Flexing... wrote: Has

[flexcoders] Minimize / Maximize Panels - Layout adjustment

2007-04-17 Thread Flexing...
Hi All, If you go to the following URL http://www.adobe.com/devnet/flex/ Under the flex community there are panels which contain maximize and minimize functionality i.e. if you click on + it maximzed and others are minimized and vice versa. The layout is auto adjusted Does anyone know how

[flexcoders] SuperTabNavigator - Type Coercion failed:

2007-04-17 Thread Flexing . . .
When I try to load a Module as a child in SuperTabNavigator. I get following error. Any clues on how it can be resolved. TypeError: Error #1034: Type Coercion failed: cannot convert mx.controls::[EMAIL PROTECTED] to mx.controls.ButtonBar. at mx.skins.halo::ButtonBarButtonSkin/

[flexcoders] IFrame and Flex

2007-04-03 Thread Flexing...
Hi All, In my app, I am using the Iframe solution to show some html content (animated gifs). Now in the same container I also have few buttons which pop up respective TitleWindows(Dialogs) to take certain inputs from the user. Now the problem is that since the IFrame is visible on the same

[flexcoders] Model TitleWindow - Container becomes hazy

2007-03-27 Thread Flexing...
When we show a model titlewindow, the application/container becomes hazy/blurred. How to make it look normal ? I tried using disbledOverlayAlpha of the container but this didn't help. TIA