[flexcoders] ColdFusion vs. PHP as the back-end

2006-07-06 Thread Bjorn Schultheiss
Im using a CF backend in my personal flex joints. Its very easy to set-up and the wizards are a nice touch for the UI guys. If you want to go hardcore though, Java is your best option. I dont need Php, Im not poor. Regards, Bjorn Schultheiss Senior Flash Developer QDC

[flexcoders] Re: Webservice Results Format

2006-07-06 Thread Tim Hoff
Hi Will, It's much easier to work with one-to-many data relationships, if the xml is in a hiarchical format. In your example, the header node is at the same level as the lines node. That makes themsiblings. Since an order has only one header, you can move the header node items into the order

[flexcoders] Request-Response time

2006-07-06 Thread tinywhistles
Hi I am looking to capture the entire request-response time from an MXML - Java - MXML. Basically its a Search Application. I want to not the time it takes from hitting the Search button till the results are rendered on the screen. Is there any API to record this(on client side)? Pls share any

[flexcoders] Re: Request-Response time

2006-07-06 Thread Tim Hoff
Hi Rohan, You can use the timer API for this (see docs). Start the timer when you click the button, stop it when the result is returned. The difference between your start time and stop time will be in milliseconds. -TH --- In flexcoders@yahoogroups.com, tinywhistles [EMAIL PROTECTED]

Re: Bug in printing with test case (was Re: [flexcoders] Flex print jobs)

2006-07-06 Thread Tom Chiverton
On Wednesday 05 July 2006 15:09, Tom Chiverton wrote: If I try and print a dynamicaly instantiated GUI component, the job silently fails. If I create the same component in line in the page, the job works well. Even more oddness. If I pass the id of a page element that is present, but not

Re: [flexcoders] Excel, Flex Database

2006-07-06 Thread Tom Chiverton
On Wednesday 05 July 2006 16:47, Ritesh Jariwala wrote: Tom, can you redirect to me example or any tutorial on it? On what ? xls as a datasource shouldn't need one, and the Adobe DevNet has tons of FDS examples. -- Tom Chiverton This

Re: [flexcoders] Re: Cairngorm Responder interface changes

2006-07-06 Thread Tom Chiverton
On Tuesday 04 July 2006 15:28, JesterXL wrote: 2. Command callbacks. Sometimes, there is a legitimate need for a View to know when a Command is completed. In my consulting, we've added an In which case it should use data binding, and the event result updates something in the model. Remember

Re: [flexcoders] Re: Handle result/fault from webservice call in Cairngorm 2

