[flexcoders] Question about injection

2010-01-11 Thread Christophe
Hello, How to avoid hacking techniques like injection from a text input in a flex application ? Thank you, Christophe,

Re: [flexcoders] Re: Blazeds on Godaddy

2010-01-11 Thread Flex Killer
I searched and spoke to godaddy and finally I got the perfect answer from here http://usefullittlethings.com/gojava-lessons-on-writing-java-applications-for-godaddy-shared-hosting.html I started developing my project with AMFPHP now . regards On Wed, Jan 6, 2010 at 10:11 PM, jrock

Re: [flexcoders] Question about injection

2010-01-11 Thread Tom Chiverton
On Monday 11 Jan 2010, Christophe wrote: How to avoid hacking techniques like injection from a text input in a flex application ? The normal server-side filtering approach should be fairly solid. Anything specific ? -- Helping to appropriately reinvent design-patterns as part of the IT team

re: [flexcoders] Re: Caringorm vs PureMVC

2010-01-11 Thread Wally Kolcz
I, too, am using Mate. The best part is the lower learning curve and the fact that it is completely independent of your code. I use it in all my projects. Since there is NO Mate code in your Model, Managers, or Views, you can pop the framework off at any time and the application will still run.

[flexcoders] Override private ComboBox function

2010-01-11 Thread Warren
I'm want to make a ComboBox on which I can force the dropdown menu to go up or down. It should be a simple matter of adding a variable and changing the way the displayDropdown method works. I tried extending the ComboBox and overriding the displayDropdown method but I can't do that since the

[flexcoders] Re: using curve, drawPolyLine throws error.. any suggestions

2010-01-11 Thread yaksaver
I've just seen this error. Was caused by there being a single datum on the dataProvider. For some reason, LineChart does not complain whereas AreaChart does -- throwing this error. HTH! --- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote: Technically, sealed means not dynamic.

[flexcoders] Re: Override private ComboBox function

2010-01-11 Thread Jeff
You'll have to copy the private method and make your changes. If you Google around, there are already some solutions out there. --- In flexcoders@yahoogroups.com, Warren warrenony...@... wrote: I'm want to make a ComboBox on which I can force the dropdown menu to go up or down. It should

[flexcoders] yet another canvas coordinate system quest

2010-01-11 Thread beamprosoftware
Can anyone think of a way to extend or create a canvas that would allow the coordinate to be 0,0 bottom left? or is there a way to strip out the axis's in a graph control and draw away in there as all the graph's are 0,0 bottom left. along these same lines, is there a way to find the area

Re: [flexcoders] Override private ComboBox function

2010-01-11 Thread Tibor Ballai
Hi Warren, While the displayDropdown method is private, the methods which call it (downArrowButton_buttonDownHandler keyDownHandler) are both protected. You can override these 2 methods and have them call a new private method which can mimic the behaviour of displayDropdown along with the new

[flexcoders] Re: Function to download an image

2010-01-11 Thread jfhgthree
Yes. Take a look at the following link. I think its exactly what you are looking for: http://www.quietless.com/kitchen/dynamically-create-an-image-in-flash-and-save-it-to-the-desktop-or-server/ --- In flexcoders@yahoogroups.com, Christophe christophe_jacque...@... wrote: Hello, There

[flexcoders] How to get all tree node parents upon select

