Re: [flexcoders] Re: Eclipse errors with fb-plugin debugging perspective

2006-11-24 Thread Tom Chiverton
On Thursday 23 November 2006 19:37, Ralph Hauwert wrote: probably wait until that thing is out of beta before putting it on my live-dev environment. As you like, but as I said, we've had zero problems - and as long as you zip up your eclipse and workspace files before trying it, what can go

Re: [flexcoders] mx.automation

2006-11-24 Thread EECOLOR
The source code that comes with the Flex framework is not the same as the compiled frameworks swc file. One indication (that i know from the top of my head) is the StateChangeEvent.CURRENT_STATE_CHANGE event, which is (in the source) defined as StateChangeEvent.CURRENT_STATE_CHANGED. In short: i

Re: [flexcoders] Is Unbinding possible ?

2006-11-24 Thread EECOLOR
Jup, the bindProperty returns a value (dont know which type from the top of my head), check out the docs for the instance it returns. That instance allows you to unbind. Greetz Erik On 11/23/06, dmandrio [EMAIL PROTECTED] wrote: After using BindingUtils.bindProperty(a, b, c, d), is it

RE: [flexcoders] Re: crossdomain file and ports

2006-11-24 Thread Carson Hager
If a 501 is returned, then the flash player is able to make the call. The problem is that it issued a GET and your server is telling you that GET is not supported. You likely need to post the request. Carson Carson Hager Cynergy Systems, Inc.

Re: [flexcoders] mx.automation

2006-11-24 Thread Tom Chiverton
On Friday 24 November 2006 10:52, EECOLOR wrote: The source code that comes with the Flex framework is not the same as the compiled frameworks swc file. That's odd - have you filled a bug / wish list ? -- Tom Chiverton Helping to conveniently deliver dynamic synergies

[flexcoders] Newbie stuck: Coldfusion CFC Wizard. How to work with the returned item?

2006-11-24 Thread rumpleminzeflickr
Hi, I've generated some CFC's actionscript class using the CFC wizard. This is all good, it works, I can bind it to a component etc. or work with it as an ArrayCollection. The problem is wanting to return a single object, which the CFC wizard generates a 'get(id)' method. Should this also be

Re: [flexcoders] Re: FDS not receiving calls asynchronously

2006-11-24 Thread Tom Chiverton
On Wednesday 22 November 2006 15:02, Peter Farland wrote: I have never had this work, using mxmlc --services=services-config.xml. Tom, this does work for the majority of users so there must be something unique about your deployment. That's why I mentioned it was just Apache virtual hosts.

[flexcoders] IMenuItemRenderer position in Menu

2006-11-24 Thread chrislee943
Hi all, I've some problem with IMenuItemRenderer, I can't get it position in Menu, not index only X, Y coordinates. I've override it and get my itemRenderer: MyMenuItemRenderer: public class MyMenuItemRenderer extends UIComponent implements IDataRenderer, IListItemRenderer,

[flexcoders] determine current function

2006-11-24 Thread Ivor
Hi all I want to determine what the name of the current function in actionscript is. I want to set a string variable equal to the name of that function in the function and then pass it as a parameter. Any ideas how to do that? Ivor

[flexcoders] Used ColdFusion/Flex Application Wizard, but data not being returned

2006-11-24 Thread stephen50232
Hi, I've just created a (my first) Flex application using the ColdFusion/Flex Application wizard, which has created my Flex pages and my CFC's, but when I run application one of my master/details pages does not return any data. In the getMasterQuery_result() method the wizard has created there

Re: [flexcoders] DateFormatter adds one hour to output

2006-11-24 Thread Kevin Merritt
No bug. Your problems is right here: timeFormatter.formatString = HH:NN:SS; change this to: timeFormatter.formatString = JJ:NN:SS; H - displays hours as 1 - 24 J - displays hours as 0 - 23 (which is how most of us understand 24 hr time.) This tripped me up as well on a recent project

[flexcoders] itemRenderers in TileList

2006-11-24 Thread Ciarán
Hi All, I've also tried posting this on the flex support forums in case anyone frequents there (although they're being painfully slow at the moment...) I have a TileList displaying images loaded from a ByteArray. In MXML code I have something like mx:TileList id=myTileList

[flexcoders] Re: Securing WebServices

2006-11-24 Thread Jamie O
I'm running into a few similar issues and curious what the most knowledgeable minds in the group have to say. My understanding at this point says that Cairngorm gives you the service locator and other framework aspects you're seeking, but Flex Data Services is really where the best security

Re: [flexcoders] IP Address Validation

2006-11-24 Thread Tom Chiverton
On Friday 24 November 2006 07:15, KP wrote: I am looking forward to user input. Check there are 3 dots Split the string on the dots, check there are 4 items. Check each item is 0=n=255. You could combine anywhere betwen none and all of the above into one test using regular expressions. --

Re: [flexcoders] Securing WebServices

2006-11-24 Thread Tom Chiverton
On Thursday 23 November 2006 22:00, Sebastian Zarzycki wrote: means that I have to add this token parameter to *every* webservice method. This is not acceptable, as I want (in fact, my customer wants) my services to be free of such things. Authorization should be transparent (but flexible).

[flexcoders] Need suggestion on how to create a rich layout to use on a Flex 2 application

2006-11-24 Thread João Saleiro
Hi, I am now trying Flex Builder 2, and i'm very well impressed with everything. From what i've seen, Flex 2 is the ideal solution for what i do, except in a thing (for now :P )... If i had to describe my work, i wouldn't know what to say: i don't know if i'm making a Rich Internet Application

[flexcoders] Re: Securing WebServices

2006-11-24 Thread Dave Wolf
What is wrong with standard J2EE security constraints? Place a security constraint on the URI of the web service. You can then use either FORM or BASIC auth for your Flex application as a whole an the web service calls will inherit those credentials. -- Dave Wolf Cynergy Systems, Inc. Adobe

[flexcoders] Dynamic text in buttons

2006-11-24 Thread stephen50232
Hi, Is it possible and if so how, to dynamically name buttons, label and text in general for a Flex app. Especially if you want to create a mulit-language app where all the text has to be changed at the click of a button. Stephen

Re: [flexcoders] Dynamic text in buttons

2006-11-24 Thread Tom Chiverton
On Friday 24 November 2006 16:01, stephen50232 wrote: Is it possible and if so how, to dynamically name buttons, label and text in general for a Flex app. Especially if you want to create a mulit-language app where all the text has to be changed at the click of a button. Have a look at

[flexcoders] Additional charting types

2006-11-24 Thread Alex
Hi All, Just wondering if anyone knows additional charts developed for Flex. I'm interested in the Scatter chart - looks a bit similar to the Plot Chart but have all plots connected with lines so it finally looks like a polygon. Kind regards, Alex

Re: [flexcoders] DataProviders DataGrid Scroll Locations

2006-11-24 Thread Kevin Merritt
I don't know if this is the most elegant solution, but it worked somewhat. I still think there must be a way for the underlying dataProvider to change without triggering a redraw of all the scrollbar navigation elements. I thought I read somewhere that you can turn off the redraw on

Re: [flexcoders] Dynamic text in buttons

2006-11-24 Thread Stephen Adams
Cool, that's great for languages, but we are also thinking about when we create an application, which we sell to different clients and each one of those may what to use different text. For example a button which says Add New Member of Staff a client may want this to say Add New User. Ideally we

[flexcoders] Re: crossdomain file and ports

2006-11-24 Thread tobiaspatton
According to this: (http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/w\ whelp.htm?ontext=LiveDocs_Partsfile=1950.html http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/w\ whelp.htm?ontext=LiveDocs_Partsfile=1950.html ) A policy file affects

[flexcoders] Bit Off topic: Microsoft Vista VS Apollo/Flex/Flash

2006-11-24 Thread camlinaeizerous
I still go to the occasional Microsoft conference when they are about to release something big. Well yesterday was their ready for a new day which was a show case of vista and office. I went to the developer thread curious what programming would be like for Vista with the changes that were made.

[flexcoders] DateUtilities Class

2006-11-24 Thread Kevin Merritt
in the actionscript 3.0 cookbook there is a reference to a DateUtilities class: For simple elapsed time, you can add and subtract from the epoch milliseconds, or use the value returned by getTimer( ). For more complex conversions, use the methods of the custom DateUtilities class. Where

[flexcoders] Re: DateUtilities Class

