[flexcoders] Re: Draw a threshold line on a chart

2008-12-04 Thread Oscar Cortes
p://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetail\ s&postId=2041&productId=2&loc=en_US> Oscar Cortes http://www.holaflex.com <http://www.holaflex.com> --- In flexcoders@yahoogroups.com, "lyonjudah" <[EMAIL PROTECTED]> wrote: > > Hello, > I

[flexcoders] ExternalInterface and XML

2008-08-26 Thread Oscar Cortes
I added an extra argument to a ExternalInterface called that was already working. This argument is an object with one of its properties being XML. After I added the object, the JS function was not being called anymore. After a little debugging, it looks like you cannot send XML or a nested

[flexcoders] Re: Combobox shows [object OBJECT]

2008-04-17 Thread Oscar Cortes
Use labelField or labelFunction. For example, if you arrray contains objects like oItem.Name, you can do something like: labelField="Name" if your objects are more complex use labelFunction Regards, Oscar http://www.holaflex.com --- In flexcoders@yahoogroups.com, "Phill B" <[EMAIL P

[flexcoders] Re: Hide calendar for DateField

2008-04-16 Thread Oscar Cortes
Try something like this: The 'empty' skins will be applied to the internal downArrowButton in the ComboBase class use for that calendar button. Regards, Oscar http://www.holaflex.com --- In flexcoders@yahoogroups.com, "jack_freud" <[EMAIL PROTECTED]> wrote: > > I'm hoping to hid

[flexcoders] Re: Screenshot, someone?

2008-04-16 Thread Oscar Cortes
Look at the MapCache example in this page : http://labs.adobe.com/technologies/air/samples/ I think it has that functionality Regards, Oscar http://www.holaflex.com --- In flexcoders@yahoogroups.com, "pete

[flexcoders] Re: Flex SDK2 with Flex Builer 3 ???

2008-04-16 Thread Oscar Cortes
FB 3 has multiple SDK support, so you can add your specific version under Flex/Installed Flex SDK in Preferences. Click Add and browse for the SDK's location. Then you can set this SDK as your default SDK or select it when you create a new Flex project. Regards, Oscar http://www.holafle

[flexcoders] Re: Bind to Dynamic Component or Panel

2008-04-16 Thread Oscar Cortes
It sounds like getChildByName is what you need: yourContainer.getChildByName("panel1") Regards, Oscar http://www.holaflex.com --- In flexcoders@yahoogroups.com, "gjessup1" <[EMAIL PROTECTED]> wrote: > > I am creating a UI that gets configured from

[flexcoders] Re: Opening a new BROWSER

2008-01-17 Thread Oscar Cortes
You can invoke JavaScript with navigateToURL(), so if you know the JavaScript needed to set up a new window like the one you need, you should be all set. See these two links: http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhel\ p.htm?context=LiveDocs_Book_Parts&file=

[flexcoders] Re: Adding a 'baseline' to a Flex Chart

2008-01-17 Thread Oscar Cortes
\ s&postId=2041&productId=2&loc=en_US> Oscar Cortes http://www.holaflex.com --- In flexcoders@yahoogroups.com, "Scott Stroz" <[EMAIL PROTECTED]> wrote: > > Hi. > > I am trying to create a LineChart in Flex that has one series and a > 

[flexcoders] Re: Alert accept html formatting?

2007-11-10 Thread Oscar Cortes
If you really need this you could access the internal textField and use the htmlText property using mx_internal. Of course, this could not work with future versions of the Flex SDK. Example: http://www.adobe.com/2006/mxml"; layout="absolute"> Alert {

[flexcoders] Re: Help! How can I display different colors in one BarSeries?

2007-04-17 Thread Oscar Cortes
See if this entry that I posted while ago on the Flex cookbook helps you... http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails\ &postId=2021&productId=2

[flexcoders] Re: Help need to update datagrid value dynamically

2007-04-16 Thread Oscar Cortes
Try with HttpService, there are plenty of examples in the help. --- In flexcoders@yahoogroups.com, "Vinoth" <[EMAIL PROTECTED]> wrote: > > Please give me sample code > > -Vinoth > > --- In flexcoders@yahoogroups.com, shaun etherton wrote: > > > > Hi, > > > > Vinoth Babu wrote: > > > Hi All

[flexcoders] Re: expand entire tree?