2010-01-11 Thread eric v
maybe this will give you some insight. i did not encode the result into xml format.. ?xml version=1.0 encoding=utf-8?mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:Script ![CDATA[ [Bindable] var xml:XML = products

[flexcoders] Re: Extending interfaces

2010-01-11 Thread bmsleite
Hi Jaime, Thank you for your answer, and yes, you are right, there's a little mistake on the code (I wrote it without testing... my bad). However, the error is still there: Ambigous reference to data. Any ideas? Bruno Leite --- In flexcoders@yahoogroups.com, Jamie S jsjph...@... wrote:

[flexcoders] Re: Function to download an image

2010-01-11 Thread jfhgthree
Take a look at the following link http://www.quietless.com/kitchen/dynamically-create-an-image-in-flash-and-save-it-to-the-desktop-or-server/ --- In flexcoders@yahoogroups.com, Christophe christophe_jacque...@... wrote: Hello, There is the upload function to upload an image to the client

[flexcoders] Flex:how to count online user and record user visits?

2010-01-11 Thread happyhy2005
Hey guys, I want to write a module that count online user and record user visits. I'm using Cairngorm,it seems to me when user open the Application,I should dispatch an event,and increase onlineCount stored in ModelLocator,get the visits number from DB and increase 1.When user leave the

[flexcoders] Re: using curve, drawPolyLine throws error.. any suggestions

2010-01-11 Thread yaksaver
I've just seen this error. Was caused by there being a single datum on the dataProvider. For some reason, LineChart does not complain whereas AreaChart does -- throwing this error. HTH! --- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote: Technically, sealed means not dynamic.

RE: [SPAM] [flexcoders] Override private ComboBox function

2010-01-11 Thread Tracy Spratt
Copy the ComboBox code into a new component and modify it as you need. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Warren Sent: Monday, January 11, 2010 9:17 AM To:

RE: [SPAM] [flexcoders] How to get all tree node parents upon select

2010-01-11 Thread Tracy Spratt
. i did not encode the result into xml format eh? I don't understand what you mean by that. You are using e4x xml here. parent is a property pointing to the parent component in the document model. I do not think you want that. parent(), applied to an XML node return an XML node, Tracy

[flexcoders] Re: Undetermined line in constructor'

2010-01-11 Thread valdhor
Check the permissions of the user that you are using to log into the database. It probably has localhost access but no network access. --- In flexcoders@yahoogroups.com, Dan Pride danielpr...@... wrote: I have a problem when I move my amfphp to a new server. I get the following error

[flexcoders] Implementation of project not found...

2010-01-11 Thread Greg Morphis
Ever since I reinstalled Eclipse3.2, FB2, FDS to fix my environment to build and compile a CF/Flex project I've been getting this error on an old Java/Flex project that was compiling fine with no warnings or errors. Implementation of project facet.flex.enterprise could not be found. Functionality

Re: [flexcoders] Re: Simplfying Repetitive Code

2010-01-11 Thread Tibor Ballai
Hi Guys, This discussion inspired me to write an article about the dynamic elements of the language. It took a while to finish but after nearly a month I found enough time to wrap it up. http://tiborballai.com/blog/2010/1/11/dynamic-elements-of-the-actionscript-3-language.html Tibor.

Re: [flexcoders] Override private ComboBox function

2010-01-11 Thread Warren
Very good idea. I didn't think to look for the calling functions. How do I handle the two public functions (Open and Close)? Can I simply create new functions for them in my class? - Original Message - From: Tibor Ballai To: flexcoders@yahoogroups.com Sent: Monday, January

RE: [SPAM] [flexcoders] Flex:how to count online user and record user visits?

2010-01-11 Thread Tracy Spratt
Flex runs on the client, in a browser. It cannot count anything on the server. It can display a count by getting the data from a server. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of

Re: [flexcoders] Override private ComboBox function

2010-01-11 Thread Tibor Ballai
You can simply override the open and close functions as well. (public override function open():void{ ... ). Tibor. www.tiborballai.com Warren wrote: Very good idea. I didn't think to look for the calling functions. How do I handle the two public functions (Open and Close)? Can I simply

Re: [flexcoders] Flex:how to count online user and record user visits?

2010-01-11 Thread Fotis Chatzinikos
On the server increment the user count on session create and descrement it on session destroy. Your client can then simply display this variable. On Sun, Jan 10, 2010 at 7:09 AM, happyhy2005 happyhy2...@yahoo.com.cnwrote: Hey guys, I want to write a module that count online user and record

[flexcoders] ListEvent ItemRollOver columnIndex value is wrong

2010-01-11 Thread bhaq1972
I have an itemRollover event handler in my datagrid. This datagrid also has some invisble columns (i made them visible=false during the datagrid's initialize event) Now if I make col0 invisible, and col1 visible, i.e. mx:DataGridColumn dataField=col0 visible=false.. mx:DataGridColumn

Re: [flexcoders] Override private ComboBox function

2010-01-11 Thread Warren
Well, I gave it a go with no luck. Too many inaccessible properties (like _showingDropdown ). Sigh - Original Message - From: Tibor Ballai To: flexcoders@yahoogroups.com Sent: Monday, January 11, 2010 8:50 AM Subject: Re: [flexcoders] Override private ComboBox function

[flexcoders] Re: ListEvent ItemRollOver columnIndex value is wrong

2010-01-11 Thread invertedspear
I think, but I'm not sure, that when you set your col0 to be invisible, you need to also set includedInLayout = true; ~mike --- In flexcoders@yahoogroups.com, bhaq1972 mbha...@... wrote: I have an itemRollover event handler in my datagrid. This datagrid also has some invisble columns (i

Re: [SPAM] [flexcoders] How to get all tree node parents upon select

2010-01-11 Thread Amy
--- In flexcoders@yahoogroups.com, Tracy Spratt tr...@... wrote: If your dataProvider is XML, you can use parent() to recursively traverse the ancestors. If it is XMLListCollection, I am not sure, but would expect there to be some kind of parent property. Each node in an XMLListCollection

[flexcoders] Re: Flashbuilder

2010-01-11 Thread Amy
--- In flexcoders@yahoogroups.com, Dan Pride danielpr...@... wrote: Adobe has said Flashbuilder will be out in first half of 2010. Is there any in the know speculation that might narrow that down a bit? I am starting a new project and would love to use the new features. Is anybody using

[flexcoders] Re: Error(s) in Passing multiple values back from an item editor example

2010-01-11 Thread mmyszew
Many thanks for the help. I incorporated your suggestions and {poof} the error messages went away and everything else behaved as it did before. As for the exercise for the reader, I'd appreciate some more help. I think I caught the focusOut event OK, but the code I've tried to update the

[flexcoders] Re: Extending interfaces

2010-01-11 Thread valdhor
Shouldn't it be... var impl1:ImplementationClass = new ImplementationClass(); var implA:InterfaceA = InterfaceA(impl1); impl1.data = Something; trace(implA.data); --- In flexcoders@yahoogroups.com, bmsleite bmsle...@... wrote: Hi everyone, I hope you guys can help me out with this doubt

Re: [flexcoders] Re: Caringorm vs PureMVC

2010-01-11 Thread Julian Alexander
Honestly, nobody can really answer the question of which one is better, as they all are built to server a purpose. As you are going to have to live and breathe whichever framework you choose, you really should research them yourself and try it out, then you'll know which one you prefer and

[flexcoders] Re: Flashbuilder

2010-01-11 Thread dmschenk1
I saw polyGeek made a comment to it on adobe feeds. The comments are on his site http://polygeek.com/ D --- In flexcoders@yahoogroups.com, Amy amyblankens...@... wrote: --- In flexcoders@yahoogroups.com, Dan Pride danielpride@ wrote: Adobe has said Flashbuilder will be out in first

Re: [flexcoders] Re: Caringorm vs PureMVC

2010-01-11 Thread Patricia Han
Thanks, Chris! I will look into Mate framework. I will have two small independent projects. I may use Mate for one and PureMVC for the other. Patricia From: gers32 c...@kitry.fr To: flexcoders@yahoogroups.com Sent: Sun, January 10, 2010 11:31:50 PM Subject:

[flexcoders] Re: Extending interfaces

2010-01-11 Thread bmsleite
Yes, that's indeed one way to do it, but it does not solve the problem. Imagine that we have something like the following example (which is exactly what's happening in my case): var b:InterfaceB = this.call.something.thatReturnsAsAnInterfaceB(); b.data = something; In this case I cannot assume

Re: [SPAM] [flexcoders] Adaptation of an application to the screen size

2010-01-11 Thread Wesley Acheson
There is more that you can do though. As well as percentages you can do something similar to msn and add and hide controls as you resize the window. Note that some things don't really go too well with percentage heights. Such as text boxes. You could attach an event listener to the resize event.

[flexcoders] Default width of horizontal spark list

2010-01-11 Thread r_woess
Hi, here you can see a simple example with a horizontal list. after adding text into the textinput and pressing enter, new items will be added to the list. the with of the list automatically grows, if you add more items. but i can't find a way, to set the with correctly, if the width is lower

[flexcoders] custom application preloaders

2010-01-11 Thread Joel Stransky
Just wanted to check with you guys before I wasted any time following obsolete tutorials. I want to replace the default app preloader with preferable a .swc of my own creation. The best tut I can find is this one from Flex 2 circa 2006.

[flexcoders] Re: custom application preloaders

2010-01-11 Thread valdhor
Here's a few I had bookmarked (Although I haven't had the time to do my own yet): http://jessewarden.com/2007/07/making-a-cooler-preloader-in-flex-part-1-of-3.html http://www.pathf.com/blogs/2008/08/custom-flex-3-lightweight-preloader-with-source-code/#more-1101

[flexcoders] Re: Extending interfaces

2010-01-11 Thread valdhor
This looks like it may be a bug. I found the following: If a class contains accessor functions with different access control namespace attributes, (for example, a protected setter and a public getter) using one of them causes a compile-time-error, for example, Compiler-Error 1000: Ambiguous

[flexcoders] How to mouse-wheel scroll DataGrid in TitleWindow popup?

2010-01-11 Thread gmbroth
Hi, I'm stumped on a problem and could use some help: I have a PopUpManager-launched TitleWindow (modal == true) that contains a DataGrid. Using the DataGrid's slider, I can move through the data rows just fine but can't scroll the DG using the mouse wheel. As a test, I set a

[flexcoders] Question about 'copyLocale'

2010-01-11 Thread tungchau81
Usage: copylocale srcLocale dstLocale copyLocale is a command to generate framework resource for each locale. I wonder whether srcLocale should be a default locale for dstLocale. In other words, should srcLocale be a locale that is as close as possible to dstLocale. For example, would the

[flexcoders] Setting variables

2010-01-11 Thread Warren
I'm creating my own actionscript class which will have a public property accessed via a getter and setter. I want this property to have one of thew values: up. down. auto. How do I set things up so that when I use the class in Flexbuilder, only these choices appear as property selections?

[flexcoders] Re: Setting variables

2010-01-11 Thread turbo_vb
On the line above your setter, use the Inspectable metadata: [Inspectable(category=General, enumeration=auto,up,down, defaultValue=auto)] -TH --- In flexcoders@yahoogroups.com, Warren warrenony...@... wrote: I'm creating my own actionscript class which will have a public property accessed