[flexcoders] Remove Particular Child

2006-09-28 Thread KP
Hi All. I have one canvas and on that I have number of child what I want to do is remove one particular child say of class Label . Can some one suggest some approach on this one . Thanks Kumar. __._,_.___ -- Flexcoders Mailing List FAQ:

[flexcoders] Facing issues applying SeriesInterpolate effect to stacked ColumnChart

2006-09-28 Thread omkarjoe
Hi All, I am trying to apply SeriesInterpolate effect to stacked ColumnChart. When my dataprovider changes it popups a null object reference error. If I use any other chart type as overlaied or clustered then everything works fine but if I change type to stacked then this error pops up. Do

Re: [flexcoders] Bugs in the Remoting adapter which comes with ColdFusion

2006-09-28 Thread EECOLOR
The problem with the Application.cfc (Bug #2) appears to be even worse then i thought. It can be tested with the following simple files: Application.cfc (change the name for each directory) cfcomponentcfset this.name = app2 //cfcomponent App.cfc cfcomponent extends=fly.TestAppcffunction

[flexcoders] Re: Unable to access UserTransaction in DataService.

2006-09-28 Thread erik_jen5en
Hi all, Finally got this to work in Tomcat. Not what I originally wanted to do but, hey, it works. I am now using an external tomcat instance to deploy the flex app to and the application is running on JBoss. The ClassCastException was being caused by Jboss' client jars. Since the JBoss jars

Re: [flexcoders] Remove Particular Child

2006-09-28 Thread EECOLOR
Hello, If you have a reference to the child you can do removeChild(reference). If you want to remove all labels, you can do this: var i:int = numChildren; var child:DisplayObject; while (i--) { child = getChildAt(i); if (child is Label) { removeChild(child); }; }; Greetz Erik

RE: [flexcoders] New Autocomplete component (free)...feedback?

2006-09-28 Thread Stacy Young
I think the concept itself is right on the money. Kind of applying the Adobe Labs concept to component development. Kudos! Stace From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of David Mendels Sent: Thursday, September 28, 2006 12:19 AM To:

[flexcoders] Re: issue with progress bar loader becoming stuck

2006-09-28 Thread Dan Rossi
Hi, unfortunately im not doing any custom progress bar, its just the standard preloader when the swf loads, id prefer just to take it out and add listeners to work out whats going on somehow ? Adobe dont even reply about it i dont think ill ever get a reply from them about it as usual, ive

[flexcoders] Getting data grid rowcount when changed from Java applet

2006-09-28 Thread Wally Randall
I have a data grid component which is populated with data from a Java applet. I need to setup an event to obtain the new grid rowcount after data is entered in the grid. I have tried the change event in the grid control which is not triggered by the external update. The grid is bound to a

Re: [flexcoders] Pounds and currencyFormatter

2006-09-28 Thread Tom Chiverton
On Wednesday 27 September 2006 16:39, Stephen Gilson wrote:         currencySymbol=#163; decimalSeparatorFrom=. Tried that :-) -- Tom Chiverton Helping to biannually supply integrated e-services This email is sent for and on behalf of

[flexcoders] Importing CSV file to a data grid

2006-09-28 Thread sahay17
Hi all, I want to import data from a csv file to a datagrid.For that i need 1) to open a browse dialog box. 2) Select the file and import to the data grid. Is it possible and if yes can you guide me with it. Thanks in advance. -- Flexcoders Mailing List FAQ:

[flexcoders] calling HttpService from Javascript when browser is closed

2006-09-28 Thread sri4umca
Hi, My requirement is when i close the browser, from javascript i want to call java application using HttpService in Flex. I am using FABridge to call java application using HttpService from javaScript. JavaScript code snippet -- var flexApp = null; var

[flexcoders] Re: Problem with RemoteObject Java

2006-09-28 Thread Laurent Fontvielle
Hello, Did you specify a correct 'context-root' when compiling your Flex web application. The value for this compiler parameter must be the same as the context-root where you deploy your webapp on your application server. From the project properties window, got to 'Flex compiler' properties, add

Re: [flexcoders] Bugs in the Remoting adapter which comes with ColdFusion

2006-09-28 Thread Muzak
If I get this right, you have the App.cfc in the server root and 2 Application.cfc's each in one of the flex app directories (app1, app2) which are subfolders in the server root. If that is the case, App.cfc doesn't *see* those Application.cfc's. App.cfc runs in the context it lives in, not in

