[flexcoders] (Simple?) Problem with TextInput component

2007-02-26 Thread Ciarán
Hi All, I also posted this question to the Adobe boards (albeit in completely the wrong forum...). In a UITextField there's some padding around the edge of the component - just a few pixels of whitespace that clips the font so it doesn't touch the edge of the box. How do I get rid of it? The

[flexcoders] setCredentials not working with amfphp 1.9 beta 2

2007-02-26 Thread Kun Janos
Is this a dead issue? Does anybody know how to solve the problem? Janos --- In flexcoders@yahoogroups.com, Kun Janos [EMAIL PROTECTED] wrote: Hi all. I'm trying to use setCredentials in Flex and beforeFilter without any luck. Can anyone post a small example on how can we do that? When I

Re: [flexcoders] Re: flex sdk

2007-02-26 Thread Tom Chiverton
On Friday 23 Feb 2007, mapper2255 wrote: Does Adobe have a link where you can input your licenses for Flash 5, Flash MX and Flash 2004 Pro and then they send you to a page with decent install instructions for troubleShooting the sdk? What makes you think those 3 licenses entitle you to

Re: [flexcoders] Re: Keyboard issues on VISTA

2007-02-26 Thread Tom Chiverton
On Friday 23 Feb 2007, iko_knyphausen wrote: What do you mean by thrashed? Sorry, have never heard that term before (not a native speaker either) Sorry 'used heavily'. Web browsers will drop the framerate of plugins, if something else is using the CPU a lot. This could interfere with events.

Re: [flexcoders] Firefox (2.0.0.1) content caching and HTTPService calls

2007-02-26 Thread Tom Chiverton
On Friday 23 Feb 2007, Private Romeo wrote: Currently it’s a static XML file being served by an Apache Server. Any idea? Use mod_headers and: Header unset Pragma Header unset Cache-control Failing that, stick something like Wireshark between the server and the client and see what HTTP headers

Re: [flexcoders] Quick Flex 2.0 questions

2007-02-26 Thread Tom Chiverton
On Saturday 24 Feb 2007, Dimitrios Gianninas wrote: Amen, Flex Builder saves time and the debugger helps. As the parent said, the command line debugger is perfectly fine. You'll probably rarely use it. * code hints and code completion that make writing MXML and AS code easier and faster You

[flexcoders] Re: Can anyone help on getting data from a grid cell .. I know the row/column index

2007-02-26 Thread sanjaypmg
Hi Sean, you can do it by calling a method on itemClick of a dataGrid. in this method you'll get the selected row of your Grid. thereafter you can access any particular cell's value by specifying dataField name like: evt.target.selectedItem.DataFieldNAME; -- In flexcoders@yahoogroups.com,

Re: [flexcoders] URL Link in Flex Application

2007-02-26 Thread Tom Chiverton
On Saturday 24 Feb 2007, Lisa Lee wrote: Can you tell me how to be able to have a user click on a link (button, whatever) from within a Flex application and have it take the user to a non-Flex, regular web page within their browser? It's probably a simple answer but I'm still getting up to

RE: [flexcoders] Re: is there a way to open a file in flex app'

2007-02-26 Thread Karl Johnson
That is correct. Karl Cynergy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ziksable Sent: Sunday, February 25, 2007 3:20 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: is there a way to open a file in flex app' So in fact as i understand you

Re: [flexcoders] Finding out when an arraycollection in my model is set

2007-02-26 Thread Webdevotion
I'm getting my data back from a Ruby service. The service method I'm calling is query of joined tables. RoR returns this as an array of AlbumVO's. Every AlbumVO item contains an array of TrackVO's. That's the way it works. To be able to use this data structure in my datagrid, I have to loop

[flexcoders] Re: Code Highlighting Bug?

2007-02-26 Thread msloumac
for my purposes I managed to display my selectedRanges after changing screens or selecting a date by overriding selectedRanges in DateChooser.as in framework to be public --- In flexcoders@yahoogroups.com, msloumac [EMAIL PROTECTED] wrote: Hi There, may be bug, the data binding works fine for

[flexcoders] Re: How to add a component in the field with AS3

2007-02-26 Thread Daniel Fernandes Credidio
c'mon guys i'm still stuck no one has any ideas on how to loop trough the XML?? i need it to finish my work here. can't anyone help me with this. and also, i dont know if it chages anything but the XMl is not default its created dinamically to and i already verified and its ok --- In

Re: [flexcoders] strange Could not resolve mx:Script to a component implementation. error

