RE: [flexcoders] Flex 2 Charting dynamic backgroundElements

2006-11-28 Thread Sönke Rohde
Hi Ely, thank you for your detailed answer and the code examples. This was not exactly what I am looking for but gave me the hints to solve my problem. The key is that your backgroundElement extends ChartingElement. But now I have got the problem that the backgroundElement is in front of the

[flexcoders] Re: images, etc. off-screen

2006-11-28 Thread Paul Hastings
On 11/28/06, Paul Hastings [EMAIL PROTECTED] wrote: i need to burn a PDF from some stuff (images their vector children) that's represented on-screen. using andrew trice's nifty bitmap capture technique, works fine. but in some instances i need to re-do/rescale some of the images, etc. which

RE: [flexcoders] lastResult.records.record.length=null when there's actually 1

2006-11-28 Thread Steve Cox
When a result contains only 1 object Flex converts it to an Object not an ArrayCollection. Therefore your myListRequest.lastResult.records.record is an object and won't have the .length property. When you receive more than 1 record it will be an ArrayCollection of objects. You'll need to check

Re: [flexcoders] Panel Title Embedded Font

2006-11-28 Thread Samuel Reuben
I tried this it seems to work. If you want bold you'll have to embed a bold font and give the font weight bold. If you need bold as well as normal fonts you can create the same font name with both bold as well as normal font and it will take. -sam On 11/16/06, Bjorn Schultheiss [EMAIL

[flexcoders] Cursor Position in RichTextEditor (textarea)

2006-11-28 Thread Steve Cox
All, For the life of me I cannot seem to find the property/method to get the caret / cursor position in a textarea component via a RTE. Basically I need to be able tod rag a custom control onto the RTE and it insert some text at the current(previous before focus changed) cursor position. I can

[flexcoders] Flex crashing @ compilation time

2006-11-28 Thread The Crow
Hello. I've been using Flex 2 for 3 months now. There's around 40 mxml applications plus component, and actionscript files in the project and the compilation (building) time has considerably increased with time...taking up to 5-10 minutes at times. I've upgraded to Java 1.5.0.09 and changed the

Re: [flexcoders] lastResult.records.record.length=null when there's actually 1

2006-11-28 Thread Ben Marchbanks
Thanks Steve for explaining exactly the root cause. What method would you recommend to test if the result is an array or an object ? Steve Cox wrote: When a result contains only 1 object Flex converts it to an Object not an ArrayCollection. Therefore your

[flexcoders] Firing an event when clicking on a DataGridColumn

2006-11-28 Thread stephen50232
Hi, Is it possible to fire an event every time a user clicks on a new row in a DataGrid. So that I can populate a form with a new record everytime the row in the DataGrid is selected.

RE: [flexcoders] lastResult.records.record.length=null when there's actually 1