2006-07-06 Thread Tom Chiverton
On Thursday 06 July 2006 02:11, ben.clinkinbeard wrote: This obviously references the Delegate class from AS2, but what is the AS3/Cairngorm 2 equivalent? How do you write a delegate (lowercase 'd') in Cairngorm 2? package com.x.y.z.service { import mx.rpc.AbstractService;

Re: [flexcoders] FDS on CFMX configuration problems

2006-07-06 Thread Tom Chiverton
On Wednesday 05 July 2006 21:16, Tom Bray wrote: [RPC Fault faultString=Send failed faultCode=Client.Error.MessageSend faultDetail=Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Status 500] That's an internal server error, what's in the logs ? -- Tom Chiverton

[flexcoders] [Flex2] Changes to the Cairngorm package structure

2006-07-06 Thread Thomas Rühl -akitogo-
Hello list, I just came across a question of architecture and I'm not quite sure, if it is well... sort of allowed to do what I'm about to do. Thing is, for the particular situation that I'm dealing with, I'd need to refactor Cairngorm regarding its package structure. Now, since this is

Re: [flexcoders] Flex 2 - Adding icon to button

2006-07-06 Thread Tom Chiverton
On Wednesday 05 July 2006 23:10, slangeberg wrote: Just a note that you must reference your 'bin' directory, to properly Embed an icon: Erm, as opposed to what ? -- Tom Chiverton, who puts his art assets in the model This email is sent

Re: [flexcoders] [Flex2] Changes to the Cairngorm package structure

2006-07-06 Thread Jean-Luc ESSER
I believe Cairngorm is just Adobe's vision of architecture, there is no licensing on this and you can refactor it as you wish. But what do you need to do ? Before refactoring, make sure you really need to. Cairngorm has been created with the voice of large clients developping large Flex

Re: [flexcoders] [Flex2] Changes to the Cairngorm package structure

2006-07-06 Thread Thomas Rühl -akitogo-
Yeah, I know and I really thought about it very well. Fact is - to narrow it down roughly - the customer wants it that way (for an unknown reason) and for me that means, I'm the one in charge... Thank you, Jean-Luc. Cheers, Thomas Thomas Rühl Design,

Re: [flexcoders] [Flex2] Changes to the Cairngorm package structure

2006-07-06 Thread Tom Chiverton
On Thursday 06 July 2006 11:44, Thomas Rühl -akitogo- wrote: the customer wants it that way What way ? -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered

[flexcoders] cant set alpha for scrollbar

2006-07-06 Thread hank williams
Is it possible to set the alpha for a scrollbar? Setting its alpha seems to have no effect.Hank __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com

Re: [flexcoders] [Flex2] Changes to the Cairngorm package structure

2006-07-06 Thread Thomas Rühl -akitogo-
No big a deal, they just want to change the package names so far. We'll see, what comes afterwards... I think it they want it to match with something else. Stragely enough, they won't really tell the reason Ahh, I'm confused. However, I hope, this will be the last project with them.

Re: [flexcoders] defaultButton not working?

2006-07-06 Thread Luís Gustavo Sanabio
works for me. 2006/7/5, Shannon Hicks [EMAIL PROTECTED]: I've added a defaultButton property to my form, yet the enter key does nothing. If I click the button, it behaves as expected. Here's my code: mx:Form id=loginForm width=100% defaultButton={loginButton} mx:FormItem label=Username

[flexcoders] me too event handling

2006-07-06 Thread hank williams
I want to handle an event in a datagrid, specifically a rollover event, but I do not want to stop the internal rollover event handling from taking place. Right now what happens is that because I am handling the rollover event, the datagrid is not highlighting the item that the cursor is over.

[flexcoders] flex.messaging.httpFlexSession not found

2006-07-06 Thread João Fernandes
Hi there, Im getting this error in my server instance logs. Any Ideias what might be? 06/07 12:41:27 error Error reading stored session data (ID=5a3030ad21b8113f7d40) java.lang.ClassNotFoundException: flex.messaging.HttpFlexSession That class is inside the flex-messaging.jar

[flexcoders] Re: me too event handling

2006-07-06 Thread hank williams
oops. Ignore this one.On 7/6/06, hank williams [EMAIL PROTECTED] wrote: I want to handle an event in a datagrid, specifically a rollover event, but I do not want to stop the internal rollover event handling from taking place. Right now what happens is that because I am handling the rollover

Re: [flexcoders] [Flex2] Changes to the Cairngorm package structure

2006-07-06 Thread Tom Chiverton
On Thursday 06 July 2006 12:24, Thomas Rühl -akitogo- wrote: No big a deal, they just want to change the package names so far. We'll Much, much oddness. By definition, it can't because there is a package-space conflict, so beyond that why do they care ? Hmmm. Maybe their showing your code to

[flexcoders] logical transaction commit with multiple flex destinations

2006-07-06 Thread busitech
We have come to the realization that Flex is designed to commit per destination, and not per transaction. The problem is that we have multiple destinations involved in a logical transaction. Have any of you encountered this problem, and decided to live with it, or have you found a way to batch

[flexcoders] Mixing and image and shapes

2006-07-06 Thread mudwump_vx
I am a newbie at Flex, Flash and ActionScript, so please bear with me. I am trying to mix a background image (loaded via mx: Image) with placing a scalable circle on top of the image using ActionScript, but I can not figure out how to do this after two days of going through the documentation. I

[flexcoders] Compile flex on Mac--Problem is fixed!

2006-07-06 Thread John
Hi,Thanks to all you have offered help, and I am happy to say that the problem is fixed,and I can compile the final release of the flex SDK.my friend Chris has helped me figure out what was going on.in the flex-config.xml:!-- File containing cached system font licensing information produced via

[flexcoders] Re: Shift-tabbing not working in Firefox with wmode=opaque

2006-07-06 Thread Scott Romer
FYI: I have a logged a bug with Adobe, and given them sample application demo for testing. --- In flexcoders@yahoogroups.com, Angus Johnson [EMAIL PROTECTED] wrote: I built an IFrame app about a month ago using the excellent examples that others on this list provided. The one thing I

RE: [flexcoders] ColdFusion vs. PHP as the back-end

2006-07-06 Thread Ville Walveranta
Thanks for that response; it was very helpful! Ill need to do some tries of my own as I generally end up being both the client and the back-end developer for many of the projects I work on. Ville From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On

Re: [flexcoders] file uploads

2006-07-06 Thread Clint Tredway
code from the docs. I am just trying to get a file upload working so I can make sure I understand it correctly.On 7/5/06, Carson Hager [EMAIL PROTECTED] wrote: What code are you referring to? Carson Carson

[flexcoders] Possible Flex Builder internal error

2006-07-06 Thread Angus Johnson
Has anyone else encountered this error in Eclipse (with the Flex Builder final). I'm using Eclipse 3.2 (M20060629-1905).Occurs during debug:An internal error occurred during: Retrieving labels. Invalid thread accessI also occasionally get 'error removing compiler marker' on builds.Might be

[flexcoders] Reused SWFLoader - 1034 error /bug

2006-07-06 Thread Angus Johnson
Me again :)So I have a Flex 2 (final) application that loads in the Adobe Dashboard example as a sub app. This is done using the SWFLoader class and setting it as a child into a canvas object. The first time it loads, everything is fine. However, if I remove it from the canvas and then try to