2007-02-26 Thread Yiðit Boyar
no; i declared; i assume some problem happened during copy paste to yahoo; i;m posting it again; by the way my old working codes does not work! (how a weird problem? ) ?xml version=1.0 encoding=utf-8? mx: Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:Text

Re: [flexcoders] strange Could not resolve mx:Script to a component implementation. error

2007-02-26 Thread Yiðit Boyar
here is the solution : i just edited flexbuilder.ini file and added the fallowing lines: -Duser.language=en -Duser.location=us as i heard; it was an utf-8 encoding prblem.. thanks eren ;) - Original Message From: Impudent1 [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Saturday,

Re: [flexcoders] ButtonBar's child enabling

2007-02-26 Thread Michael Schmalle
Hi, Try; var searchIndex:int = 2; var button:Button = getChildAt(searchIndex) as Button; button.enable = false; or use the other DisplayObjectContainer methods for getting a child instance; - getChildByName() etc Peace, Mike On 2/24/07, metalbeard [EMAIL PROTECTED] wrote: Hi, Is there

Re: [flexcoders] Re: Best way for editing massive amounts of data?

2007-02-26 Thread Doug McCune
I don't have a suggestion right now, but just in terms of why this might not elicit a response from the flex community, this isn't a flex question. It's a UI question that is the same question if you're talking about building a UI in flex, HTML, Java, .NET, etc etc. I don't think there are going

Re: [flexcoders] Re: Using a downloaded theme in an application

2007-02-26 Thread André Rodrigues Pena
Hey Tom and Juan Your tips worked out, thanks :) On 2/23/07, potentialunfounded [EMAIL PROTECTED] wrote: André, There should be a style folder in the downloaded source. Drop that into the top level of your Flex project. Then, in your Applications MXML, specify the path to the CSS file as

Re: [flexcoders] URL Link in Flex Application

2007-02-26 Thread André Rodrigues Pena
mx:LinkButton x=0 y=462 label=By AndrÃ(c) Pena fontSize=9 color=#808080 mx:clicknavigateToURL(new URLRequest(' http://techbreak.org'),'_blank');/mx:click /mx:LinkButton On 2/24/07, Lisa Lee [EMAIL PROTECTED] wrote: Can you tell me how to be able to have a user click on a link

Re: [flexcoders] Multiple TrackHighLight for a slider without thumbs

2007-02-26 Thread Doug McCune
My initial reaction is to suggest using two HSliders, one overlaid directly on top of the other. For the bottom one, set the skin for the thumb to draw nothing, so the thumbs won't appear. For the top one set the skin for the track to a skin that draws nothing. So what you would end up seeing is

Re: [flexcoders] Re: Just curious, A big development team or individual developers

2007-02-26 Thread jwopitz
Team, and too big of a team if I may say. It was initially just 4 of us, then they another 4 people. There are as many analogies as there are developers on my team. Here are my favorites: 1. too many cooks in the kitchen 2. too many chiefs, not enough injuns 3. too many hands in the

Re: [flexcoders] Re: Best way for editing massive amounts of data?

2007-02-26 Thread slangeberg
What's your main concern with this issue? Simplicity? Performance? What are you going for? Worried that someone may lose their data half-way through, or something? You could do a sort of proxy where you store the user's data locally, then upload the entire thing on submit. Then, you're preserving

RE: [flexcoders] Re: Best way for editing massive amounts of data?

2007-02-26 Thread Tracy Spratt
best is a slippery concept. But what is your business reason for requiring editing through a pop-up? That is a lot of logic and user interaction just to edit a value, unless you have a powerful reason to do it. What don't you like about normal editing controls? Under your scenario, you

Re: [flexcoders] Finding out when an arraycollection in my model is set

2007-02-26 Thread slangeberg
You can use simple binding, via {} brackets. MyComp dataProvider={model.library} / Or, you can use the ChangeWatcher: ChangeWatcher.watch( model, library, onLibraryChange ); function onLibraryChange(){ /*do stuff*/ } -Scott On 2/24/07, Webdevotion [EMAIL PROTECTED] wrote: Hello, How

Re: [flexcoders] Can anyone help on getting data from a grid cell .. I know the row/column index

2007-02-26 Thread Brendan Meutzner
Look at the n-th element of your datagrid's dataProvider (equal to the row index value), with the property name equal to the column's dataField name... Brendan On 2/24/07, helihobby [EMAIL PROTECTED] wrote: Hello, Can anyone help out ... I know the Data Grid Cell's Row and Colum Index.

