[flexcoders] Webservice / web proxy clarification

2008-04-29 Thread Giles Roadnight
Hi All On the project we are working on at the moment we are connecting to SOAP services with a wsdl. We've used the import web service tool to generate all the local (buggy and horrible to read) code. In the past I've just used a webservice object to connect to SOAP with a wsdl. Why do we need

[flexcoders] Re: "Tapping into" the Cairngorm event model? Merging info from different components

2008-04-29 Thread Tim Hoff
For clarity, one addendum: use the CairngormEventDispatcher to dispatch your Cairngorm events. -TH --- In flexcoders@yahoogroups.com, "Tim Hoff" <[EMAIL PROTECTED]> wrote: > > Hi Mic, > > One way that you can create a solution for your use case is to use > Cairngorm events. > > A common misconce

[flexcoders] Re: "Tapping into" the Cairngorm event model? Merging info from different components

2008-04-29 Thread Tim Hoff
Hi Mic, One way that you can create a solution for your use case is to use Cairngorm events. A common misconception is that all Cairngorm events have to be registered to a command in the FrontController and that they all need to have an custom event class. They don't. In some cases, for simple

RE: [flexcoders] db object -> main app -> component

2008-04-29 Thread Alex Harui
The setter will tell you when the value gets set. In the docs, we describe the component lifecycle and recommend using commitProperties as the place to hook up to these things. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Luke Van

RE: [flexcoders] Re: Error with building dataGrids dynamically

2008-04-29 Thread Alex Harui
listItems.push(new Array()) From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of markgoldin_2000 Sent: Tuesday, April 29, 2008 7:54 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Error with building dataGrids dynamically mail

Re: [flexcoders] Re: Cairngorm Model Locator

2008-04-29 Thread Josh McDonald
Cheers! -J On Wed, Apr 30, 2008 at 1:27 PM, Ben Clinkinbeard < [EMAIL PROTECTED]> wrote: > http://code.google.com/p/flexcairngorm/source/browse > > > > On Tue, Apr 29, 2008 at 11:15 PM, Josh McDonald <[EMAIL PROTECTED]> wrote: > > > Is the source broweable online? I'd like to have a quick lo

Re: [flexcoders] Re: Cairngorm Model Locator

2008-04-29 Thread Ben Clinkinbeard
http://code.google.com/p/flexcairngorm/source/browse On Tue, Apr 29, 2008 at 11:15 PM, Josh McDonald <[EMAIL PROTECTED]> wrote: > Is the source broweable online? I'd like to have a quick look at > Callbacks.as > > I'm currently doing almost the exact same thing, although I simply have a > cust

Re: [flexcoders] Re: Cairngorm Model Locator

2008-04-29 Thread Josh McDonald
Is the source broweable online? I'd like to have a quick look at Callbacks.as I'm currently doing almost the exact same thing, although I simply have a custom base message with: public var failCallback : Function = function() : void {}; public var successCallback : Function = func

[flexcoders] Re: Error with building dataGrids dynamically

2008-04-29 Thread markgoldin_2000
wrote: > > You will need to draw the column background some other way if there are > no headers. Or you could temporarily add a row to listItems before > calling super.drawColumnBackground > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTE

[flexcoders] Re: Custom Tooltip flicker on Rollover

2008-04-29 Thread ezderman
I did but it doesnt help. I have a Tilelist and this happens when I move quickly from one row in the TileList to another. I dont have this problem If I roll out slowly and let the tooltip disappear before I roll over the next one row in the tile list. It looks like the problem is when you hav

[flexcoders] FYI: use .text() in e4x comparisons for safety

2008-04-29 Thread Tracy Spratt
I have been doing e4x comparisons, counting on the default toString property of nodes, like this: myXMLList = _xmlRoot1.myNode1.(myNode2 == _xmlMyRoot2.myNode1); I never saw any problems with this. But I just encountered a case where this did not work, in a very odd and subtle way, by not finding

[flexcoders] "Tapping into" the Cairngorm event model? Merging info from different components

2008-04-29 Thread chigwell23
PseudoGUI: Screen shows green fields, blue sky, yellow sun and a park bench. The fields and the sky are the "main" scenery mxml file gui, and both the sun and the park bench are each mxml components loaded with the standard bench contains the username and password entry fields sun contains t

Re: [flexcoders] Re: Cairngorm Model Locator