2007-04-16 Thread Oscar Cortes
Try adding validateNow() just before calling expandChildrenOf myTree.validateNow(); Oscar Cortes http://holaflex.ocortes.com <http://holaflex.ocortes.com> --- In flexcoders@yahoogroups.com, joshua gatcke <[EMAIL PROTECTED]> wrote: > > Do

[flexcoders] Re: Problem setting efects on TitleWindow

2007-02-05 Thread Oscar Cortes
You need the autoLayout property set to true. If you check the help it reads: "The Zoom effect does not work when the autoLayout property is false"

[flexcoders] Re: Flex books

2007-02-05 Thread Oscar Cortes
You need a subscription to http://www.safaribooks.com

[flexcoders] Re: SWFLoader Questions - need help from the gurus!

2007-02-01 Thread Oscar Cortes
Hi Mike, The SWFLoader can help to load images or SWF into your Flex apps. SWFLoader.content is a reference to whatever you have loaded in the SWFLoader, so the methods and properties that you can use depend of what it is avaible in the SWF or image that you are loading. On the ot

Re: [flexcoders] ModelLocator - Cairngorm 2

2006-07-14 Thread Oscar . Cortes
What about something like this? [Bindable] public class ShopModelLocator implements ModelLocator { private static var modelLocator : ShopModelLocator; public static function getInstance() : ShopModelLocator { if ( modelLocator == null ) modelLocator = new ShopModelLocator(); return modelLocato

RE: [Junk E-Mail - LOW] [flexcoders] File Upload

2006-07-14 Thread Oscar . Cortes
What it means is that in addition to importing the class, you need to instate the FileReference class. Something like ... var myFM:FileReference = new FileReference(); myFM.browse(new Array()); |-+-> | | | | | "Sh

RE: [Junk E-Mail - LOW] Re: [flexcoders] File Upload problem?

2006-07-13 Thread Oscar . Cortes
It seems that you need to add listeners for each file individually. Take a look at the example in here http://livedocs.macromedia.com/flex/2/langref/flash/net/FileReferenceList.html |-+-> | | | | | "Shannon

Re: [flexcoders] File Upload problem?

2006-07-13 Thread Oscar . Cortes
I have something similar working. Try something like this . private function fileBrowse():void { var imagesFilter:FileFilter = new FileFilter("Images", "*.jpg;*.jpeg"); configureListeners(imageFileRef); imageName.text = ""; imageFileRef.browse([imagesFilter]); } privat

Re: [flexcoders] > Downloading documentation

2006-07-07 Thread Oscar . Cortes
Try this link that appears in www.flex.org http://www.adobe.com/go/flex_documentation_zip |-+-> | | | | | Weyert de Boer | | | <[EMAIL PROTECTED]>| | | Sent by:

Re: [flexcoders] arrayCollection.addItemAt How to?

2006-07-07 Thread Oscar . Cortes
Have you tried the prompt property in the Combo Box? |-+-> | | | | | "yaagcur" | | | <[EMAIL PROTECTED]> | | | Sent by: | | | flexcoders@yahoogr

Re: [flexcoders] Flash Player 8 Upload/Download support

2006-06-21 Thread Oscar . Cortes
Check this out http://www.macromedia.com/devnet/flex/articles/fp8_features.html |-+-> | | | | | Valy Sivec | | | <[EMAIL PROTECTED]>| | | Sent by: | |

Re: [flexcoders] flex 1.5 with php

2006-06-14 Thread Oscar . Cortes
I know you can use theJSP tag library shipped with Flex to render Flex in a JSP page but I am not sure about php, probably not. |-+-> | | | | | "Ravindra Suthar" | | | <[EMAIL PROTECTED]| |

Re: [flexcoders] Grid

2006-06-14 Thread Oscar . Cortes
I think this is known problem with Flex 1.5, check the FAQ list http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt. On the other hand, I ran once into this and I actually created AS classes for a couple of the functions that I had in my mxml file. Another option is what your colleag

Re: [flexcoders] Migration: What is the F2 equivalent of "TreeNode"

2006-06-09 Thread Oscar . Cortes
Hi Tracy, The Tree component has now a dataDescriptor which you can implement with your own methods if needed. For example: -- MyCustomTreeDataDescriptor .as package { import mx.collections.ICollectionView; import mx.collections.IViewCursor; import mx.controls.treeClas

[flexcoders] Tree getIsOpen Where is it?

2006-06-09 Thread Oscar . Cortes
There was a getIsOpen method in 1.5 to test if a node was open. How can we this in F2B3? Thanks --- This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addre

RE: [flexcoders] Server-Side Architecture for Flex App

2006-05-02 Thread Oscar . Cortes
I would add that this can be seen in terms of portability, performance and how much knowledge exist in your company in certain technology. Java will give the greatest portability, it would run seemly in Windows shops as in Unix shops. The same is true for ColdFusion and PHP. However, this does n

Re: [flexcoders] TitleWindow - htmlText does not render

2006-04-27 Thread Oscar . Cortes
I have used it before with no problem. This runs OK for example: http://www.macromedia.com/2003/mxml">     text" > PS. The only thing I noticed in your code was that yout Text tag was not closed.  >  --->  /> |-+-> | |   

Re: [flexcoders] Re: Flex2 ButtonBar; Can its buttons be individually enabled or disabled?

2006-04-24 Thread Oscar . Cortes
You need to import the Button class, and then you can try something like this: http://www.adobe.com/2006/mxml" xmlns="*" layout="vertical">

Re: [flexcoders] i can't use mx.controls - source not found... ( yes...i'm a newbie)

2006-04-21 Thread Oscar . Cortes
Ciao Federico,    This example worked fine for me. I am using Eclispe though. Is it something missing in your Flex installation? |-+-> | | | | |  "federico.ferri"   | | |  <[EMAIL PROTECTED]>  | | 

Re: [flexcoders] Re: Flex2B2 - How to show a button label over 2 lines

2006-04-21 Thread Oscar . Cortes
I wonder if this is a bug. I also have a button in Flex 1.5 where I need to display something like this: When I try in Flex 2.0, it behaves as described in the Flex 2.0 books: "If you explicitly size a Button control so that it is not large enough to accommodate its label, the label is tru

Re: [flexcoders] Re: flex newbie - dispatchEvent question - Part 2

2006-04-20 Thread Oscar . Cortes
Another alternative would be something like this.,... 1. Add Metadata tag in your component with the name of your event.       [Event(name="login", type="flash.events.Event")]   2. Catch that event in your component     3. Add AS to handle the event.    public function ha

Re: [flexcoders] flex newbie - dispatchEvent question

2006-04-20 Thread Oscar . Cortes
Try changing public function onTestEvent() to public function onTestEvent(event:Event)   You should add event:Event in your listener. |-+-> | | | | |  "Andrea Varga" | | |  <[EMAIL PROTEC

Re: [flexcoders] TabNavigator - Targeting Child Controls

2006-04-10 Thread Oscar . Cortes
This might not be related to whether the check boxes are visible or not, but instead if they have been created. If you do not force CreationPolicy="all" the controls are not created until you navigate the Tabs. A solution would be to use creationPolicy="all" in your Tab. However, this might hurt pe

[flexcoders] Flex/ActionScript/Java and UML

2006-04-05 Thread Oscar . Cortes
Has anyone have any UML diagrams examples that show the interaction among mxml components, action script classes and Java? --- This e-mail message (including attachments, if any) is intended for the use of the individual or

RE: [flexcoders] What upload servlet at server side to use along with FileReference class?

2006-04-05 Thread Oscar . Cortes
I am getting the same error that Andriy reports below. However, the uploads works fine. Carson, where can I find more information about Flash Player sending the request twice. I am assuming that this is a known problem. I found others forums where they talk about this error and some of them mentio

Re: [flexcoders] Flex 1.5 :: Button MouseOver Color

2006-04-04 Thread Oscar . Cortes
Try fill-colors: Example: fill-colors: #00, #ff; You can also check the Style Explorer for more attributes. http://weblogs.macromedia.com/mc/archives/FlexStyleExplorer.html |-+--> | | | |

Re: [flexcoders] Flex1.5: Refreshing components to display changes in model

2006-04-04 Thread Oscar . Cortes
Have you tried using dataProvider.replaceItemAt()? In this way, you don't need to refresh the whole grid. |-+-> | | | | | "RAMOS CARDONA JESUS | | | SALVADOR" | | | <[EMAIL P

Re: [flexcoders] Re: Tree kicking my butt. Need some help

2006-03-23 Thread Oscar . Cortes
In addition, you might need labelField or labelFunction. |-+-> | | | | | "Doug Lowder" | | | <[EMAIL PROTECTED]> | | | Sent by: | | | flexcoders@yahoogr

RE: [flexcoders] getURL problem.

2006-03-22 Thread Oscar . Cortes
Thanks Gordon, we would expect the same but you never are able to get the Word document. In reality, our application is making RemoteCalls. Last night, I used a packet sniffer and I could see that the request started by getURL is stopped when results start getting back from one of the Remote Calls.

[flexcoders] getURL problem.

2006-03-21 Thread Oscar . Cortes
We are having some issues when calling getURL while other processes are running ( components still being loaded, or RemoteCall returning data). We isolated the problem in the application below. Click on Test without checking off the delay button, and a Word document is downloaded from the URL. Clic

[flexcoders] Currency Formatter -- formats only numbers up to 15 characters in length?

2006-03-01 Thread Oscar . Cortes
Could anyone try this code? Enter a number of 16 characters for example:123456789012345. Click the button to get the format... you get $1. Anything below 15 characters works fine. am I missing something? or is this a bug? Thanks http://www.macromedia.com/2003/mxml";> ---

Re: [flexcoders] Binding using Boolean expressions

2006-02-22 Thread Oscar . Cortes
What about something like ... | | | Sent by: | | | flexcoders@yahoogroups.com | | | 02/22/2006 09:37 AM| | | Please respond to | | | flexcoders | | | | |-

Re: [flexcoders] populate datagrid from object of object

2006-02-09 Thread Oscar . Cortes
This worked for me .using Label Function http://www.macromedia.com/2003/mxml"; initialize="myInit()"> |

Re: [flexcoders] Re: how to improve performance when calling a Java remoteobject?

2006-02-07 Thread Oscar . Cortes
I guess we are confused because the Onresult should only run when results are available. We added a timer to see when they are available, and they are in the first 2 or 3 seconds of the 10-15 that it actually takes to see the clock go away. If we ask for the length of the result, it is actually ava

[flexcoders] how to improve performance when calling a Java remoteobject?

2006-02-07 Thread Oscar . Cortes
We are doing some searches using a RemoteObject and displaying the result on a grid. We noticed that when getting more than 2000 records aprox, it was taking some time( between 10 and 15 seconds) before they were displayed . At the beginning we thought that it was the Grid which was slowing dow

[flexcoders] How to create a Tree row renderer?

2006-02-02 Thread Oscar . Cortes
I tried the example in the Macromedia website, but the tree rows disappeared as I move the mouse over them. Does anyone has tried to make this work? http://www.macromedia.com/support/documentation/en/flex/1/cellrenderers/cellrenderers13.html Thanks, ---

[flexcoders] Changing Font Color in a Tree Node

2006-01-26 Thread Oscar . Cortes
How can I change the font color or font style in a single Tree node in a Tree? I am adding new tree nodes in a tree, and somehow I want a visual indication that they are new. Any ideas? --- This e-mail message (including

Re: [flexcoders] addTreeNode Parameters question

2005-11-30 Thread Oscar . Cortes
You can do something like var node:Object = new Object(); node.label = "LABELTEST"; node.data = "DATATEST"; node.url = "url" node.index =1; node.state ="VI"; var root = treeDP.addTreeNode(node); You can later access the values using the getProperty method. |

RE: [flexcoders] Mapping Java HashMap to Flex Actionscript

2005-11-30 Thread Oscar . Cortes
You can read it like this: for (var key in myObjmap){ var myItem=myObjmap[key]; Do something myItem.property } One question on this topic how do we send them back to Java?Let's say you added a new key to the HashMap in Flex and want to send it bac

[flexcoders] flashgateway.GatewayException: Error occurred while attempting to convert an input arguments type.

2005-11-21 Thread Oscar . Cortes
I am sending back a AS VO to Java. Originally, I got the AS VO populated from Java. I made some changes and now I want to send it back, but I am getting this error message. flashgateway.GatewayException: Error occurred while attempting to convert an input arguments type. What does it mean?

RE: [flexcoders] Unresolved symbol, 'NameSymbol', required by __Packages.com.myComponent

2005-11-17 Thread Oscar . Cortes
I am afraid I am not quite following your idea. SimpleSquare.as is a programmatic skin file. Something like class SimpleSquare extends UIObject { static var symbolName:String = "SimpleSquare"; .. ... .. it is nothing fancy. I compiled it and got a SimpleSquare.swc, which is sit

[flexcoders] Unresolved symbol, 'NameSymbol', required by __Packages.com.myComponent

2005-11-17 Thread Oscar . Cortes
I have the SimpleSquare.as, I am trying to embed a symbol it is there in a component. I get this error message: Unresolved symbol, SimpleSquare, required by __Packages.commoncomp.Tree2 The thing is that it works in one Flex environment and it does not a different one. [Emb

[flexcoders] How to hide the line in a Drag and Drop Operation

2005-11-16 Thread Oscar . Cortes
How can I hide the line that shows when doing Drag and Drop ? My drop target is a Tree, but we don't want to show the line. Thanks --- This e-mail message (including attachments, if any) is intended for the use of the indivi

RE: [flexcoders] AddTreeNode sometimes does not add but instead replaces the top node.

2005-11-16 Thread Oscar . Cortes
I actually found out what was happening. I assigned the selectedNode to two different local variables, then delete the child nodes from one of them thinking that it would be independent from the other one. This was actually not true since although I assigned the node to two different variables both

[flexcoders] AddTreeNode sometimes does not add but instead replaces the top node.

2005-11-15 Thread Oscar . Cortes
I created a Tree using something like treeDP= new TreeNode(), and adding branches and items. I have some functionality that inserts new nodes to an existent branch. Sometimes, the AddTreeNode works fine and sometimes it doesn't add a node but instead replaces the top one. I am using this synta

[flexcoders] Comparing two Tree nodes.

2005-11-08 Thread Oscar . Cortes
I am doing some Drag&Drop between trees and I need to validate that an existing node does not exist more than once in a Tree branch. I am able to loop in the branch where I am dropping the node and then compare with the dropped node. However the statement if ( NodeinBranch == receiveNode)

[flexcoders] Mapping java.sql.Timestamp to ActionScript

2005-11-04 Thread Oscar . Cortes
We are reading a collection of Java Value Objects with one of the attributes being of java.sql.Timestamp datatype. How can I map this to ActionScript? We already have a ActionScript VO mapped to the Java VO using object.RegisterClass, it seems that it is reading the value OK but when send the Ac

RE: [flexcoders] Reading the displayed value in a DataGrid - How to

2005-10-13 Thread Oscar . Cortes
Thanks Matt, I might give this a try. I ended up using something like this which also works: For (var i:Number=0; I < dg.rowcount; i++) { For (var j:Number=0; I < dg.columns.length; j++) { myHTML += dg.rows[i].cells[j].value; } } As I said, this works and makes se

Re: [flexcoders] Any explanation as to why this would happen( Question about ...

2005-10-13 Thread Oscar . Cortes
I think you can use some binding here. However, I am not sure if you are using the button in the first panel for testing, or for calling some more logic. In any case you can trying binding a control in the first panel with the second. For example: If you have Panel1 --- txt_TextI

Re: [flexcoders] Any explanation as to why this would happen( Question about accordions)

2005-10-13 Thread Oscar . Cortes
If the second panel has not been open yet then it has not been created thus the first panel would not have a way to reach it. Is this the case?

Re: [flexcoders] Java VO.

2005-10-13 Thread Oscar . Cortes
If you have the file and the same options it should. We change to 'Flex' and to False. This actually assigns the name according to the getter in you Java class. Let's say for example you have an attribute called myFullName but you have a getter for this attribute called getFullName then Flex wil

Re: [flexcoders] Java VO.

2005-10-13 Thread Oscar . Cortes
Omar, Are you using ColdFusion with Flex? Check out the "gateway-config.xml" file and check the "serialization" section. I had the same problem, and you actually have different options. Classic truecc:

RE: [flexcoders] Reading the displayed value in a DataGrid - How to

2005-10-12 Thread Oscar . Cortes
I just noticed that this post never made it to the list .. - Forwarded by Oscar Cortes/ServiceCenter/US/SunLife on 10/12/2005 02:01 PM

RE: [flexcoders] Reading the displayed value in a DataGrid - How to

2005-10-12 Thread Oscar . Cortes
I just noticed that this post never made it to the list .. - Forwarded by Oscar Cortes/ServiceCenter/US/SunLife on 10/12/2005 02:01 PM

[flexcoders] Using an extended DataGrid Class - Don't know how to parse element "http://www.macromedia.com/2003/mxml:columns"

2005-10-12 Thread Oscar . Cortes
Now that I am able to read the DataGrid displayed values, I am facing another problem. When I try to use my new class, the one that extended the DataGrid ( GridHTML.as), I am getting this error message: Don't know how to parse element "http://www.macromedia.com/2003/mxml:columns";. It is not a kn

Re: [flexcoders] Reading the displayed value in a DataGrid - How to

2005-10-11 Thread Oscar . Cortes
Thanks Ramu, but the columnName is fixed in this case, not binding is involved. As a matter of fact, I am not sure if you can use binding for a column name.

Re: [flexcoders] Reading the displayed value in a DataGrid - How to

2005-10-10 Thread Oscar . Cortes
Let me reformulate my question. Usually you can use selectedItem. columnName to read the value of a row/column of a datagrid. This seems to work fine as shown in the Flex Sample Explorer ( example below). But how can you read the value of a computed column that was added in addition to the colu

[flexcoders] Reading the displayed value in a DataGrid - How to

2005-10-10 Thread Oscar . Cortes
I am using labelFunction for a column in a datagrid. How can I read the displayed value and not the real value directly from the dataGrid? I am also wondering how to get values from the DataGrid in general. I need to render the DataGrid to a HTML table, I mean, read columns and rows from the dataG

Re: [flexcoders] Populating values in datagrid from arrays

2005-10-03 Thread Oscar . Cortes
Try casting the result to an Array ... myArray= mx.utils.ArrayUtil.toArray(event.result); It worked for me in a similar case ...

Re: [flexcoders] populating combo box

2005-09-26 Thread Oscar . Cortes
Are you calling listCities.send() in some place?

Re: [flexcoders] How to pass value selected from combo box to my Java class method

2005-09-16 Thread Oscar . Cortes
Something like this? cc: Sent by: Subject: Re: [flexcoders] How to pass value selected from combo box to my flexcoders@yahoogroups.com Java c

Re: [flexcoders] How to pass value selected from combo box to my Java class method

2005-09-16 Thread Oscar . Cortes
Assuming that you already have a RemoteObject to call your Java Class. This is what I would do: cc: Sent by: Subject: [flexcoders] How to pass value selected from combo box

Re: [flexcoders] Re: I have an overloaded Java method, How can I call an specific method using Re

2005-09-09 Thread Oscar . Cortes
I am not sure if I am following this idea. I declared the RemoteObject with a method name, and then the arguments. Something like this: .. Remote Object ... idNumber idName .

[flexcoders] I have an overloaded Java method, How can I call an specific method using RemoteObject?

2005-09-08 Thread Oscar . Cortes
I have a overloaded method in Java which I am calling using RemoteObject. One version of the methods requires X parameters while the other requires Y. I am trying to call the one with Y but it Flex tries to call the one with X by the default. How can I tell Flex which to call? Thanks

Re: [flexcoders] How to use the label Function in a Tree that has different labels in the parents and the children - Solved

2005-09-02 Thread Oscar . Cortes
I changed the function to : private function lblFunc(oItem:Object):String { if (oItem.hasChildNodes()){ return oItem.getProperty("deptDesc"); } else { return oItem.getProperty("empName"); } }

[flexcoders] How to use the label Function in a Tree that has different labels in the parents and the children.

2005-09-02 Thread Oscar . Cortes
I am trying to populate a Tree with a result that has hierarchical data. It actually populates correctly but the parent and the children don't have the same label description, and the children are displaying as [object][object]. I am using a label function to get the parent label name, and that's w

RE: [flexcoders] How to handle a returned Java Collection in Flex - RemoteObject call

2005-08-19 Thread Oscar . Cortes
It is actually private. The cause might be different. We have a Flex /CF7 installation and there is a file in ColdFusion 7 called gateway-config.xml, and with an entry called "lowercase-keys". This seems to explain what we are seeing. I just don't remenber where I read that we should expect a

RE: [flexcoders] Calling RemoteObject declared in a mxml component in an application-The property being referenced does not ...

2005-08-19 Thread Oscar . Cortes
It is working but now the Handler is not being called when getMyList() is called in the initialize of a ComboBox. If I call getMyList() from a button for example it works. I didn't have this problem when including the RemoteObject in the same mxml. Any ideas? // Remote call to getMyData in

RE: [flexcoders] Cannot assign selected value from a radiobutton that was created dynamically.

2005-08-18 Thread Oscar . Cortes
Thanks, this worked. I will read more about EventListener and Delegate

Re: [flexcoders] horizontalList

2005-08-17 Thread Oscar . Cortes
I am not sure but what about selectedChild "Philippe Mae

[flexcoders] Cannot assign selected value from a radiobutton that was created dynamically.

2005-08-16 Thread Oscar . Cortes
I am creating radioButtons dynamically using an array. When I try to assign the selected value into a Text or TextArea it doesn't work. It seems that I am using addEventListener correctly since I am able to see the event.target.data in an Alert. This application shows what I mean: 1. The ra

[flexcoders] Calling RemoteObject declared in a mxml component in an application-The property being referenced does not ...

2005-08-16 Thread Oscar . Cortes
I want to have all my RemoteObject declarations in a mxml component that I can later use in another application. I created a services.mxml file where I have something like this: http://www.macromedia.com/2003/mxml";>

RE: [flexcoders] How to handle a returned Java Collection in Flex - RemoteObject call

2005-08-08 Thread Oscar . Cortes
Hi Matt, I used XMLObjectOutput and found out that the name returned in the result was 'sdesc'. I think I was confused by the fact that I was expecting 'Desc' or 'desc', which is the getter name for this attribute --getDesc- in the Java VO. However, it is returning the name of the attribute it

RE: [flexcoders] How to handle a returned Java Collection in Flex - RemoteObject call

2005-08-05 Thread Oscar . Cortes
Thanks Matt, that makes sense. However, it still doesn't work. It might be coming with a different name. Is there any way to display the object and the name of its attributes? Thanks, -Oscar.

RE: [flexcoders] How to handle a returned Java Collection in Flex - RemoteObject call

2005-08-04 Thread Oscar . Cortes
Sorry for the late response, I actually got it closer to what I need. I can see the collection that the Remote Object is returning in a ComboBox. However, I can see all attributes listed in the ComboBox separated by commas. I only want to show one of them, the Description. So I figured I will use

Re: [flexcoders] Array of VOs class loading issue

2005-08-03 Thread Oscar . Cortes
I think your are missing the parenthesis... var test:myV0 = new myV0();

RE  : [flexcoders] startDrag() not working

2005-08-03 Thread Oscar . Cortes
Hi Philippe, You can probably try using a HorizontalList with a cellrenderer. You can then use implement Action Scripts functions for the drag and drop events. The Flex store that comes with the examples shows how to do that.

[flexcoders] How to handle a returned Java Collection in Flex - RemoteObject call

2005-08-03 Thread Oscar . Cortes
I have a Java function that returns a Collection of VOs. I declared a RemoteObject in Flex, and tried to assign the event.result to an Array variable, but it actually didn't work. I want to use this data as the DataProvider of ComboBoxes, or List, etc. How can I read this data in Flex? Thanks,

RE: [flexcoders] XML as dataprovider : Changes to unknown property, childNodes, will not be detected.

2005-08-03 Thread Oscar . Cortes
Thanks Matt, I kept trying last night and this also works: // Import the TreeNode. import mx.controls.treeclasses.TreeNode; // Create a data provider variable. var treeDP; function resultHandler(result) { var XMLStr:XML;

[flexcoders] XML as dataprovider : Changes to unknown property, childNodes, will not be detected.

2005-08-02 Thread Oscar . Cortes
I am using a Remote object that returns a string in a XML format, and converting this string to XML by using XMLStr = new XML(Str) I then use XMLStr as dataProvider in a Tree. . The results are displaying OK, but I get a warning message: Changes to unknown property, childNo

RE: [flexcoders] Binding remoteobject.method.result to a ComboBox or Tree

2005-07-13 Thread Oscar . Cortes
Thanks Tracy, it seems to be the right solution but I can not get it to work. I created a test.xml with the following: and then an application to test it: http://www.macromedia.com/2003/mxml";>

[flexcoders] Binding remoteobject.method.result to a ComboBox or Tree

2005-07-13 Thread Oscar . Cortes
I call a remote object successfully. I can check that because I can dump the result (XML) in a TextArea control: However, I want to show the results in a ComboBox or a tree: This is an example of functions.getTypesListAll.result