2006-11-28 Thread Steve Cox
Try something like the following (I'm using result here instead of lastResult, but see what works for you: var acResults : ArrayCollection; if (myListRequest.lastResult.records.record is ArrayCollection) { acResults = myListRequest.lastResult.records.record; } else {

Re: [flexcoders] lastResult.records.record.length=null when there's actually 1

2006-11-28 Thread Valy Sivec
Look at ArrayUtil.toArray method that trasforms an object to an array. I'd think something like that would work: var arrayCollection : ArrayCollection= new ArrayCollection ( ArrayUtil.toArray(myListRequest. lastResult. records.record) ); HTH, Valy - Original Message From: Steve Cox

Re: [flexcoders] FDS and AMFPHP

2006-11-28 Thread Douglas McCarroll
Philippe, I don't use PHP but have been collecting interesting links in case I start. :-) I suspect that one or more of them will help: http://www.brightworks.com/technology/adobe_flex/with_php.html Douglas - Douglas McCarroll

[flexcoders] Chart annotation and panning

2006-11-28 Thread Claude Hussenet
Is there an easy way to add an annotation to a chart in the local coordinate of the chart ? So,if the min,max of the vertical or horizontal axis is changed,the location of the annotation will be also changed.The type of annotations that I would like to add are instances of the

[flexcoders] MOD: posts not showing up quickly

2006-11-28 Thread Adam Royle
Hello, Can a moderator please enable my email address for instaPOST (tm) as currently they are delayed... Thanks, Adam

[flexcoders] Re: Firing an event when clicking on a DataGridColumn

2006-11-28 Thread ben.clinkinbeard
http://livedocs.macromedia.com/flex/2/langref/mx/controls/DataGrid.html#eventSummary --- In flexcoders@yahoogroups.com, stephen50232 [EMAIL PROTECTED] wrote: Hi, Is it possible to fire an event every time a user clicks on a new row in a DataGrid. So that I can populate a form with a new

Re: [flexcoders] Flex crashing @ compilation time

2006-11-28 Thread Ralf Bokelberg
I guess you need RAM. The more, the better. Cheers, Ralf. On 11/28/06, The Crow [EMAIL PROTECTED] wrote: Hello. I've been using Flex 2 for 3 months now. There's around 40 mxml applications plus component, and actionscript files in the project and the compilation (building) time has

Re: [flexcoders] Newie : calling a function when setting selected index

2006-11-28 Thread Adam Royle
I ran into the same issue a while back, but it's actually expected functionality. The change event is only triggered upon user interaction, not scripting. Matt Chotin's reply was: --- The valueCommit event will fire in this case, change is only when it was user-interaction that caused the

[flexcoders] [Flex2]Where is the internal bitmap ? form cacheAsBitmap at DisplayObject;

2006-11-28 Thread saicn_1205

[flexcoders] displaying an array result as a pop up dialog

2006-11-28 Thread munene_uk
I have built a simple mail application that allows the user to send a message to multiple users. once the message is successfully sent it returns a message i.e the message has been sent to the following recipients [EMAIL PROTECTED], [EMAIL PROTECTED] e.t.c the issue is that this data is

Re: [flexcoders] Flex and CF (or how ActionScript is making me want to cry)

2006-11-28 Thread Eric Fleming
Thank greg, that 2nd link was exactly what I needed, just couldn't find it. Thanks again. On 11/27/06, greg h [EMAIL PROTECTED] wrote: Eric, Just add an id= property on the mx:RemoteObject tag. The value on the id property is the instance name that you can then reference in your AS code.

[flexcoders] rotating MovieClip

2006-11-28 Thread raju_bb
Hi all, I want to rotate a MovieClip on some axis..I saw there is a effect called Rotate in Flex 2.I tried using it.It has properties called originX and originY which clearly states that any object will rotate on that axis.I want to achiever similar feature in AS 3.When i tried using it, it was

[flexcoders] E4x and the xml defaul namespace xml

2006-11-28 Thread Essl, Markus
Hello! I need to set an xml:lang attribute in XML file, and I have trouble doing so. If I just use the xml-prefix it won't work, so I need to add a namespace declaration. But then that namespace declaration is visible in the xml output, like this: lom xmlns=[[ims metadata namepsace]]

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

2006-11-28 Thread Matt Chotin
FYI, Apollo will have application signing From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of John C. Bland II Sent: Sunday, November 26, 2006 8:43 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Bit Off topic: Microsoft Vista

[flexcoders] Re: datagrid dataprovider Flex 2.0

2006-11-28 Thread sunilpatel_10
This does work. Thanks Tracy --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: It sounds like the Categoris information is in an object nested within the Items object. If so, you will need to us a labelFunction. You can only define a datField if the data is in a top

Re: [flexcoders] Flex JavaScript

2006-11-28 Thread Claude Hussenet
Are you using the flash javascript toolkit located at http://weblogs.macromedia.com/flashjavascript/ Claude kribot [EMAIL PROTECTED] wrote: Hi, I'm trying to mix Flex JavaScript, I'm using Flex Builder and I would ask if someone already try to do that, I'm

[flexcoders] EventDispatching Listening

2006-11-28 Thread patricklemiuex
I'm using bubbling, or at least i think i am to capture an event... I've extended the event class to make my own event mechanism. the events are being dispatched, however the problem is, that I'm adding an event listener to my custom mxml component to receive the events and nothing happens. I've

[flexcoders] Re: FLEX.war and PROJECT.war

2006-11-28 Thread sanjaypmg
Thanks for your quick response... I have tried it but after integrating it when I start my exisiting application, It is failed to load even the first page. I am sure, I am doing some mistakes while making entries in web.xml. Could you please help me out which entries should I make for this

[flexcoders] how to choose an image

2006-11-28 Thread nchumbo
hi, i'm a neewbie in flex programming. How can i choose an image anywhere in my computer and show it in a mx image control? i'm trying trying to use FileReference.Browse but i only get the name of the selected file and not the all path. Can someone help me? Thanks in advance Nuno

Re: [flexcoders] 3 questions: Context menu, graphing component and XmlRpc

2006-11-28 Thread Adam Royle
With the context menu example you gave below, it would be easy enough to replicate the functionality. Most of the trickery is in the HTML of the page the swf is hosted in, intercepting the right mouse click and executing a function in the swf. I'm not sure how stable the JS code is, and if it

[flexcoders] Flex 2 and Flourine with amf 3

2006-11-28 Thread Sajid Hussain
Hello to all, I just called hello world asp.net code in flex 2 with flourine.net remoting ,and it just give me Greeting in flex from .net the example as they have said flourine supports amf 3 ..so i want to work on that :) Could any one tell scope of flourine with flex 2? and plz let me