[flexcoders] Not a designer, need some advice

2006-07-06 Thread Jeremy Rottman
I am working on a flex real estate app. I am sooo not a designer, and design does not come natural to me. However the coding portion of flex does. Right now I am working on a section where I add agents/vendors/clients to a new listing, or an already existing listing. I already have the

[flexcoders] Binding in Flex 2.0, Cairngorm 2.0

2006-07-06 Thread mgrogero
When I reset the form and then reset the validators, the code seems take effect in reverse. For example, when I execute the following psuedo-code you would think that the new blank LastName would bind into the LastName textbox before the validation gets reset. 1. Clear

Re: [flexcoders] Excel, Flex Database

2006-07-06 Thread Phil Marston
That's cool - does anyone know if this has been (is being) done for other MSOffice formats (namely PowerPoint and Word)? Cheers, Phil Darron J. Schall wrote: Yes, it's possible for Flex to load Microsoft Excel data. However, it's not easy. You have to write a custom parser for the

[flexcoders] Re: Handle result/fault from webservice call in Cairngorm 2

2006-07-06 Thread ben.clinkinbeard
Thanks Tom, I was actually able to see some similar code last night in Alex Uhlmann's latest article. I will ask you the same thing I asked him: would it look different when calling a WebService? I tried to modify his code but my handlers never fire. Thanks, Ben --- In

RE: [flexcoders] Re: Runtime CSS Styles Flex 2.0 B3

2006-07-06 Thread Matt Brailsford
Hey Ben,Thanks for the info, i'll be sure to check it out when the repository is set out.I've not looked into it myself a great deal yet, but have started to play a little bit with a regex parser.Like i say, it's just dabbling at the moment, so don't have any benchmarks or anything, but i'll be

[flexcoders] Re: Getting #1034 Type Coercion Error in FB2 GA - didn't happen in FB2B3.

2006-07-06 Thread medfordpics
Thank you, that did the trick. -Jeff --- In flexcoders@yahoogroups.com, Brendan Meutzner [EMAIL PROTECTED] wrote: Hey, Set makeObjectsBindable=false inside your HTTPService call... http://groups.yahoo.com/group/flexcoders/message/37852 Yahoo! Groups

[flexcoders] Best way to round trip binary data from flex client to server and back

2006-07-06 Thread davidgolds
I want to save a ByteArray from a flex app to a web/http service, then later reload binary data from that service to a ByteArray in flex. On the server side I'm using rails. I hacked up a way using a base64 encoder/decoder written in in AS3and a http service, but I suspect I'm doing this the

[flexcoders] How to set object type coming from a webservice?

2006-07-06 Thread Artur Kordowski
For set a object type coming form a webservice we've created in Flex 1.5 a objectToClass function: public static function objectToClass(obj:Object, constructorFunction:Function):Void{ obj.__proto__ = constructorFunction.prototype; constructorFunction.apply(obj, []);} The function call

[flexcoders] Showing data in Datagrid

