Re: [flexcoders] Unable to resolve a class for ResourceBundle

2007-05-24 Thread Roman Protsiuk
What are you compiling and how? If it's component library then probably you didn't include your resource bundle in compilation (e.g. compc -include-resource-bundles ResourceBundleNameWithoutDotPropertiesExtension ...) R. On 5/22/07, Praveen Saxena [EMAIL PROTECTED] wrote: Hi, I am getting

[flexcoders] Re: changing states in module behaves strange

2007-05-24 Thread flashcrow2000
I'm pretty sure the custom window shifts when transitions are applied to the content. I'll try and explain some more how everything is built: the custom window is a canvas with a label, a close button and another canvas (contentHolder) which will hold the window's content. the module contains

[flexcoders] Chart does not show up in Safari on Mac

2007-05-24 Thread lanlin998
I wrote a FLEX chart application in ActionScipt3.0 and FLEX2.0 charting. It gets data from a WebService and displays the data in a LineChart with data binding. The chart is a monitoring chart that displays a time line of data. As the time passes, the chart marches to the left and the first

RE: [flexcoders] One Item Renderer Component for Multiple Columns in a DataGrid - How to find name of column being rendered?

2007-05-24 Thread Harald Dehn
You could although access the column information in the following way inside your ItemRenderer var dg:DataGrid = (listData) ? DataGrid(listData.owner) : null; var column:DataGridColumn = (dg) ? dg.columns[listData.columnIndex] as DataGridColumn : null; Harald From:

Re: [flexcoders] Chart does not show up in Safari on Mac

2007-05-24 Thread Flexing...
I am also using MacOS but for me the Charts show up properly in both Safari and Firefox. Can you ensure that you have latest (9.x) FlashPlayer installed on MacOS. On May 24, 2007, at 12:02 PM, lanlin998 wrote: I wrote a FLEX chart application in ActionScipt3.0 and FLEX2.0 charting. It

[flexcoders] Loggin best method

2007-05-24 Thread Giro
I need to develop an application with an initial login form. What is best method? One possible solution is: I create two views, one for login, and other the application, if login is okay, I change to application view. Any other idea. Thk. Giro.

Re: [flexcoders] call function on a pop up

2007-05-24 Thread Roman Protsiuk
If pop1 is member variable of your class everything should work. You create pop up and store a pointer to it in you variable (pop1). Then using pop1 you call a method on that pop up. What is the problem? R. On 5/23/07, mazarflex [EMAIL PROTECTED] wrote: I am trying to call a function to a

[flexcoders] Charting dataTransform.invertTransform() on DateTimeAxis

2007-05-24 Thread Brendan Meutzner
Hi, When implementing the dataTransform.invertTransform() method on a DateTimeAxis instance, it seems the return value is the date value represented... is there anyway to return the index value of the dataProvider like a CategoryAxis would? Brendan -- Brendan Meutzner Stretch Media - RIA

RE: [flexcoders] One Item Renderer Component for Multiple Columns in a DataGrid - How to find name of column being rendered?

2007-05-24 Thread Thind, Aman
Thank you so much Flexing. I wasn't aware I could pass parameters to an itemrenderer like that. Read a lot of documentations on renderers but never stumbled against that. And Thank you so much Harald. That method of finding the column name inside the renderer itself is very cool. I just pasted

[flexcoders] Re: WebService request serialization : XML attributes

2007-05-24 Thread ecpmaz
Flex SDK 2.0.1 Hotfix 2 contains a new WebService implementation that should handle attributes in addition to elements... this hotfix should be out very soon. very soon... like within the next 3 days ? :S {Maz} From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ecpmaz

[flexcoders] Re: FDS Samples

