[flexcoders] Problem with ColumnChart within a repeater

2005-12-01 Thread jrab2999
Hello, I am trying to use a ColumnChart within a Repeater. Sadly the charts are always empty. If I copy and paste the chart below the repeater, the chart is displayed with valid vlaues of the last repeat. The bindings seem to be right. So why the charts are empty if it's inside the repeater? Is

Re: [flexcoders] Socket (not XMLSocket) Issue

2005-12-01 Thread Ralf Rottmann
Title: Re: [flexcoders] Socket (not XMLSocket) Issue Darron, Thanks so much. Sometimes it's better to know something cannot be done than to search for a solution hours and hours. Two remaining questions: 1. What do you think about using something like a sequence number? Client Requests

[flexcoders] showing values inside datagrid when click on button outside

2005-12-01 Thread sandip_patil01
Hi All, I have data grid populated with records from DB as, mx:DataGrid id=dGrid dataProvider={lglDocLst} mx:columns mx:Array mx:DataGridColumn headerText=Item Name columnName=att_Name / /mx:Array /mx:columns /mx:DataGrid where lglDocLst is values returned from my Java

[flexcoders] LabelFunction problem with DG built dynamically

2005-12-01 Thread Sreejith Unnikrishnan
I have a datagrid that is built dynamically via AS. I add columns to the datagrid var column:DataGridColumn = new DataGridColumn("Apples"); column.headerText = "Apples"; column.columnName = "apples"; column.labelFunction = formatApples; The labelFunction does not seem to work.

[flexcoders] Re: Rich Internet Application (HaloGreen) Stencil for Microsoft Visio 2002