2006-07-06 Thread zorelake
Hi all! I've just started with Flex and I have some doubts I hope you could solve. I have a Datagrid filled with the result of a Java Method (getRestaurants). This method returns a list of Restaurant objects with the fields name and adress. mx:DataGridColumn headerText=Name dataField=name/

Re: [flexcoders] Compiling Flex--thank you!

2006-07-06 Thread John
Hi Tom,thanks again for all your help`-`I could not get this to work.I put the flex sdk in the Applications folder,and I try:java -jar /Applications/flex/lib/mxmlc.jar -flexlib /Applications/flex/frameworks/Flex.mxmlerror--command line: Error: unknown configuration variable 'flexlib'Use 'mxmlc

Re: [flexcoders] [Flex2] Changes to the Cairngorm package structure

2006-07-06 Thread Thomas Rühl -akitogo-
I completely agree and in fact I'm looking forward to talking to my project manager and convincing him to kick their a**es. Well, thanks everyone :o) Cheers, Thomas Thomas Rühl Design, Programming Concepts akitogo OHG Hanauer Landstrasse 188

[flexcoders] SWF's not unloading

2006-07-06 Thread Angus Johnson
Hi,I have a canvas called parentView into which I add SWF child objects via...parentView.addChild(mySWF);mySWF.load();No problems loading. When I want to change the contents of parentView and swap out the loaded SWF I run... parentView.removeAllChildren();// get new

Re: [flexcoders] Re: Convert XML to Array(Collection)

2006-07-06 Thread Michael van Leest
Thanks! That's what I was looking for. Michael theflashist schreef: You can use the XML as an external data model that the Array Collection can use like mx:Model id=xmldata source=my.xml/ mx:ArrayCollection id=myAC source={xmldata.items.item}/ The value for source is the name of the

Re: [flexcoders] anyone out there in eclipse land?

2006-07-06 Thread michael . corbridge
No problem Brendan Maybe it was too much of a lob ball to resist ;-) The only reason I was asking is because I am trying to fix someone else's code and I think I know what the problem is. However the warnings are causing my Flex Builder to run so S L O W L Y (extra emphasis on the 'slow') that

Re: [flexcoders] file uploads

2006-07-06 Thread hank williams
Hard to respond without seeing the code (a link or a paste of the text would be good). But I suspect the code presumes event handlers that are not implemented in the snippet you are using. fileRef needs at least one event handler to handle what the user does when he selects an item for upload,

[flexcoders] Applet running on Flex (production version)

2006-07-06 Thread tinywhistles
Hi In my application I have Flex as the UI. Each of the client systems have a scanner attached. The requirement is that on hitting the scan button on the Flex UI, I should be able to scan the image and display it on the same Flex window. In this I have been able to achieve the following : On

RE: [flexcoders] [Flex2] Changes to the Cairngorm package structure

2006-07-06 Thread Steven Webster
Thomas, I'm not a lawyer, but I see no reason you cannot rename the package structures if you have need to do so. Consult the license, but I would *expect* you are obliged to keep the (c) notice and the license file in any distributions, but you are free to use and modify the source.

Re: [flexcoders] file uploads

2006-07-06 Thread Phil Marston
Hi Clint, I've just this very moment solved that one! :-) I couldn't get what was going on either, but this is what I did: For the sake of trying it out a created a new application to do it. I left all the imports and var declarations where they were, but put all the rest of the method

Re: [flexcoders] Flex release version: XML attribute string too long

2006-07-06 Thread Jonathan Bezuidenhout
Hi,No nasty characters - just escaped ones.It turns out that it is not that the string is too long - it is because it contains some escape sequences - it just happens to be that these strings are extra long. Something like lt;ligt; makes it break - amp; works though. Also, something like #60;

RE: [flexcoders] Not a designer, need some advice

2006-07-06 Thread Dimitrios Gianninas
Quickly... shrink the dg to the left and as u select a record the details appear on the right. Encompass the details portion in a panel or something and move the save/cancel button to that panel... or wait, are the save cancel buttons for the tab navigator? Dimitrios Gianninas

Re: [flexcoders] [Flex2] Changes to the Cairngorm package structure

2006-07-06 Thread Thomas Rühl -akitogo-
Yeah, I thought so, too.. The copyright notice was out of question anyways... Cheers, Thomas Thomas Rühl Design, Programming Concepts akitogo OHG Hanauer Landstrasse 188 60314 Frankfurt Telefon +49 (0) 69 800 69 445 Fax +49 (0)