2006-11-24 Thread Stefan Schmalhaus
--- In flexcoders@yahoogroups.com, Kevin Merritt [EMAIL PROTECTED] wrote: Where can I find this class? Take a look at page XXiV of the AS 3 cookbook. That should answer your question.

[flexcoders] Initial order column for DataGrid - Flex2

2006-11-24 Thread kehlpeter
Hi, is there any way to set a default/initial order column for a DataGrid in Flex2? None of the following compiles in Flex 2: grid.sortItemsBy( 'columnName', 'asc'); grid.sortIndex= 1; grid.sortDirection= 'ASC'; grid.placeSortArrow(); I can't see any method/property to do this directly. I know

Re: [flexcoders] 2.0.1 update.

2006-11-24 Thread Duane Nickull
Right now you can use Flex Builder to build Apollo apps if you are on the beta. It is largely a manual process involving importing the ApplicationWindow.SWC manually for each new project and changing the namepsaces, namespace UUID and a few other minor tweaks. I hope the Flex Team makes

Re: [flexcoders] Background Image - Keep Proportions? - repeat on background

2006-11-24 Thread Paul Evans
On 6 Sep 2006, at 15:08, Rogerio Gonzalez wrote: I have a question about background images, too. How can use repeat on the background? I mean, I have a 10x10 pixels texture and want to replicate for the entire background. How I do that? Rogerio I posted a 'quick-and-dirty' method here:

[flexcoders] coordinate transform

2006-11-24 Thread Paul Hastings
can somebody point me in the right direction? if i have an image (600x400) users add vector objects to it (lines, points, etc.) how would i go about transforming the vector objects (or their coords) from that image's coordinate space to say another image (400x600 or whatever) still maintain

Re: [flexcoders] ColdFusion and Flex Integration - up to 10x gain, avoid cf object creation

2006-11-24 Thread Rick Root
I realize this discussion is all related to Cairngorn, and I don't use Cairngorn or really know what it is... but here's a question. If a CFC method returns a QUERY, then Coldfusion uses code optimized (in theory by Adobe engineers) in the flex connector to convert the query object to an array

[flexcoders] Question on itemRenderer

2006-11-24 Thread bsdensmore
I have a DataGrid column that is using an itemRenderer to place a checkbox in the Grid. This will allow someone to select multiple rows to delete. I'm slowly starting to understand how to implement an itemRenderer but still unclear on a couple of things. After the user selects the rows they want

[flexcoders] Problems with dynamic column series showDataEffect

2006-11-24 Thread daannnb
Hi All I'm sorry to post this twice, but still no nearer to a solution, I'm having a few problems assigning data effects to a dynamically generated column series, while I can create a new series dynamically ok, just don't seem to be able to get the showDataEffect to work, a cut down version

[flexcoders] example combo box in module

2006-11-24 Thread dantmcgowan
example combo box in module So if I run the sample code for a combo-box as an application it works fine: mx:Application width=100% height=100% xmlns:mx=http://www.adobe.com/2006/mxml; creationComplete=init() cornerRadius=0 borderColor=#ff borderStyle=outset mx:Script

[flexcoders] Re: e4x/default namespaces question

2006-11-24 Thread ben.clinkinbeard
Hi Gordon, I agree that its good to know the :: syntax, but it usually seems extremely inconvenient to me. The fact that you cannot use it in conjunction with the .. syntax makes it pretty painful to use to retrieve anything that is even slightly deeply nested. Ben --- In

Re: [flexcoders] coordinate transform

2006-11-24 Thread Paul Hastings
On 11/25/06, Ben Marchbanks [EMAIL PROTECTED] wrote: You might try the methods getRect / getBounds etc... in trying to capture size properties of a component first. well i know the old/new image sizes so that part was easy. it *seems* doing a scale transform is the trick: var

RE: [flexcoders] Re: what is the best way to format a chart data

2006-11-24 Thread Ely Greenfield
It sounds like you want to alter the data the chart is displaying before it displays it. In which case, your best bet is to do exactly that...alter the data _before_ you assign it as the dataProvider to the chart. Ely. From:

RE: [flexcoders] Additional charting types

2006-11-24 Thread Ely Greenfield
Hi Alex. You should be able to do that with a LineSeries, in a CartesianChart with a LinearAxis for both the horizontal and vertical axes.. Make sure you set sortOnXField to false on the lineSeries though, or else it will sort all of your points by horizontal value before drawing the