Re: [flexcoders] Possible to use labelFunction and change text color?

2006-01-20 Thread JesterXL
Better off to use a cellRenderer G. Here's some code to get you started. ?xml version=1.0 encoding=utf-8? mx:Label xmlns:mx=http://www.macromedia.com/2003/mxml; mouseOver=doMouseOver() mouseOut=doMouseOut() mx:Script ![CDATA[ private var lastStyle:Object; private var state:String;

Re: [flexcoders] setPropertiesAt and Cairngorm are not playing together nicely

2006-01-20 Thread Aldo Bucchi
hi, looks like a lifecycle problem to me. try to see if the DataGrid is already created when you try the calls that fail. note that if the DG is inside a viewstack or another container with a creationPolicy, it might not get instantiated right away unless you set the policy to all best, aldo

RE: [flexcoders] setPropertiesAt and Cairngorm are not playing together nicely

2006-01-20 Thread Abdul Qabiz
 Place the code in creationComplete event-handler of DataGrid. I think, it would work. -abdul From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Aldo BucchiSent: Friday, January 20, 2006 4:08 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders]

[flexcoders] Comment colors flex 2

2006-01-20 Thread yaagcur
Is there any way to set up unique colors for different types of comments which I would like to add e.g Original designers Added Clarification To Do list -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:

[flexcoders] Custom Login

2006-01-20 Thread geisergd
I am a ColdFusion programmer trying to transition to flex. I have built a custom login window that displays, but doesn't do anything. My goal is to use the information from the login to attempt authentication to an Oracle database. If the user can't authenticate, I want to connect the user

[flexcoders] Custom Login

2006-01-20 Thread geisergd
I am a ColdFusion programmer trying to transition to flex. I have built a custom login window that displays, but doesn't do anything. My goal is to use the information from the login to attempt authentication to an Oracle database. If the user can't authenticate, I want to connect the user using a

[flexcoders] Re: AS3/Flex2 - Effects and Cancelling them

2006-01-20 Thread ucf_xealot
Have you actually tried that? Because that was one of the things I tried before sending the email and it didn't seem to work for me. I thought the Move effect created an EffecInstance with my information and set it on it's way, therefore changing the Moves xTo would affect the instance. --- In

RE: [flexcoders] Custom Login

2006-01-20 Thread João Fernandes
Quick reply: On your remote Object (if you are connecting to cf trough remoting) you can set credentials like this: myRemoteObject.connection.setCredentials(myUser,myPassword); myRemoteObject.callSomeMethod(someArgs); on Application.cfc you can set inside onRequestStart function cflogin

[flexcoders] View Directory Tree

2006-01-20 Thread Jason Doyle
I am wanting to create a view into a directory on a server. Can someone point me in the right direction. I have no idea how to do this. Thanks. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:

[flexcoders] Re: AS3/Flex2 - Effects and Cancelling them

2006-01-20 Thread ucf_xealot
I thought of that, but the problem is still stopping the Move instance. I don't know enough about the internal structure of the effect to stop it or I could do it from the outside. --- In flexcoders@yahoogroups.com, Johannes Nel [EMAIL PROTECTED] wrote: you could always extend that effect class

[flexcoders] Re: AS3/Flex2 - Effects and Cancelling them

2006-01-20 Thread ucf_xealot
That will be extremely handy. --- In flexcoders@yahoogroups.com, Ashish Goyal [EMAIL PROTECTED] wrote: There will be three new methods in the next beta release which will enable you to pause, resume and reverse any effect. In your case, when you want the effect to stop playing on certain

[flexcoders] Re: Flex 1.5 how to get Menu height and width

2006-01-20 Thread bhaq1972
Not sure if anyone has looked at my post, but what i'm trying to do is create a floating menu which appears near the mouse cursor (like a right-hand mouse click). I want to be able to re-position the floating Menu, if it appears too close to the edge etc. tia bod --- In

RE: [flexcoders] Re: Flex application on PDA

2006-01-20 Thread shahnavaz Alware
I appreciate all the replies from Brendan, Jester, Bruno, DP, Renaun about the development of application for PDA. Thank you, Shahn From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Renaun Erickson Sent: Thursday, January 19, 2006 10:04

[flexcoders] MXML Components and Classes

