[flexcoders] flex/coldfusion paypal example

2010-04-27 Thread ZIONIST
hey guys i would like to know how to use paypal to make payments for goods on my flex/coldfusion app. basically, a person clicks to buy something and he is redirected to paypal, makes the payment then redirected back to the flex app. would like to use coldfusion as the server language. any

[flexcoders] Flex Validator — Show Red Error Border on DataGrid Cell

2010-04-27 Thread G
I can successfully add a validator on an item in my datagrid, by passing in the particular element in the dataProvider to the validator, but I can't get the red border to show up around the cell if the validation fails. I have stepped through the validator, and confirmed that it is passing back

[flexcoders] AIR update blocked by proxy server

2010-04-27 Thread Randy Tinfow
We have an AIR app on many desktops. When it tries to update content the client gets the message: Update request blocked by proxy server. My understanding is that AIR reads the client browser's proxy settings and uses them. Any further understanding as to what the problem might be and how to

[flexcoders] Collapse Code and JavaDoc - Shortcut Not working OsX

2010-04-27 Thread Karim Beyrouti
Hello All - This has been bugging me for a while - the shortcut key to collapse / fold functions / javadoc in Flash Builder ( and Flex ) does not seem on OsX ( 10.6 ), and i have never been able to get it to work ( CMD - SHIFT - NumPad / ) . Any idea why? Cheers Karim

[flexcoders] Flex 4: using controlBarLayout, controlBarGroup, controlBarContent with AS3

2010-04-27 Thread de.newsight
Hi all, I have a AS3 class extended form a spark TitleWindow class, and now I am looking for a way how I can change the controlBarLayout, controlBarGroup and add items to controlBarContent directly with AS. I'vo goggled a lot but couldn't find any example. Can anyone help me? Thanks, Artur

RE: [flexcoders] Explicitly setting the height of a row in a DataGrid

2010-04-27 Thread Jay Proulx
Because I want to add a colSpan so to speak, so that I can have a row renderer for child data. e.g.: listContent |[ Cell ] [ Cell ] [ Cell ]| |[ Child ]| [ Cell ] [ Cell ] [ Cell ] [ Cell ] [ Cell ] [ Cell ] [ Cell ] [ Cell ] [ Cell ] /listContent i.e.: Child

[flexcoders] FB4: editing one project, not finding classes from another referenced project

2010-04-27 Thread technusiast
Hi FlexCoders, I'm using Flashbuilder 4 and have 2 different projects that are both open. Project A is set up so that it references the source folder of Project B. When editing files from A, the code hints show the classes from B. I just inherited this setup. I just added new classes in

[flexcoders] Hello All FlexeeFriends...

2010-04-27 Thread srini_stellarip
Hello.. Check this cool site to practice FLex online..signup and start practising Flex http://www.flexatschool.com

[flexcoders] Retrieving a logged in userid

2010-04-27 Thread James
My app displays items dynamically based on the value of a variable userid i.e. if userid is 1 all of the items in my array collection that have the user id of 1 will be displayed in a tilelist. What I want to do is have a log in system which will log users in but will also get the user id for

[flexcoders] Flex 4 - Is it possible to create a generic Button skin

2010-04-27 Thread bhaq1972
I have a set of button skins which all look like the following skin s:SparkSkin xmlns:fx=http://ns.adobe.com/mxml/2009; xmlns:s=library://ns.adobe.com/flex/spark fx:Metadata [HostComponent(spark.components.Button)] /fx:Metadata s:states s:State name=up /

Re: [flexcoders] Flex 4 - Is it possible to create a generic Button skin

2010-04-27 Thread Haykel BEN JEMIA
Try this (not etsted): s:SparkSkin xmlns:fx=http://ns.adobe.com/mxml/2009; xmlns:s=library://ns.adobe.com/flex/spark fx:Metadata [HostComponent(spark.components.Button)] /fx:Metadata s:states s:State name=up / s:State name=over / s:State name=down / s:State name=disabled / /s:states

Re: [flexcoders] FB4: editing one project, not finding classes from another referenced project

2010-04-27 Thread Margo Powell
Selecting FileRefresh on the project should help.(or press F5 key) On 4/26/2010 2:03 PM, technusiast wrote: Hi FlexCoders, I'm using Flashbuilder 4 and have 2 different projects that are both open. Project A is set up so that it references the source folder of Project B. When editing

Re: [flexcoders] Hello All FlexeeFriends...