[flexcoders] Logging in Flex

2006-09-28 Thread Anas Mughal
I am wondering if there is some sort of logging mechanism that I could use to log messages/errors from a Flex application. I would like the log to be created on the server.It would be great if there is something like Log4J in Flex.Thank you for your advice. -- Anas Mughal Stay in

[flexcoders] Text component sizing issue

2006-09-28 Thread n51red
Who would have thought that the humble Text component could be so full of bugs?! Here's one that giving me trouble at the moment: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; mx:Script ![CDATA[

[flexcoders] FlexUnit usage examples

2006-09-28 Thread Dima Ulich
Hi everybody, Does anyone have an example of using FlexUnit with async requests made to the server? Is there a way of testing existing flex application? How do you usually test yours? Thanks Dima __._,_.___ -- Flexcoders Mailing List FAQ:

[flexcoders] calling HttpService from Javascript when browser is closed

2006-09-28 Thread sri4umca
Hi, My requirement is when i close the browser, from javascript i want to call java application using HttpService in Flex Application. I am using FABridge to call java application using HttpService from javaScript. JavaScript code snippet -- var flexApp = null;

Re: [flexcoders] Re: issue with progress bar loader becoming stuck

2006-09-28 Thread Tom Chiverton
On Wednesday 27 September 2006 13:09, wayneposner wrote: complete. If I take out the recursion, the progress bar loads fine. What if you display the bar, then callLater the function ? -- Tom Chiverton Helping to dynamically drive back-end patterns

Re: [flexcoders] Bugs in the Remoting adapter which comes with ColdFusion

2006-09-28 Thread EECOLOR
Nope, i have 2 directories, which both act as wwwroot (virtual hosts). http://app1 points to c:\wwwroot\app1 http://app2 points to c:\wwwroot\app2 In c:\wwwroot\app1 i have the following files (leaving out the js and history ones etc): - app1.swf - App.cfc - Application.cfc - index.cfm In

[flexcoders] Re: [Flex 2] Strange behaviour when using RSLs

2006-09-28 Thread Mike Morearty
The problem is with the way the player and the debugger initiate their communication. Here's how it works when things are going well: 1. When you click Debug in Flex Builder, it starts listening on a TCP/IP socket, and it launches your browser. 2. When the Flash Player notices that the SWF

[flexcoders] Transferring Data through Cairngorm methodology