2006-01-20 Thread Trey Long
Quick question about making custom components. I know custom components exist as classes in actionscript but I was a little lost on how you create functions for your component. Right now I have an external .AS file that is just some import statements and a collection of functions (no package

[flexcoders] Scrollable chart?

2006-01-20 Thread Doug Wagner
Is it possible to create a chart with scrollable contents? I have a lot of data to fit along the x axis of my chart and I would like space the points out so they are readable. I would then like to be able to allow the user to scroll left and right to see all the data. Can this be done

[flexcoders] Changes between DataGrid cellrenderers and embed tag

2006-01-20 Thread Jonathan Miranda
Ive been attempting to get an image in a DataGrid in Flex2 for quite some time and having one hard time to say the least. Was there any specific changes from Flex1.5 to 2 that effected this implementation? Anyone know of any resources that use an example with this in Flex2? So far Im

Re: [flexcoders] Re: Updating the data back to database

2006-01-20 Thread Anatole Tartakovsky
If you need to do it in Flex 1.5 you relally need to put significant amount of code in your base objects. We implemented in 1.5 just what Dave is suggesting with "PowerBuilder" approach ( which was considered astandard of Enterprise RAD - Rapid Application Development)- high-level objects

Re: [flexcoders] Sourcing an image using a variable in URL (Flex 2)

2006-01-20 Thread Sreejith Unnikrishnan
Try constructing the entire URL in script and assign it to the image! var imgSource:String = "http://www.mySite.com/pictures/"+photoID+".jpg" mx:Image id="myImage"source="{imgSource}"/ Sree - Original Message - From: yaagcur To: flexcoders@yahoogroups.com Sent:

[flexcoders] Re: Scrollable chart?

2006-01-20 Thread douglowder
Absolutely. I have a combination line/area chart that has this feature. The basic idea is to have a chart that is showing only a portion of the available dataset, and Christophe Coenraets has a great example of how to do this in his charting components explorer:

Re: [flexcoders] MXML Components and Classes

2006-01-20 Thread JesterXL
You can create ActionScript or MXML class; they are effectively the same thing. The only real limitation I've found is I've failed to create extensible containers via MXML; meaning, extending CheckBox, Label, Loader, with MXML works great, but extending Containers like VBox, Panel, etc. gave

Re: [flexcoders] Re: AS3/Flex2 - Effects and Cancelling them

2006-01-20 Thread JesterXL
Have I tried it? Nope. Just throwing out ideas to try. :: goes to look at class :: Well, I just read the Resize, TweenEffect, and Tween classes, and with this level of sleep under my belt, see no reason at all why it would fail if you created the Tween via code vs. MXML. - Original

[flexcoders] Errors in lines that do not exist (Flex 2)

2006-01-20 Thread yaagcur
I have just returned to a project which I thought was working to date but am getting the followin errors Unexpected token Line 496 Expecting rightbrace before end of program Line 1787 The file is 171 lines in toto Not sure what unexpected token is and all leftbraces appear to have corresponding

[flexcoders] Performance question - please help!

2006-01-20 Thread Jonathan Hirschi
Ok, so here's the situation, i've been tasked to write an application that shows a ton of graphs (testing the performance of flex). i need to create like 60 objects that will be holding approximately 100,000 datapoints apiece and i need to create those objects dynamically... is it going to be

RE: [flexcoders] Sourcing an image using a variable in URL (Flex 2)

2006-01-20 Thread Deepa Subramaniam
Hi - You can use databinding to plug in your photoID dynamically. mx:Script var photoID:Number = 1234; /mx:Script mx:Image id=myImage source=http://www.mySite.com/pictures/{String(photoID)}.jpg / -deepa -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On

RE: [flexcoders] Printing options in Flex 2

2006-01-20 Thread David Mendels
Hi, Sounds like a bug. -David -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dima Ulich Sent: Friday, December 16, 2005 1:31 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Printing options in Flex 2 Did anyone tried to use

RE: [flexcoders] Performance question - please help!

2006-01-20 Thread David Mendels
Hello, Flex 1.5 or 2.0? -David From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jonathan HirschiSent: Friday, January 20, 2006 4:11 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Performance question - please help! Ok, so here's the

RE: [flexcoders] Performance question - please help!

2006-01-20 Thread Jonathan Hirschi
Right now, i'm doing this in flex 1.5. Jon --- David Mendels [EMAIL PROTECTED] wrote: Hello, Flex 1.5 or 2.0? -David From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jonathan Hirschi Sent: Friday, January

[flexcoders] Wrapping Images and Bitmaps

2006-01-20 Thread Trey Long
Alright, the best way to describe this is with a use case. I have a Canvas on which rests an Image, let's say this image represents a map of the globe. Now, I have some nice panning code that interacts with the edges of the screen to move the x and y value kinda like your standard RTS game

Re: [flexcoders] Performance question - please help!

2006-01-20 Thread JesterXL
Answering from the 30,000ft view, my suggestion is to utilize Flex 1.5 Flash 8's bitmap features. Flash Player 7, which is what Flex 1.5 outputs, cannot handle the amount of data points you want with acceptable performance, either in code or displayed. While paging can be effectively

[flexcoders] Re: Flex 1.5 how to get Menu height and width

2006-01-20 Thread douglowder
See if calling myMenu.show() first yields a height and width. You may need to wait until after you know the menu has been shown before reading those properties; try tying the trace statements to the menu's showEffect. Doug --- In flexcoders@yahoogroups.com, bhaq1972 [EMAIL PROTECTED] wrote:

[flexcoders] FYI RIA Conference Call For Papers

2006-01-20 Thread David Mendels
Hi, This isn't an Adobe event, but they are looking for speakers on Flex (and Web 2.0 and etc.). If interested there is a call for papers here: http://www.riaconference.com/ FYI, Regards, David Adobe -- Flexcoders Mailing List FAQ:

Re: [flexcoders] Performance question - please help!

2006-01-20 Thread Jonathan Hirschi
So in terms of Flex 2, would it be able to possibly handle this amount of data effectively since it uses flash 8? It sounds like you are saying that 1.5 has trouble displaying that amount of data because of ram usage problems? does that same problem exist in flex 2? Is there a max on how much

RE: [flexcoders] Wrapping Images and Bitmaps

2006-01-20 Thread Roger Gonzalez
What I have thought of: I thought that if I could cache the canvas as a bitmap and access the bitmap data that I could wrap the pixels around bit by bit. That will be... er, less than performant. Look into using your bitmap as a fill, and changing its transformation matrix. You shouldn't

RE: REPOST: [flexcoders] PrintJob cutting text on datagrid

2006-01-20 Thread Mika Kiljunen
Is there really no solution for this annoying printing problem or am I and the other guy the only ones printing datagrids on paper? If so I guess I have to start contacting Macromedia (or Adobe) officially to get some solution for this? In the app that we are building this could

RE: [flexcoders] View Directory Tree

2006-01-20 Thread Tracy Spratt
Have your middle tier build an xml representation of the filesystem tree, pass that back to Flex using HTTPService, and assign the result (resultFormat=xml) to a mx:Tree control's dataProvider property. Look at the docs to see what the tree wants by default and craft the xml accordingly. That

[flexcoders] Re: Sourcing an image using a variable in URL (Flex 2)

2006-01-20 Thread yaagcur
Thanks that worked great --- In flexcoders@yahoogroups.com, Deepa Subramaniam [EMAIL PROTECTED] wrote: Hi - You can use databinding to plug in your photoID dynamically. mx:Script var photoID:Number = 1234; /mx:Script mx:Image id=myImage

Re: REPOST: [flexcoders] PrintJob cutting text on datagrid

2006-01-20 Thread JesterXL
Tri dis: http://www.darronschall.com/weblog/archives/000193.cfm - Original Message - From: Mika Kiljunen To: 'Nihit Saxena' ; flexcoders@yahoogroups.com Sent: Friday, January 20, 2006 1:28 AM Subject: RE: REPOST: [flexcoders] PrintJob cutting text on datagrid Is there really

Re: [flexcoders] Performance question - please help!

2006-01-20 Thread JesterXL
Sure; Flex 2 gets all of Flash 8's bitmap features with the added benefit of a fast as nuts AVM. As far as the data, though, not sure. I've spent 3 years pushing Flash to it's limits and know where she breaks, but garbage collection tons of data, I haven't really found the ceiling yet in

RE: [flexcoders] Performance question - please help!

2006-01-20 Thread Gordon Smith
In AS3, you should declare a non-dynamic class for your data items rather than using untyped Objects. For example, don't use data items like { foo: 100, bar: 200 } Instead write new DataItem(100, 200) where class DataItem { function DataItem(foo:int, bar:int) {

Re: [flexcoders] MXML Components and Classes

2006-01-20 Thread Trey Long
So you're saying just extend a standard MXML component with an mx:script include on line #2. And it should associate the AS file with the class of the MXML component? Well, that sounds hacky :) I hope this is addressed for the Beta. -Trey JesterXL wrote: You can create ActionScript or MXML

Re: [flexcoders] MXML Components and Classes

2006-01-20 Thread JesterXL
Here is a class that extends VBox: ?xml version=1.0 encoding=utf-8? mx:VBox xmlns:mx=http://www.macromedia.com/2003/mxml; width=400 height=400 /mx:VBox If you save that as MyVBox.mxml, you can then use it elsewhere as: jxl:MyVBox xmlns:jxl=* / Or: import MyVBox; createChild(MyVBox);

Re: [flexcoders] Performance question - please help!

2006-01-20 Thread Jonathan Hirschi
Well, the way I'm planning this out is that at the moment, i need to have 60 chart objects with essentially up around 40 or so series per chart (estimated - could go as high as 60). Each series is an array of numbers. Each array has 60 values. I'm still noodling out how to best put this

Re: [flexcoders] Performance question - please help!

2006-01-20 Thread Jonathan Hirschi
Oh i guess i should have stated that when I request the data from my web service (coldfusion cfc), 760,000 is about the number of records (in total) that i'm expecting to get (200 requests with 2100 records in each request). I have to parse through those records to create the Charts. I'm

RE: [flexcoders] Performance question - please help!

2006-01-20 Thread Jonathan Hirschi
Gordon, thanks for the response. i guess what I was wondering was if it'd be better to write up a class for data storage or just to use a regular object... ie myDataStore:Object and then: myDataStore[mychart+1] = new Object(); then a lot more stuff and objects added... ie.. storing a ton of