Re: [flexcoders] Tabbed Browsing support? htmlText, navigateToURL(), Javascript?

2006-07-06 Thread Greg Hamer
Nick, Thanks. After posting on Sunday I continued researching this. There is a CSS3 spec to add a target-new: tab property. To my knowledge, no browsers have yet implement target-new: tab. So true, until browsers implement some standard way for Flash Player to issue a new tab call, there

Re: [flexcoders] Binding in Flex 2.0, Cairngorm 2.0

2006-07-06 Thread Tom Chiverton
On Thursday 06 July 2006 07:32, mgrogero wrote: ModelLocator. Is that why this method of resetting the form doesn't work anymore? It's not like it doesn't work - it's just it red-outlines all the required fields straight away. -- Tom Chiverton

Re: [flexcoders] Flex release version: XML attribute string too long

2006-07-06 Thread Paul BH
hmm interesting - I wonder if this happens because its xml source sucked in (ie it escaped characters get parsed when it gets sucked it)what happens if you have that sort of stuff inline as opposed to pulled in from a file? just curious...PBHOn 7/6/06, Jonathan Bezuidenhout [EMAIL PROTECTED]

[flexcoders] Using and image as a link

2006-07-06 Thread Henry
I have been trying to get and image to go to a URL on a click. I am sure that I am making this harder than it should be. However i would like to know how you guys/gals might be doing this. I was trying to use an actionscript function that is predefined in Flash, but that does not seem to work.

[flexcoders] WebService Cairngorm 2 Example

2006-07-06 Thread JesterXL
Ben wanted to see a WebService example via Cairngorm 2. I figured it'd benefit others as well. It utilizes the Amazon Search API to search for books. If you do not have an Amazon API key, you can get one for free at amazon.com; takes about 25 seconds to sign up. Source

Re: [flexcoders] Re: Webservice Results Format

2006-07-06 Thread Will Morgan
Hi Tim - thanks for the reply. I'll check out the link you provided. I ended up using a filter function, which works well :) I've been begging our IT manager to fix the way he's returning operation results, but graphic designers like me don't get much say in technical matters around here!

Re: [flexcoders] Tabbed Browsing support? htmlText, navigateToURL(), Javascript?

2006-07-06 Thread Tom Chiverton
On Thursday 06 July 2006 14:11, Greg Hamer wrote: BrightCove.comhttp://www.brightcove.com/using a Flex nav, and Nike.com http://www.nike.com/ using Flash navs.) Adobe.com :-) -- Tom Chiverton This email is sent for and on behalf of

Re: [flexcoders] Re: Cairngorm Responder interface changes

