[flexcoders] big problem

2008-01-13 Thread adnane_1979
I developed a flex 2 application, and i's been on production for a while now. But last week some of my clients were complaining that the application doesn't work anymore, after i've checked with them ,i found out that the application doesn't work with the new version of flash player 9.0.1115.0

[flexcoders] Re: Flex + Spring + Hibernate - Lazy=true

2008-01-13 Thread den.orlov
Check Granite Data Services. They handle lazy loading properties support, they have as3 code generator. Den

[flexcoders] mx:Text How to get text to rotate vertically?

2008-01-13 Thread Dave
I am NOT using charts. I am using beta3 release 3. How can I get my text to draw vertically in a label or text control? I tried rotate property. When I use that my text doesn't show up at all.

[flexcoders] Using an XML file as a dataProvider and accessing its data

2008-01-13 Thread kenny14390
I started with Flex a couple days ago and I'm just learning the basics. This shouldn't be too hard to answer, but getting me to understand it would be the hard part! If I have an XML file with parents, children, and siblings (see the example below), how can I link say a DataGrid to a child

[flexcoders] Managing (http)session data from java code

2008-01-13 Thread vttanhua
I'm trying to access http session from java code (separate EJB3 project)(through FlexContext.getHttpRequest()) but when I'm trying to use my class from other java classes I get nullpointer exception for FlexContext.getHttpRequest(). So am I missing some important point here? I have created a

RE: [flexcoders] Imports being lost

2008-01-13 Thread Dealy, Brian
Patrick this may be obvious to most, but sometimes I don't realize that flexbuilder collapses the imports and represents that by putting a plus next to the first one indicating it can be expanded by clicking on plus sign next to the first import... sometimes the little things can elude

Re: [flexcoders] Adding several NumericSteppers = Total

2008-01-13 Thread Paul Kukiel
Isn't value of NumericRepeater of type Number not String. ie: private function stepperSumFun( val1:int, val2:int, val3:int, val4:int, val5:int):Number { return (val1+val2+val3+val4+val5); Also the function name in Action script is stepperSumFun but you call stepperSunFunc On

[flexcoders] Re: Flex 3 Beta is now available!

2008-01-13 Thread Jeremiah Small
I'm looking for this answer too. Can anyone provide a link to a comprehensive discussion of the best practice for basic authentication? We are now passing the credentials through the url string which works, but this seems lame. --- In flexcoders@yahoogroups.com, bobpardoe1959 [EMAIL PROTECTED]

[flexcoders] ERROR [org.jgroups.stack.ProtocolStack] no down protocol available

2008-01-13 Thread ngpaiva
I have JBoss in a 2-node cluster. After a few days of uptime, I see that the Flex platform seems to lose connection to one of the instances, and the following message shows up on the logs. Once this message starts to appear, the requests start favoring the node that does not see the messages,

Re: [flexcoders] Re: How do I set and get the date of a DateField?