Re: [flexcoders] Can anyone help on getting data from a grid cell .. I know the row/column index

2007-02-26 Thread Brendan Meutzner
Sorry... you also need to pay attention to your verticalScrollPosition for your row index position when getting the value from your dataprovider. Brendan On 2/24/07, Brendan Meutzner [EMAIL PROTECTED] wrote: Look at the n-th element of your datagrid's dataProvider (equal to the row index

Re: [flexcoders] Finding out when an arraycollection in my model is set

2007-02-26 Thread Michael Schmalle
Hi, Why not just make it a get, set bindable property in your ModelLocator? Then you could dispatch and event or really whatever you want to do. Peace, Mike On 2/24/07, Webdevotion [EMAIL PROTECTED] wrote: Hello, How can I now when my arraycollection in my modellocator is filled with

Re: [flexcoders] Re: Just curious, A big development team or individual developers

2007-02-26 Thread jwopitz
pardon the doubling of my response. On 2/23/07, jwopitz [EMAIL PROTECTED] wrote: Team, and too big of a team if I may say. It was initially just 4 of us, then they another 4 people. There are as many analogies as there are developers on my team. Here are my favorites: 1. too many cooks

RE: [flexcoders] List itemRenderer problem with example

2007-02-26 Thread Tracy Spratt
In your itemRenderer, you must update a property in the dataprovider item when the user causes the state to change, and in the overrides set data() function, you must read this item property and set the state accordingly. Tracy From:

RE: [flexcoders] Dynamically creating a text object

2007-02-26 Thread Tracy Spratt
You definitely can do that. addChild() is the method to use. I can't guess at what you are doing wrong without seeing what you are doing. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Guy Morton Sent: Sunday,

Re: [flexcoders] Dynamically creating a text object

2007-02-26 Thread Guy Morton
I've done some further tinkering with this, and I can't get any transformed text to appear on a canvas. Am I doing something wrong? Can someone point me to an example that works? Is this a bug? Here's a simple test case: var myText:Text = new Text(); myText.text = Hello; myText.x = 200;

RE: [flexcoders] RemoteObject - request timeout

2007-02-26 Thread Seth Hodgson
The requestTimeout property triggers the component (a RemoteObject in this case) to give up waiting for a result or fault response from the remote server and generates a fault locally on the client. So you'll be able to handle this in your general fault handler and you can watch for these;

AW: [flexcoders] Problem with List Item Renderer (and states)

2007-02-26 Thread Harald Dehn
Hi Neil, the item renderer will be reused in a list after an item is outside the visible area. You could save the state to the underlying data. In your item renderer you could override the commitProperties method: private function buttonExpandedHandler(event:Event):void {

Re: [flexcoders] Is it possible to build an actionscript only app that uses FDS remoting?

2007-02-26 Thread hank williams
Hey Brian, Wow, not at all what I was thinking about but it looks like a better much more flexible solution to the problem than what I had in mind. Thanks Hank On 2/25/07, Brian Lesser [EMAIL PROTECTED] wrote: Hi Hank, I'm not using FDS, but do you mean like this:

RE: [flexcoders] CurrencyFormatter applied to LineSeries

2007-02-26 Thread Ely Greenfield
Marc -- what exactly are you trying to do? Format the labels on the axis? On the datatips? elsewhere? For the chart to work, it needs to be able to run calculations on the y values -- pre-formatting them prevents that. If you're looking to format datatips, try a data tip function on the

Re: [flexcoders] How can I loop through a Tile ?

2007-02-26 Thread Ciarán
Hi Mark, Your question is quite vague, a solid example of what you're trying to achieve might clear things up a bit. To access children, use the getChildAt() method, or if you're trying to access non-display children: http://livedocs.adobe.com/flex/201/html/containers_intro_063_25.html

RE: [flexcoders] Can anyone help on getting data from a grid cell .. I know the row/column index

2007-02-26 Thread Tracy Spratt
You can not do that. You must work with the dataProvider. The cells do not exist, they are just windows into the dataProvider item. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of helihobby Sent: Sunday, February 25,

Re: [flexcoders] Re: broken: stacked AreaChart when using horizontal DateTimeAxis

2007-02-26 Thread Adam Royle
Just a general note to anyone reading this, remember that months in ActionScript dates are 0-indexed. new Date(2007,2,25) is actually March 25th, not February as you would expect. Here is my parseDate function which converts date strings from -MM-DD format into a Date object. public

RE: [flexcoders] is there a way to open a file in flex app'

2007-02-26 Thread Jeffry Houser
How does Flash upload files without access to the user's file system? I thought the security requirement was relaxed with the release of Flash 8. Conceptually, I would assume that if Flash can send a file to the server, it must be accessing the file system somehow. Once Flash gets the

Re: [flexcoders] Problem with List Item Renderer (and states)

2007-02-26 Thread Ralf Bokelberg
Existing item renderers are reused by the framework to increase the performance. Your itemrenderer should rely on the data only, it should not have local state. In your case, you could store the open/close state of your item renderer in the data object. Cheers Ralf On 2/25/07, nwebb [EMAIL

RE: [flexcoders] Problem with List Item Renderer (and states)

2007-02-26 Thread Tracy Spratt
In your itemRenderer, you must update a property in the dataProvider item when the user causes the state to change, and in the overrides set data() function, you must read this item property and set the state accordingly. Tracy From:

Re: [flexcoders] Is it possible to build an actionscript only app that uses FDS remoting?

2007-02-26 Thread Anatole Tartakovsky
Hank, Create trivial MXML project with single remote object/destination. Compile with -keep-generated-actionscript=true. Look for ...init... class - copy part of it into your project. Alternatively, you can use gateway java class that would do server side translation - one destination talking to

Re: [flexcoders] Re: Can anyone help on getting data from a grid cell .. I know the row/column index

2007-02-26 Thread André Rodrigues Pena
It's not usual to access data from the grid, you access data from it's dataprovider that is normally either a ArrayCollection or a XML object. Imagine your grid has the following data provider: var xml:XML = package employee id=0 name=Michael/ employee id=1 name=Roger/ /package; So you can

Re: [flexcoders] Dynamically creating a text object

2007-02-26 Thread Guy Morton
Hi Karl That was the first thing I tried, but it didn't work. Hmm. Am I going mad? Can someone confirm that the below code works for them? Guy On 26/02/2007, at 3:04 AM, Karl Johnson wrote: var text:Text = new Text(); text.text = “My Text”; text.x = 10; text.y = 20;

Re: [flexcoders] Can anyone help on getting data from a grid cell .. I know the row/column index

2007-02-26 Thread Douglas Knudsen
just look at myDatagrid.selectedItem. This is a reference to the item in your dataprovider behind the row. DK On 2/25/07, helihobby [EMAIL PROTECTED] wrote: Hello, Can anyone help out ... I know the Data Grid Cell's Row and Colum Index. How can I retrieve the data in that cell if I know

Re: [flexcoders] New Project: FlexCRUD -- Create Update Delete for Flex/amfphp/cairngorm

2007-02-26 Thread Patrick Mineault
Sounds awesome. URL doesn't work though. Patrick Mike Crowe a écrit : Hi folks, I'm in the process of releasing my system generation utility via riaforge. Essentially, I'm using about 15 templates to generate 100 files. From a 1' perspective, I have created a generic template based

Re: [flexcoders] URL Link in Flex Application

2007-02-26 Thread Adam Royle
mx:Button label=Click me click=navigateToURL(new URLRequest('myurl.html'),'_self') / - Original Message - From: Lisa Lee To: flexcoders@yahoogroups.com Sent: Saturday, February 24, 2007 2:37 PM Subject: [flexcoders] URL Link in Flex Application Can you tell me how to be

Re: [flexcoders] List itemRenderer problem with example

2007-02-26 Thread Ciarán
Hi Tom, You're right that only a finite number of list itemRenderers are created. When something changes (like the visible portion of a list) those that don't need to be re-rendered are moved on stage. They are only re-rendered when the necessary (i.e. when the data changes). You have to make

Re: [flexcoders] Dynamically creating a text object

2007-02-26 Thread Doug McCune
Does flipping the canvas clear all the content, or does it simply make your text disappear? Rotating text means you must embed the font that's used. Otherwise the text will be invisible if any rotation is applied. Doug On 2/25/07, Guy Morton [EMAIL PROTECTED] wrote: Nope, adding the text

Re: [flexcoders] Re: Problem with List Item Renderer (and states)

2007-02-26 Thread nwebb
John, that's great info and should allow me to address the problem. I really appreciate the answer. Thanks :] On 2/25/07, shuell2000 [EMAIL PROTECTED] wrote: Your problems stem from the fact that Lists reposition and resize children each time updateDisplayList is called. Which is whenever

Re: [flexcoders] checkbox with tree component

2007-02-26 Thread Mrinmoyee Sanyal
Or you cud get it free from Adobe: http://www.adobe.com/cfusion/exchange/index.cfm?view=sn611extID=1047969 -MS On 2/23/07, dorkie dork from dorktown [EMAIL PROTECTED] wrote: Saurav, In case you want to buy a solution

Re: [flexcoders] Dynamically creating a text object

2007-02-26 Thread Guy Morton
Yeah, sorry. I didn't realise it was relevant. :-) The docs for Matrix and Transform ought perhaps to alert people to this, so others don't have to suffer as I have... Guy On 26/02/2007, at 3:10 PM, leds usop wrote: you didnt mention the vertical flip in your prior post :). If you dont

RE: [flexcoders] Re: Accessing FLEX data from within a SWF??

2007-02-26 Thread Shannon Hicks
To do it like you are thinking, you will need to use a Flash 9 swf instead of a Flash 8 swf. Apollo will likely do exactly what you want. It is presumed to be released in public beta form in the next few weeks. Shan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

RE: [flexcoders] Google Map API Flex2.0 Integration?

2007-02-26 Thread Grant Davies
if it doesn't have to be free, I've integrated flashmaps.com into flex.. Ive used location connection and external interface to it. Grant ... b l u e t u b e i n t e r a c t i v e. .: grant davies .: 404.428.6839 (c) .: 708-983-1577 (F) [EMAIL

Re: [flexcoders] Firefox (2.0.0.1) content caching and HTTPService calls

2007-02-26 Thread Douglas Knudsen
On 2/23/07, Private Romeo [EMAIL PROTECTED] wrote: We have build an application which polls XML data bound to Flex Charting controls via HTTPService. We have noticed that run in Firefox 2.0.0.1 it seems as if the result get cached. Even though the server side data changes the chart does not

Re: [flexcoders] URL Link in Flex Application

2007-02-26 Thread Angus Johnson
navigateToURL() method is what you're after. There is an example included in the Flex doc's loading a url to a new window after a button click. On 24/02/07, Lisa Lee [EMAIL PROTECTED] wrote: Can you tell me how to be able to have a user click on a link (button, whatever) from within a Flex

Re: [flexcoders] URL Link in Flex Application

2007-02-26 Thread Bhuvan Gupta
Use LinkButton. Refer ComponentExplorer shipped with Flex SDK for an example. On Feb 24, 2007, at 10:07 AM, Lisa Lee wrote: Can you tell me how to be able to have a user click on a link (button, whatever) from within a Flex application and have it take the user to a non-Flex, regular web

Re: [flexcoders] Re: Quick Flex 2.0 questions

2007-02-26 Thread Adam Pasztory
I just took the plunge and purchased FlexBuilder after spending a lot of time exploring other options (OK, you can call me stingy). The existing FlashDevelop solution was too problematic in my opinion, and there's no indication about when FD3 will be out. And unless you're a big fan of command

[flexcoders] About the mx:RemoteObject

2007-02-26 Thread huangxi12342003
when i click the button,do checkUsername(),it check if the filled usename have been used. I use RemoteObject to pass the username to java , java return the result :trueor false (string Type) Error is: Cannot invoke method 'ifUsernameUsed'. There is code. / mx:script ...

Re: [flexcoders] URL Link in Flex Application

2007-02-26 Thread Dave Carabetta
mx:Script import flash.net.navigateToURL; /mx:Script mx:LinkButton label=Cynergy Systems, Inc. click=navigateToURL(new URLRequest('http://www.cynergysystems.com/'), '_blank'); / Regards, Dave. Cynergy Systems, Inc. On 2/23/07, Lisa Lee [EMAIL PROTECTED] wrote: Can you tell me how

Re: [flexcoders] strange Could not resolve mx:Script to a component implementation. error

2007-02-26 Thread simon
it looks like you don't have an opening mx:Application tag so your mxml is not well formed. On 2/24/07, Yiðit Boyar [EMAIL PROTECTED] wrote: hi all; i've just formatted my computer 1st time since i started flex; and now i'm getting an error that i can not understand. do i miss sth with the

Re: [flexcoders] URL Link in Flex Application

2007-02-26 Thread Brendan Meutzner
Hey, Have a look at URLRequest and navigateToURL(); Brendan Brendan On 2/23/07, Lisa Lee [EMAIL PROTECTED] wrote: Can you tell me how to be able to have a user click on a link (button, whatever) from within a Flex application and have it take the user to a non-Flex, regular web page

Re: [flexcoders] Re: FDS/Hibernate Sample of updating hierarchical list of values

2007-02-26 Thread Valy Sivec
That's an excellent message and I had ran through same issues myself and feel your pain... Regards, Valy - Original Message From: simonjpalmer [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, February 23, 2007 5:34:38 AM Subject: [flexcoders] Re: FDS/Hibernate Sample of

[flexcoders] Re: CurrencyFormatter applied to LineSeries

2007-02-26 Thread marc_rossi
--- In flexcoders@yahoogroups.com, leds usop [EMAIL PROTECTED] wrote: a code post will help :) if you dont mind Ok, did my best to shorten things up. The line in question is: dict[vami] = tester.format(vami); Changing this back to simply dict[vami] = vami gets the chart back. Thanks

[flexcoders] ctrl key with a combination - doesnt seem to work

2007-02-26 Thread jmorpher03
Hi, I am trying to trap the ctrl key along with a combination of any other alphanumeric key by using the following code on a DataGrid control: public void myKeyDown(event:KeyBoardEvent):void { if ( event.ctrlKey event.keyCode == 67 ) // for 'C' { // copy selected row } } This

[flexcoders] Flex Fullscreen Apps

2007-02-26 Thread john_69_11
Hi, I have a flex app that I want to be able to make fullscreen and was having some problems with it. I looked at the tutorial on adobes site, and can get full screen to work but the components in my app don't change size when going into fullscreen mode. I've found that setting the height and

[flexcoders] FlexBuilder issue

2007-02-26 Thread Paul DeCoursey
I have this warning... 1 Data binding will not be able to detect assignments to systemManager.vmxma.mxml vmxma/sourceline 551 February 23, 2007 3:42:38 PM 10823 Which refers to this line... data:ItemProvider id=itemProvider I was assigning systemManager to

[flexcoders] Looking for guidance on HTTPService sequencing

2007-02-26 Thread pgp.coppens
Hello Flex fans, Yet another flex 101 I have read and (hopefully) understood how HTTPService and its result handling works. What I am struggling with is how I can enforce a certain sequencing so that I have the guarantee that flash will not send a second request after the first has been

[flexcoders] properties file - changing at runtime

2007-02-26 Thread alehrens
I would like to implement a .XML file that contains properties, just like a java.properties file. What is the best way to do this? I've found some previous posts, but have run into some issues with them. Specifically, what I'm trying to do is build my .swc and deploy it to tomcat. Then, on

[flexcoders] WS call sucessful with resultFormat=e4x, fails otherwise

2007-02-26 Thread ben.clinkinbeard
Hello, we are seeing some weird behavior when calling an RPC encoded .NET web service. Unless we set resultFormat to e4x, we receive the following error: fault: [FaultEvent fault=[RPC Fault faultString=Error #1009: Cannot access a property or method of a null object reference.

Re: [flexcoders] Re: broken: stacked AreaChart when using horizontal DateTimeAxis

2007-02-26 Thread Tom Chiverton
On Sunday 25 Feb 2007, Adam Royle wrote: public function parseDate(s:String):Date { if (!s) return null; var a:Array = s.split('-'); return new Date(parseInt(a[0]),parseInt(a[1])-1,parseInt(a[2])); } Might be better with a regular expression etc etc here, what happens if

AW: [flexcoders] Re: Problem with List Item Renderer (and states)

2007-02-26 Thread Harald Dehn
There is a better solution solution: You could save the state to the underlying data. In your item renderer you could override the commitProperties method: private function buttonExpandedHandler(event:Event):void { // pressing the button data[ExpandedState] =

[flexcoders] Re: Quadrant chart

2007-02-26 Thread Mehul Doshi
Yeah, it is quite nice and not complex as I first thought. At least, creating those lines is very straight-forward. --- In flexcoders@yahoogroups.com, Mehul Doshi [EMAIL PROTECTED] wrote: ok...i'll look at it a little more patiently and get back to you if i get stuck. i realize what

[flexcoders] Re: Programatically creating LineSeries

2007-02-26 Thread Mehul Doshi
Could someone please look at my post below and provide me some help? Thanks. --- In flexcoders@yahoogroups.com, Mehul Doshi [EMAIL PROTECTED] wrote: Hi, I have a few questions on how I should go about achieving something using Flex Charting. I have a Java servlet/controller that will

[flexcoders] Re: CurrencyFormatter applied to LineSeries

2007-02-26 Thread marc_rossi
--- In flexcoders@yahoogroups.com, marc_rossi [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com, leds usop rptlead@ wrote: a code post will help :) if you dont mind A little more reasonable (and self-contained) example: ?xml version=1.0 encoding=utf-8? mx:Application

[flexcoders] Chart annotationElements based on series data

2007-02-26 Thread durnelln
Hi all - and hopefully Ely ;-) I have a LineChart containing a LineSeries which updates automagically from an arrayCollection - works great. I have also created a simple annotationElements element which renders a horizontal line across the chart at a configured value. What I'm trying to do

[flexcoders] Time Based State Transitions

2007-02-26 Thread nextadvantage
How would I go about changing view states say every 10 secs... with a 1 sec fade?

[flexcoders] Custom Component Styles

2007-02-26 Thread g_odds
I have been looking through the Adobe documentation for a few hours now and have no suggestion of how to achieve what I want to do. I have a custom component that has some custom style attributes. I would like these style attributes to have default values. So, I followed what is described in

[flexcoders] Re: Invalid Configuration Exception

2007-02-26 Thread jairokan
Hi again, Anyone had a look to my message. I's still struggling with this query. I just cannot see my SWF file. When I request the file from my browser I get the exception below. If I drop the same file on the flex.war root dirctory, it work fine and I see it on my browser. The problem must be

RE: [flexcoders] Looking for guidance on HTTPService sequencing

2007-02-26 Thread Karl Johnson
Data access via HTTP and Web services is asynchronous so there is no way to guarantee natively that your services return in a certain order. But you can accomplish this if you really need to by chaining together service calls via result handlers. Calling service 1, and then in the result handler

Re: [flexcoders] ButtonBar's child enabling

2007-02-26 Thread Michael Schmalle
Oh, supposed to be var button:Button = buttonBar.getChildAt(searchIndex) as Button; Mike On 2/24/07, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, Try; var searchIndex:int = 2; var button:Button = getChildAt(searchIndex) as Button; button.enable = false; or use the other

RE: [flexcoders] checkbox with tree component

2007-02-26 Thread Joan Lafferty
Saurav, Here is an example that might be what you need or at least get your started. It adds a CheckBox to all of the leaf nodes (not the parent nodes). This example is expecting that your data has objects that include a selected property, by the way. package comps { import

Re: [flexcoders] URL Link in Flex Application

2007-02-26 Thread Roman Protsiuk
Try navigateToURL method. R. On 2/24/07, Lisa Lee [EMAIL PROTECTED] wrote: Can you tell me how to be able to have a user click on a link (button, whatever) from within a Flex application and have it take the user to a non-Flex, regular web page within their browser? It's probably a simple

[flexcoders] flash 9 alpha IDE run on mac os x intel?

2007-02-26 Thread disasterstruckonthedayofmybirth
Hey Everyone, sorry this is on the wrong list. I can't seem to get flashcoders list to subscribe me. Is the flashcoders list still up and running? anyway, does anyone know if flash 9 alpha IDE is supported on Intel Mac? I try compiling and it tells me the java runtime enviornment failed to

[flexcoders] Re: Can anyone help on getting data from a grid cell .. I know the row/column index

2007-02-26 Thread helihobby
Thank you all for the answers ... The problem is that I need to know which cell he clicked on. Or in other words, what is the text that displayed on that cell... Getting the complete ArrayCollection object which the user clicked on is easy as I can ( as u guys mentioned ) simply grab the event

Re: [flexcoders] New Project: FlexCRUD -- Create Update Delete for Flex/amfphp/cairngorm

2007-02-26 Thread dorkie dork from dorktown
it sounds very useful to me. the link doesn't seem to work for me. On 2/24/07, Mike Crowe [EMAIL PROTECTED] wrote: Hi folks, I'm in the process of releasing my system generation utility via riaforge. Essentially, I'm using about 15 templates to generate 100 files. From a 1'

Re: [flexcoders] Creating a Video Player in Flex

2007-02-26 Thread Alan Rother
Awesome Thank you. I had searched the archives but didn't find this one. =] -- Alan Rother Adobe Certified Advanced ColdFusion MX 7 Developer

Re: [flexcoders] Finding out when an arraycollection in my model is set

2007-02-26 Thread Yiðit Boyar
i had a similar problem; when an array collection in my model is changed; my datagrid should be refreshed so here is my code: (here ; user.projects is an arrayCollection) in the creation complete of the mxml file : ModelVT.getInstance().user.projects.addEventListener(collectionChange,dgYenile);

RE: [flexcoders] Invalid Configuration Exception

2007-02-26 Thread Dimitrios Gianninas
Look at your tomcat log file, before that exception, you will find another exception that will explain what the real problem is. Dimitrios Gianninas RIA Developer Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

[flexcoders] Replacing special characters

2007-02-26 Thread TJ Downes
Hey all, Im hoping someone else has experienced this and can provide a simple answer: I am finding that a lot of my work with Flex involves either users cutting and pasting from Word, or I am importing data from external systems. Often there are invalid or special characters, such as apostrophes,

[flexcoders] Re: Custom Component Styles

2007-02-26 Thread g_odds
It would appear the link I gave is broken. But nevermind, I have found the solution by delving through the framework source code, where the developers do it differently from what is documented in the Live Docs. The solution is to use something along the lines of: private static var

[flexcoders] How to align identical CategoryAxis as HorizontalAxis and SecondHorizontalAxis

2007-02-26 Thread mgrayfmr
Help Ely (or anyone who knows) !!! I'm having trouble with the data being displayed in a LineChart. I have same data in a horizontal and secondhorizontal category axis. I am also displaying vertical gridlines using the backgroundElements property. What is happening is that the spacing is

[flexcoders] Re: Charting - create a secondSeries with Actionscript 3.0 ???

2007-02-26 Thread mgrayfmr
Thanks Brendan I think my problem was caused by me specifying a secondDataProvider on my LineChart. Here is a snippet of what worked for me : My chart is named chLinearChart var tmpSeriesArrayColl : ArrayCollection; var ls_P : LineSeries; var stroke : Stroke; var tmpFill : LinearGradient;

[flexcoders] Re: Looking for guidance on HTTPService sequencing

2007-02-26 Thread pgp.coppens
Thanks Karl, I appreciate your help! I will try(have) to get used to it :) As a follow up : I bumped into a reference of the Mappr API as a source of information on unit testing async components. Is there any other information available on this ? Thanks, Peter --- In

[flexcoders] pie chart: group small values together

2007-02-26 Thread bruno.navert
I'm quite new to Flex, so please forgive me if this is a no-brainer. I have a Pie Chart control that shows a lot of wedges, and I would like it to automatically group together smaller wedges (say all those whose percentage value is lower than 1-2%) and display something like Others - x%, x being

Re: [flexcoders] Re: Custom Component Styles

2007-02-26 Thread Mike Britton
Graham, You may also want to take a look at this: http://www.scalenine.com/ You'll need the Flex 2.1 update to use it. hth, Mike Britton

[flexcoders] Re: How to align identical CategoryAxis as HorizontalAxis and SecondHorizontalAxis

2007-02-26 Thread mgrayfmr
Holy cow, I figured it out, and it's stoopid easy. It may not be that apparent at first glance though. All I needed to do was set the padding to 0 for my horizontal axis. It seems that by default, the padding for my top/secondHorizontal axis, which is a CategoryAxis, was 0.5. By Setting it to 0,

[flexcoders] FDS with Java Question: Why is it grouping requests?

2007-02-26 Thread billy_d_white
Maybe Vroom or one of you other FDS experts can tell my what I'm doing wrong : I'm using Cairngorm with a Java/Spring backend. I'm using autocommit and autosync enabled and when I perform a deleteItem which I want to fail, it calls my Java assembler which attempts the deletion and fails. I

[flexcoders] Constrain where a popup can be dragged?

2007-02-26 Thread craig.drabik
Hello all. Is there a way to constrain where a user can drag a popup? I have a sort of MDW application which has the application's controls on the left, and the reports the user works with in popup windows on the right. I want to make it so the user cannot drag the reports on top of the

RE: [flexcoders] Re: Best way for editing massive amounts of data?

2007-02-26 Thread Dimitrios Gianninas
35 fields? peanuts :) We did one that is variable here... anywhere from 50 to 200. Basically the way we tackled the problem is to display a 3 pane view divide like so: left pane: displays section names in a list, when u select one, it populates the middle pane middle pane: displays the fields

[flexcoders] Re: Replacing special characters

2007-02-26 Thread Tim
I think you will need to write your own class to do the cleanup, but you should be able to use character classes in regular expressions to identify legitimate characters and substitute or remove the others. For example, \w will match a word character (A-Z, a-z, 0-9 and _). See the ActionScript 3.0

  1   2   >