2006-07-06 Thread JesterXL
Just what I need, 10 billion more state variables to keep track of... - Original Message - From: Tom Chiverton [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, July 06, 2006 5:41 AM Subject: Re: [flexcoders] Re: Cairngorm Responder interface changes On Tuesday 04 July

[flexcoders] what are people using for as3 documentation generation?

2006-07-06 Thread Paul BH
Hi All, looking for doc generating tools for AS3/mxml, preferrably with the ability to provide intermediate XML output... just wondering what people are using? I tried VisDoc on some as3 files, but no dice... -- Flexcoders Mailing List FAQ:

[flexcoders] Re: Handle result/fault from webservice call in Cairngorm 2

2006-07-06 Thread ben.clinkinbeard
OK, if I do a describeType(responder) within my delegate class, I see that it does contain a reference to the correct command class, and it sees the onResult and onFault methods. I have tried many things to get these methods to fire (the service call is completing successfully), but none of them

Re: [flexcoders] Re: Handle result/fault from webservice call in Cairngorm 2

2006-07-06 Thread Tom Chiverton
On Thursday 06 July 2006 13:33, ben.clinkinbeard wrote: him: would it look different when calling a WebService? I tried to modify his code but my handlers never fire. I don't imagine very much so, no. -- Tom Chiverton This email is sent

[flexcoders] Re: WebService Cairngorm 2 Example

2006-07-06 Thread ben.clinkinbeard
You rock the freakin house dood. I've been banging my head for 2 days trying to get this to work. Seems like my missing pieces were the 'as WebService' in SearchDelegate and the local result handlers (searchBooks_onResult). I don't have time to play with the code much at the moment, so I am

[flexcoders] mx:HTTPService - relative url's - relative to swf vs relative to html wrapper

2006-07-06 Thread dehemke
I'm new to Flex development. The problem I'm having is resolving relative urls within the swf, specificly in HTTPService calls. The url in the HTTPService for a html wrapped swf resolves from the html wrapper location, this causes a problem as the swf might be called from multiple html wrappers

RE: [flexcoders] Excel, Flex Database

2006-07-06 Thread Ritesh Jariwala
Hi Phill, I remembered the video when fabridge introduced. Some how adobe has took off link from the website. That video clearly shows such thing is possible. I remembered there were source code links too. Not able to find now. With Regards, Ritesh Jariwala (Actkid) Freelance

Re: [flexcoders] Re: WebService Cairngorm 2 Example

2006-07-06 Thread JesterXL
I did the as WebService because I like the code hinting. If I don't register for a result, I don't get one. I think you can hardcoded the whole event.token.resultHandler thing in the ServicesLocator, but... who the hell has default result handlers, know what I mean? You typically call a

[flexcoders] why does rowCount in DataGrid not match number of visible lines in grid

2006-07-06 Thread hank williams
I am trying to discover the number of lines visible in a DataGrid. The actual number is 5.75, meaning that the last row is 3/4 visible. The problem is that the rowCount property is 7. I would think that the answer would be either 5 or 6. but not 7. So I am wondering, how is this calculated? Am

RE: [flexcoders] Using compc and localization

2006-07-06 Thread Dimitrios Gianninas
nvm, figure it out... time always solves everything. Dimitrios Gianninas RIADeveloper Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dimitrios GianninasSent: Wednesday, July 05, 2006 8:43 PMTo: flexcoders@yahoogroups.comSubject:

Re: CF/Flex wizards (was Re: [flexcoders] Re: any disadvantages to using FDS + CF vs. FDS + Java?)

2006-07-06 Thread Douglas Knudsen
Speaking of these wizards, how can we modify the templates they are generated from? How difficult would it be to make them scriptable or add the ability for them to act on mulitple tables? DK On 7/5/06, Douglas Knudsen [EMAIL PROTECTED] wrote: On 7/5/06, Tom Jordahl [EMAIL PROTECTED] wrote:

[flexcoders] Trouble Getting Started

2006-07-06 Thread d_lnds
I am new to Flex and Coldfusion. I am trying to go through the tutorials that come with Flex Builder 2 and cannot get any custom components to work. Projects that have custom components defined in them compile OK but I get a run-time error: Error #1009 Cannot access a property or method of a

[flexcoders] Graphics object properties

2006-07-06 Thread Damien Mandrioli
Hello, Is it possible to get the values set by a lineStyle or a beginFill call on a Graphics object? __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:

[flexcoders] Re: ColdFusion vs. PHP as the back-end

2006-07-06 Thread Mike Potter
Just one point to clarify: AMFPHP only supports AMF0 while ColdFusion supports the newer AMF3 specification. For those interested, Ben Forta has a good discussion on the two technologies here: http://www.forta.com/blog/index.cfm?mode=eentry=1265 Mike --- In flexcoders@yahoogroups.com,

[flexcoders] Working with CFC's

2006-07-06 Thread Bacardi Bryant
Hi, Im a complete newbie to flex, but have been charged with building a dashboard in flex. Our app. is ColdFusion and I would like to do some simple stuff like output query results from cfc in dashboard. Kinda following tutorial I wrote: mx:Application

[flexcoders] Re: why does rowCount in DataGrid not match number of visible lines in grid

2006-07-06 Thread hank williams
The answer appear to be that rowCount includes the header. This seems weird to me, but thats the way it is.HankOn 7/6/06, hank williams [EMAIL PROTECTED] wrote:I am trying to discover the number of lines visible in a DataGrid. The actual number is 5.75, meaning that the last row is 3/4

[flexcoders] How to properly subclass a component using mxml

2006-07-06 Thread hank williams
I want to create a subclass of DataGrid. So far what I have done is to create a new MXML component that is based on DataGrid.The problem is that if I try to use the new component as if it was a dataGrid, certain things dont work. For example: myComp:BetterDataGrid mx:columns mx:DataGridColumn

[flexcoders] Re: WebService Cairngorm 2 Example

2006-07-06 Thread ben.clinkinbeard
Very cool. That all makes pretty much sense. I do have another question (shocking, huh?) about why you would have a single command support multiple events/use multiple delegates. Isn't the point of Commands to have a class that does one thing (and nothing else)? Thanks again, Ben

[flexcoders] Flex 2 (production) Slowness

2006-07-06 Thread wlbagent
I have an application written in F2B3 that uses ColdFusion. I installed Flex Builder 2 (production) and CF7.0.2. I recompiled the application in FB 2. It compiles with no errors and runs on Flash Player 9 but it runs significantly slower now then when on beta 3. No changes were made to the Flex

RE: [flexcoders] arrayCollection to custom value object

2006-07-06 Thread Peter Farland
I dont have enough information here to determine how you got an ArrayCollection in the first place? From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Shannon Hicks Sent: Wednesday, July 05, 2006 11:34 PM To: flexcoders@yahoogroups.com Subject:

Re: [flexcoders] Re: Cairngorm Responder interface changes

2006-07-06 Thread Tom Chiverton
On Thursday 06 July 2006 14:49, JesterXL wrote: Just what I need, 10 billion more state variables to keep track of... Point taken, but they don't all have to be flat i.e. direct properties of the model. You can have model.viewHelpers.* , model.thingsAboutFoo.* etc. -- Tom Chiverton

RE: [flexcoders] arrayCollection to custom value object

2006-07-06 Thread Shannon Hicks
The ArrayCollection was returned from a CFC (just a simple select * query). Shan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Peter FarlandSent: Thursday, July 06, 2006 9:23 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] arrayCollection to custom