2010-04-27 Thread Shabir Gilkar
Registration process is not working, showing some RPC error 404 Url error On Mon, Apr 19, 2010 at 3:23 PM, srini_stellarip srini_stella...@yahoo.comwrote: Hello.. Check this cool site to practice FLex online..signup and start practising Flex http://www.flexatschool.com -- With

[flexcoders] Re: Flex 4 - Is it possible to create a generic Button skin

2010-04-27 Thread bhaq1972
Its a great idea but I haven't been able to make it work. I will try again after lunch (need a break) --- In flexcoders@yahoogroups.com, Haykel BEN JEMIA hayke...@... wrote: Try this (not etsted): s:SparkSkin xmlns:fx=http://ns.adobe.com/mxml/2009;

[flexcoders] 3d social graph

2010-04-27 Thread cholid cholid
hi all can show to us some lib/app of 3D social graph? thanks

Re: [flexcoders] Re: Flex 4 - Is it possible to create a generic Button skin

2010-04-27 Thread Haykel BEN JEMIA
If it does not work try replacing getStyle with hostComponent.getStyle. Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Tue, Apr 27, 2010 at 1:43 PM, bhaq1972 mbha...@hotmail.com wrote: Its a great idea but I haven't been able to make it work. I will try again

[flexcoders] Creating Spark controlBar with ActionScript

2010-04-27 Thread de.newsight
Hi all, I'm looking for an example how to create a Spark controlbar with AS not MXML. Any ideas are more than appreciated. Artur

[flexcoders] Large number of view states

2010-04-27 Thread Andrew
I am building a complex form, where what you choose in the first dropdown menu determines whether the next control is a text field, number picker, or menu; and the choice there governs the type and options of the third control; and so on to a maximum of six input controls in a single row. The

[flexcoders] Re: Flex 4 - Is it possible to create a generic Button skin

2010-04-27 Thread bhaq1972
Hasn't worked. --- In flexcoders@yahoogroups.com, Haykel BEN JEMIA hayke...@... wrote: If it does not work try replacing getStyle with hostComponent.getStyle. Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Tue, Apr 27, 2010 at 1:43 PM, bhaq1972

[flexcoders] Re: Creating Spark controlBar with ActionScript