RE: [flexcoders] how to choose an image

2006-11-28 Thread Steve Cox
Unfortunately this isn't as straight forward as you would think. FileReference, for some reason, will not allow you to access the data of the file you have located. Therefore the only way that I am aware of to do what you want would be to upload this file to a server first, then load it into

[flexcoders] Right mouse button with Flex 2

2006-11-28 Thread Claude Hussenet
Is there a way to add an event listener with Flex 2 on the right mouse button as it's possible for the left button ? Thank you Regards Claude Hussenet - Cheap Talk? Check out Yahoo! Messenger's low PC-to-Phone call rates.

[flexcoders] Chart annotation and panning

2006-11-28 Thread Claude Hussenet
Is there an easy way to add an annotation to a chart in the local coordinate of the chart ? So,if the min,max of the vertical or horizontal axis is changed,the location of the annotation will be also changed.The type of annotations that I would like to addare instances of the

[flexcoders] Binding to a custom method: possible?

2006-11-28 Thread ben.clinkinbeard
There was a similar question asked here recently but my needs are different so I am starting a new thread. My needs are as follows: I have a ComboBox whose enabled state needs to be determined by several factors, thus the need for a custom method. The problem is that this doesn't seem to work, no

RE: [flexcoders] Right mouse button with Flex 2

2006-11-28 Thread KP
Yes there is check out the contextmenuitemclick event .I think this is what you are looking for. To be more precise ContextMenuEvent.MENU_ITEM_SELECT. Thanks Kumar _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Claude Hussenet Sent: Tuesday, November

Re: [flexcoders] Re: adding Bitmap to a container

2006-11-28 Thread Daniel Freiman
as you have said, you can't add a bitmap to a container, if the class doesn't implement UICompoenent. You can the bitmap to a UIComponent which can be added to a Container. Also, you can do directly draw the bitmap on the container using Graphics.beginBitmapFill(), but this creates a fair a

[flexcoders] Problems binding the event.result to an object

2006-11-28 Thread stephen50232
Hi, I'm still getting use to Flex, and I'm having a bit of trouble Binding the results of an event to a Object. I have a AS page called Stafftbluser.as, which represents a CFC of mine called tblUserBean.cfc. I also have a function which gets the details of a user from a RemoteObject call and

RE: [flexcoders] Chart annotation and panning

2006-11-28 Thread Samuel R. Neff
We use a PlotSeries with a custom ItemRenderer for this purpose. Seems to work well, but it'd be nice if there was a more explicit way to add annotations. Sam _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Claude Hussenet Sent: Monday, November 27, 2006

[flexcoders] Major bug: External interface doesn't work when inside form

2006-11-28 Thread Daniel Tuppeny
Hi all, I've spent most of the day trying to track down a nasty bug with Flex (or Flash) in ASP.NET. I've not yet tried in Firefox, but it's present in IE6 and IE7. ASP.NET wraps pretty much the entire page in form/form tags. Unfortunately, either Flex or the Flashplayer includes

[flexcoders] Help with Deleting Tree Node---I've tried everything!