RE: [flexcoders] Working with CFC's

2006-07-06 Thread Shannon Hicks
There's a better way to call the CFC that does the needed conversions automatically... check out the source code for this (right-click, and hit view source): http://flex.work.iotashan.com/hlstatsx/hlstatsx.html Specifically, look at the mx:RemoteObject tag. Shan From:

[flexcoders] Re: WebService Cairngorm 2 Example

2006-07-06 Thread ben.clinkinbeard
Darron Schall just posted a great article about Cairngorm's Responder interface and what he considers to be a better alternative. http://www.darronschall.com/weblog/archives/000234.cfm Yahoo! Groups Sponsor ~-- Yahoo! Groups gets a make over.

Re: [flexcoders] Re: WebService Cairngorm 2 Example

2006-07-06 Thread JesterXL
Naw. Commands aren't necessarely needing to be created that way. You could, but for larger apps, you'd end up with a LOT of Commands. However, it's not too tough to re-factor because if you coelecsed many Commands into one, you'd really only need to change the Controller's addCommans

RE: [flexcoders] arrayCollection to custom value object

2006-07-06 Thread Peter Farland
This is controlled by CFQuery, so youd either have to change the data format in CF before you return it, or continue to do what youre doing on the client by copying each property across (although Id use a for/in loop and [propName]-styled syntax against the currentUser type rather than

Re: [flexcoders] anyone out there in eclipse land?

2006-07-06 Thread Brendan Meutzner
Hey Michael,In the problems pane, one of the top right buttons is for filters. You can filter out Flex issues all together there. Sorry, for the sarcasm earlier... I understand where you're coming from... it's just that some folks think that it's just as good to ignore the problem as to fix it.

RE: [flexcoders] How to properly subclass a component using mxml

2006-07-06 Thread Tobias Patton
This is just a shot in the dark: Does your subclass of DataGrid have any children defined? Ive never come across this myself, but Ive read in various places that if a component has children in its definition, its not possible to add children when instantiating it. Tobias.

Re: [flexcoders] Re: Handle result/fault from webservice call in Cairngorm 2

2006-07-06 Thread Tom Chiverton
On Thursday 06 July 2006 14:19, ben.clinkinbeard wrote: Any help will be enormously appreciated. Can you knock up a quick test file against a public web service, and post that ? -- Tom Chiverton This email is sent for and on behalf of

RE: [flexcoders] arrayCollection to custom value object

2006-07-06 Thread Shannon Hicks
The light bulb just went on! Thanks for pointing me in the right direction! Shan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Peter FarlandSent: Thursday, July 06, 2006 10:18 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] arrayCollection to custom

RE: [flexcoders] Working with CFC's