2010-04-27 Thread bhaq1972
I did this little test. It should help. s:Panel id=panel1 title=panel width=50% height=50% s:controlBarContent s:Label text=Label appears in Control Bar/ /s:controlBarContent /s:Panel s:Button click=test() label=add/ fx:Script ![CDATA[ public function test():void { var

[flexcoders] Re: Modal windows and blur problem...

2010-04-27 Thread aceoohay
Alex: The following; var blur:BlurFilter = new BlurFilter(); blur.blurX = 10; blur.blurY = 10; blur.quality = BitmapFilterQuality.MEDIUM; SystemManager.filters = [blur]; compiles with the following error; Access of possibly undefined property filters

Re: [flexcoders] Re: Modal windows and blur problem...

2010-04-27 Thread Alex Harui
Sorry, my email keeps capitalizing things. It should be systemManager. You set it from app or popup, shouldn’t matter, and set filters to null when done. Or maybe empty array, I don’t remember OTOH. On 4/27/10 7:11 AM, aceoohay pa...@compuace.com wrote: Alex: The following; var

Re: [flexcoders] Explicitly setting the height of a row in a DataGrid

2010-04-27 Thread Alex Harui
I would do that by having a renderer that draws outside its given bounds, and other renderers to the right that set alpha=0 so they don’t show up. On 4/26/10 11:01 AM, Jay Proulx jason.pro...@gmail.com wrote: Because I want to add a colSpan so to speak, so that I can have a row renderer

Re: [flexcoders] Re: Flex 4 - Is it possible to create a generic Button skin

2010-04-27 Thread Haykel BEN JEMIA
Of course! The getStyle function calls need to be set in curly braces like: source.up={getStyle('upSkin')} Sorry! Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Tue, Apr 27, 2010 at 3:03 PM, bhaq1972 mbha...@hotmail.com wrote: Hasn't worked. --- In

[flexcoders] Re: Flex 4 - Is it possible to create a generic Button skin

2010-04-27 Thread bhaq1972
Thanks. That worked! Something else I tried also worked. Its based on original skin and uses updateDisplayList()...code below But your suggestion is more elegant and better! Thanks for your help code s:BitmapImage id=myUpImage includeIn=up / s:BitmapImage id=myOverImage includeIn=over /

[flexcoders] checkbox change while I move the datagrid scroll bar

2010-04-27 Thread Fernando Wermus
Hi all, I just want to check and uncheck a checkbox in a datagrid. What I do is to add or remove from the selected's collection. But I got an error index when removing. Futhermore, the checked item change! when I move the datagrid scroll bar. This is my code, mx:DataGridColumn

[flexcoders] AIR update blocked by proxy server

2010-04-27 Thread Randy P
We have an AIR app running on corporate desktops. When it tries to update content some clients get the message: Update request blocked by proxy server. My understanding is that AIR reads the client browser's proxy settings and uses them. Any further understanding as to what the problem might

[flexcoders] Re: AIR update blocked by proxy server

2010-04-27 Thread Randy P
The answer is that the client's boundary policies block transfer of data between the desktop and outside servers. We need to add our server to the access control list. The customer's netadmin wants to know what ports the UPDATE FRAMEWORK uses for inbound and outbound traffic. Does anyone

[flexcoders] Re: Modal windows and blur problem...

2010-04-27 Thread aceoohay
OK, so now I get; Access of possibly undefined property filters through a reference with static type mx.managers:ISystemManager on either; this.systemManager.filters = [blur]; or systemManager.filters = [blur]; Paul --- In flexcoders@yahoogroups.com, aceoohay pa...@... wrote: Alex: The

[flexcoders] Another Modal windows and blur problem...

2010-04-27 Thread aceoohay
I have created a modal window as described in an earlier post that acts as a privacy screen/screen saver for folks that walk away from their computer. To make it a bit more entertaining I wanted to periodiaclly change the modalTransparencyColor. I set up a 20 second timer in the popup and have

Re: [flexcoders] checkbox change while I move the datagrid scroll bar

2010-04-27 Thread Oleg Sivokon
Hi, the list based controls may reuse the item renderers, however they might not be aware of the changes that had happened to them. Normally you would store the state with the data which the renderer has to display. So that once the data is reset, the render appearance would reset with it. If, for

[flexcoders] Flex 4 RichEditableText component ignores multipe space

2010-04-27 Thread johanlopes
I have a use case where we have two Flex 4 RichEditableText components. (Using the latest public Flash Builder 4; Flex 4 SDK version: 4.0.0.14159). One of the component is bound to the other's 'text' property through TextConverter.importToFlow. The problem is, after hitting the space key on

Re: [flexcoders] Explicitly setting the height of a row in a DataGrid

2010-04-27 Thread Jason Proulx
Excellent suggestion, thanks Alex! Jay Sent from my iPad On 2010-04-27, at 10:54 AM, Alex Harui aha...@adobe.com wrote: I would do that by having a renderer that draws outside its given bounds, and other renderers to the right that set alpha=0 so they don’t show up. On 4/26/10 11:01 AM, Jay

[flexcoders] Flash Builder 4 java heap space error.

2010-04-27 Thread Christopher McArthur
Flash Builder 4 is crashing constantly for me with a java heap space error when compiling. It is driving me nuts. Im running on Windows Vista 64bit and 4GB of RAM. When this error occurs FlashBuilder is using about 780MB of RAM, and I have about 1.5GB of ram still free Research online

RE: [flexcoders] Flex 4 RichEditableText component ignores multipe space

2010-04-27 Thread Peter DeHaan
Can you please file a bug at http://bugs.adobe.com/flex/ and include your test case and we can take a look. Peter From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of johanlopes Sent: Tuesday, April 27, 2010 11:20 AM To: flexcoders@yahoogroups.com Subject:

Re: [flexcoders] Re: Modal windows and blur problem...

2010-04-27 Thread Alex Harui
Yeah, sorry. I forgot that systemManager is an interface. It is also a DisplayObject so try: DisplayObject(systemManager).filters[blur]; And to change it periodically, modify the blur and re-assign the entire array. On 4/27/10 10:27 AM, aceoohay pa...@compuace.com wrote: OK, so now I

Re: [flexcoders] Flash Builder 4 java heap space error.

2010-04-27 Thread Oleg Sivokon
Increase JVM memory *-Xms Am -Xmx Bm* * * (A is the initial memory size B is the maximum size in megabytes) you may do this globally in jvm configuration file, or per application run. I even think that MXMLC will accept -jvmargs parameter to pass arguments to jvm before it starts (MXMLC exe is a

Re: [flexcoders] checkbox change while I move the datagrid scroll bar

2010-04-27 Thread Fernando Wermus
Oleg, I cant associate the state with the data, and I cant find any info about itemRendereFunction. Do you have any link about it? According to my code, I would think this just should happen. I re write down my code: mx:CheckBox click=seleccionar(event) selected={seleccionado()} mx:Script

Re: [flexcoders] checkbox change while I move the datagrid scroll bar

2010-04-27 Thread Oleg Sivokon
http://help.adobe.com/en_US/FlashPlatform//reference/actionscript/3/spark/components/DataGroup.html#itemRendererFunction ( this is Flex 4, it didn't exist in Flex 3 ) But, no, it shouldn't work like that out of the box because renderers are reused, when the list based control lays out a renderer

[flexcoders] Re: Two TextAreas not staying in sync with verticalScrollPosition.

2010-04-27 Thread slugolicious
Figured it out. There are a sequence of 3 events (there are really more than 3 but 3 that are relative to this problem). TextEvent.TEXT_INPUT ScrollEvent.SCROLL Event.CHANGE Most of my work is done in CHANGE. That's where I add more line numbers. When I step through the SCROLL event, I

Re: [flexcoders] checkbox change while I move the datagrid scroll bar

2010-04-27 Thread Oleg Sivokon
Sorry, I've got that one wrong :) public override function set data(value:Object):void { this.checkBox.checked = this.parentDocument.amIChecked(this); super.data = value; }

[flexcoders] Re: Modal windows and blur problem...

2010-04-27 Thread aceoohay
Well, I no longer get an error, and more stuff gets blurred, but now everything gets blurred, including the titlewindow that is asking for the password. I need to blur everything except the titleWindow accepting the password. The original problem was that other modal popups weren't getting

[flexcoders] Re: Explicitly setting the height of a row in a DataGrid

2010-04-27 Thread Amy
--- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote: I would do that by having a renderer that draws outside its given bounds, and other renderers to the right that set alpha=0 so they don't show up. On 4/26/10 11:01 AM, Jay Proulx jason.pro...@... wrote: Because

Re: [flexcoders] checkbox change while I move the datagrid scroll bar

2010-04-27 Thread Fernando Wermus
Oleg, Thanks! I don't have Flex 4 so I cant try by this way. I would add the selected attribute to the VO. On Tue, Apr 27, 2010 at 5:53 PM, Oleg Sivokon olegsivo...@gmail.com wrote: Sorry, I've got that one wrong :) public override function set data(value:Object):void {

[flexcoders] blazeds doesnt take into consideration a collection that has been filtered. It sends the whole collection.

2010-04-27 Thread Fernando Wermus
Hi all, I am filtering an arrayCollection to get the selected user item's. I can see that this happend smoothly, but when I send this collection to the server, using blazeds, my backend function receives all the original collection without filering! what am I doing wrong? thanks in

[flexcoders] Modal windows and event handlers...

2010-04-27 Thread aceoohay
It would appear that keystrokes and mouse clicks from a modal window (popupManager) do not invoke the key/mouse handler routines created at the application level. what is the simplest way of trapping any keydown or mouse click event that occurs anywhere within an application including popups,

[flexcoders] Changing the modalTransparencyColor of an existing popup.

2010-04-27 Thread aceoohay
I posted this question under another Subject. I didn't realize precisely what the problem was and now I do, so I thought I would restate the question. Is there anyway to change the transparency color of an existing modal popup? I have tried the following, and it does not work. var intRed:int

[flexcoders] Re: flex/coldfusion paypal example

2010-04-27 Thread ZIONIST
Hey Guys, any help?

Re: [flexcoders] Modal windows and event handlers...

2010-04-27 Thread Alex Harui
Try adding event listeners to systemManager. On 4/27/10 4:36 PM, aceoohay pa...@compuace.com wrote: It would appear that keystrokes and mouse clicks from a modal window (popupManager) do not invoke the key/mouse handler routines created at the application level. what is the simplest way

Re: [flexcoders] Re: Modal windows and blur problem...

2010-04-27 Thread Alex Harui
I guess I didn’t understand your goal. If you blur the systemManager, everything will be blurred. If you put up a modal popup, it should go on top of every existing popup and blur everything below. Make sure you set the childList param to POPUP. On 4/27/10 2:08 PM, aceoohay