2006-11-28 Thread wayneposner
Howdy all I've been searching and reading and trying just about every example I can find to delete a tree node, but nothing seems to work. I've looked at Peter Ent's code, but couldn't get that to work. There was also a posting on the Adobe forums where someone was doing something very

[flexcoders] Re: Calendar...visually show selection for related data?

2006-11-28 Thread qnotemedia
Never really found an answer to this. Anyone know where I can find more primers on extending Components? I've gone through a few, but none of them seem to really apply to this particular dilemma. - Chris --- In flexcoders@yahoogroups.com, qnotemedia [EMAIL PROTECTED] wrote: Sorry -

[flexcoders] Re: Major bug: External interface doesn't work when inside form- WORKAROUND

2006-11-28 Thread Daniel Tuppeny
Here's a workaround. Just before the /script tag, define a page-level variable with the expected name, that references the actual object. I've not tested this well, but at first glance, it seems to work. var ${application} = document.getElementById('${application}'); If you're using

RE: [flexcoders] Problems binding the event.result to an object

2006-11-28 Thread Brian Holmes
Stephen, If you are returning a CFQuery I find it easy to type it as an ArrayCollection. Flex is case sensitive, and more than likely your event.result should be all caps for the field name ( this.detailObject.FIRSTNAME ). You can verify this by setting a breakpoint in your function where assign

[flexcoders] Re: Flex and CF (or how ActionScript is making me want to cry)

2006-11-28 Thread stephen50232
--- In flexcoders@yahoogroups.com, Ben Densmore [EMAIL PROTECTED] wrote: Hi Stephen, you pretty much have it. Steps 1 and 2 can be done in any order. You can do your Flex layout first if you want and then write your CF code or vice versa, that part doesn't really matter. I'm not sure what

[flexcoders] Problems with a DateField as an itemRenderer/editor

2006-11-28 Thread Louie Penaflor
I'm having an issue with DataGridEvent (onItemEnd) and the DateField class. Basically, I've developed a framework that uses onItemEnd from the datagrid. I have components like the combobox for example... onChange calls onItemEnd which takes the data of the combobox and puts it in the dataField of

[flexcoders] accordion, load ALL

2006-11-28 Thread Yiðit Boyar
i have an acoordion box, and when sth is clicked inside one canvas, another is opened and a function in the component included in the opened tab is called. but in the first click, because the canvas objects are not preloaded, i cannot call the function... how can i say the accordion component

[flexcoders] many-to-many managed association in Hibernate destination

2006-11-28 Thread Douglas McCarroll
Hi All, This is essentially a repost of my How to implement Lazy Hibernate? question. I'm still completely stuck. Here's the error message I'm getting: [RPC Fault faultString=Page request made for item with id = '{filmId=null}'. The item was not in the cache and the adapter's get method

RE: [flexcoders] Chart annotation and panning

2006-11-28 Thread Ely Greenfield
Hi Claude. The answer, for now, is to create a custom chart element that does the transformations from data to pixel coordinates to decide where to place a shape. I've posted numerous examples of this recently in this newsgroup and on my blog, at http://www.quietlyscheming.com/. I'm

Re: [flexcoders] Flex help on IRC

2006-11-28 Thread Andrew D. Goodfellow
Great idea Louie! I've been using this channel for about a day now and I'm finding it very useful. I'd definitely encourage everyone on the list to come and participate, or at least lurk. :o) -Andy On 11/27/06, Louie Penaflor [EMAIL PROTECTED] wrote: Hey everyone, For

[flexcoders] To Adobe - new release improvements??

2006-11-28 Thread Daniel Wabyick
Hey Adobe guys, Is it possible for you to address some of the major (or non-major) improvements in the coming Flex release? In particular, I am keen to know if there were significant improvements made to Flexbuilder itself. Stuff like increased compiler performance, ease of use with relative

[flexcoders] Flex Builder Debugger behavior + Firefox