2007-05-24 Thread Shailesh Mangal
Wondering if you have tried Jetty with JOTM. I am getting follwoing error when i use DataManagement. Is it sufficient to put carol.properties in classpath? BTW, this code works on Tomcat 5.5 [RPC Fault faultString=Unable to access UserTransaction in DataService. faultCode=Server.Processing

RE: [flexcoders] HTTPService - application/xml - white space added

2007-05-24 Thread Peter
That did it for me. The documentation is somewhat confusing. It says prettyPrinting Determines whether the toString() and toXMLString() methods normalize white space characters between some tags. The default value is true. In my case white space was added

Re: [flexcoders] Re: Highlight a word in a RichTextEditor

2007-05-24 Thread Tom Chiverton
On Thursday 24 May 2007, Julien Phalip wrote: RichTextEditor's graphics (e.g. rte.graphics.drawRect(...) the rectangle appears behind the textarea. That kinda makes sense because I guess the textarea is always put on top of the RTE's graphics canvas. Draw onto a new object positioned over the

[flexcoders] Re: Working with Session....

2007-05-24 Thread sanjaypmg
Hi, Thanks for your suggesions but I am already doing it in the same way as to store it in javascript variable and pass it using External Interface I am looking the way to access session variables directly from flex.. is there anyway..? thanks, SS --- In flexcoders@yahoogroups.com,

RE: [flexcoders] Stopping blue focus rect being drawn

2007-05-24 Thread Mark Ingram
Hi, thanks! this.setStyle(focusAlpha, 0); That worked well in my TextArea (the blue rectangle is no longer shown). However, I tried Alex Harui's approach too: focusManager.showFocusIndicator = false; (In both the application and the TextArea creationComplete event) and that

[flexcoders] KPI Tree View.

2007-05-24 Thread Dharmendran A
Hi, Does anyone know whether Flex 2.0.1 has KPI Tree View control ?? dharmendran a Luggage? GPS? Comic books? Check out fitting gifts for grads at Yahoo! Search

RE: [flexcoders] Stopping blue focus rect being drawn

2007-05-24 Thread Mark Ingram
OK - ignore the second part of that, I found out why it's not working - you need this instead: this.addEventListener(FocusEvent.FOCUS_IN, onFocusIn); private function onFocusIn(event:FocusEvent):void { this.focusManager.hideFocus(); } Thanks! Mark

[flexcoders] Re: videoDisplay.volume not working

2007-05-24 Thread beecee1977
Hi, I started by doing a quick check and then got quite involved in this. Turns out there's a fairly simple solution (I think). There is a bug whereby if you set the volume before the video is loaded it doesn't get set properly I think if you call vidDisplay.load(); before setting

[flexcoders] Re: Highlight a word in a RichTextEditor

2007-05-24 Thread Julien Phalip
Draw onto a new object positioned over the top of the RTE ? Hey! Do you know how to do that? If the object is on top of the textarea, will the textarea remain clickable?

[flexcoders] Re: Memory leak in VideoDisplay?

2007-05-24 Thread beecee1977
Hi, Does anyone have any thoughts on this? Is it normal for memory to fluctuate when there are no user interactions (or timers or anything else in the code)? With the exact code I included I had the following behaviour: initial memory: ~4.5 MB for a few hours: the memory would cycle up to

[flexcoders] Tree edit item doubleclick

2007-05-24 Thread Morten Madsen
Hi people! I have a tree, and I want to be able to double click on an item in the tree and then edit the name/label, is this posible? Kind regards Morten Madsen

Re: [flexcoders] Re: Highlight a word in a RichTextEditor

2007-05-24 Thread Tom Chiverton
On Thursday 24 May 2007, Julien Phalip wrote: Draw onto a new object positioned over the top of the RTE ? Hey! Do you know how to do that? Create a new Graphic object and addChild() it. Maybe. If the object is on top of the textarea, will the textarea remain clickable? If the object's

Re: [flexcoders] Introduction

2007-05-24 Thread Tom Chiverton
On Wednesday 23 May 2007, bornaeon wrote: know that flash player (Our lovly platform) does not support RTL, but anyway is there any way that we can direct our texts as RTL? Reverse the text string, right align ? -- Tom Chiverton Helping to conveniently synergize extensible communities on:

Re: [flexcoders] Re: Memory leak in VideoDisplay?

2007-05-24 Thread Tom Chiverton
On Thursday 24 May 2007, beecee1977 wrote: Is it normal for memory to fluctuate when there are no user interactions (or timers or anything else in the code)? Yes. Memory may not be reclaimed unless there is pressure to free some. How are you measuring it ? -- Tom Chiverton Helping to

[flexcoders] Re: Datagrid auto sorting. Has anyone done this?

2007-05-24 Thread polestar11
Thanks Alex My sort was pretty simple straight-forward, but I was doing something wrong. So eventually I ended up sub-classing the header renderer like you suggested got it to work well. I actually used your Custom Header Renderer example to get me started:

[flexcoders] Re: Memory leak in VideoDisplay?

2007-05-24 Thread beecee1977
Thanks for the reply Tom, I just have this on a 1 second timer: public function timerHandler(event:TimerEvent):void { time = getTimer() totmem = flash.system.System.totalMemory; maxmem = Math.max(maxmem, totmem); } I understand that garbage collection

RE: [flexcoders] Charting dataTransform.invertTransform() on DateTimeAxis

2007-05-24 Thread Sunil Bannur
Brendan, DateTimeAxis is a NumericAxis and unlike CategoryAxis will not return the index value; you could do something like this from the return value of invertTransform var d:Date = new Date; d.setTime(Number(obj)); //obj is the return value from invertTransform var str:String =

Re: [flexcoders] Locking Last row in a Flex Data Grid

2007-05-24 Thread Dharmendran A
This is working fine if there are no horizantal scroll bars in the grid, but in my case many columns exists, which needs to be scrolled(i have set horizantalscrollpolicy as auto). In this case, this fixed last row also needs to scrolled. The similiar requirement is also for Last Column to be

Re: [flexcoders] Dragging onto a tree

2007-05-24 Thread Christopher Olsen
Michael, Thanks for the help... What I found that works good is dropTarget.calculateDropIndex(event); -Christopher [EMAIL PROTECTED] wrote: You probably need to look at the: event.dragInitiator.selectedItem Christopher Olsen [EMAIL PROTECTED]ntic. To com [EMAIL

[flexcoders] Quick Question

2007-05-24 Thread Christopher Olsen
Hello, Quick question may sound a bit silly But if I include a .as file in my project it can't directly reference variables in the mxml file that's imported it... this.parent.variable doesn't seem to work either... is there a special way to reference parents objects? -Christopher

Re: [flexcoders] Quick Question

2007-05-24 Thread Tom Chiverton
On Thursday 24 May 2007, Christopher Olsen wrote: Quick question may sound a bit silly But if I include a .as file in my project it can't directly reference variables in the mxml file that's imported it... You need to either have both the AS and MXML include a common place to store

Re: [flexcoders] Quick Question

2007-05-24 Thread Christopher Olsen
Tom, Thanks... I'm a bit new to AS... But I'll tell you one thing... It's a very different way to program compared to what I'm used to... It's not a simple transition from c/c++ -Christopher Tom Chiverton wrote: On Thursday 24 May 2007, Christopher Olsen wrote: Quick question may

[flexcoders] Re: Flex on Vista?

2007-05-24 Thread John Menke
As for Flex on Vista: Flex 2.01 works pretty well on Vista but is still unsupported by Adobe. Is there anyone who knows where to confirm this? Is there a document from Adobe?

[flexcoders] Re: JBoss custom authentication fails

2007-05-24 Thread spirit_ryder2k
I figured it out! in services-config.xml the JRun login command was active (default). I had to modify it into Tomcat login command. Also the context.xml is placed in WEB-INF not META-INF --- In flexcoders@yahoogroups.com, spirit_ryder2k [EMAIL PROTECTED] wrote: Hi, I am currently

Re: [flexcoders] Tree edit item doubleclick

2007-05-24 Thread ivo
You have to set your Tree to editable and then listen for the event ListEvent.ITEM_EDIT_BEGIN . Your handler for this event can keep tabs for what was the last node that was clicked and at what time. If there were no previous clicks on the target node or the last click was more than x

Re: {Disarmed} RE: {Disarmed} [flexcoders] Data Paging a la Matt Chotin for Flex

2007-05-24 Thread Paul Booth
Try using SQL like that contained at http://weblogs.asp.net/scottgu/archive/2006/01/07/434787.aspx You pass in the pageIndex and the numRows you want and let the sql get the right page of data for you. Paul. On 24/05/07, barry.beattie [EMAIL PROTECTED] wrote: Jurgen please forgive me for

Re: [flexcoders] star (*) data type vs. Object

2007-05-24 Thread Johannes Nel
good post and i agree, dictionaries and arrays should return * On 5/23/07, Derek Vadneau [EMAIL PROTECTED] wrote: * is just like Object I couldn't disagree more. I really dislike that Object is referred to in the docs about *. There is an implication there that they are similar when they

[flexcoders] CardDeck library

2007-05-24 Thread maybe later...
Hello... I want to write a card game usong Flex 2. Is there a card deck library ready for use somewhere ? (like cards.dll) or an example of a card game ? I searched and came out blank ! Thanks...

RE: [flexcoders] Quick Question

2007-05-24 Thread Tuli, Nikhil
merely importing doesnt makes the mxml the parent of the .as class. u'd need an object of the .as class in the mxml to call it via .Parent.Variable it would work that way. Best Regards, Nikhil Tuli. Fidelity Business Services India Pvt. Ltd., 7th Floor, Tower D, Uni TechWorld, Sector

[flexcoders] User Interface Architect, Stealth-mode VC-backed Investing Web Startup (San Francisco, CA)

2007-05-24 Thread Michael Sha
We are a well-funded, early-stage consumer web startup: Who thinks figuring out how to invest your money is too difficult. We have a vision of how to revolutionize the way people invest and are looking for a web developer/user interface guru who can play a key role in building the customer

[flexcoders] Re: Internationalization using Modules?

2007-05-24 Thread gary_mangum
Thanks Matt...at what point will I be able to take a look at what you've done...and when will Flex 3 be released? Gary --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: I would think about whether you're willing to play with beta software in the next month or so that has

RE: [flexcoders] sending messages

2007-05-24 Thread Mark Ingram
You just did... From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of zdenek Sent: 24 May 2007 14:02 To: flexcoders@yahoogroups.com Subject: [flexcoders] sending messages Hello, Im new member of flexcoders and I would like to start

Re: [flexcoders] Quick Question

2007-05-24 Thread Tom Chiverton
On Thursday 24 May 2007, Christopher Olsen wrote: It's not a simple transition from c/c++ Oh, no, not at all. import != include - there is an include that does what you want though. Must be nice not having to care about pointers or malloc() though, right ? -- Tom Chiverton Helping to ensure

Re: [flexcoders] Loggin best method

2007-05-24 Thread Derrick Anderson
i do it with a viewstack with 2 panels, the first item in the viewstack is the login panel- if login succeeds then i switch them to the main application panel (which has a viewstack of it's own) - Original Message From: Giro [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent:

Re: [flexcoders] Quick Question

2007-05-24 Thread Christopher Olsen
Yes a little easier to keep organized... Over time I'll get a little more rounded with AS Are you familiar with modules? Tom Chiverton wrote: On Thursday 24 May 2007, Christopher Olsen wrote: It's not a simple transition from c/c++ Oh, no, not at all. import != include - there is

Re: [flexcoders] Installing Apollo extensions to Eclipse

2007-05-24 Thread Tom Chiverton
On Wednesday 23 May 2007, tobiaspatton wrote: Set_up_instructions_for_Flex_Builder_users .. wants me to select a folder containing subfolders named Flex SDK 2 and Player. I know these folders are present in the standalone FlexBuilder, but they're nowhere to be found in the plug-in version.

[flexcoders] Message Board with Flex 2.0

2007-05-24 Thread zdenek4
Hello, Im quite new to Flex and I would like to put on my Flex site simple messageBoard so users will be able to post their thoughts on page. Is there any mxml + php source code examle somewhere or some tutorial that can help me?

[flexcoders] sending messages

2007-05-24 Thread zdenek
Hello, Im new member of flexcoders and I would like to start sending messages.

Re: [flexcoders] Quick Question

2007-05-24 Thread Tom Chiverton
On Thursday 24 May 2007, Christopher Olsen wrote: Are you familiar with modules? As in ModuleManager ? Not really. I played with the feature when it was introduced, so I have it in the tool box so to speak, but not used it in anger. -- Tom Chiverton Helping to synergistically supply

Re: [flexcoders] Loggin best method

2007-05-24 Thread André Rodrigues Pena
I show a modal login TitleWindow On 5/24/07, Derrick Anderson [EMAIL PROTECTED] wrote: i do it with a viewstack with 2 panels, the first item in the viewstack is the login panel- if login succeeds then i switch them to the main application panel (which has a viewstack of it's own) -

[flexcoders] is there any quick way to re-arrange mxml source code based on object's visual location?

2007-05-24 Thread Yohanes Iwan Sugiarto
Dear gurus, I was just thinking, is there any quick way to re-arrange our mxml source code based on visual location of an object (x,y,top,bottom)? a plugin or 3rd party utility? I've spent hours re-arranging mxml source codes in order to fix the default tab order. Also, using tabIndex is not a

[flexcoders] Checking if an Object has as property/element

2007-05-24 Thread Christopher Olsen
What's the best way to check if an Object has a particular element If i do if Object.blah == null i get an error because blah doesn't exist -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:

[flexcoders] HTTP 1.1

2007-05-24 Thread spdas_tvs
How to send / receive HTTP 1.1 based request / response to create a persistent connection with web server (Jsp in Tomcat)?

Re: [flexcoders] Re: Highlight a word in a RichTextEditor

2007-05-24 Thread Daniel Freiman
1. If the object has mouseEnabled = false then the mouse click should go right through, so putting an object in front of the textarea shouldn't be a problem. I don't see any code that is sending the textarea to the front, so I may be missing something. 2. Also, you could keep the object behind

Re: [flexcoders] Checking if an Object has as property/element

2007-05-24 Thread Tom Chiverton
On Thursday 24 May 2007, Christopher Olsen wrote: If i do if Object.blah == null i get an error because blah doesn't exist hasOwnProperty(), or just if (Object.blah) -- Tom Chiverton Helping to globally maintain error-free solutions on: http://thefalken.livejournal.com

Re: [flexcoders] Difference in rendering between Flash and Flex

2007-05-24 Thread Tom Chiverton
On Wednesday 23 May 2007, ravi kumar gummadi wrote: Since both of them use the same Flash Player and rendering mechanism, where does the difference arise??? Or Is that I got it completely wrong and messed up something on my box! Can you post screen shots / source for two simple SWF files that

Re: [flexcoders] Tree edit item doubleclick

2007-05-24 Thread Morten Madsen
I am new to Flex, does anybody have a example of code? Wouldn't it be posible to use itemDoubleClick? Kind Regards Morten Madsen On 5/24/07, ivo [EMAIL PROTECTED] wrote: You have to set your Tree to editable and then listen for the event ListEvent.ITEM_EDIT_BEGIN . Your handler for this

Re: [flexcoders] Change the Drag and Drop Image proxy object

2007-05-24 Thread Tom Chiverton
On Wednesday 23 May 2007, smustafa77 wrote: I need that when the row is draged from the datagrid,the image of the drag object changes to a particular image. Please let me know if it is possible. http://livedocs.adobe.com/flex/201/html/dragdrop_081_10.html#198213 -- Tom Chiverton Helping to

Re: [flexcoders] Difference in rendering between Flash and Flex

2007-05-24 Thread Daniel Freiman
Are you sure the players aren't being set to different display qualities? This can be set in the wrapper (or player if there is no wrapper). You can also check/set this property by right clicking on the movie (at least with the debug player). Daniel Freiman nondocs http://nondocs.blogspot.com

[flexcoders] Retrieving saved DataGrid columns array from local SharedObject.

2007-05-24 Thread Ian M. Jones
Hi all, I'm trying to set up a simple way to save a user's DataGrid column setup to a local SharedObject, and then retrieve those settings when they next run the application. Saving them seems to have been pretty simple: public function savePreferences():void { var prefs:SharedObject =

[flexcoders] Re: One Item Renderer Component for Multiple Columns in a DataGrid - How to find

2007-05-24 Thread Mark
Setting properties on the ClassFactory for each itemRenderer is cool, but does anybody know if there is a way to set style properties for the item renderer? thanks, mark --- In flexcoders@yahoogroups.com, Thind, Aman [EMAIL PROTECTED] wrote: Thank you so much Flexing. I wasn't aware I could

RE: [flexcoders] One Item Renderer Component for Multiple Columns in a DataGrid - How to find name of column being rendered?

2007-05-24 Thread Tracy Spratt
In order to access the listData, your renderer needs to implement IDropInListItemRenderer. See this link: http://livedocs.adobe.com/flex/201/html/cellrenderer_072_15.html Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Thind,

RE: [flexcoders] Retrieving saved DataGrid columns array from local SharedObject.

2007-05-24 Thread Tracy Spratt
You should be able to: * Get a reference to the dg.columns array in a var * Use your stored information to update the columns array var * RE-ASSIGN the columns var to the dg.columns property Tracy From: flexcoders@yahoogroups.com

RE: [flexcoders] Checking if an Object has as property/element

2007-05-24 Thread Alex Harui
if (blah in Object) Should also work -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton Sent: Thursday, May 24, 2007 6:53 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Checking if an Object has as property/element On

RE: [flexcoders] Locking Last row in a Flex Data Grid

2007-05-24 Thread Alex Harui
There's no built-in capabilities for this. There will be in the next major release. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dharmendran A Sent: Thursday, May 24, 2007 5:17 AM To: flex coders Subject: Re: [flexcoders] Locking

Re: [flexcoders] Retrieving saved DataGrid columns array from local SharedObject.

2007-05-24 Thread Tom Chiverton
On Thursday 24 May 2007, Tracy Spratt wrote: You should be able to: * Get a reference to the dg.columns array in a var * Use your stored information to update the columns array var * RE-ASSIGN the columns var to the dg.columns property You mean myA=dg.columns . . .

[flexcoders] Re: Firefox - FlashTracer on Mac: still looking for flashlog.txt

2007-05-24 Thread barry.beattie
Macintosh HD:Users:username:Library:Preferences:Macromedia:Flash Player:Logs:flashlog.txt that path doesn't exist for me (PPC 10.4, FB 2.0.1). Macintosh HD:Users:username:Library:Preferences:Macromedia: for me, none of these are correct MacHD:Library:Application Support:Macromedia:mm.cfg

[flexcoders] Re: textAlign not working for TabBar

2007-05-24 Thread scalenine
Interesting. It worked fine on my end. Here's a more thorough example: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:Style .leftTextTabBar {

RE: [flexcoders] Re: changing states in module behaves strange

2007-05-24 Thread Alex Harui
I get a feeling that the reference point for the state is relative to where it got loaded and not where it is. Maybe showing more code will help From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of flashcrow2000 Sent: Wednesday, May 23,

[flexcoders] Flex charting question

2007-05-24 Thread cardinalflexjeremy
I have a question for the group in regards to flex charting. I need to develop a chart like a line chart. The hard part is i need to basically show the data of a particular user, but at the same time, show a range of acceptable data values. Here is an example. The chart should show weight loss

[flexcoders] Re: Working with Session....

2007-05-24 Thread Anthony DeBonis
Hope one of these helps you: I have not tried this yet could not find any example code BUT if your using FDS you could try FlexSessionBindingEven http://docs.greendog.ru/Programming/Flex/docs/fds2javadoc/flex/messagi ng/class-use/FlexSessionBindingEvent.html OR mx:RemoteObject

RE: [flexcoders] Series::stripNaNs Exception in LineGraph

2007-05-24 Thread Ely Greenfield
Can you post very simple sample code? What does your MXML look like? Etc. Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Flexing... Sent: Wednesday, May 23, 2007 1:38 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Series::stripNaNs Exception

[flexcoders] problems with storing XML in SharedObject

2007-05-24 Thread annespg
I just joined this forum hoping I might get an answer since traffic on the Adobe Flex Forum seems pretty darn sparse. I'm surprised since the Flash Forum is so active one can get several answers within hours and on the Flex Forum one can go months and never get an answer. At any rate... I

[flexcoders] passing values to FilterFunctions?

2007-05-24 Thread Kevin
I would like to attempt to separate my filter functions from my view so that I am not duplicating code when two views share similar filter functions. My idea was to create a class that contains a ListCollection and all the appropriate FilterFunctions for that collection. The

[flexcoders] Custom Chart

2007-05-24 Thread Nate Pearson
I want to compare plan vs actual cost. On a bar chart I want a bar to show the actual cost. I also want a thin vertical line where plan cost was. The middle graph on the cover of this book shows what I want to do. I don't need the different shaded backgrounds.

RE: [flexcoders] Charting dataTransform.invertTransform() on DateTimeAxis

2007-05-24 Thread Ely Greenfield
Nope. invertTransform converts a position along the axis to a numeric data value. For DTAxis, data values are dates For that matter, DTAxes don’t have a dataProvider, so there’s no concept of a dataprovider for them to compare against. It’s up to you to use the value returned to search

RE: [flexcoders] problems with storing XML in SharedObject

2007-05-24 Thread Sterling, Brian
It worked for me. Here is the output I see in the console window after clicking on Save SharedObject then Retrieve SharedObject: [SWF] C:\gemini\TestApp\bin\TestApp-debug.swf - 447,488 bytes after decompression [CustomVO]test string,12345,46 [object Object] test string test xml data:

Re: [flexcoders] Locking Last row in a Flex Data Grid

2007-05-24 Thread Flexing...
You can listen for scroll events and move the scroll of the lower (total row) datagrid based on the scroll event of the upper grid. http://flex- apollo.blogspot. com/2007/ 05/adding- total-row- at- end-of- datagrid. html On May 24, 2007, at 5:47 PM, Dharmendran A wrote: This is

Re: [flexcoders] Re: Firefox - FlashTracer on Mac: still looking for flashlog.txt

2007-05-24 Thread Flexing...
Hi, I am also a Mac User. Though I also couldn't make FlashTracer work on MacOSX however I am able to get the trace() output written to flashlog.txt. The location at which flashlog.txt is present is the same as mentioned in the previous post Macintosh

RE: [flexcoders] Re: Internationalization using Modules?

2007-05-24 Thread Matt Chotin
The beta is still scheduled for first half of this year, and the release is currently 2nd half :-) From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of gary_mangum Sent: Thursday, May 24, 2007 5:24 AM To: flexcoders@yahoogroups.com Subject:

[flexcoders] Accessing Classes in external mx:Loader'ed swf

2007-05-24 Thread Aldo Bucchi
Hi all, I need to load classes at runtime ( that were not compiled in the app originally ). To achieve this I am loading an external swf that contains the class and then trying to get a hold on it through mx.utils.getDefinitionByName()... but it doesn't work as expected. Not that I AM setting

Re: [flexcoders] Checking if an Object has as property/element

2007-05-24 Thread Troy Gilbert
Interesting, I've never seen that one, Alex... nicely expressive. So, in summary, one can test the existent of a property with: if (myObject.hasOwnProperty(property)) ... if (myObject.property) ... if (myObject[property]) ... if (property in myObject) ... The first one is a function returning

RE: [flexcoders] Custom Chart

2007-05-24 Thread Ely Greenfield
Sounds like a chart: - With two separate bar series, one for actual, one for plan - Set to 'overlaid' mode - The plan series has a custom renderer that just renders a vertical line, rather than a whole bar. Ely. From: flexcoders@yahoogroups.com

[flexcoders] DataGridColumn sortCompareFunctions crashing Flex

2007-05-24 Thread Nick Matelli
I recently resolved an issue where my application crashed while sorting a DataGrid using a custom sortCompareFunction. If I was running the application as a Flex app, it crashed my browser. As an Apollo app, it froze the adl process. This fix may be useful since I haven't found any other

Re: [flexcoders] passing values to FilterFunctions?

2007-05-24 Thread Ralf Bokelberg
I'm using a FilterClass, which holds just the filterFunction and some optional ways to configure the filtering. Every collection, which needs filtering, gets an instance of this FilterClass by assigning collection.filterFunction = filter.filterFunction; Cheers, Ralf. On 5/24/07, Kevin [EMAIL

[flexcoders] passing ArrayCollection to CFC

2007-05-24 Thread mark_watts01
I have a data grid populated from an ArrayCollection it looks like this mx:ArrayCollection id=myDrawingsDetail source={wsPDI.drawingsdetail.lastResult} / data grid is updateable. My goal is to allow a user to update the contents of the datagrid (which if i understand correctly updates the

[flexcoders] Re: Accessing Classes in external mx:Loader'ed swf

2007-05-24 Thread Aldo Bucchi
hehee, I found an adobe class that seems to take care of it com.adobe.ClassLoader thanks ;) Aldo On 5/24/07, Aldo Bucchi [EMAIL PROTECTED] wrote: Hi all, I need to load classes at runtime ( that were not compiled in the app originally ). To achieve this I am loading an external swf

[flexcoders] Re: Working with Session....

2007-05-24 Thread Pedro Varela
Hi you.. hope yeh're all right!! Look, I have to do the same that yeh want to. But haven't found nothing.. Did you already know how to?? I have login actions in JSP, and when login succed the flex app that I did appears, so I neew to receive a paremter like email in my flex.. Thanx, hope yeh can

Re: [flexcoders] passing values to FilterFunctions?

2007-05-24 Thread Kevin
using this approach the filter functions still need to reference the view to get optional filter parameters correct. For example, if you want to filter based on a user inputed text field you can just do this: collection.filterFunction = filter.filterFunction (textFld.text); since the

Re: [flexcoders] Retrieving saved DataGrid columns array from local SharedObject.

2007-05-24 Thread jake247
Ask and ye shall receive ... we solved this exact problem about a month ago ... - // Save grid settings to shared object public function saveGridSettings():void { var

[flexcoders] Text binding with condition

2007-05-24 Thread nxzone
Hi, Hi ! I want to know if is possible to and a if in this statement: mx:TextArea htmlText=Title:{obj.title}brDescription:{obj.description}brDate:{date.now}br editable=false/ like this mx:TextArea htmlText= if (obj.title) { return Title:{obj.title} } if (obj.description) { return

[flexcoders] Data Binding problem SOLVED!!!!

2007-05-24 Thread asherritt9
So simple yet a big headache. You MUST conclude each line of a [Bindable] variable decleration with a semicolon, otherwise it throws errors. [Bindable] var collection1:ArrayCollection = new ArrayCollection; [Bindable] var collection2:ArrayCollection = new ArrayCollection; [Bindable] var

[flexcoders] deserializing an object

2007-05-24 Thread TCash21
I've been trying to store a Graph in our oracle db for the past few days. Here's where I've gotten without using AMFPHP, or WebOrb (hoping it's not necessary because the docs aren't helpful enough for what I want to accomplish) private function saveGraph():void { graph1 = this.graph;

Re: [flexcoders] passing values to FilterFunctions?

2007-05-24 Thread Ralf Bokelberg
I simply assign the input values to some properties of the filter whenever they change. Cheers, Ralf. On 5/24/07, Kevin [EMAIL PROTECTED] wrote: using this approach the filter functions still need to reference the view to get optional filter parameters correct. For example, if you want to

[flexcoders] buttonMode / selectable / useHandCursor - settings not respected

2007-05-24 Thread pdflibpilot
Not sure if this is by design or a bug. I have a Flex website with integrated content management feature. When content is rendered to a list and the itemRenderer Text component is set to buttonMode=true useHandCursor=false selectable=false it works just fine. However building the Text

[flexcoders] Re: Custom Chart

2007-05-24 Thread Nate Pearson
Thanks Ely. Do you have a link to custom chart renderer example? I looked through your blog and I see the datadrawingcanvas but I don't think that is the correct one to use. --- In flexcoders@yahoogroups.com, Ely Greenfield [EMAIL PROTECTED] wrote: Sounds like a chart:

[flexcoders] Re: Flex charting question

2007-05-24 Thread simonjpalmer
can't you just add another data series to the chart? --- In flexcoders@yahoogroups.com, cardinalflexjeremy [EMAIL PROTECTED] wrote: I have a question for the group in regards to flex charting. I need to develop a chart like a line chart. The hard part is i need to basically show the data

RE: [flexcoders] Re: Custom Chart

2007-05-24 Thread Ely Greenfield
I believe the charting sampler: http://www.quietlyscheming.com/blog/charts/chart-sampler/ Has a custom renderer. Look at 'customization', under per item colors. Or something to that effect J Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

[flexcoders] dataToLocal on a bubble chart z-axis

2007-05-24 Thread simonjpalmer
I have a bubble chart with a data driven radius for the bubbles. I want to find out how big they are in pixels. I only have the data value for the radius. I know that the bubble series uses the radius as the z coordinate, but I can't see a way to ask the chart or series to translate between

RE: [flexcoders] dataToLocal on a bubble chart z-axis

2007-05-24 Thread Ely Greenfield
Simon...can you give a little more detail? Once you have a reference to an item, you can find out how big it is on screen by looking at bubbleSeriesItem.z * bubbleSeries.maxRadius; Alternatively, if you have a data value you want to convert, something like this should work:

  1   2   >