2008-01-13 Thread Maciek Sakrejda
Hmm... I'm not sure if me pulling suggestions out of thin air is at all helpful, but have you tried labelFunction and parseFunction? I don't see why the default wouldn't work, but if there's a problem, you could use these two to hack up a fix for your specific format (assuming you have a specific

[flexcoders] Skinning VScrollBar - how to control the size of the thumb

2008-01-13 Thread ezderman
I am skinning a VScrollBar and I am trying set the thumb to a fixed size. currently the thumb is stretches depend on the size of the content. how can I set the thumb that it wont change its size?

Re: [flexcoders] FlexPrintJob: print image AND text

2008-01-13 Thread Frederico Garcia
Alex Harui escreveu: Externally loaded images may not be done loading by the time you submit the printed page. It is best to preload all external images and make bitmap copies *From:* flexcoders@yahoogroups.com

Re: [flexcoders] mx:Text How to get text to rotate vertically?

2008-01-13 Thread Frederico Garcia
Dave escreveu: I am NOT using charts. I am using beta3 release 3. How can I get my text to draw vertically in a label or text control? I tried rotate property. When I use that my text doesn't show up at all. -- Flexcoders Mailing List FAQ:

[flexcoders] Re: mx:Text How to get text to rotate vertically?

2008-01-13 Thread Dave
--- In flexcoders@yahoogroups.com, Frederico Garcia [EMAIL PROTECTED] wrote: Dave escreveu: I am NOT using charts. I am using beta3 release 3. How can I get my text to draw vertically in a label or text control? I tried rotate property. When I use that my text doesn't show up at all.

[flexcoders] DataGrid initial sort broken in latest FlexBuilder Beta SDK 3.0.0

2008-01-13 Thread rleuthold
Hi, Since I'm using the lastest FlexBuilder Beta with SDK 3.0.0, I have a problem with the initial sort of a dataGrid . The underlying ArrayCollection is in the desired sort order when the dataGrid is added. But the displayed dataGrid is in coomplete disorder. Versions of my Application

[flexcoders] annotation on bar chart needs a little help

2008-01-13 Thread Mark
I'm placing a small button at some of the bars in the barChart depending on the data using annotationElements. The x axis is set to 0 and y is set to each bar in the cart. Everything works just great, but in some cases the bar will span the entire length of the chart so the button falls on

[flexcoders] Simulating a printed page

2008-01-13 Thread John Nagle
Hello, I'm trying to figure out the best way to simulate a printed page. I want to display text on a page (currently a canvas), such that it has the look and feel of printed type on paper. I will have arrows at the bottom of the page to switch to the next page, where hopefully the same

[flexcoders] horizontal rule background

2008-01-13 Thread Matt Maher
I have written a pinstriped background class that extends HaloBorder. It works great... (as the plainest example) basically I just overrode updateDiplayList.. You basically end up with a rectangle with a light pinstripe effect. Nice. But what I want to do is follow any rounded corners that

Re: [flexcoders] Simulating a printed page

2008-01-13 Thread Frederico Garcia
John Nagle escreveu: Hello, I'm trying to figure out the best way to simulate a printed page. I want to display text on a page (currently a canvas), such that it has the look and feel of printed type on paper. I will have arrows at the bottom of the page to switch to the next page,

[flexcoders] Re: Accessing objects within objects within objects... ???

2008-01-13 Thread anthony_morsey
Thanks, but that did not work. Still got runtime errors. Here is a stripped down version of what I have: mx:TabNavigator id='maintab' mx:Canvas id=tab3_panel mx:Canvas id=model_area mx:Text id=total_cost / /mx:Canvas /mx:Canvas /mx:TabNavigator I want to

Re: [flexcoders] Anyone have a template ant build file for FDS?

2008-01-13 Thread James Ward
See if this one helps: http://flexapps.cvs.sourceforge.net/flexapps/census/build.xml?revision=1.24view=markup -James On Fri, 2008-01-11 at 06:48 -0800, Collene wrote: Hi all, I'm trying to create a Flex Data services application and deploy to Tomcat 6 using ant. I created a simple Stock

[flexcoders] Re: Simulating a printed page

2008-01-13 Thread John Nagle
--- In flexcoders@yahoogroups.com, Frederico Garcia [EMAIL PROTECTED] wrote: Hello Frederico, That is pretty similar to what I am trying to do, especially with zooming in/out. The only thing is, I want to fill the pages with paragraph text stemming from a single, large file. The trick there is

[flexcoders] Easing List Control

2008-01-13 Thread rueter007
Hello, does anybody have any idea on how to create a flex list control which has an easing scrolling? The default list component snaps to the selected index rather than gently easing. I am wondering if there is a simple property that I am not aware of or if it is much more than that. Thanks in

[flexcoders] Re: FlexPrintJob: print image AND text

2008-01-13 Thread mitek17
Hi Frederico, printAsBitmap is not related to the problem, as images/charts/whatever simply don't have enough time to be rendered. You should add event listeners to all your images/charts and wait for the creationComplete updateComplete events. Cheers, Dmitri. --- In

[flexcoders] Re: Accessing objects within objects within objects... ???

2008-01-13 Thread mitek17
Hi Tony, *When* do you want to do this assignment? Runtime error simply means that the object has not been created yet. Place the assignment within a function and call this function when TabNavigator sends creationComplete event. Cheers, Dmitri. --- In flexcoders@yahoogroups.com,

RE: [flexcoders] More control over datagrid? Adding Running Total Row?

2008-01-13 Thread Jehanzeb Musani
Hello Gordon, I need to know that whether DataGrid or AdvancedDataGrid in Flex supports running totals? Let say I have the following data. Order Number Quantity Price 1 4 25.00 2 3 12.25 3 1110.00

Re: [flexcoders] More control over datagrid? Put headings on the LHS instead of the top?

2008-01-13 Thread Josh McDonald
Will do, cheers! On Jan 11, 2008 4:54 PM, Alex Harui [EMAIL PROTECTED] wrote: Check out OLAPDataGrid. It might handle pivots. -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Josh McDonald *Sent:* Thursday, January 10, 2008

Re: [flexcoders] Re: FlexPrintJob: print image AND text [SOLVED]

2008-01-13 Thread Frederico Garcia
mitek17 escreveu: Hi Frederico, printAsBitmap is not related to the problem, as images/charts/whatever simply don't have enough time to be rendered. You should add event listeners to all your images/charts and wait for the creationComplete updateComplete events. Cheers, Dmitri.

RE: [flexcoders] resizing and sliding panels?

2008-01-13 Thread Justin Raymond
You can use the following: mx:Resize id=shrink widthTo=0 target={navPanel} duration=1000/ mx:Resize id=grow widthTo=240 target={navPanel} duration=1000 / then call them to run as: shrink.end(); shrink.play(); and grow.end(); grow.play(); Hope this helps Justin

[flexcoders] JSON PHP

2008-01-13 Thread vivek
I am getting this error at run time. Can anyone help? TypeError: Error #1009: Cannot access a property or method of a null object reference. at

[flexcoders] mx:Grid and drawing grid lines?

2008-01-13 Thread Josh McDonald
Hey guys, Is there an easy way to get the mx:Grid layout container to draw grid lines? I tried using a background colour and then setting colour to white on the GridRow items, but then I only get horizontal rules. Surely there's some code out there somewhere to do this? Cheers, -Josh -- This

[flexcoders] Upload/Download Files using FTP/SSH2 with Air

2008-01-13 Thread Jhonny Everson
Hi, Does anyone have anything on using Adobe Air to transfer files to a server that doesn't involve server side code solution? like FTP, SSH2... Thanks, -- Jhonny Everson

[flexcoders] how to update database with update datagrid value.?

2008-01-13 Thread markflex2007
Hi, Datagrid can be editable, I need update the back end database after Datagrid updated. Which event I can use and how to pass the new value to backend.I am using Coldfusion now. Thanks Mark

Re: [flexcoders] Imports being lost

2008-01-13 Thread Douglas Knudsen
Patrick, I have noticed this behavior. I have not noticed since I upgraded to the latest beta 3 though, so far. DK On Jan 12, 2008 5:20 PM, Dealy, Brian [EMAIL PROTECTED] wrote: Patrick this may be obvious to most, but sometimes I don't realize that flexbuilder collapses the imports

[flexcoders] Re: [flexcomponents] item renderer for list

2008-01-13 Thread learner
but if I don't extend canvas...it does not let me override the set data method if i don't make a override for set datahow can modify the properties of the data supplied to item render from dataprovider...?? On Jan 11, 2008 11:56 PM, Alex Harui [EMAIL PROTECTED] wrote: You should extend

RE: [flexcoders] Re: XML List problems

2008-01-13 Thread Tracy Spratt
I will clean up those example snippets to remove the variable name errors. I apologize for that. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alger Werft Sent: Friday, January 11, 2008 4:50 PM To: flexcoders@yahoogroups.com

RE: [flexcoders] Re: XML List problems

2008-01-13 Thread Tracy Spratt
Also, Mark, you can remove the AsyncToken stuff until you are ready for it. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alger Werft Sent: Friday, January 11, 2008 4:50 PM To: flexcoders@yahoogroups.com Subject: Re:

Re: [flexcoders] Imports being lost

2008-01-13 Thread Doug McCune
I also remember seeing this, but I don't think it has happened since the latest beta. If I remember correctly the issue seems to occur when organize imports would get run (possibly automatically) before I had edited the file (ie if it was just opened). I think I noticed that if I just hit ctrl-Z

RE: [flexcoders] Using an XML file as a dataProvider and accessing its data

2008-01-13 Thread Tracy Spratt
You can do both. Bottom line, the DataGrid requires a list of items. This can be an XMLList or Array, ONLY if you are certain you will not need to update the data items individually. Best practice is to use an XMLListCollection, which is a collection of XML nodes, or an ArrayCollection of item

Re: [flexcoders] Imports being lost

2008-01-13 Thread Bjorn Schultheiss
Latest beta will imports protected functions for you :P mx:HBox xmlns:mx=http://www.adobe.com/2006/mxml; mx:Script ![CDATA[ import mx.core.Container.commitProperties; override protected function commitProperties():void { } ]] /mx:Script

Re: [flexcoders] flexmdi compiled with flex sdk 2.0.1 hotfix 3

2008-01-13 Thread Joseph Balderson
Thanks Brian! ___ Joseph Balderson, Flash Platform Developer | http://joeflash.ca Writing partner, Community MX | http://www.communitymx.com Abobe Certified Developer Trainer madflexcoder wrote: I compiled the flexmdi framework with

Re: [flexcoders] Setting custom component properties in MXML

2008-01-13 Thread Joseph Balderson
If you are defining your component in MXML, then no, id cannot be private. When you define a component in MXML, the component class will inherit from whatever the main container class is, which in this case is Canvas. Canvas extends UIComponent, which defines the id attribute as being public.

RE: [flexcoders] Re: [flexcomponents] item renderer for list

2008-01-13 Thread Tracy Spratt
You CAN override set data() in UIComponent. Look at the code for ListItemRenderer for a very good example of how to do an renderer. Or see Alex's examples. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of learner Sent:

Re: [flexcoders] Imports being lost

2008-01-13 Thread Doug McCune
oh yeah, I've seen that too, that's a good one :) But at least it's better than losing all your imports... two steps forward, one step back... On 1/13/08, Bjorn Schultheiss [EMAIL PROTECTED] wrote: Latest beta will imports protected functions for you :P mx:HBox

[flexcoders] adding and refering the childs of a container

2008-01-13 Thread shrikant.patil
hi, here i am with a problem, i m creating a chat based flex application in which when ever i click on an name of the user it opens a new window, which contains a text area, input text etc... this happens each time what i want to chat with a person. ( think like yahoo messanger). So for creating

RE: [flexcoders] mx:Grid and drawing grid lines?

2008-01-13 Thread Alex Harui
borderStyle? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Josh McDonald Sent: Sunday, January 13, 2008 6:37 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] mx:Grid and drawing grid lines? Hey guys, Is there an easy way

RE: [flexcoders] Easing List Control

2008-01-13 Thread Alex Harui
That would require smooth scrolling which got cut from Flex 3. The hooks are potentially in there, but I don't think there's a reference implementation yet. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of rueter007 Sent: Sunday,

[flexcoders] Re: [flexcomponents] item renderer for list

2008-01-13 Thread learner
yes thanks seeing it ! On Jan 14, 2008 11:36 AM, Alex Harui [EMAIL PROTECTED] wrote: You implement your own setter for data. You don't need to override anything. See ListItemRenderer or TextInput or Label for examples -- *From:* [EMAIL PROTECTED] [mailto:

RE: [flexcoders] big problem

2008-01-13 Thread Alex Harui
What happens when you run the debug version of your app on the debugger player for 9,0,115,0? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of adnane_1979 Sent: Sunday, January 13, 2008 4:13 AM To: flexcoders@yahoogroups.com Subject:

[flexcoders] RE: [flexcomponents] item renderer for list

2008-01-13 Thread Alex Harui
You implement your own setter for data. You don't need to override anything. See ListItemRenderer or TextInput or Label for examples From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of learner Sent: Sunday, January 13, 2008 8:56 PM To: [EMAIL

Re: [flexcoders] Setting custom component properties in MXML

2008-01-13 Thread Doug McCune
To go back to your original example, it does seem a bit kludgy to me too. In this case I would use databinding like so: mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml; width=500 height=800 mx:Script ![CDATA[ [Bindable] public var imageSource:String; ]] /mx:Script mx:Panel x=100 y=100 mx:Image

Re: [flexcoders] adding and refering the childs of a container

2008-01-13 Thread yigit
just keep a userVO - window dictionary (which maps users to their windows) then when a message comes, you can find the corresponding window looking at the dictionary. through the window, you can reach it's components. to make this easy,give id's to inner components (text input etc)

Re: [flexcoders] adding and refering the childs of a container

2008-01-13 Thread shrikant.patil
hi thanks for u r response. as u mentioned, i did like that: below is mine code: this is how i m adding the MDIWindow container and i m adding a textbox to inside of MDIWindow container. this works fine it adds a textbox for each window... var