2006-09-28 Thread laidezmon
I am trying to implement a simple login application in cairngorm. I am having all kinds of problems. Heres the deal. Basically I have a button which calls a doLogin() function. private function doLogin():void { var event : AuthenticateEvent = new

[flexcoders] Re: Mapping Fails, CFCs

2006-09-28 Thread lostinrecursion
The code actually works as expected as long as I am calling from the webroot (ex. myApp.cfc.SomeComponent) -However, I have posted it below for your review. mx:RemoteObject id=myService destination=ColdFusion result=event.token.resultHandler(event)

[flexcoders] Re: Does anyone have a Flex 2 Cairngorm example for a master/detail view/edit/de

2006-09-28 Thread laidezmon
I wish I had an answer for you, but frankly I am looking for the same thing. Please someone help us both. --- In flexcoders@yahoogroups.com, Gareth Edwards [EMAIL PROTECTED] wrote: I must be missing parts, or doing something wrong. Can't seem to re-assign the saved detail record to the

Re: [flexcoders] Logging in Flex

2006-09-28 Thread John Grden
Hey Anas, I've put out a test version of Xray's flex2 logger which comes with a panel component if you don't have the xray interface to see your trace out put. Chris and I modeled it after log4j style of logging.here's an email I sent a while ago about it: I'm in the very early stages of

Re: [flexcoders] Bugs in the Remoting adapter which comes with ColdFusion

2006-09-28 Thread Simeon Bateman
What url does the ColdFusion destination use in your config file? This is going to be the url that is used to decide what domain to make calls against, not nessicarily the domain you are loading the swf from.On the first bug you list. I dont know if I would have assumed that it would chase up

[flexcoders] ClassFactory pb

2006-09-28 Thread arnbely
Hello, I'm new to Flex and AS, and I'm developing an application using flex. I have a problem whith the following code: var arrowRenderer:ClassFactory = new ClassFactory(ArrowItem); arrowRenderer.properties = {t:test}; tmpColumn.itemRenderer = arrowRenderer; and I've got the error: Cannot

Re: [flexcoders] Re: issue with progress bar loader becoming stuck

2006-09-28 Thread Mark Hawley
Flash is single-threaded. You're not going to ever get screen refreshes during a function's execution. wayneposner wrote: Hi Dan- Just to let you know you're not alone, I've been having issues with my progress bar not displaying at all. I've got code that is supposed to pop up my

Re: [flexcoders] Re: Mapping Fails, CFCs

2006-09-28 Thread Simeon Bateman
In helping other developers with this the general rule I have found is this. When you have enabled the use-mappings in the config file for cf, you can then access your cfc's from flex using mappings.This works great for any objects that you would use as the source of your RemoteObject call.

[flexcoders] Re: Transferring Data through Cairngorm methodology

2006-09-28 Thread laidezmon
O and one other thing, when I created the authenticate event class, I created two params public var loginName : String; public var password : String; I dont know if thats important or not. --- In flexcoders@yahoogroups.com, laidezmon [EMAIL PROTECTED] wrote: I am trying to implement a simple

[flexcoders] calling HttpService from Javascript when browser is closed

2006-09-28 Thread sri4umca
Hi, My requirement is when i close the browser, from javascript i want to call java application using HttpService in Flex. I am using FABridge to call java application using HttpService from javaScript. JavaScript code snippet -- var flexApp = null; var

[flexcoders] Printing Images

2006-09-28 Thread nathanpdaniel
I have an issue when printing images! I am working on a shipping app which will generate a barcode label for printing. If I load the label, then have the user print it, it works. However, there are cases when there will be 100's of labels that need to be printed at once. When I try to

RE: [flexcoders] Transferring Data through Cairngorm methodology

2006-09-28 Thread Evan Gifford
You might want to use the one written by Alex Uhlmann as a starting (or restarting) point. You can find it here: http://www.alex-uhlmann.de/flash/adobe/blog/cairngormlogin/CairngormLogin.html Then just Right-Click and View Source. You can of course download the project from this

Re: [flexcoders] Re: Mapping Fails, CFCs

2006-09-28 Thread Douglas Knudsen
On 9/28/06, lostinrecursion [EMAIL PROTECTED] wrote: The code actually works as expected as long as I am calling from thewebroot (ex. myApp.cfc.SomeComponent)-However, I have posted itbelow for your review.mx:RemoteObject id=myService destination=ColdFusion

[flexcoders] Re: Mapping Fails, CFCs

2006-09-28 Thread lostinrecursion
Sorry, I may not have been clear enough. But the issue is not mapping VOs here. It is CF throwing an error saying it cannot find the component. (The single quote is an artifact. The original code does not have it) Unfortunately, no it does not. I only put the {} around it from a previous try.

[flexcoders] Re: FlexUnit usage examples

2006-09-28 Thread ben.clinkinbeard
I've never used FlexUnit but Paul has done extensive testing and writing about this subject: http://www.eyefodder.com/blog/2006/07/flexunit_asunit_deathmatch_res.shtml HTH, Ben --- In flexcoders@yahoogroups.com, Dima Ulich [EMAIL PROTECTED] wrote: Hi everybody, Does anyone have an example

[flexcoders] Re: Transferring Data through Cairngorm methodology

2006-09-28 Thread ben.clinkinbeard
I didn't read every line of your code but I think this is your problem: You are creating and passing your custom AuthenticateEvent object, which has the loginName and password properties, but then you are trying to access data.loginName and data.password in your command. Try this: var

Re: [flexcoders] Bugs in the Remoting adapter which comes with ColdFusion

2006-09-28 Thread EECOLOR
What url does the ColdFusion destination use in your config file? This is going to be the url that is used to decide what domain to make calls against, not nessicarily the domain you are loading the swf from. Im using http://{server.name}/flex2gateway/on one server. On another i

[flexcoders] Conversion from Array to XML

2006-09-28 Thread richmcgillicuddy
I have an array that my user is editing in a data grid. I want to be able to convert that back to an XML object. Is there a generic easy way to do this. My array has objects that look like: var myObject : ObjectProxy = new ObjectProxy(); myObject.f1 = 1; myObject.f2 = 2; myObject.f3 = 3; I want

Re: [flexcoders] Re: issue with progress bar loader becoming stuck

2006-09-28 Thread Tom Chiverton
On Thursday 28 September 2006 14:09, Mark Hawley wrote: Flash is single-threaded. You're not going to ever get screen refreshes during a function's execution. Sometimes the internal model isn't even updated during execution. -- Tom Chiverton Helping to globally foster B2B clusters

[flexcoders] Re: Architecting a large, modular Flex application (with Cairngorm)

2006-09-28 Thread Derrick Grigg
Hi Carlos, Actually the application I am developing (the one that started this thread) is built on Cairngorm. In order to give the seperate modules access to Cairngorm and core application classes (ie models, commands) I have put our core application classes and the Cairngorm classes and in an

[flexcoders] FLex 2 CF integration in Linux - Real Problem

2006-09-28 Thread Rafael M. Martinelli
Hi everybody, Does somebody consumed any ColdFusion cfc using Flex 2 in Linux Im trying for some time and it didnt work for me. Thats what I did: 1. Installed Red Hat AS 4; 2. Installed CFMX 7.02 Stand Alone - CF working fine; - Flex + CF error (cfserver.log is

Re: [flexcoders] Re: MXML Constructor

2006-09-28 Thread Tom Chiverton
On Wednesday 27 September 2006 22:39, Gordon Smith wrote: the latter runs as early as possible. Using a preinitialize handler would be a better choice. I'd bet the original poster would be surprised if his 'constructor' didn't have access to all the things the creationComplete handler does.

Re: [flexcoders] Re: HTTP Status 500 Error using SSL endpoint

2006-09-28 Thread Tom Chiverton
On Wednesday 27 September 2006 16:58, syndrake7 wrote: (mx.rpc:Fault) faultCode = Client.Error.MessageSend faultDetail = Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed faultString = Send failed details = https://me.com/flex2gateway/; level = error Can you stick a

[flexcoders] Re: Architecting a large, modular Flex application

2006-09-28 Thread Derrick Grigg
Hi Paul, That is exactly my concern. I haven't been able to test the RSL caching thoroughly but experience tells me it will happen. I was hoping that I could somehow modify the url that the RSL uses but I have not found a way to do that. I am starting to think that what may be required is a

Re: [flexcoders] Logging in Flex

2006-09-28 Thread Anas Mughal
John, Thank you very much for your response. We will give it a try and provide feedback. Regards. -- Anas MughalJohn Grden [EMAIL PROTECTED] wrote: Hey Anas, I've put out a test version of Xray's flex2 logger which comes with a panel component if you don't have the xray interface

Re: [flexcoders] Re: Architecting a large, modular Flex application

2006-09-28 Thread Tom Chiverton
On Wednesday 27 September 2006 23:26, Anatole Tartakovsky wrote: I would like to confirm that there is a problem first. Also, please refer to initialize method for Preloader object - by subclassing it you can mangle URLs any way you like. Or have your librays is directories numbered according

[flexcoders] Re: Does anyone have a Flex 2 Cairngorm example for a master/detail view/edit/de

2006-09-28 Thread Michael Ritchie
I have a similar issue, I have the arraycollection of VO's returned from the CFC. I assign those to a datagrid, then on datagrid change event, assign the selected item to a VO to pass between my tiers. I always get error trying to access a null object. I can't seem to convert my arraycollection

Re: [flexcoders] Re: To change font weight in renderer class

2006-09-28 Thread Daniel Freiman
in the MenuItemRenderer I think label is actually a UITextField, not a Label. If this is true, you would need to use the following code:var tf:TextFormat = new TextFormat();tf.bold = true;label.setTextFormat (tf);or I think settings a UITextField's parent style will also work so you might just

Re: [flexcoders] Object references within XML

2006-09-28 Thread Daniel Freiman
I'm loading in an xml file. The xml file defines the layout of the movie (think mxml at runtime, but not really for reasons that aren't relevant here). The layout is fairly complex and from the coder's perspective it would be a great help to be able to traverse the original xml document instead

[flexcoders] Re: why isn't the model's data being updated.

2006-09-28 Thread boy_trike
Thanks for the answer, and of course, it works. Just to make sure I understand: when I have [Bindable] model.currentProspect this just means that any changes to properties in the model.currentProspect will be displayed in any attached UI controls, BUT Changes to the UI control do NOT

Re: [flexcoders] Bugs in the Remoting adapter which comes with ColdFusion

2006-09-28 Thread Tom Chiverton
On Thursday 28 September 2006 15:34, EECOLOR wrote: Im using http://{server.name}/flex2gateway/ on one server. If you hard code app1 or app2 here for {server.name}, does it work as expected ? -- Tom Chiverton Helping to adaptively reinvent dynamic data

Re: [flexcoders] Re: [Flex 2] Strange behaviour when using RSLs

2006-09-28 Thread Carlos Rovira
Hi Mike,Maybe If I could set -debug=false for each RSL would avoid that problem?but, if so...how could I set that param for a RSL? I think I can only put that additional param for the main project. On 9/28/06, Mike Morearty [EMAIL PROTECTED] wrote: The

Re: [flexcoders] Bugs in the Remoting adapter which comes with ColdFusion

2006-09-28 Thread EECOLOR
I finished installing windows 2003 server with coldfusion 7.02. The same problem happens here... Greetz Erik __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:

[flexcoders] TextInput component issue

2006-09-28 Thread joshuajnoble
I've got a component that extends TextInput that I need to do some extra stuff for validation with, so I've done the following: override public function validationResultHandler(event:ValidationResultEvent):void {

Re: [flexcoders] Re: why isn't the model's data being updated.

2006-09-28 Thread Tom Chiverton
On Thursday 28 September 2006 16:24, boy_trike wrote: when I have [Bindable] model.currentProspect Why not write [Bindable] model ? -- Tom Chiverton Helping to professionally mesh essential e-services This email is sent for and on

Re: [flexcoders] Re: Does anyone have a Flex 2 Cairngorm example for a master/detail view/edit/de

2006-09-28 Thread Tom Chiverton
On Thursday 28 September 2006 16:03, Michael Ritchie wrote: always get error trying to access a null object. I can't seem to convert my arraycollection to the VO, even with casting I get zip. Is the AS version of your class marked with the correct hint ? If you set CF Flex log level to Debug

Re: [flexcoders] FLex 2 CF integration in Linux - Real Problem

2006-09-28 Thread Tom Chiverton
On Thursday 28 September 2006 15:07, Rafael M. Martinelli wrote: Does somebody consumed any ColdFusion cfc using Flex 2 in Linux I'm trying for some time and it didn't work for me. Try setting the log level to Debug in services.xml and see if that helps. -- Tom Chiverton Helping to

[flexcoders] Re: Bug?: Array not populating List.

2006-09-28 Thread jnewport
Thank you. Thank you. Thank you. Does it show that I am just a beginner here? All that code gone with just your one line. You rock! If you worked for me you just got a $1000.00 raise. Thank you, Jason --- In flexcoders@yahoogroups.com, EECOLOR [EMAIL PROTECTED] wrote: The syntax you are

[flexcoders] Re: issue with progress bar loader becoming stuck

2006-09-28 Thread wayneposner
Is there a method or some call to use that forces the UI to refresh. I actaully tried staging the call to my recursive function so that it wouldn't get called until three events later-- creationComplete dispatched to a render event which then dispatched to my event which called the recursion.

[flexcoders] custom outlined pie labels

2006-09-28 Thread Pan Troglodytes
I'm making an outline around my pie labels using the following code for the pie chart:public function creationComplete():void{ UIComponent(labelElements[0]).filters = [new DropShadowFilter(1, 0, 0xFF, 1, 0, 0), new DropShadowFilter(1, 90, 0xFF, 1, 0, 0), new DropShadowFilter(1, 180,

RE: [flexcoders] Facing issues applying SeriesInterpolate effect to stacked ColumnChart

2006-09-28 Thread Ely Greenfield
Hi Omkar. Enough people have run into this problem that I'm going to post the workaround to the list. I want to give fair warning, however, that this is _not_ a supported workaround. Specifically, it requires you to copy and paste code from the charting package...which means that when

RE: [flexcoders] custom outlined pie labels

2006-09-28 Thread Ely Greenfield
Can't think of any reason why that would be problematic. The PieSeries currently always creates a label layer, and never recreates it, so at least for now that should be Copacetic. Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Pan TroglodytesSent:

[flexcoders] Re: Expression for an array object name?

2006-09-28 Thread jnewport
How can I print out what obj contains? I have tried trace(obj.toString()), but I get [object object]. Thanks for your help you don't know how much I appreciate it. J --- In flexcoders@yahoogroups.com, EECOLOR [EMAIL PROTECTED] wrote: Hello, maybe something like this: monthlysVO =

Re: [flexcoders] Re: [Flex 2] Strange behaviour when using RSLs

2006-09-28 Thread Paul Spitzer
Thanks Mike. Is there a way to launch the debugger manually, from Flex Builder. For instance to wait for incoming requests from the player. I realize the command line debugger would likely work but the GUI would be much easier. Mike Morearty wrote: The problem is with the way the player and

[flexcoders] Re: Does anyone have a Flex 2 Cairngorm example for a master/detail view/edit/de

2006-09-28 Thread Michael Ritchie
I have tried marking the VO class a couple different ways. The first was following the PhoneExample application by Benoit Hediard (http://www.benorama.com): // path to my CFC ContactVO.cfc [RemoteClass(alias=CairngormContacts.components.model.ContactVO)] [Bindable] public class

[flexcoders] Re: datgrid fills but content is invisible

2006-09-28 Thread bghoward3
thanks for the feedback tracey i think i am on the right track but could use a bit more guidance my new webservice looks like this mx:WebService id=wsUserTeams wsdl=http://sitename/cfc_UserTeams.cfc?wsdl; useProxy=false mx:operation name=getAllTeams resultFormat=e4x

Re: [flexcoders] Re: Expression for an array object name?

2006-09-28 Thread Dave Carabetta
On 9/28/06, jnewport [EMAIL PROTECTED] wrote: How can I print out what obj contains? I have tried trace(obj.toString()), but I get [object object]. I believe you can just do trace( ObjectUtil.toString(obj) ); to get that dump. Regards, Dave. -- Flexcoders Mailing List FAQ:

[flexcoders] Re: [Flex 2] Strange behaviour when using RSLs

2006-09-28 Thread Mike Morearty
There is a hack way to launch the debugger manually: create a launch configuration where the debug URL points to some random page that doesn't have a SWF on it, like http://www.google.com. A browser will come up, but you can just close it. --- In flexcoders@yahoogroups.com, Paul Spitzer

[flexcoders] Re: [Flex 2] Strange behaviour when using RSLs

2006-09-28 Thread Mike Morearty
Try putting -debug=false into the Additional Compiler Options field of the Flex Library Project that was used to build the SWC. Not sure if that works, but it might. If it doesn't, I know this is a lot of work but you could do a command-line build with compc.exe (the swc building tool). ---

Re: [flexcoders] Re: FlexUnit usage examples

2006-09-28 Thread Ali Mills
I've never used FlexUnit but Paul has done extensive testing and writing about this subject: http://www.eyefodder.com/blog/2006/07/flexunit_asunit_deathmatch_res.shtml HTH, Ben Luke (http://www.lukebayes.com) just finished addressing Paul's issues with AsUnit, and should be blogging about

[flexcoders] click event in itemRenderer

2006-09-28 Thread Jack OMelia
Hi All, I have a datagrid with a click event calling some functions. I decided I didn't want the click event to happen on the whole row, just on a particular column. I have an itemRenderer for the column with a Text component formatted to look like a link, so I decided to remove the click event

[flexcoders] Time Validating

2006-09-28 Thread boy_trike
Flex has a NUMBERformatter and a DATEFormatter. I have the need for a time formatter and would not like to re-invent what someone else must have already done. Ideally I want to have a textinput field which restricts input to 0-9: APM. I would like to accept the following and convert all

RE: [flexcoders] Re: Transferring Data through Cairngorm methodology

2006-09-28 Thread Paul Williams
I think you will need to perform a cast to access the properties of your AuthenticateEvent instance (this is why you got a compiler error). The cast is achieved as follows: var authenticateEvent : AuthenticateEvent = AuthenticateEvent( event ); So your command's execute function will look like

Re: [flexcoders] custom outlined pie labels

2006-09-28 Thread Pan Troglodytes
Thanks Ely. Would be nice in a future release to more easily fiddle with the series labels.On a related note, how would you go about changing the font size for the pie labels? I've tried a lot of different things, none of which worked. On 9/28/06, Ely Greenfield [EMAIL PROTECTED] wrote:

[flexcoders] DataGrid/ItemRender/ComboBox ?

2006-09-28 Thread livinginswitzerland
I've found a really nice feature in Flex 2. I have a datagrid with several rows, and one of the columns has an inline component itemrender which is a combobox. In my case, this datagrid represents a list of people, and the people have to be assigned to a department once they have been added

[flexcoders] Re: Facing issues applying SeriesInterpolate effect to stacked ColumnChart

2006-09-28 Thread omkarjoe
Thanks a ton Ely!!! This worked and I am ok with not supported workaround for now... Thanks --- In flexcoders@yahoogroups.com, Ely Greenfield [EMAIL PROTECTED] wrote: Hi Omkar. Enough people have run into this problem that I'm going to post the workaround to the list. I want to

[flexcoders] Re: Does anyone have a Flex 2 Cairngorm example for a master/detail view/edit/de

2006-09-28 Thread Tim Hoff
Hi Michael, Alternatively, you could define the selectedItem in the ModelLocator. On the Change event of the DataGrid, update the selectedItem. This way wouldn't require you to pass the event to the view function. ModelLocator.getInstance().mySelectedItem = ModelLocator.getInstance

[flexcoders] Scope of variable to set as selectedItem for combobox

2006-09-28 Thread Louie Penaflor
Hi, I have a datagrid populating with one of the itemRenderer being a combobox. I can populate this fine. What Im trying to do is set the selectedItem of the combobox with a value from an index array. Is there a way to return which row the component is in the datagrid to try to

RE: [flexcoders] custom outlined pie labels

2006-09-28 Thread Ely Greenfield
Yeah, custom label renderers was considered for 2.0, but got pulled from the schedule at some point. I'll make a note of your vote though ;) Even with them though, your approach is more performant. Putting a filter on the entire set of labels at once is better than labels on each

[flexcoders] Is there an isset() in Actionscript 3? (Or an exists())

2006-09-28 Thread rigidcode
If I have an hash (object) like this: var o:Object = new Object(); o['blahblah']; How do I test if there exists an o['wwwrgwr']? I had a situation where I set something to a string: o['blahblah']='wefwefw'; and then later tried: if (o['blahblah']['something']) { } and I got: Property

RE: [flexcoders] Re: datgrid fills but content is invisible

2006-09-28 Thread Tracy Spratt
You are using e4x so you are almost there. For example if you have: teams team name=Falcons game=American Football team name=Braves game=Baseball team name=Thrashers game=Hockey teams lastResult is now a reference to the root node of the xml, teams. Depending on the xml

Re: [flexcoders] Re: [Flex 2] Strange behaviour when using RSLs

2006-09-28 Thread Anatole Tartakovsky
Mike, Is there way to get standard libraries (framework, rpc, flex, etc) built with -debug=false Thank you, Anatole On 9/28/06, Mike Morearty [EMAIL PROTECTED] wrote: The problem is with the way the player and the debugger initiate their communication. Here's how it works when things are

RE: [flexcoders] custom outlined pie labels

2006-09-28 Thread Matt Horn
You should be able to set fontSize on the PieSeries: mx:PieSeries field=Amount nameField=Expense labelPosition=callout fontSize=40/ hth, matt horn flex docs -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Pan Troglodytes Sent: Thursday,

Re: [flexcoders] Re: [Flex 2] Strange behaviour when using RSLs

2006-09-28 Thread Carlos Rovira
Ok, As Anatole brings to the light, I want to use framework.swc and flex.swc as RSLs, but I can't compile it with -debug=false since I haven't the project that generates the SWC...maybe someone at adobe could give us the project templates so we can set up in our enviroment. could it be

RE: [flexcoders] Re: MXML Constructor

2006-09-28 Thread Gordon Smith
Perhaps. There seem to be a lot of Flex developers who don't realize that you have access to almost nothing at construction time... there are no children, no parent, no inherited styles, etc. That's why I asked what he wanted to do in his constructor. - Gordon -Original Message- From:

[flexcoders] Re: Does anyone have a Flex 2 Cairngorm example for a master/detail view/edit/de

2006-09-28 Thread Michael Ritchie
Thanks, I will try that and post my example so maybe some others can comment or find what they need if the solution works. --- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote: Hi Michael, Alternatively, you could define the selectedItem in the ModelLocator. On the Change

RE: [flexcoders] click event in itemRenderer

2006-09-28 Thread Dustin Mercer
Its because totalEmployeeData() doesnt exist at the component scope, but rather the outerDocument scope. Try this mx:Component id=dataCellLinkTest mx:Text color=0xff textDecoration=underline textAlign=left buttonMode=true useHandCursor=true mouseChildren=false

[flexcoders] Re: [Flex 2] Strange behaviour when using RSLs

2006-09-28 Thread Mike Morearty
Are you changing them to be external, rather than statically linked into your app? Because if you're leaving them statically linked into your app (the default), then there is no need to recompile them with - debug=false; at link time, if linking the release swf, the linker will strip out all

[flexcoders] -load-externs not working

2006-09-28 Thread Paul Spitzer
I added the -load-externs flag to a Flex project and pointed it to the link report of another Flex project and am getting no love. The -load-externs flag doesn't seem to be doing anything for me. Anyone have any ideas as to what I might be doing wrong? -- Flexcoders Mailing List FAQ:

RES: [flexcoders] FLex 2 CF integration in Linux - Real Problem

2006-09-28 Thread Rafael M. Martinelli
EURECA!!! Thanks Sarge for this post: http://www.sargeway.com/blog/index.cfm/2006/9/28/CFMX-702-Failure-to-Connect -to-FDS-2 You must do it (delete flexassembler.jar) to CF Remoting for Flex 2 works on Linux. Hope Abode put a TechNote about it. It's strange that it does not happen on

[flexcoders] Re: Is there an isset() in Actionscript 3? (Or an exists())

2006-09-28 Thread Mike Morearty
It depends on what you are really trying to test: - Are you trying to test whether the property exists at all? - Are you trying to test whether it exists and has a non-null value? The verbose but foolproof way to test whether it exists at all is to use Object.hasOwnProperty(). To test if

Re: [flexcoders] Re: Architecting a large, modular Flex application

2006-09-28 Thread Paul Spitzer
Hi Derrick, From the quick test I did, it /is/ an issue. I too looked into modifying the URL. I was going to use ANT to automate it all, incrementing versions, and changing URLs but I've since abandoned that plan. Here is what I'm now doing... I have a couple of different library projects

[flexcoders] Re: Problem with RemoteObject Java

2006-09-28 Thread jonathan_merey
Thank you very much it works now. How could I find this alone ? --- In flexcoders@yahoogroups.com, Laurent Fontvielle [EMAIL PROTECTED] wrote: Hello, Did you specify a correct 'context-root' when compiling your Flex web application. The value for this compiler parameter must be the same as

[flexcoders] Library Help

2006-09-28 Thread richmcgillicuddy
I am trying to centralize code in a series of libraries and running into what would seem to be a simple problem. I have a set of components in AS nd MXML files. I create a new project and add a source directory to those components. In the MXML editor, I can access them if I create a namespace to

[flexcoders] Tree Help Please

2006-09-28 Thread s_hernandez01
Would anyone know how to write actionscript telling Flex to call up an index in a ViewStack using a tree whose folders are coded in xml? Here is something of what I want the code to say, but I can't get passed the errors. For example: if(productTree.selectedItem == Folder 1){

[flexcoders] reconnecting an mx:producer component

2006-09-28 Thread JClouz
With a mx:consumer component, I can unsubscribe() when I don't need it anymore, and subscribe() when I want it turned back on. With a mx:producer component it looks like I can use disconnect() when I don't need it anymore, but I don't see any sort of connect() function to turn it back on

Re: [flexcoders] Re: [Flex 2] Strange behaviour when using RSLs

2006-09-28 Thread Anatole Tartakovsky
Mike, It might make sense to have separatefolder in SDKwith all the libraries compiled without debugging for size/performance reasons. Realistically, every production application would like to benefit from that and subjecting everybody to Ant process - especially given the additional libs like

RE: [flexcoders] Tree Help Please

2006-09-28 Thread Tracy Spratt
Try: if(productTree.selectedItem.label == Folder 1) Do you see why? Tracy From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of s_hernandez01 Sent: Thursday, September 28, 2006 5:48 PM To: flexcoders@yahoogroups.com Subject: [flexcoders]

RE: [flexcoders] Conversion from Array to XML

2006-09-28 Thread Tracy Spratt
No one else responded so Ill take a shot. For dynamic properties, like in an mx:object, the for..in loop should return a reference to each property. So maybe something like: Var sXML:String = root For (var prop in myObject) { sXML += + prop + + myObject[prop] + / + prop + /;

[flexcoders] As you type Grid Filtering with Textinput and Combobox

2006-09-28 Thread qnotemedia
Hi all - I'm trying to mix together two blocks of code: Ben Forta's As you type Grid filtering: http://www.forta.com/blog/index.cfm/2006/7/13/Filtering-Data-In-Flex Filter a Grid with Combobox: http://www.cflex.net/showFileDetails.cfm? ObjectID=415Object=FileChannelID=1 I have successfully

  1   2   >