2006-07-06 Thread João Fernandes
Shouldnt you use RemoteObject instead of httpService? If you want to use HTTPService you should invoke it as a webservice. If youre using CFMX7 I would advise you to use RemoteObjects and the new gateway so you can have your cfc objects translated directly to AS3 classes. João

[flexcoders] file.upload() set Content-Type?

2006-07-06 Thread Phil Marston
Hi All, Now that I've got file upload working, does anyone know if it's possible to set the Content-Type to anything but the default of application/octet-stream? (Why Have Adobe done that?!) I've been using a PHP script to put files into mySQL tables and I always used to query the data in

Re: [flexcoders] Flex release version: XML attribute string too long

2006-07-06 Thread Jonathan Bezuidenhout
Loading a XML file via mx:XML... source= is pretty much the same as having it inline - it is converted into an AS structure at compile time and that is where things go wrong.It is easy to show that it fails. mx:XML id=test root test1 desc=this little piggy does work amp; / test2 desc=this

Re: [flexcoders] How to properly subclass a component using mxml

2006-07-06 Thread hank williams
Nope there are no children.Also, the specific error message is could not resolve mx:columns to a component implementation.It provides the same error message when trying to add a dataprovider too. HankOn 7/6/06, Tobias Patton [EMAIL PROTECTED] wrote: This is just a shot in the

Re: [flexcoders] Flex release version: XML attribute string too long

2006-07-06 Thread Paul BH
gotcha - just wondered if the process of loading it in at compile time may have been the achilles heel...On 7/6/06, Jonathan Bezuidenhout [EMAIL PROTECTED] wrote: Loading a XML file via mx:XML... source= is pretty much the same as having it inline - it is

[flexcoders] Datatip (show everything in the xml)

2006-07-06 Thread tonyx_788
hello;iknow this maybe something easy to do but don't know howwhen the app compiles and i put the mouse over a name it shows the datatip but with all in the xmlanybody know why?xml catalog libro name id="12"A orillas de una laguna./name desc![CDATA[Libro de Edmundo Batres Ledón, Roque

Re: [flexcoders] How to properly subclass a component using mxml

2006-07-06 Thread Jeremy Lu
Since you are extending DataGrid via a mxml way, you don't have to use mx namespace. Try removing the red text and see if it works, this is how I create extended datagrid several months ago. myComp:BetterDataGrid mx:columns mx:DataGridColumn headerText=Song Name dataField=label/

Re: [flexcoders] what are people using for as3 documentation generation?

2006-07-06 Thread Jeremy Lu
add me to that no-dice list :-)On 7/6/06, Steve Cox [EMAIL PROTECTED] wrote: I think we're all after the same thing mate. At the minute there is nothing I am aware of. Rumor is Adobe has something they may release at some point… When who knows. I've

[flexcoders] Re: How to properly subclass a component using mxml

2006-07-06 Thread hank williams
One guess I have is that there are issues regarding using mxml to populate an *inherited* field. In this case columns is not a component, but a field which contains an Array of of DataGridColumn objects. But the error that flex gives indicates that it thinks columns is supposed to be a

[flexcoders] Download files

2006-07-06 Thread Ingeniero Javier Cruz
Hello, I've a little problem I've to build an application that takes a file from the server an then let the user to download the file. An already read about the FileReference and FileReferenceList classes but I can't make my app works. I made a mxml application that define a Script section

Re: [flexcoders] file uploads

2006-07-06 Thread Clint Tredway
Thanks Phil... that helped alot. I was basically doing the same thing but I must have had something out of order. Now I can finish this project :)On 7/6/06, Phil Marston [EMAIL PROTECTED] wrote: Hi Clint, I've just this very moment solved that one! :-) I

RE: [flexcoders] How to properly subclass a component using mxml

2006-07-06 Thread Tracy Spratt
I think since you are using a namespace for the component you must also use it for the columns array: myComp:columns Tracy From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jeremy Lu Sent: Thursday, July 06, 2006 12:28 PM To:

[flexcoders] Re: cant set alpha for scrollbar

2006-07-06 Thread hank williams
Ok just thought I would try again here since this message has probably scrolled off most peoples screensI am trying to dim a scrollbar by setting its alpha value.I have tried to change every field that has the work alpha in it and nothing seems to work. I have even put a scrollbar inside a

  1   2   >