2008-04-29 Thread Ben Clinkinbeard
Hi Josh, The implementation is roughly as follows. One of the additions is a Callbacks class which implements IResponder, so on a basic level its just a container for a result and fault handler. Rather than your custom events extending CairngormEvent, they extend UMEvent (which in turn extends Cai

[flexcoders] Re: Cairngorm Model Locator

2008-04-29 Thread jer_ela
I assume that when a new window is opened you have an event that causes the data it needs to be loaded into the model locator. And you will probably have a check to see if the data is already loaded so you don't load it twice. Just keep track in the model of how many users there are for that d

Re: [flexcoders] Re: http 500 responses from soap, can Flex handle them?

2008-04-29 Thread Matt Chotin
Something we're definitely working on with the browser vendors since we need their help on this... Matt On 4/29/08 5:45 PM, "Josh McDonald" <[EMAIL PROTECTED]> wrote: Gah! Never mind, I've managed to dig up the fact that no, Flex can't handle 500 codes becuase the Flash Player chucks the b

[flexcoders] Re: http 500 responses from soap, can Flex handle them?

2008-04-29 Thread Josh McDonald
Gah! Never mind, I've managed to dig up the fact that no, Flex can't handle 500 codes becuase the Flash Player chucks the body :( -J On Wed, Apr 30, 2008 at 10:37 AM, Josh McDonald <[EMAIL PROTECTED]> wrote: > Hey guys, > > The best information I can get from Flex when I get a SOAP fault seems t

[flexcoders] http 500 responses from soap, can Flex handle them?

2008-04-29 Thread Josh McDonald
Hey guys, The best information I can get from Flex when I get a SOAP fault seems to be "Error #2032: Stream Error" which seems to me to be rubbish - there's a SOAP fault being sent back to the client which I have verified with Charles, but the header response is a 500 - does Flex use this to decid

Re: [flexcoders] Re: Cairngorm Model Locator

2008-04-29 Thread Josh McDonald
I'm not using it so I can't comment on the implementation, but the callbacks are definitely a good idea. Letting each individual view know when whatever it has kicked off has either succeeded or failed in a standard way (whatever that may be) is great. It'd be nice if we could get an AsyncToken of

[flexcoders] db object -> main app -> component

2008-04-29 Thread Luke Vanderfluit
Hi. I have a main application that fetches an organisation object from the db. It then instantiates an organisation object on the client side. Then, still in my main application I call a component which contains a form for the organisation. I pass the organisation object to this component. Prev

[flexcoders] Re: Flexbuilder or Eclipse plugin to emulate VisualStudio function drop down?

2008-04-29 Thread jensen.axel
You can press "Ctrl + o" (thats o as in ox) and it will give you a little popup that lets you type and filter variables and functions... you might like that... http://axelscript.com Axel Jensen

RE: [flexcoders] Unable to bind property

2008-04-29 Thread Tracy Spratt
That warning is confusing. It occurs because the "selectedItem" property is an Object, and Object does not support binding. The confusion is because it implies that XML does not support binding, while it definitely does. The fix is to cast/convert selectedItem to XML: The warning will go a

[flexcoders] Re: Application initialization and runtime config

2008-04-29 Thread Bjorn Schultheiss
In terms of passing the config data through to modules we create an interface for each module that is used by the shell to pass data via public methods to the loaded module on the ready event. --- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote: > > Flashvars should be read

[flexcoders] Re: compc and manifest file

2008-04-29 Thread Bjorn Schultheiss
Automation of the manifest is a nice feature request.. Hopefully we can get it into FB4. Has anyone logged it yet? --- In flexcoders@yahoogroups.com, Maciek Sakrejda <[EMAIL PROTECTED]> wrote: > > I don't think that this is a compc issue: if memory serves (from a > couple of months ago when I

[flexcoders] Re: Cairngorm Model Locator

2008-04-29 Thread Bjorn Schultheiss
Agreed - Model has no reference to the view Classes. But it can still drive the creation of the view. For example, you might have an arrayCollection, the amount of items in the arrayCollection determine the amount of windows on display.. The items within the arrayCollection may be the 'dataProvid

RE: [flexcoders] How to choose data generating conflict withLiveCycle Data Services ?

2008-04-29 Thread Jeff Vroom
There are two types of conflicts detected by LCDS - those detected on the server when you try to update with stale data, and those detected on the client when you have uncommitted changes to an item which receives a pushed change. For the server detected conflicts, it is up to the assembler to

[flexcoders] Re: warning: unable to bind to property 'XXX' on class 'XML' (class is not an IEventDispatcher)

2008-04-29 Thread Amy
For some reason it wouldn't quote your message (sorry bout that). I think your problem is that your XML isn't properly formatted XML, but is instead an XMLList. Additionally, when you have any of the XML type objects, you're already referring to them at the top level. Maybe try this: var tmpX

Re: [flexcoders] Re: Cairngorm Model Locator

2008-04-29 Thread Josh McDonald
The whole point of MVC is that the model knows *nothing* about the view. Which is one of the reasons UM is a great extension to Cairngorm. -J On Wed, Apr 30, 2008 at 8:46 AM, Bjorn Schultheiss < [EMAIL PROTECTED]> wrote: > I think the problem is that the current flex framework architecture > d

[flexcoders] Re: Flexbuilder or Eclipse plugin to emulate VisualStudio function drop down?

2008-04-29 Thread Amy
--- In flexcoders@yahoogroups.com, "djohnson29" <[EMAIL PROTECTED]> wrote: > > Just wondering if anyone knows of, or could recommend a plugin for > Flexbuilder or Eclipse that would allow you to select your function > from a drop down combobox and jump to the corresponding function just > like i

[flexcoders] Instantiate MXML in View State

2008-04-29 Thread Richard Rodseth
Is there a way to instantiate an MXML object (not a visual component) in a view state? i.e. along with AddChild and SetProperty, I'd like to be able to instantiate an object (a controller in my case) so it can be wired up to the view that is being added. Otherwise, I need to create yet another leve

[flexcoders] Re: Cairngorm Model Locator

2008-04-29 Thread Bjorn Schultheiss
I think the problem is that the current flex framework architecture doesn't conceptually work well with Cairngorm. There's too much logic encapsulated into the view. Ideally you would like to drive the entire app via the model. It would be ideal if your model was managing how many windows are cur

RE: [flexcoders] Re: compc and manifest file

2008-04-29 Thread Maciek Sakrejda
I don't think that this is a compc issue: if memory serves (from a couple of months ago when I looked at the source), the compc ant task just calls out to the command line compc compiler. The limits are in the OS's command line length... -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com ---

[flexcoders] Re: DateFormatter question?

2008-04-29 Thread luchi_bustos
package com.riaevolution.utilities { import mx.formatters.DateBase; public class MSSQLDateUtil { //this format a SQL string date "24 Apr 2008 12:36PM" as Flash Date Object. public static var SQLFormatTime:String = "DD MMM K:NN A"; public

[flexcoders] Re: DateFormatter question?

2008-04-29 Thread luchi_bustos
> I read a date from SQL server.that is "2008-04-29 16:30:43.000" try something like " MM DD K:NN:S"; BTW, See the DateFormater soure code in flex. I'm currently using this snippet. //If the code looks bad ask to Yahoo! codeformater package com.riaevolution.utilities { import mx.form

RE: [flexcoders] Re: compc and manifest file

2008-04-29 Thread Gordon Smith
> it seems that there is a maximum number of *.as or *.mxml > files that can be passed in to the compc command There shouldn't be. Can you please file a bug on this? > how would I automate the creation of the manifest file? > I dont want to update it each time I create a new file. Sor

RE: [flexcoders] Application initialization and runtime config

2008-04-29 Thread Alex Harui
Flashvars should be ready right away, long before creationComplete. How are you accessing them? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Richard Rodseth Sent: Tuesday, April 29, 2008 2:30 PM To: flexcoders@yahoogroups.com Subject

RE: [flexcoders] Custom Tooltip flicker on Rollover

2008-04-29 Thread Gordon Smith
Try not setting the 'visible' property to true. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ezderman Sent: Tuesday, April 29, 2008 12:33 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Cu

RE: [flexcoders] Re: Error with building dataGrids dynamically

2008-04-29 Thread Alex Harui
You will need to draw the column background some other way if there are no headers. Or you could temporarily add a row to listItems before calling super.drawColumnBackground From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of markgoldin_200

RE: [flexcoders] Cell Editor updating dataProvider

2008-04-29 Thread Alex Harui
You could force the ending of the session, but I would just use a change event handler to update the .data property From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of reflexactions Sent: Tuesday, April 29, 2008 12:24 PM To: flexcoders@yahoo

[flexcoders] Application initialization and runtime config

2008-04-29 Thread Richard Rodseth
The application I'm working on has a dependency on runtime configuration (flashVars) that needs to be met before any service calls are made. I have an MVCS architecture, quite modular, though not yet using mx:Module. I was unable to fetch the data for each module using creationCompete() because t

[flexcoders] DateFormatter question?

2008-04-29 Thread markflex2007
Hi, I read a date from SQL server.that is "2008-04-29 16:30:43.000" But When I use the DateFormatter it show "04/29/400" Why this happen and how to fix this. Thanks Mark

[flexcoders] dynamic text area height

2008-04-29 Thread dhay
I have a text area which sits above a data grid. Normal situation, it only contains 2 lines, but when an error occurs it can be 5 or 6. Is there any way to get it to resize based on the text, so there isn't a big gap between the text and the datagrid in the normal situation? cheers, David

Re: [flexcoders] Flexbuilder or Eclipse plugin to emulate VisualStudio function drop down?

2008-04-29 Thread Jeffry Houser
Would the outline view work for you? djohnson29 wrote: > > > Just wondering if anyone knows of, or could recommend a plugin for > Flexbuilder or Eclipse that would allow you to select your function > from a drop down combobox and jump to the corresponding function just > like in Visual Studio

[flexcoders] Detecting session timeout with GraniteDS

2008-04-29 Thread dhay
Hi, We're running Flex as a portlet... If the portlet is still open when the session times out, we either get a popup from the browser, or the following error (if we set tomcat to use form-based authentication): (mx.messaging.messages::ErrorMessage)#0 body = (Object)#1 clientId = (null) corre

Re: [flexcoders] Java - Air communication via BlazeDS

2008-04-29 Thread Robert Cadena
like douglas said, blazeds needs a servlet container. so you'll need tomcat, maybe jetty. if you want to put in the time, you could try writing an XML server. Check out the xml sockets in flash, but this means writing your own xml server. there may be some open source ones available. flex/air c

Re: [flexcoders] BlazeDS, List of VOs inside a VOs won't translate

2008-04-29 Thread Robert Cadena
Hi Alan, the declaration of the urlButtons field in the AS object is a little off. it might just be that you typed it in, but just in case, it should be: public var urlButtons:ArrayCollection; The value type should be converted automatically. I have an application running that has a list in the

Re: [flexcoders] Java - Air communication via BlazeDS

2008-04-29 Thread Douglas McCarroll
I believe that BlazeDS is a Servlet and thus needs a Servlet container like Tomcat, etc. But it's open source, so you can look at the code yourself. On Tue, Apr 29, 2008 at 2:52 PM, Dima Gutzeit <[EMAIL PROTECTED]> wrote: > Hi to all Flex fans, > > I have one question i need to explore. > >

[flexcoders] Re: Flex 3 SDK and charts.swc from Flex 2 SDK

2008-04-29 Thread manfred.maierhofer
OK, just wanted to be sure. Thx --- In flexcoders@yahoogroups.com, Matt Chotin <[EMAIL PROTECTED]> wrote: > > Sorry, that's not supported or I think possible. > > Matt > > > On 4/29/08 2:08 AM, "manfred.maierhofer" <[EMAIL PROTECTED]> wrote: > > > > > Hi, > I purchased a license for Flex 2

[flexcoders] Re: AMFPHP Dates?

2008-04-29 Thread David C. Moody
OK I was able to figure this out on my own. I just used the getTime() function which returns dates in milliseconds since 1/1/1970, divided that result by 1000 and sent Unix TimeStamps. -David --- In flexcoders@yahoogroups.com, "David C. Moody" <[EMAIL PROTECTED]> wrote: > > Using AMFPHP 1.9be

[flexcoders] Java - Air communication via BlazeDS

2008-04-29 Thread Dima Gutzeit
Hi to all Flex fans, I have one question i need to explore. I have a Java desktop application. What I need is to communicate with it from AIR application. I know about the artemis project - not supported anymore and its rebirth in form of merapi which sources/binaries are not yet available and

Re: [flexcoders] Flex 3 SDK and charts.swc from Flex 2 SDK

2008-04-29 Thread Matt Chotin
Sorry, that's not supported or I think possible. Matt On 4/29/08 2:08 AM, "manfred.maierhofer" <[EMAIL PROTECTED]> wrote: Hi, I purchased a license for Flex 2 charting. Now I think about upgrading to Flex 3. Is there a way to use the Flex 2's charts.swc in Flex 3 without any FB3 license? Th

[flexcoders] Re: compc and manifest file

2008-04-29 Thread mt1_18
sorry I meant to say that I am trying to use "ant and compc" not "and and compc" :) --- In flexcoders@yahoogroups.com, "mt1_18" <[EMAIL PROTECTED]> wrote: > > I am trying to use and and compc to compile my swc. However, compc > only takes a list of files and not a directory. So I did something >

[flexcoders] Custom Tooltip flicker on Rollover

2008-04-29 Thread ezderman
I am creating a custom tooltip that is a Canvas base. I am skining the Canvas background with a flash symbol. When I roll over the button the tooltip flicker like it stuck between over and out state. Any Help?? Here are the two functions that call the tooltip private function createCustomTip(e

Re: [flexcoders] Frustrations with blazeds messaging

2008-04-29 Thread Robert Cadena
hey nd, let me ask you a couple of questions and maybe we can figure out where the problems are. * how are the points you are sending represented? Are they maybe Point objects in java, mapped to Point objects in AS? Is it, instead, a Point "result set", for example, with an array of number or in

[flexcoders] Flexbuilder or Eclipse plugin to emulate VisualStudio function drop down?

2008-04-29 Thread djohnson29
Just wondering if anyone knows of, or could recommend a plugin for Flexbuilder or Eclipse that would allow you to select your function from a drop down combobox and jump to the corresponding function just like in Visual Studio? I have quite a few functions in my script block and I'm constantly

[flexcoders] compc and manifest file

2008-04-29 Thread mt1_18
I am trying to use and and compc to compile my swc. However, compc only takes a list of files and not a directory. So I did something like this hoping it would work: However it seems that there is a maximum number of *.as or *.mxml files that c

[flexcoders] Re: Error with building dataGrids dynamically

2008-04-29 Thread markgoldin_2000
But then I will lose any column background coloring, right? --- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote: > > Sorry, I meant drawColumnBackground > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf O

[flexcoders] Cell Editor updating dataProvider

2008-04-29 Thread reflexactions
A standard cell editor in the grid updates the dataProvider when the control loses focus but I am using a custom checkbox control and I want to force it do so when it is clicked. Is there some way I can trigger the grid to read the data from the control and update the row in the dataProvider?

Re: [flexcoders] Question for creationComplete event?

2008-04-29 Thread Mark Shen
Hi Derrick, How to hidden a screen in viewstack? Do you mean just change selectedIndex.? Please show me a sample,I google this but I can not see any useful result Thanks Mark - Original Message From: Derrick Anderson <[EMAIL PROTECTED]> To: flexcoders@yahoogroups.com Sent: Tuesday,

[flexcoders] Unable to bind property

2008-04-29 Thread fireheadin
Hi, I'm trying to display the categoryid of an item in a XMLListCollection in a label for the application below and I get the following warning message while debugging : warning: unable to bind to property 'categoryid' on class 'XML' (class is not an IEventDispatcher) warning: unable to bind to p

[flexcoders] Re: Need help finding and fixing SQL Error in AIR App

2008-04-29 Thread bredwards358
--- In flexcoders@yahoogroups.com, "valdhor" <[EMAIL PROTECTED]> wrote: > > I don't know whether this is your problem but your Orientation field > has no type in your create table function. > > > --- In flexcoders@yahoogroups.com, "bredwards358" > wrote: > >Snip > Sadly, no, but thanks anyway f

RE: [flexcoders] Cannot convert Object to X

2008-04-29 Thread Alan Prather
This sounds very similar to my problem. I have my [RemoteClass(alias="com.xyz.somejavaclass")] Tag in front of my AS VO definition on the client side, but it doesn't seem to be translating properly. Are there situations, like in this one, where the VO is part of a List on the Java side an

[flexcoders] double click edit of tree errors

2008-04-29 Thread Corey Smaller
instead of making the tree row/column editable on single click i added a small pop-up on double click that allows the user to edit the name/delete the dir/add sub folders/or refresh. the events/listeners all work fine. I get two problems though: 1. if you choose to edit the name of one folder and t

[flexcoders] Simple Effects question that i cant figure out - using muliple views (states)

2008-04-29 Thread jkasham
Heres the problem, at first i tried using states for two hidden panels that slide into view for filtering and making changes to a Application. The problem is with states (I think) is that I want these to be separate actions(one could be shown, both can be shown, or none can be shown). Ive tried usi

Re: [flexcoders] Question for creationComplete event?

2008-04-29 Thread Derrick Anderson
just a stab in the dark here but I've noticed that the first child of a viewstack does not dispatch it's 'show' event. I guess it's because of what Alex said earlier, if it's never 'hidden', there is no show event to dispatch. that might be why you are expecting 'show' to do something and it's no

Re: [flexcoders] Question for creationComplete event?

2008-04-29 Thread Mark Shen
I try but it doesn't work. Do you have a simple demo? Thanks Mark - Original Message From: Alex Harui <[EMAIL PROTECTED]> To: flexcoders@yahoogroups.com Sent: Tuesday, April 29, 2008 2:28:35 PM Subject: RE: [flexcoders] Question for creationComplete event? Should be the same answer.

[flexcoders] Re: Sort Column in a dynamically generated DataGrid using a Nested property

2008-04-29 Thread sk_acura
Hi Ben, Thanks for your reply.. I added a custom sortable function and it looks like it fails when it finds any null values !! The function i wrote is: [CODE] private function comparGridItem(itema:Node,itemb:Node):int{ var filteredField:String = selectedColumn;

Re: [flexcoders] merging PNGs loosing transparency.

2008-04-29 Thread DreamCode
try to change var bitmap:BitmapData = new BitmapData(500, 500, true); into var bitmap:BitmapData = new BitmapData(500, 500, true,0xff00); not sure if that will help, otherwise try this approach var bitmap:BitmapData = mbs.bitmapData.clone(); bitmap.merge(gi.bitmapData,bitmap.rect,new Point

RE: [flexcoders] flex frustrated

2008-04-29 Thread Tracy Spratt
You can use a single HTTPService instance. Do not "new" it for every request. I usually instantiate I in mxml: http://MyDomain/mysource.aspx";, Build your request object: var oRequest:Object = {myName1:myValue1,myName2:myValue2,...} Invoke send using a AsyncToken: var asCall:AsyncToken

[flexcoders] Re: Need help finding and fixing SQL Error in AIR App

2008-04-29 Thread valdhor
I don't know whether this is your problem but your Orientation field has no type in your create table function. --- In flexcoders@yahoogroups.com, "bredwards358" <[EMAIL PROTECTED]> wrote: >Snip

[flexcoders] flex frustrated

2008-04-29 Thread Jason B
Im finally starting to understand i now need to dig into flex action script for many things...can someone guide me to a doc containing details on where i can begin the learning process? \ --

Re: [flexcoders] Cannot convert Object to X

2008-04-29 Thread jonese
Thanks alex.I forgot to check my CF code, had updated my references it everywhere but there :) jonese On Tue, Apr 29, 2008 at 1:25 PM, Alex Harui <[EMAIL PROTECTED]> wrote: > > > > > > > > > > It means that the currentTarget.selectedItem isn't a vo_Task. Sometimes > this happens because the data

RE: [flexcoders] Question for creationComplete event?

2008-04-29 Thread Tracy Spratt
Try "show". Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of markflex2007 Sent: Tuesday, April 29, 2008 1:01 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Question for creationComplete event? Hi, I develop a applicat

RE: [flexcoders] Question for creationComplete event?

2008-04-29 Thread Alex Harui
Should be the same answer. Did you try it? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mark Shen Sent: Tuesday, April 29, 2008 10:48 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Question for creationComplete event?

[flexcoders] Re: Need help finding and fixing SQL Error in AIR App

2008-04-29 Thread bredwards358
Here's the Insert statement snippet since it got cut off due to length: private function insertData(node:XMLNode):void {//Quite possibly the biggest SQL statement I've ever done thus far var sqlText:String = "INSERT INTO Avery(Original, Product_Code, Cross_Reference,

RE: [flexcoders] BlazeDS, List of VOs inside a VOs won't translate

2008-04-29 Thread Alan Prather
Jeff, According to the documentation, all Java Collections will be automatically translated to an ArrayCollection on the front end. That seems to be the case for the list of parent VOs, but within them my lists don't translate to ArrayCollection. I'm not sure why, but it's something I can expan

Re: [flexcoders] Cairngorm Model Locator

2008-04-29 Thread Ben Clinkinbeard
You definitely don't want your model keeping track of views using its data. My 30 second recommendation would be to look into the UM Cairngorm extensions as they can help you reduce the amount of clutter that needs to be stored on the/a model. Specifically view callbacks is the feature that helps e

[flexcoders] AMFPHP Dates?

2008-04-29 Thread David C. Moody
Using AMFPHP 1.9beta2... I have a function in an AMFPHP Service like this: function getEditorListing($startDate = '', $endDate = '', $type = 1) { if ($startDate == '') return "StartDate Required"; if ($endDate == '') return "EndDate Required"; $startTime = strtotime($startDate . " 00:00:0

RE: [flexcoders] BlazeDS, List of VOs inside a VOs won't translate

2008-04-29 Thread Battershall, Jeff
Alan, I know in LCDS that there isn't an analog for ArrayCollection. I'd try having your nested VOs be simply an array and if you need to create an ArrayCollection on the client side do so using your array of VOs as the source attribute. Jeff -Original Message- From:

Re: [flexcoders] Question for creationComplete event?

2008-04-29 Thread Mark Shen
Hi Alex, But I use mx:ViewStack to switch screens with deferent selectedIndex. How to make some fuction run in a screen when I access the screen? Thanks Mark - Original Message From: Alex Harui <[EMAIL PROTECTED]> To: flexcoders@yahoogroups.com Sent: Tuesday, April 29, 2008 1:43:51

RE: [flexcoders] Question for creationComplete event?

2008-04-29 Thread Alex Harui
There is no "show" unless you've been hidden. Most folks hook up to both creationComplete and show From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mark Shen Sent: Tuesday, April 29, 2008 10:43 AM To: flexcoders@yahoogroups.com Subject:

Re: [flexcoders] Question for creationComplete event?

2008-04-29 Thread Mark Shen
Hi Alex, I use the following code but the function never execute.why. Can you show me a demo? http://www.adobe. com/2006/ mxml" show= "getnameList( )"> ... Thanks Mark - Original Message From: Alex Harui <[EMAIL PROTECTED]> To: flexcoders@yahoogroups.com Sent: Tuesday, April 29, 2

RE: [flexcoders] How to enable the data grid editable if the data grid has no data

2008-04-29 Thread Alex Harui
If there's no data, there's nothing to edit. See the "New Entry" example on my blog (blogs.adobe.com/aharui) From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of loveewind Sent: Tuesday, April 29, 2008 7:20 AM To: flexcoders@yahoogroups.com

RE: [flexcoders] Re: Error with building dataGrids dynamically

2008-04-29 Thread Alex Harui
Sorry, I meant drawColumnBackground From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of markgoldin_2000 Sent: Tuesday, April 29, 2008 7:36 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Error with building dataGrids dynamically

RE: [flexcoders] Is constraint based layout faster?

2008-04-29 Thread Alex Harui
I'm not sure I'd always use it, but at some point it should be faster than lots of boxes. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Nate Pearson Sent: Tuesday, April 29, 2008 9:16 AM To: flexcoders@yahoogroups.com Subject: [flexcod

RE: [flexcoders] Question for creationComplete event?

2008-04-29 Thread Alex Harui
Normally, you set visible=false to hide a screen, so the "show" event will occur when you make it visible again. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of markflex2007 Sent: Tuesday, April 29, 2008 10:01 AM To: flexcoders@yahoogrou

RE: [flexcoders] Cannot convert Object to X

2008-04-29 Thread Alex Harui
It means that the currentTarget.selectedItem isn't a vo_Task. Sometimes this happens because the data coming from the server wasn't property converted to the type you wanted. Make sure the data items you're getting are in fact mapped to the right classes on both the server and the client. ___

[flexcoders] Cannot convert Object to X

2008-04-29 Thread jonese
Hey all, i have a function which takes in an Event. I then grab the currentTarget.selectedItem which is an Object. I need to turn this Object into a specific Value Object i created called vo_Task. I tried: var thisItem:vo_Task = e.currentTarget.selectedItem; and get the error: "TypeError: Error

RE: [flexcoders] Cairngorm Model Locator

2008-04-29 Thread Battershall, Jeff
Gerhard, One approach I took is to have localized models that apply to specific modules in the application, as opposed to having a proliferation of variables that apply across multiple aspects of the application, which could get ugly. They still could live in the singleton Model Locator, but coul

[flexcoders] Question for creationComplete event?

2008-04-29 Thread markflex2007
Hi, I develop a application that have many screen and I develop each screen with a flex component (*.mxml page). I use creationComplete event in one screen but the function only execute when I first access the screen. But I need execute the function when I access the screen because the database c

[flexcoders] Need help finding and fixing SQL Error in AIR App

2008-04-29 Thread bredwards358
So, I finish a simple application to turn an XML Document into a SQL Lite table, however, every time I try to run it, I simply get an error message in the error log I set up: [b]Error ID:3115 DetailsError #3115: SQL Error.[/b] As you can see, it's simply not descriptive enough. Going over my code,

[flexcoders] Problem with overlaid chart

2008-04-29 Thread emersonfcardoso
Hello everyone, I'm facing a problem with the chart type Overlaid: sometimes bigger columns series are rendered in after smaller columns, thus hiding this smaller columns series from the user... What should I do to show all the overlaid ColumnSeries of my ColumnChart? I commented in a livedoc exam

[flexcoders] Cairngorm Model Locator

2008-04-29 Thread gerhard.schlager
Hello! I'm currently creating the software design for a large application which we are going to build using Flex 3, Cairngorm 2.2.1 and SabreAMF (PHP). I have already created my first prove of concept, however, I have a few issues with Cairngorm's Model Locator. 1) How can I make sure that unused

Re: [flexcoders] Re: 1120 Error

2008-04-29 Thread Richard Rodseth
I was able to isolate the problem. I am experimenting with dynamically constructed data providers dataProvider="{dataManager.getFilteredDataProvider("somekey",model.startDate,model.endDate).provider}" If "somekey" is replaced with a call to a static method of Data

[flexcoders] Direct chart manipulation

2008-04-29 Thread adrozdenko
I want to create a line chart where i can drag and and create new data points on the line and while doing that directly update my array collection. Can anyone help me out with it please? Thank you.

[flexcoders] Re: LinkButton in DataGrid

2008-04-29 Thread Anthony DeBonis
Once you get this to work its the same idea but put a chart in place of the button. --- In flexcoders@yahoogroups.com, "Hasan Maqbool" <[EMAIL PROTECTED]> wrote: > > Hey Techies, > I need to place a link button like Table | Graph in data

[flexcoders] Is constraint based layout faster?

2008-04-29 Thread Nate Pearson
Is constraint based layout faster than say using nested HBoxes and VBoxes? Should I always try to lean towards one side? Ride now I use VBoxes and HBoxes but I do notice a significant performance hit when they start to get crazy.

[flexcoders] Re: 1120 Error

2008-04-29 Thread Anthony DeBonis
Try and do a full code/src search for Footarget maybe you had it at one time - if its not found try and do a Project > Clean to get rid of the ghost. If not please post your code.

[flexcoders] BlazeDS, List of VOs inside a VOs won't translate

2008-04-29 Thread Alan Prather
Hi all, I'm having trouble with BlazeDS and a particular VO that lives inside another VO. The parent VO translates just fine, but I can't cast the ArrayCollection of VOs inside that for the LIFE of me. Actually the smaller one is a List in Java, so I am trying to cast it to ArrayCollection.

RE: [flexcoders] Re: looping on results from returned data

2008-04-29 Thread Tracy Spratt
Yes, definitely, I missed that. No "new". XML() is actually a top-level function. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Amy Sent: Tuesday, April 29, 2008 12:01 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re:

[flexcoders] Re: Sort Column in a dynamically generated DataGrid using a Nested property

2008-04-29 Thread ben.clinkinbeard
You need to specify a custom sortCompareFunction for your DataGridColumns that don't map directly to a property in your VO. HTH, Ben --- In flexcoders@yahoogroups.com, "sk_acura" <[EMAIL PROTECTED]> wrote: > > Hi All, > > I have a DataGrid whose columns are generated at run time. > > In my

  1   2   >