2006-11-28 Thread Rick Schmitty
Is there a way in eclipse to specify the browser to be used without changing the system default browser? When I set my default browser to IE and debug in flex, stopping the debugger closes the IE window that was opened when the debug session started. In Firefox, the tab remains opened (likely

[flexcoders] application structure and proper practice

2006-11-28 Thread bghoward3
i am in the middle of developing an application with several popup windows that a user can populate and send to a db, i am wondering what the best practice is here in regards to my webservice calls. is it best to keep all of my REQUESTES TIED TO THE WEBSERVICE STORED IN THE PARENT DOCUMENT AND

RE: [flexcoders] accordion, load ALL

2006-11-28 Thread Karl Johnson
Well the *easy* answer is to set creationPolicy=all on the accordion. But use this carefully, because there are performance impacts on doing this. Karl From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Yiðit Boyar Sent: Tuesday, November

[flexcoders] Re: totaling items in datagrid

2006-11-28 Thread nall_daniel
No one has an answer to this? Or suggestions? --- In flexcoders@yahoogroups.com, nall_daniel [EMAIL PROTECTED] wrote: I am using the CF/Flex Application Wizard to generate a basic form based application. I have a Master datagrid that list all the purchase requests a user has submitted and a

[flexcoders] role based security vs session based security with a servlet container

2006-11-28 Thread hank williams
I am trying to figure out the best way of implementing security authentication. I am using tomcat, and FDS at the moment for remoting. My server side code is obviously in java. A while back, role base security was recommended as the way to implement security. The idea being that if someone did

RE: [flexcoders] accessing variables through events

2006-11-28 Thread Gordon Smith
i is a local var of the tracePath() method; it can't be accessed outside this method, and it doesn't even exist after tracePath() has finished executing. What you are trying to do is dynamically create N instances of a UIComponent, and when you click one of them, you want to know whether it is

Re: [flexcoders] Re: Hands-on charts

2006-11-28 Thread Tom Fitzpatrick
I'm trying out your suggested approach and ran into a conceptual problem. I can get the mouse coordinates and convert them to data on the mouseDown event - but then how do I track the mouse movement, since that uses a different event (mouseMove), and the function I'm working with is already

[flexcoders] Re: Flex Builder Debugger behavior + Firefox

2006-11-28 Thread ben.clinkinbeard
Window - Preferences - General - Web Browser HTH, Ben --- In flexcoders@yahoogroups.com, Rick Schmitty [EMAIL PROTECTED] wrote: Is there a way in eclipse to specify the browser to be used without changing the system default browser? When I set my default browser to IE and debug in flex,

Re: [flexcoders] Flex Builder Debugger behavior + Firefox

2006-11-28 Thread leds usop
Ever considered using IE tab in Firefox? It's a free extension you can download and gives you the additional capability of changing your renderer (current tab and window) on top of deploying IE within a mozilla tab (showing the same page of course). --- Rick Schmitty [EMAIL PROTECTED] wrote:

Re: [flexcoders] Re: FLEX.war and PROJECT.war

2006-11-28 Thread James Ward
It may help you to reference a few Ant build files that do this: http://flexapps.cvs.sourceforge.net/flexapps/flexpaint/build.xml?revision=1.1.1.1view=markup http://flexapps.cvs.sourceforge.net/flexapps/census/build.xml?revision=1.9view=markup -James On Tue, 2006-11-28 at 05:22 +, sanjaypmg

Re: [flexcoders] Flex Builder Debugger behavior + Firefox

2006-11-28 Thread Muzak
Window Preferences General Web Browser regards, Muzak - Original Message - From: Rick Schmitty [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, November 28, 2006 6:35 PM Subject: [flexcoders] Flex Builder Debugger behavior + Firefox Is there a way in eclipse to

RE: [flexcoders] Re: Hands-on charts

2006-11-28 Thread Ely Greenfield
Yup. To do mouse tracking, you generally need a mouse down, mouse move, and mouse up handler. Almost all of my code that does mouse tracking looks like this: someComponent mouseDown=startTracking(event); / private function startTracking(e:MouseEvent):void { // listen to the

Re: [flexcoders] To Adobe - new release improvements??

2006-11-28 Thread leds usop
Im not from Adobe but thanks to Matt CHotin, I have been given the oppportunity to play with the prerelease 2.01 update... They say it's not a major release but for me, the inclusion of the mx:module support/framework is one big help... think of the capability of 'breaking apart' your big apps

[flexcoders] Vertical Scroll bar not showing up

2006-11-28 Thread flexy_ria
Hi, I am placing titlewindow's in a manner which beyond screen coordinates, however, scrollbars are not showing. I have the scrollbar set to auto but its still not showing.. where to? Thanks in advance.

[flexcoders] Managing server-side exceptions when not using flex proxy

2006-11-28 Thread Pablo Apanasionek
Any C#/.NET user, any advice on catching and showing user-friendly messages when a FaultEvent rises on a Webservice call, being those coded in C#? The only message i get is Unable to connect to endpoint ... Thanks in advance! Pablo Gustavo Apanasionek

Re: [flexcoders] many-to-many managed association in Hibernate destination

2006-11-28 Thread Richard Rodseth
I'm not currently using Flex, but I don't believe it's possible to map ActionScript classes to lazily-loaded Hibernate classes because of all the hibernate proxy stuff. I was under the impression that you have to use DTOs, rather than mapping your client classes to your domain objects. Am I

[flexcoders] Webservices fault message when not using proxy

2006-11-28 Thread Pablo Apanasionek
I've checked the livedocs regarding fault events on WebService calls, but I haven't found anything regarding this: When not using the proxy (useProxy=false), the fault message raised by the server seem to be choked by a black hole while returning to the SWF file, making it impossible to show a

[flexcoders] Re: totaling items in datagrid

2006-11-28 Thread bsdensmore
a labelfunction will do the calculations as you tab through the fields or as change rows on the grid. I use this to do some calculations and it works great. private function calcAdjAmount(item:Object,column:DataGridColumn):String { var adjustedAmt:Number;

RE: [flexcoders] Flex 2 Charting dynamic backgroundElements

2006-11-28 Thread Ely Greenfield
You mean it's in front of the gridlines? The gridlines that appear in charts by default is really just another backgroundElement. by default, each chart creates a single instance of the mx.charts.GridLines class, and inserts it into the backgroundElements array. If you set your own

[flexcoders] Webservices fault message when not using proxy

2006-11-28 Thread Pablo Apanasionek
I've checked the livedocs regarding fault events on WebService calls, but I haven't found anything regarding this: When not using the proxy (useProxy=false), the fault message raised by the server seem to be choked by a black hole while returning to the SWF file, making it impossible to show a

[flexcoders] WebService in Firefox not working properly

2006-11-28 Thread Daniel
Im using a very simple Cairngorm example found in Internet. I attached it to a Web Service that I generated in Java (which is working perfectly) Surprisingly when I run my application in Firefox, it just doesn't work but in Internet Explorer works just fine. The error Im getting is the following:

Re: [flexcoders] Flex Builder Debugger behavior + Firefox

2006-11-28 Thread Nick Collins
under preferences - general - web browser you can choose which to launch in. On 11/28/06, Rick Schmitty [EMAIL PROTECTED] wrote: Is there a way in eclipse to specify the browser to be used without changing the system default browser? When I set my default browser to IE and debug in flex,

RE: [flexcoders] Webservices fault message when not using proxy

2006-11-28 Thread Carson Hager
That's correct. This is a well known issue. The problem is that certain browser won't allow the plugin to access the returned content when the http status code is 500 - a requirement for web service faults. You can work around this by suppressing the 500 and changing it to a 200. What are your web

[flexcoders] FDS - possible bug???

2006-11-28 Thread Dmitry Miller
Hello, everyone I am using FDS Java Adapter and Assembler approach. I am currently in the process of making fill() methods more smart and started playing with autoRefreshFill() and refreshFill() methods. I have discovered the following issue Looks like autoRefreshFill() not being executed.

RE: [flexcoders] WebService in Firefox not working properly

2006-11-28 Thread Tracy Spratt
Start by determining which line of your code is attempting to access the null object, and then which object that is. We could guess at what is different between IE and FF, but that's all. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL

[flexcoders] Re: Hands-on charts

2006-11-28 Thread mark_g_wales
Tom, I'm not sure if you are stuck on using charts to do this, but I think I accomplished a similar effect to what you want a while back by using the graphics package to draw a rectangle around a slider. I listened for slider events and would then clear and re-run the drawRect on each move. It

[flexcoders] Populating Form with Many-to-Many Relationship Data?

2006-11-28 Thread Tom Sammons
Hi all, I'm pretty sure that any answers for this one will help a lot of people, since the basis of it crosses many complex business applications. I have existing CF apps (Purchase Requests, Travel Requests, Request Approvals, etc.) that contain many-to-many relationships, such as PR Number

Re: [flexcoders] Problems with a DateField as an itemRenderer/editor

2006-11-28 Thread leds usop
Is onItemEnd a custom event listener? or do you mean onItemEditEnd? I dont recall having an 'onItemEnd' associated with Datagrid listener in any way.. please correct me if im wrong. When you use a datefield as item renderer or item editor a list control (or any drop-in item renderer/item

[flexcoders] Re: Binding to a custom method: possible?

2006-11-28 Thread ben.clinkinbeard
Anyone? --- In flexcoders@yahoogroups.com, ben.clinkinbeard [EMAIL PROTECTED] wrote: There was a similar question asked here recently but my needs are different so I am starting a new thread. My needs are as follows: I have a ComboBox whose enabled state needs to be determined by several

[flexcoders] ItemRenderer implemented as ActionScript class

2006-11-28 Thread dradivoj
Does anyone have an example of ItemRenderer implemented as an ActionScript class instead of mxml component. I would like to change dynamically the structure of rendered items based on the data property. Reagrds, Dusan

Re: [flexcoders] Binding to a custom method: possible?

2006-11-28 Thread slangeberg
In this case, your function is not referencing anything Bindable. Something like this may work, but please clarify - if this is not what you're looking for: [Bindable] private var bindableProp:String; private function isEnabled( s:String ):Boolean { ... } mx:ComboBox id=cb enabled={isEnabled(

RE: [flexcoders] Re: Binding to a custom method: possible?

2006-11-28 Thread Stefan Richter
I had a similar problem and while somewhat unrelated this may help. I wanted to set an image inside an itemRenderer (for a Listbox) depending on the data for the current row. I came up with this, thanks to Tink for the idea: ?xml version=1.0 encoding=utf-8? mx:HBox

[flexcoders] Re: waiting for the debugger

2006-11-28 Thread Mike Morearty
You say it sometimes does that? Hmm. I don't know what's happening in your specific case, but I can tell you, in general, how Flex Builder connects to the debugger. When you click Debug, Flex Builder launches your browser, pointing it at the HTML wrapper for the debug version of the app, e.g.

[flexcoders] Re: Binding to a custom method: possible?

2006-11-28 Thread Doug Lowder
Hi Ben, Have you tried a getter function? [Bindable] private function get isEnabled() : Boolean { ... } mx:ComboBox id=cb enabled={isEnabled}/ --- In flexcoders@yahoogroups.com, ben.clinkinbeard [EMAIL PROTECTED] wrote: Anyone? --- In flexcoders@yahoogroups.com, ben.clinkinbeard

[flexcoders] Built-in way to determine the number of XML elements

2006-11-28 Thread Daniel Thompson
I'm trying to see if a response from the server is empty. So, in one case I end up with: root matches/ /root And in the other, I get: root matches match ... / /matches /root Using this fancy E4X, how do I test for the different conditions? I always seem to be getting back an XMLList,

[flexcoders] Re: Text instance does not calculate its height properly when in scrollable Box

2006-11-28 Thread Sergey Kovalyov
Any suggestions?.. On 11/27/06, Sergey Kovalyov [EMAIL PROTECTED] wrote: Hi All! When Text instance is in scrollable Box and user scrolls vertical scrollbar to the bottommost position, bottom edge of the Text remains invisible (cut by mask). How to fix it? Look at the example below that

RE: [flexcoders] EventDispatching Listening

2006-11-28 Thread Stacy Young
I believe only DisplayObjects have a bubbling phase. Does you component extend Sprite or UIComponent? -Stace From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of patricklemiuex Sent: Monday, November 27, 2006 7:05 PM To:

Re: [flexcoders] WebService in Firefox not working properly

2006-11-28 Thread Daniel Wabyick
You may want to check which point versions of the Flash Player you are running. It appears the latest for Firefox is 9,0,28. Its a longshot, but worth checking. Cheers, -D Daniel wrote: Im using a very simple Cairngorm example found in Internet. I attached it to a Web Service that I

Re: [flexcoders] Re: Hands-on charts

2006-11-28 Thread Tom Fitzpatrick
I'm trying to use a chart to do this because the data are currently displayed in charts, so that seemed the most appropriate control to use for making data changes. That said, I'd be very interested in seeing how you implemented this. Any chance of sharing your code? - Tom mark_g_wales

RE: [flexcoders] accessing variables through events

2006-11-28 Thread We Made That design
Thank you Gordon, That worked great. I guess I wasnt too clear on what I wanted but you nailed it. I was trying to add myUIComponent.i = i without extending the UIComponent in a subclass. I came to the same conclusion by appending the vars to an existing property already there and realized I had

[flexcoders] Re: Data binding nested data -- UPDATED

2006-11-28 Thread dzeitman
All, I came up with alternative to using a label function. Use an inline itemRenderer: then reference it as data.name.first where data is the dataprovider's list item. Note: To reference the the selected item; use: myGrid.selectedItem.name.first eg: mx:TextArea x=10 y=302 width=289

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

2006-11-28 Thread John C. Bland II
Good to know. Thx Matt. On 11/27/06, Matt Chotin [EMAIL PROTECTED] wrote: FYI, Apollo will have application signing -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *John C. Bland II *Sent:* Sunday, November 26, 2006 8:43 PM *To:*

[flexcoders] Ely Landscape Zoomer Help

2006-11-28 Thread richmcgillicuddy
Ely, Quick question on your landscape zoomer. We are trying to add a mouse drag pan to it and it seems like something that should be pretty easy but we cannot get it to work reliably. What we ended up doing is some simple mouse down, mouse move, mouse up and with the zooming, it causes issues

Re: [flexcoders] To Adobe - new release improvements??

2006-11-28 Thread John Kirby
When the 2.01 update comes out... will it be for BOTH Mac and Windows? Does anyone know if they are now on the same release train? leds usop said the following: Im not from Adobe but thanks to Matt CHotin, I have been given the oppportunity to play with the prerelease 2.01 update... They

[flexcoders] Datefield maxYear behavior Verification

2006-11-28 Thread leds usop
I have observed (both in Flex version 2 and 2.01 PreRealease) that on a datefield (and probably datechooser control too) with navigateYear set to enabled, if the maxYear was set to the selectedDate's Year, the set maxYear value seems to be nullified. i.e., selected date is January 1, 2006, and

Re: [flexcoders] To Adobe - new release improvements??

2006-11-28 Thread Andrew Muller
John The Mac version of Flex builder (beta) has some kind of implementation of 2.0.1 already, to quote Adobe Labs: You can also download a supplementary collection of documentation that covers features that are unique to Flex Builder 2 for Macintosh (Flex 2.0.1 ).

[flexcoders] rotation of vertical axis title

2006-11-28 Thread Pan Troglodytes
I think the answer is no, but I'll ask it anyway - is there a way to rotate the vertical axis title so it reads from top to bottom, instead of the current bottom to top? Second, if there is no way, who chose the opposite of the normal way to be the default? ;) -- Jason

RE: [flexcoders] Problems with a DateField as an itemRenderer/editor

2006-11-28 Thread Louie Penaflor
You are correct. It is itemEditEnd. I was just in a rush. As for the issue, the date is populating right. It's when I select a date from the calendar. When you select a date, I dispatch the DataGridEvent itemEditEnd. This even should have Event.currentTarget.editedItemRenderer and

RE: [flexcoders] accessing variables through events

2006-11-28 Thread Shannon Hicks
You don't. You would want to create a new custom event that extends MouseEvent, adding in the parameter you want to pass. Shan _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Tooley Sent: Monday, November 27, 2006 9:46 PM To: flexcoders@yahoogroups.com

[flexcoders] creating line chart using action script

2006-11-28 Thread arpan srivastava
Hi , I need to draw a linechart using only actionscript. I have done following: private var cat:CategoryAxis; private var lineS:LineSeries; this.dataProvider = _myDataProvider; cat = new CategoryAxis(); cat.categoryField =

RE: [flexcoders] Built-in way to determine the number of XML elements

2006-11-28 Thread Gordon Smith
length doesn'tdo it I think matches.match.length() -- not matches.match.length -- should give you the number of match tags. - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Daniel Thompson Sent: Tuesday, November 28,

  1   2   >