2005-12-01 Thread Darren Houle
Where exactly did I make a false pretense of free stuff? Sorry if it came across like that, but there was no intention to deceive. I actually had it set at less but Nimer suggested raising it to $25 after using it. I split the difference and went $20 (it did take me three weeks to develop

[flexcoders] Re: Rich Internet Application (HaloGreen) Stencil for Microsoft Visio 2002

2005-12-01 Thread Darren Houle
Dear WTF, Not sure where you get the linking under false pretense of free stuff because I never said it was free, just pointed to more information. I'm sorry you misunderstood. No secrets here, it's 20 bucks and includes a free update when the new Flex 2.0 object masters are added to the

Re: [flexcoders] gateway-config.xml configuration file description in Flex 1.5

2005-12-01 Thread Mykola Paliyenko
Ok Matt What excectly I need is following: 1. Create my own adapter (don't ask me why I just need it), 2. Configure it with one string property, some parameter. It is a common way for Filters, Servlets etc but seems to be impossible for configuring adapters. If it is not impossible I'd like

Re: [flexcoders] concurrency=last

2005-12-01 Thread Rich Tretola
Yes, the concurrency in set in the service tag and not actionscript. I will create a workaround and I will also try to test Flex 2 to see if it is still a bug. Rich On 11/30/05, Matt Chotin [EMAIL PROTECTED] wrote: Sounds like a bug then, the workaround Ben suggested might be

[flexcoders] Aliased embedded fonts

2005-12-01 Thread jrab2999
Is there a way to alias embedded fonts? I cannot find any option for this! Thanks. Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/nhFolB/TM

[flexcoders] Re: Handling dataObject within a CellRenderer

2005-12-01 Thread keishichi2001
Any documents i should read first to understand your answer well? -k --- In flexcoders@yahoogroups.com, Stacey Mulcahy [EMAIL PROTECTED] wrote: No- something like this. ?xml version=1.0? !-renderer.mxml -- mx:VBox xmlns:mx=http://www.macromedia.com/2005/mxml;

[flexcoders] Re: listen a custom event from a dialog(Flex 2.0)

2005-12-01 Thread keishichi2001
any kind of suggestion would be highly appreciated -k --- In flexcoders@yahoogroups.com, keishichi2001 [EMAIL PROTECTED] wrote: My application has popup window which is triggered from the main application. var popup:Object = PopUpManager.popUpWindow(sWindow, this, modal);

[flexcoders] Re: columnCount prop doesn't work in TileList(Flex2.0)

2005-12-01 Thread keishichi2001
any info? -k --- In flexcoders@yahoogroups.com, keishichi2001 [EMAIL PROTECTED] wrote: My application has a TileList as following. mx:TileList id=tl_month width=100% height=100% columnCount=7 borderStyle=none dataProvider={myService.getData.result} listItemRenderer=myCellRenderer

RES: [flexcoders] Re: Flex 2.0 : How to validate form fields ?

2005-12-01 Thread Michel Bertrand
Thank you ! -Mensagem original- De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Em nome de Darin Kohles Enviada em: quinta-feira, 1 de dezembro de 2005 02:45 Para: flexcoders@yahoogroups.com Assunto: [flexcoders] Re: Flex 2.0 : How to validate form fields ? --- In

RE: [flexcoders] gateway-config.xml configuration file description in Flex 1.5

2005-12-01 Thread Dirk Eismann
Carbon Five has developed a SpringBeanAdapter that can be used with Flex Remoting - maybe this is a good starting point for you? http://www.carbonfive.com/community/archives/2005/07/springbeanadapt.htm l http://carbonfive.sourceforge.net/springadapter/ Dirk.

Re: [flexcoders] Re: listen a custom event from a dialog(Flex 2.0)

2005-12-01 Thread Sreenivas R
Hi Keishichi, Are you saying you are not receiving the event or that you are receiving the event but tile list is not getting refreshed ? You can put a trace / alert in the event handler and check whether you are receiving the event or not. -SreenivasOn 12/1/05, keishichi2001 [EMAIL

Re: [flexcoders] Re: listen a custom event from a dialog(Flex 2.0)

2005-12-01 Thread Martin Wood
Shouldnt you be adding a listener to the component? you have this : private function onCreationComplete() { addEventListener(RELOAD_DATA, loadData); } maybe you can do something like this : private function createDialog():Void { var myDialog:DialogWindow =

[flexcoders] To Moderator

2005-12-01 Thread JIGNESH M. DODIYA
Hellow Mr. Moderator, I just want to describe you my problem..Hope u can help me. Its seen often that whenever I post my problem in the Flexcoder as new post, i have seen that I get the Email in my list very late, And many times I have faced the problem that I have to send same post for 2-3

[flexcoders] PrintJob cutting text on datagrid

2005-12-01 Thread Mika Kiljunen
Hi, Can someone explain why PrintJob is cutting the bottom of letters like g, y,q etc?? See pic to explain. In the pic (a printed datagrid) the numbers should have text mg after them, but it has mg and the g has no bottom on it! Is there a way to fix this? -Mika --

Re: [flexcoders] gateway-config.xml configuration file description in Flex 1.5

2005-12-01 Thread Mykola Paliyenko
Dirk, thanx I'm already using it but I want to enchance it a bit and need to be able to pass some parameters to it. Also I do not like undocumented features like the ones I'm asking in this thread about.. Its OK for open source where you can see sources but its not OK for commercial servers.

RE: [flexcoders] setFocus() problem.

2005-12-01 Thread Doodi, Hari - BLS CTR
Works perfectly!! Thanks for your explanation and code. Thanks! Hari -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of JesterXL Sent: Wednesday, November 30, 2005 4:30 PM To: flexcoders@yahoogroups.com Subject: Re:

Re: [flexcoders] How to specify root application folder

2005-12-01 Thread Mykola Paliyenko
Tracy, Thanx it works. Where do you get such info about undocumented features like @ContextRoot()? Maybe there are some more interesting things there. As far as I understand the flex architecture such tags like @ContextRoot() are processed during mxml2AS translation on the server, The question

Re: [flexcoders] instanceof on Object

2005-12-01 Thread Clint Modien
hey Jess... interested to know about the solution you went with on this... On 11/30/05, Paul Frantz [EMAIL PROTECTED] wrote: Hmm might be missing something here but Joe's suggestion in http://www.mail-archive.com/flexcoders@yahoogroups.com/msg09275.html works ok. eg.. Fred.as classFred {

Re: [flexcoders] LabelFunction problem with DG built dynamically

2005-12-01 Thread JesterXL
That's actually right. LabelFunctions just return a string, so most don't really care about scope. Does yours? If so, do: column.labelFunction = Delegate.create(this, formatApples); - Original Message - From: Sreejith Unnikrishnan To: flexcoders@yahoogroups.com Sent:

[flexcoders] tomcat mxml/swf expiry issue (flex 1.5)

2005-12-01 Thread bhaq1972
Hi We recently purchased a flex license and i'm just trying out a few initial things. the licensed flex server is installed on apache tomcat. My problem is any mxml pages i request, expire after 1 day i.e. .. when i go to work the following day, and request the same pages, it gets

RE: [flexcoders] Cross Server Socket Connection (NOT XMLSocket)

2005-12-01 Thread Steve Cox
Policy files are also applicable to socket connections afaik -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ralf Rottmann Sent: 01 December 2005 15:02 To: flexcoders@yahoogroups.com Subject: [flexcoders] Cross Server Socket

Re: [flexcoders] instanceof on Object

2005-12-01 Thread JesterXL
I just wrote clone methods. I need a true copy, so ensured each was made correctly. Easy for the simple ones (like Flex 2 events), harder for ones with arrays full of objects. I haven't figured out inheritanced yet, but since these VO's are strictly for the server guy and I to effectively

RE: [flexcoders] Cross Server Socket Connection (NOT XMLSocket)

2005-12-01 Thread Ralf Rottmann
Any idea how that should work? You call the Socket.connect(server, port) class to establish a connection (and that connection GETS established even without any policy files). On the other side there is a simple echo server. Who and how should the policy file get served via the socket?

RE: [flexcoders] Cross Server Socket Connection (NOT XMLSocket)

2005-12-01 Thread Steve Cox
IIRC you need a policy on the webserver at the domain you are connecting. This was certainly the case for XMLSocket, not sure about binary, but Ive not heard its any different. (Doesnt mean its not different though). Ie if you are connecting to myserver.com port 7000 youd need a

[flexcoders] Re: Newbie Question

2005-12-01 Thread im_sean_s
João, Thank you so much for the quick reply. This binding thing takes some getting use to. - Sean --- In flexcoders@yahoogroups.com, João Fernandes [EMAIL PROTECTED] wrote: I usually use the selectedIndex property and use a function to return the index of item corresponding to my id.

RE: [flexcoders] Cross Server Socket Connection (NOT XMLSocket)

2005-12-01 Thread Ralf Rottmann
Youre right, Scott. The policy file needs to be on the *destination* server and that causes the problem. In a socket world the destination server might not even be a web server. E.g. the server could be a simple echo server which just sends back all text received on a specific port. You

RE: [flexcoders] Cross Server Socket Connection (NOT XMLSocket)

2005-12-01 Thread Steve Cox
With XML sockets you could send a policy file over the wire through the socket itself, however as youre not going to be able to do this with a telnet server Im not sure you have any options. Only work around I can think of is to write a bounce app that runs on your webserver and

Re: [flexcoders] LabelFunction problem with DG built dynamically

2005-12-01 Thread Sreejith Unnikrishnan
Thank you. Works like a charm! JesterXL wrote: That's actually right. LabelFunctions just return a string, so most don't really care about scope. Does yours? If so, do: column.labelFunction = Delegate.create(this, formatApples); - Original Message - From:

[flexcoders] It's simple but.......

2005-12-01 Thread digital_eyezed
I have a returned VO from a remote Object call which contains these values: firstValue = 150.0 secondValue = 3670.27001953125 Ok, I want to put this into a pie Chart, how do I do it? The VO is called myRatio. Thanks in advance. Iain Yahoo! Groups Sponsor

RE: [flexcoders] tomcat mxml/swf expiry issue (flex 1.5)

2005-12-01 Thread Carson Hager
We recommend precompiling your MXML files with mxmlc and deploying just the SWFs to the web server. This will definitely solve your problem. There is plenty of information on mxmlc in the Flex docs. Technically, you can turn on production mode for your app but production mode has its drawbacks.

[flexcoders] Applying DropShadowFilter causes movieclip to go blank

2005-12-01 Thread europejc
I'm having an issue in which I have a Flex application that is loading a Flash 8 SWF which applies a DropShadowFilter to itself. The object that I apply the DropShadow will disappear until it is moved. Is there a way to specifically refresh the current player view or something along that nature?

Re: [flexcoders] It's simple but.......

2005-12-01 Thread Jeff Tapper
Format the incoming data into an ArrayCollection of an array of objects, and set that array as the dataProvider of the chart. Something like this ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml; creationComplete=initApp() mx:Script ![CDATA[

[flexcoders] Could someone point me to an example of validator.hasErrors()

2005-12-01 Thread Libby
I can't find an example and I guess I don't understand how it is to be used from actionscript. I am expecting to be able to do something like this: if(theDocument.validators.myValidator.hasErrors()) { // handle it; } but I can't figure out how to get there from here. thanks, Libby

RE: [flexcoders] Cross Server Socket Connection (NOT XMLSocket)

2005-12-01 Thread Theodore E Patrick
Ralf, We are working on a Socket Proxy Server at IFBIN. The proxy is hosted on your domain and allows you to connect to any port on any 3rd party server using Flash as the client with Player 8.5. It is useful for situations involving streaming and for data/port access to 3rd party

AW: [flexcoders] instanceof on Object

2005-12-01 Thread Christoph Diefenthal
I needed cloning with inheritance one time. I did it this way. Worked perfectly... *** ValueObject class ValueObject{ public function clone (parent:ValueObject):ValueObject{ var clone:ValueObject= new ValueObject(); return

RE: [flexcoders] tomcat mxml/swf expiry issue (flex 1.5)

2005-12-01 Thread Matt Chotin
In bods case though it sounds like the license isnt installed correctly so the server as acting as a developer edition (which will recompile after a day). So make sure your license got installed correctly (check the console when you start your server or look at the logs and youll see

RE: [flexcoders] gateway-config.xml configuration file description in Flex 1.5

2005-12-01 Thread Matt Chotin
Well its undocumented because were not expecting you to mess with that portion nor planning on supporting you doing it J Flex 2 is a re-implementation of much of that logic so everything is different internally, who knows if the quality is as poor as you say anymore. Matt

Re: [flexcoders] instanceof on Object

2005-12-01 Thread JesterXL
Having parameters in your ValueObject doesn't screw them up? For ColdFusion, it doesn't seem to matter, but for AMFPHP OpenAMF, it didn't seem to fly... guess I need to re-investigate. I tried doing: function clone() { var sub = super.clone(); var me = new ThisClass(); for(var p

RE: [flexcoders] tomcat mxml/swf expiry issue (flex 1.5)

2005-12-01 Thread Carson Hager
Good point. If the license file isn't set up, all the precompilation in the world's not going to do him any good. :) Carson Carson HagerCynergy Systems, Inc.http://www.cynergysystems.com Email: [EMAIL PROTECTED]Office: 866-CYNERGYMobile:

RE: [flexcoders] Re: Rich Internet Application (HaloGreen) Stencil for Microsoft Visio 2002

2005-12-01 Thread Merrill, Jason
I have to side with JesterXL and Jeremy, even though its related to coding in Flex, its not a Flex question you have, or even a Flex announcement, - just a flex related product youre SELLING here, and especially given your explanation below, it spamtastic. Im sure many of us on this list

Re: [flexcoders] Cross Server Socket Connection (NOT XMLSocket)

2005-12-01 Thread Ralf Rottmann
Title: Re: [flexcoders] Cross Server Socket Connection (NOT XMLSocket) Ted, Does that mean that - being a proud IFBIN subscriber :-) - I will have access to the proxy server? Regards RR -- mobile: +49-(0)170-914-5495 email: [EMAIL PROTECTED] -Original Message- From:

[flexcoders] Re: Could someone point me to an example of validator.hasErrors()

2005-12-01 Thread Libby
I would like to disable a button, from ActionScript, if the validator.hasErrors(). It can't be that difficult, can it? --- In flexcoders@yahoogroups.com, Libby [EMAIL PROTECTED] wrote: I can't find an example and I guess I don't understand how it is to be used from actionscript. I am

RE: [flexcoders] Re: Could someone point me to an example of validator.hasErrors()

2005-12-01 Thread Matt Chotin
In 1.5 you can only access the validator instance in the validate event handler, so thats where youd need to do your work. mx:StringValidator field= validate=myButton.enabled = !event.validator.hasErrors() / From: flexcoders@yahoogroups.com

[flexcoders] Re: Could someone point me to an example of validator.hasErrors()

2005-12-01 Thread Libby
Ok, 2 questions - 1, how do you know that, is it written down somewhere where I can look it up, and 2, if you have extended the validator then in order to do this you would need to overload the validate() function, right? Thanks, Libby --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL

[flexcoders] PreferencesWindow design pattern

2005-12-01 Thread charged2885
Note, this example is mitigated. there are dozens of preferences i want my users to be able to set. Anyways I have a simple preference i want my users to be able to set: showConsoleWindow. I have created a simple PreferencesWindow with a CheckBox on it. This checkbox's selected property

Re: [flexcoders] Re: Could someone point me to an example of validator.hasErrors()

2005-12-01 Thread Sreejith Unnikrishnan
Check the docs for the details you are looking for, specially under mx.validators http://livedocs.macromedia.com/flex/15/asdocs_en/ Libby wrote: Ok, 2 questions - 1, how do you know that, is it written down somewhere where I can look it up, and 2, if you have extended the validator then in

Re: [flexcoders] PreferencesWindow design pattern

2005-12-01 Thread JesterXL
That's what I've been deadling with for the past 2 days! I won't suggest best practices, I'll just suggest what works as of 1:00pm this afternoon. My model is much like yours, on ModelLocator, but it's not actually written to unless the user hits save or apply. As such, I create a copy of the

[flexcoders] MXML into MXML

2005-12-01 Thread m_ollman
Hi all Had anybody come across a way of injecting MXML (code) into a flex app from a DB/file. The example would be 25 MXML templates - If I choose option 13 I get template 13 - which is maintained in Flex Builder then uploaded to the DB. At request time the MXML loads into a pre-defined area

[flexcoders] Does System.security.loadPolicyFile work with Flex 2.0 Alpha for anybody?

2005-12-01 Thread Ralf Rottmann
Working with Flex 2.0 Alpha and XMLSockets, Sockets and WebServices since a couple of days we never could get security policy files working is there a bug in Flex 2.0 Alpha? If you could perhaps try to do a System.security.loadPolicyFile(http://yourdomain.com/foo.xml); and let

RE: [flexcoders] Re: Could someone point me to an example of validator.hasErrors()

2005-12-01 Thread Matt Chotin
I know it because I wrote it but most of it should be mentioned in the docs in the validating data chapter (I think thats the title but havent checked). If you are using a subclass of the validator you dont need to make any changes, the validate event is fired from a different part of

RE: [flexcoders] Does System.security.loadPolicyFile work with Flex 2.0 Alpha for anybody?

2005-12-01 Thread Matt Chotin
I think its flash.system.Security.loadPolicyFile() import flash.system.Security; Security.loadPolicyFile() Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Ralf Rottmann Sent: Thursday, December 01, 2005 4:22 PM To:

RE: [flexcoders] showing values inside datagrid when click on button outside

2005-12-01 Thread Matt Chotin
You want to print all of the att_Name values but the problem is that everything inside is objects. Youre going to need to do it differently. function showAlert():Void { var str:String = ; for (var i:Number=0; i lglDocLst.length; i++) { str += lglDocList[i].att_Name; if (i

Re: [flexcoders] Does System.security.loadPolicyFile work with Flex 2.0 Alpha for anybody?

2005-12-01 Thread Ralf Rottmann
Title: Re: [flexcoders] Does System.security.loadPolicyFile work with Flex 2.0 Alpha for anybody? Hi Matt, Answering from a Blackberry so I cannot test it right away but if you're right it's wrong in the entire documentation. Thanks for answering. I'll test asap. Regards RR -- mobile:

[flexcoders] Annpuncing Log4x

2005-12-01 Thread Dave Wolf
I am incredibly excited to announce the availability of Log4x to the Flex community. Log4x is a toolkit to assist in the development and runtime monitoring and debugging of applications built with Macromedia Flex. Based on and designed to integrate with Log4j, effectively the most popular

RE: [flexcoders] Cross Server Socket Connection (NOT XMLSocket)

2005-12-01 Thread Theodore E Patrick
Does that mean that - being a proud IFBIN subscriber :-) - I will have access to the proxy server? Ralf, Yes. The socket proxy server will ship as an IFBIN example combined with full source for the server as well. There will be an example using Flex 2 that utilizes the example. At Spark Europe

RE: [flexcoders] Annpuncing Log4x

2005-12-01 Thread Theodore E Patrick
I know I am biased as I work on the Cynergy team but Log4X is by far one of the best logging frameworks I have ever seen for Flex development. The key is that in reading 1 log you can see client events inline with server log events. You can see DB messages, WS calls, and client calls inline and

RE: [flexcoders] instanceof on Object

2005-12-01 Thread Dirk Eismann
Jesse, I wonder why Joe's (Berkovitz) approach didn't worked for you. What went wroing? Dirk. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL Sent: Thursday, December 01, 2005 7:24 PM To: flexcoders@yahoogroups.com Subject: Re: