[flexcoders] Re: Selecting item in comboBox drop down.

2008-04-13 Thread aceoohay
Doug: Thanks for the link. I was able to liberate (steal) the code I needed. What I was looking for was; this.dropdown.selectedIndex = i; this.dropdown.scrollToIndex(i); As to the reason I wanted to roll my own, was that I already have an extended combobox that did other things, such as

[flexcoders] Selecting datagrid row on mouse right click

2008-04-13 Thread Danish Tehseen
Is it possible to select the datagrid row on which mouse right click is pressed? Even the mouse down event is only triggered for the mouse left click. Currently i have registered the itemClick event on datagrid, which raises the event of type ListEvent. Selected row is returned by

[flexcoders] Re: View stack not changing in display even though index changes (first time onl

2008-04-13 Thread dave_defusion
It definitely is some sort of race condition but the thing that is confusing me is the fact that it's reporting that the selected index and the selected child are those that I'm expecting but the display is wrong. I've tried adding a validateNow() call before the change but that hasn't made much

[flexcoders] Re: View stack not changing in display even though index changes (first time onl

2008-04-13 Thread dave_defusion
So my fix is as follows: 1. Remove the binding 2. In commit properties: if( this.initialized ) { this.selectedIndex = this._displaySection; } 3. In creation complete handler add call to invalidateProperties(); --- In flexcoders@yahoogroups.com, dave_defusion [EMAIL PROTECTED] wrote:

[flexcoders] socket policy for 9.0.124

2008-04-13 Thread Easow Jacob
Hi, After the new flash updates 9.0.124 ,i changed my security seetings for socket connection...but its always disconnecting...i am using default port 843...i read the security updates article from adobe for the new version and implemented as what they said exactly...still i am facing this

[flexcoders] socket connection for 9.0.124

2008-04-13 Thread Easow Jacob
Hi, After the new flash updates 9.0.124 ,i changed my security settings for socket connection...but its always disconnecting...i am using default port 843...i read the security updates article from adobe for the new version and implemented as what they said ...still i am facing this

[flexcoders] Re: how we can show the data in a flex tree

2008-04-13 Thread Yasir Mahmood
Thanks for your kind help. I does solve problem but there is an issue as well This function displays the tree like this. Main Table Region Southwest {EmptyFileIcon i.e. leave node}

[flexcoders] Re: What do you think of UM Cairngorm Extensions,especially for Modular Apps?

2008-04-13 Thread ACE
It is not so much of using If/new callbacks, it is more of a generic approach. I personally do not like If(s), not a fan at all. What I find missing is an easy way of sequencing events as i would have done in traditional threaded applications. If I was do a callback, i would prefer to pass a

[flexcoders] Seeking tutorial that connects Flex with various architecture

2008-04-13 Thread jeffreyr6915
I am looking for a step-by-step detailed tutorial that will show me how to connect the following technologies with my Flex Application (from installation to actual usage to understanding what each part does). My flex application needs to be able to save data from a datagrid in the database and

[flexcoders] Re: View stack not changing in display even though index changes (first time onl

2008-04-13 Thread dave_defusion
Actually that didn't fix it either, I then had the strange situation of two of the children showing at the same time in the viewstack. The (hopefully final) fix I have now is to not have the Viewstack be the root component in my custom component, now I have a Canvas as the root in the custom

[flexcoders] Re: What do you think of UM Cairngorm Extensions,especially for Modular Apps?

2008-04-13 Thread ben.clinkinbeard
You don't like if statements? There is another thread around here about sequencing events/commands and there is also Cairngorm's SequenceCommand (though personally I am not a fan of that). As for the Callbacks class you see, that is just a convenient way to wrap a result handler and fault

[flexcoders] Editable DataGrid

2008-04-13 Thread Fidel Viegas
Hello all, How do I create a DataGrid that allows me to add new rows by hitting the tab key or pressing the mouse button in a DataGrid? Something like how MS Access works. Does anyone have a pointer to an example that does this? Thanks in advance, Fidel.

Re: [flexcoders] Re: What do you think of UM Cairngorm Extensions,especially for Modular Apps?

2008-04-13 Thread Doug McCune
BTW, the EventGenerator class in the UM extensions is specifically for sequencing events. You can wrap a bunch of events in the EventGenerator and tell the generator whether the events should run in sequence or in parallel. Then you fire off the generator and it will queue up all the events and

RE: [flexcoders] Re: some one must know this!!! Please tell me!!!

2008-04-13 Thread Tracy Spratt
I have to take exception to the suggestion that active participation in the community must interfere with getting one's work done! Tracy PS, weekend is almost over, probably time to stop chattering. From: flexcoders@yahoogroups.com [mailto:[EMAIL

[flexcoders] Re: Flex bug database - choosing a milestone

2008-04-13 Thread Dmitri Girski
thanks, guys --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: RC6 is the official release build, but Moxie Release is fine too. Matt On 4/11/08 5:58 AM, valdhor [EMAIL PROTECTED] wrote: I had the same dilema. I decided that Moxie Release seemed closest

[flexcoders] Re: Fb3 Help

2008-04-13 Thread Dmitri Girski
I didn't find anything regarding FB3 Help in bugs database, so I've created the new bug: https://bugs.adobe.com/jira/browse/FB-12406 Please vote if you think that using Google is a wrong way to search :) Cheers, Dmitri. --- In flexcoders@yahoogroups.com, Dmitri Girski [EMAIL PROTECTED] wrote:

[flexcoders] LineChart - how to make a line change color

2008-04-13 Thread bjorn -
I have weeks on my x-axis, and would like the lines to turn gray if they go into the future ;-) .. I've been able to set a lineSegmentRenderer and overriden the set data() method. There I can check the week number of the incomming data. I see that the segments each have an 'itemRenderer' which is

[flexcoders] Re: Problem when trying to use RSL Cache

2008-04-13 Thread Dmitri Girski
Hi Bruce, Have a look at my earlier post http://tech.groups.yahoo.com/group/flexcoders/message/108149 AFAIK it means that the order player loads things is incorrect. Cheers, Dmitri. --- In flexcoders@yahoogroups.com, boy_trike [EMAIL PROTECTED] wrote: I am using FB 3. in Project / Build I

[flexcoders] Re: Weird stacktrace in Console panel

2008-04-13 Thread Dmitri Girski
There are many cases when you people combine multiple cases with one action, so getting compiler warning for them will be unwelcome. Documentation clearly states the condition of fall-through, so this is perfectly legal situation. Cheers, Dmitri. --- In flexcoders@yahoogroups.com, João

[flexcoders] Re: socket policy for 9.0.124

2008-04-13 Thread Dmitri Girski
Hi Mathew, Sorry for stupid question - but do you have a socket server listening on port 843? Cheers, Dmitri. --- In flexcoders@yahoogroups.com, Easow Jacob [EMAIL PROTECTED] wrote: Hi, After the new flash updates 9.0.124 ,i changed my security seetings for socket connection...but its

Re: [flexcoders] Re: some one must know this!!! Please tell me!!!

2008-04-13 Thread Vivian Richard
Here comes the best part: it worked What Tracy suggested worked and I am no more stuck. Thanks Tracy. By the way is it really Tracy who is answering most of the questions? How come I never noticed that name. The name I see all the time is the mighty ALEX. Not only that did not

Re: [flexcoders] RadioButtonGroup numRadioButtons never changing

2008-04-13 Thread Douglas Knudsen
Note, use of groupName in AS is not the way of the light so to speak. Use rb.group = refToRadioButtonGrp DK On Fri, Apr 11, 2008 at 10:21 PM, kenny14390 [EMAIL PROTECTED] wrote: I have a canvas consisting of 5 different radio button groups: Lec, Dis, Ind, Sem, and Act. In my Script I have

[flexcoders] Re: Drag and Drop Issue...

2008-04-13 Thread anuppc
can you elaborate? thanks --- In flexcoders@yahoogroups.com, Swamy Nathan [EMAIL PROTECTED] wrote: i think u specify the label field. On Fri, Apr 11, 2008 at 12:48 PM, Swamy Nathan [EMAIL PROTECTED] wrote: can u send ur code. i will correct it On Fri, Apr 11, 2008 at 12:31

RE: [flexcoders] How to download a BLOB from database....using Java

2008-04-13 Thread Jim Hayes
Ok, gotcha! You need to use Loader.loadBytes(b:byteArray) var loader:Loader = new Loader(); loader.loadBytes(yourByteArray); Now, the bitmap *will* be available in the loaders “content” property, but do not assume that just because you gave it a preloaded bytearray that it will be

[flexcoders] how to get parametric transitions for Flex

2008-04-13 Thread elr
In their book Programming Flex 2 (Chapter 11- p. 251) J. Lott and C.Kazoun show how to write a cool MXML transition effect (4 windows moved and resized upon a click). But the number of windows it moves is predefined and fixed. Adding just a window imply adding a bunch of copy/pastes into

[flexcoders] Is it possible to have a .properties filethat contains keys with multiple lines?

2008-04-13 Thread guillaumeracine
This is a major maintenance problem for me... I have to put an entire text in ONE LINE un my resources.properties file. Someone have a good solution?

[flexcoders] What hosting compagny are you using for Flex + (Blaze || LCDS)

2008-04-13 Thread guillaumeracine
I just created a new Flex+BlazeDS app. I did not notice any memory problem during development because i was using -xms:1024. When i copied the my webapp in the tomcat dir of my host, i noticed an out of memory error after 15min... My actual host allow me only 160mo of heap space for tomcat. I

[flexcoders] [newbie] Numbered list support in RichTextEditor?

2008-04-13 Thread Scott Finnie
Hello, Am looking for numbered list support but standard component only seems to support unnumbered (bulleted) lists. Wondering about options: . Any 3rd party components? . Any advice on extending existing? Thx, Scott.

[flexcoders] How the hell do you debug a 1009 error from SOAP?

2008-04-13 Thread Josh McDonald
I've started getting a 1009 error for no apparent reason when trying to call a SOAP method, and there's absolutely no useful debugging information, it just comes up as a fault event. How is one supposed to track down and fix something like this? I'm stuck on 2.01 so there's no source to rpc.* to

Re: [flexcoders] Soap and Dates - big problems! any soap+flex ninjas here can help?

2008-04-13 Thread Douglas Knudsen
set resultFormat='e4x' on your webservice methods. Note that if you are depending on the default Object format in your code, your code will need a' changin. DK On Sat, Apr 12, 2008 at 10:36 PM, Josh McDonald [EMAIL PROTECTED] wrote: How do I switch to E4X format results? I didn't know you

Re: [flexcoders] How the hell do you debug a 1009 error from SOAP?

2008-04-13 Thread Douglas Knudsen
Service Capture, trace(), and some chicken bones :) Seriously, I'd invest in Service Capture or Charles to sniff your SOAP. You can certainly use Wireshark or FireBug too, but not for AMF sniffing which smells better to me! DK On Sun, Apr 13, 2008 at 7:27 PM, Josh McDonald [EMAIL PROTECTED]

Re: [flexcoders] How the hell do you debug a 1009 error from SOAP?

2008-04-13 Thread Doug McCune
Here is a recent IM conversation I had with someone who shall remain nameless. I apologize for the language, but it wasn't even me this time. 4:43:38 PM [EMAIL PROTECTED]: fucking new flashplayer broke [my app] and i have no idea why 4:43:49 PM [EMAIL PROTECTED]: i didn't think any of that

Re: [flexcoders] How the hell do you debug a 1009 error from SOAP?

2008-04-13 Thread Josh McDonald
Thanks for that info Doug :) SOAP is rather flaky in Flex, but we're working our way through it. I've got Charles, it works great combined with Oracle's BPEL console to snoop into what's going on between Flex and the world, but when your service is generating nice data but flex chokes anyway,

Re: [flexcoders] Soap and Dates - big problems! any soap+flex ninjas here can help?

2008-04-13 Thread Josh McDonald
Cheers. I'm experimenting with moving this codebase to Fx 3, which seems to be working, but it looks like the automatic parsing of dates has simply been chucked, rather than fixed? They're coming through to my app code as Strings instead of Dates. Which is fine I suppose, then I can write a

Re: [flexcoders] What hosting compagny are you using for Flex + (Blaze || LCDS)

2008-04-13 Thread Douglas McCarroll
I'm going to be grappling with the same question soon, so I'd also love to hear what people are using. Here's an interesting article on using Amazon's EC2: http://weblog.cahlan.com/2008/04/easy-setup-guide-for-blazeds-zero-to.html Douglas On Sun, Apr 13, 2008 at 2:49 PM, guillaumeracine [EMAIL

Re: [flexcoders] Seeking tutorial that connects Flex with various architecture

2008-04-13 Thread Douglas McCarroll
You might find some useful links on these pages... http://www.brightworks.com/technology/adobe_flex/testing_debugging_agile_methods.html http://www.brightworks.com/technology/adobe_flex/with_java.html http://www.brightworks.com/technology/adobe_flex/cairngorm.html Douglas On Sat, Apr 12, 2008

[flexcoders] Re: Embedded Fonts and Text Alignment problem in Text control

2008-04-13 Thread renzeullo
Hi Rick, Thanks for taking time to check on this. :). I have sent the misbehaving font to your email ([EMAIL PROTECTED], correct?). I am leaning towards believing that this is a problem with the width values that the fonts are passing to flex. I just don't have an idea on how to check on it. :(

[flexcoders] Re: What hosting compagny are you using for Flex + (Blaze || LCDS)

2008-04-13 Thread Dmitri Girski
co-location. Servers are cheap in these days. Cheers, Dmitri. --- In flexcoders@yahoogroups.com, guillaumeracine [EMAIL PROTECTED] wrote: I just created a new Flex+BlazeDS app. I did not notice any memory problem during development because i was using -xms:1024. When i copied the my

[flexcoders] sort line chart x-axis?

2008-04-13 Thread Paul Hastings
i have a graph that needs to display line chart data in an order reversed from what flex normally does, ie instead of from 0--4000 it needs to display the data 4000--0. i've tried sorting the incoming data, using the LineSeries sortOnXField property, etc. no joy so far. is this even possible in

[flexcoders] DateField.selectedDate being set to null on focusOut??

2008-04-13 Thread Josh McDonald
Hi, I've been getting mystery nulls, and it seems that for some reason when my embedded DateField component loses focus, its selectedDate is reset to null. Anybody have *any* idea why? I've got breakpoints on set selectedDate inside mx:DateField and it's not being called... Sometimes I feel like

[flexcoders] Re: DateField.selectedDate being set to null on focusOut??

2008-04-13 Thread aceoohay
Are you sure it is being set to null? I have seen a problem where if the dateField is editable, and the width of the box is a bit too small, it will display the date, but when editing/exiting it causes it to display an empty box. I found that expanding the width ever so slightly made the

Re: [flexcoders] Re: DateField.selectedDate being set to null on focusOut??

2008-04-13 Thread Josh McDonald
No, it's being set to null, and I can't see how. As in when I click on another field in the form, I'm getting a CalendarLayoutChangeEvent from the DateField, with newDate as null, and at that time innerDateField.selectedDate is null. Interestingly enough, it doesn't call the labelFunction either,

[flexcoders] Error 1046 on custom component...

2008-04-13 Thread aceoohay
I copied a custom component changing its name, and a few other items. In FB 2.01 the intellisense sees it just fine, it sees all of the properties and methods just fine as well. When I compile the mxml that references it I get; 1046: Type was not found or was not a compile-time constant:

[flexcoders] SDK Source in debugger?

2008-04-13 Thread Josh McDonald
Hi guys, what do I have to do to get the debugger aware of the SDK source? I can command-click into DateField.as and place some breakpoints, but I don't know which one brings the debugger up, because the debugger tells me there's no source :) -J -- Therefore, send not to know For whom the bell

[flexcoders] Re: SDK Source in debugger?

2008-04-13 Thread Josh McDonald
Never mind, I'm a tool :) I eventually added the whole sdks/3.0 directory and she's sweet! -J On Mon, Apr 14, 2008 at 2:42 PM, Josh McDonald [EMAIL PROTECTED] wrote: Hi guys, what do I have to do to get the debugger aware of the SDK source? I can command-click into DateField.as and place

[flexcoders] Flash/Flex Compatibility with 64bit OS

2008-04-13 Thread kenny14390
I got this email from a user of my Flex applications... -- Heh, I tried to log in today and it didn't work. I think I know what the problem is. It worked before when I was logging in with my laptop with runs 32bit XP. I run a 64 bit OS on my desktop and it doesn't work on it. It probably has

[flexcoders] Re: RadioButtonGroup numRadioButtons never changing

2008-04-13 Thread kenny14390
What would be the differences? In the example case that I posted, should I have used... rb.group = Lec; or rb.group = Lec; Thanks --- In flexcoders@yahoogroups.com, Douglas Knudsen [EMAIL PROTECTED] wrote: Note, use of groupName in AS is not the way of the light so to speak. Use

[flexcoders] Re: Link Inside of TextBox

2008-04-13 Thread kenny14390
Is there a way to avoid using font with CSS? I tried and searched the documentation, but information about it appears to be scant. --- In flexcoders@yahoogroups.com, Jamie S [EMAIL PROTECTED] wrote: I've done this recently using the htmlText property of the Label component and using a regular

[flexcoders] Re: Error 1046 on custom component...

2008-04-13 Thread dougmccune
Double check the package structure and the package statements at the top of the custom class. It sounds like maybe you grabbed the class file from some other package structure, moved it to some other structure, and forgot to change the package declaration at the top of the file. When this happens

Re: [flexcoders] Re: DateField.selectedDate being set to null on focusOut??

2008-04-13 Thread Josh McDonald
Figured this out for anybody who has the same problem in the future - if you use a labelFunction, make damn sure you supply a custom parseFunction, or set parseFunction to null! A pretty ugly silent failure tho methinks. -J On Mon, Apr 14, 2008 at 2:33 PM, Josh McDonald [EMAIL PROTECTED] wrote:

Re: [Flashcoders] Re: [flexcoders] Re: Caching problem

2008-04-13 Thread Mike Chabot
A note on this that I don't think was mentioned in the other posts is if you have the newer AC_FL_RunContent function in your base HTML, instead of having something like this: main.swf?12345 You will have this (note the lack of any file extension): src,main?12345 So if your goal is to roll out a