[flexcoders] Re: Query Cleansing

2005-08-18 Thread Andrew Spaulding
Hey Scott, I had to deal with a similar scenario a while ago and posted a solution on flexdaddy http://www.flexdaddy.info/2005/06/16/strongly-type-a-cf-return-using-cairngorm/ Let me know if that is what you're kinda after ;-) Cheers, Andrew Spaulding www.flexdaddy.info --- In flexcoders@ya

RE: [flexcoders] Query Cleansing

2005-08-18 Thread Dirk Eismann
Hi Scott, we usually go a different route here. It turns out to be totally transparent and if implemented correctly then your Flex app will be able to work with either CF or any custom J2EE soultion that returns POJOs or collections thereof - we have a facade.cfc that wraps calls to the underly

RE: [flexcoders] Changing the wrongLengthError in a DateValidator

2005-08-18 Thread Matt Chotin
The field in 1.x is abstracted away from the validator so that it’s really only working with the value.  Because of the way Validators are generated there isn’t even really a field property on the Validator, it’s just a code-gen construct that is used to register the Validator in a larger

[flexcoders] Query Cleansing

2005-08-18 Thread Scott Barnes
I've come across a small annoyance (easily fixed) but one that kind of triggered an initial "extra" level of development. Basically I went down the path of returning a query from a CFC to FLEX. Nothing overly exciting about that. Except the property "character casing" popped its ugly head up the m

RE: [flexcoders] Is it possible to return multiple recordsets to Flex from one Remote Object call

2005-08-18 Thread Mika Kiljunen
Why not return an arrray containing recordsets and then setting the recordsets from the array as dataproviders to your controls by actionscript as follows:   resultArray looks like:     [0] Recordset1 (an array of resultobjects from query 1)     [1] Recordset2 (an arra

[flexcoders] Re: DepthManager

2005-08-18 Thread Rajesh Jayabalan
Hi Jester, It does work, But I can do that only when I (in code) move the window up, but if the window comes up due to user action if the user clicks on the window title, I cannot set it. Regards Rajesh J --- In flexcoders@yahoogroups.com, "JesterXL" <[EMAIL PROTECTED]> wrote: > Wow... so if y

Re: [flexcoders] After TitleWindow deletePopup(), nothing is accessible on screen

2005-08-18 Thread kreddington1
Does anyone have an example of how to use this removeWindow function? I am trying to get my focus to work. I placed this function in the app file and call it from an eventHandler. The eventHandler gets dispatched in the titlewindow. Obviously, this isn't the right place to call the removeWi

[flexcoders] How to draw a line on the canves which is in the panel?

2005-08-18 Thread Prasad Dhananjaya
Dear all, I want to draw some lines on the "canves". Location of canves is inside the "panel".Without canvas & panel tags it works. (But if I set "backgroundColor" it didn't appear) I tried to get some hint from manual.But failed. Can someone please tell me how to draw a line on the "canves" w

RE: [flexcoders] Accessing cells in a datagrid.

2005-08-18 Thread Tracy Spratt
Rather than loop over the datagrid cells after the fact, why not enable disable the combobox during instantiation, in the setValue() method? You have the data you need for the conditional, and you have a direct reference to the control Tracy -Original Message- From: flexcoders@yahoogr

[flexcoders] Accessing cells in a datagrid.

2005-08-18 Thread thisdudenamedjon
I have a datagrid with various cellrenderer's in the different columns. One particular cellrenderer uses a combo box. I would like to conditionally enable/disable this combo box based on a particular field in my datagrid's dataprovider. Currently, I am using the following code to iterate throug

[flexcoders] Is it possible to return multiple recordsets to Flex from one Remote Object call

2005-08-18 Thread coldfs
Hi, My Flex app connects to a large ColdFusion application. When I make calls from Flex via RO to CF, I need to return more than one recordset in order to populate my various datagrids. I know how to return one recordset as an Array of Structures, but what if I have 5 different querries that

Re: [flexcoders] Re: DepthManager

2005-08-18 Thread JesterXL
Wow... so if you do: yourMenu.setDepthAbove(yourTitleWindow); It doensn't work? - Original Message - From: "Rajesh Jayabalan" <[EMAIL PROTECTED]> To: Sent: Thursday, August 18, 2005 7:41 PM Subject: [flexcoders] Re: DepthManager Hi Jester, I am using menubar and menu even for these

[flexcoders] Re: DepthManager

2005-08-18 Thread Rajesh Jayabalan
Hi Jester, I am using menubar and menu even for these you can use setdepthabove and pass a titlewindow object. I am doing this whenever I can (user selects a window from the window menu) but I cannot set this when the user clicks on the window titlebar, in those cases the window is above the menu

RE: [flexcoders] Is there a simple way of doing this

2005-08-18 Thread Tracy Spratt
And don’t forget the “everything but ^”, from the docs:   If the string begins with ^, the string specifies the characters that may not be entered into the control. For example, the string "^a-z" means all upper case letters may be entered, but no lower case letters are allowed.   Tra

RE: [flexcoders] How to programmatically select multiple items in a List control?

2005-08-18 Thread Tracy Spratt
Here is one way: http://www.cflex.net/showfiledetails.cfm?ChannelID=1&Object=File&objectID=252 Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Bob Remeika Sent: Thursday, August 18, 2005 5:04 PM To: flexcoders@yahoogroups.com Subject: [flex

[flexcoders] How to programmatically select multiple items in a List control?

2005-08-18 Thread Bob Remeika
Does anybody know how to do this? I would assume that it has something to do with pushing an index on the selectedIndices property but I have been unable to get it to work. I am able to select a single element by setting selectedIndex to a valid index though. I do also have multipleSelection="tr

[flexcoders] Flex usability test...your help needed!

2005-08-18 Thread Kenneth Berger
Hello, We're currently working on making the next version of Flex the best it can be, and we need your help! We are inviting people to participate in a usability study at Macromedia's main office at 601 Townsend Street in San Francisco. Our offices are accessible by public transportation and fre

RE: [flexcoders] What I wish Flex/Flash Player could do...

2005-08-18 Thread James
Thanks Ted, Maybe I wasn’t plain enough I have a barcode scanner using the keyboard wedge (this works Great!)   I’m looking for something for the card reader, that is on the com1 port, and also a cash drawer on the com2 port. I was thinking about this some more over night and after r

RE: [flexcoders] How to programmatically scroll a grid to desired row ?

2005-08-18 Thread Adam Cath
In order to make sure the grid doesn't scroll off the end or beginning, you may want to use Math.max(Math.min(desiredPosition, maxVPosition), minVPosition) -Adam -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Manish Jethani Sent: Thursday, Aug

Re: [flexcoders] Re: DepthManager

2005-08-18 Thread JesterXL
Popups use a depth that is usually set aside for things that are modal. Menus' and ComboBox menus tend to go under that so already you can see the problem. If you are using Menu, not MenuBar, I'm not sure but you may be-able to put that in a PopUp too? - Original Message - From: "Raje

[flexcoders] Re: DepthManager

2005-08-18 Thread Rajesh Jayabalan
Hi, I am doing something similar now, since I am maintaining a list of all the windows, I can go thru them and findout which one is on top currently and use the setabovemethod. Using this sometimes windows blackout, and the control is in a different window, and I will need to start fresh. Also

Re: [flexcoders] Is there a simple way of doing this

2005-08-18 Thread JesterXL
  I think, also, there maybe some of the Validator classes which offer an extra level of assurance and user feedback.   - Original Message - From: [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, August 18, 2005 2:27 PM Subject: [flexcoders] Is there a simple way

[flexcoders] Is there a simple way of doing this

2005-08-18 Thread nostra72
Making sure that when someone enters something in a textbox that they can only enter numbers and that you can only type in numbers?   -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40y

Re: [flexcoders] Re: DepthManager

2005-08-18 Thread JesterXL
There are other lower-level ways. The way I've handled in the past was to keep a member variable pointing to the highest window, and then do something like: clickedPanel.setDepthAbove(highestPanel); highestPanel = clickedPanel; - Original Message - From: "Rajesh Jayabalan" <[EMAIL PRO

[flexcoders] Re: DepthManager

2005-08-18 Thread Rajesh Jayabalan
Hi Jester, I am using popupmanager to create my titlewindows.. (how do I create windows without them??) Regards Rajesh J --- In flexcoders@yahoogroups.com, "JesterXL" <[EMAIL PROTECTED]> wrote: > I dug back to the first message; sounds like he has a TitleWindow being > created without PopUpMan

Re: [flexcoders] How to programmatically scroll a grid to desired row ?

2005-08-18 Thread Manish Jethani
On 8/18/05, Shlomi Cohen <[EMAIL PROTECTED]> wrote: > is there a way to scroll a datagrid object to a selected Index row ? Set vPosition. Manish Yahoo! Groups Sponsor ~--> http://us.ard.yahoo.com/SIG=12htk91l0/M=362329.6886308.7839368.1510227/D=

RE: [flexcoders] Has anyone ever made a card game in Flex

2005-08-18 Thread Roger Gonzalez
Flash is not peer-to-peer; neither is your web browser.   You need a server.  It would be straightforward to write a tiny little servlet to do nothing other than pass XML blobs around between all connected clients.   See http://www.globulos.com/ for an amazing example of what can be done w

[flexcoders] getting error when running Flex1.5 on Dev env.

2005-08-18 Thread Jawad Anwar
Can anyone explain why I’m getting this error message when running flex app. on our WSAD App Server even after changing this variable to true.   “An error occurred because there is no graphics environment available. Please set the headless-server setting in the configuration file to tru

[flexcoders] How to programmatically scroll a grid to desired row ?

2005-08-18 Thread Shlomi Cohen
Title: Mercury Email Signature Hi   is there a way to scroll a datagrid object to a selected Index row ? i saw there is a property named focusedCell that do this if you focus on a cell but i don't have the Cell object to assign to it. only the row index number.   how can i obtain a refer

RE: [flexcoders] Re: Service Call Timeouts in Cairngorm

2005-08-18 Thread Stacy Young
Just picked up this thread in the archives…I’m about to approach this same task…was wondering if you guys have made progress, if so,  willing to share your wisdom? :)   Cheers, Stace   From: Steven Webster [mailto:[EMAIL PROTECTED] Sent: Friday, June 10, 2005 4:34 PM To: fle

Re: [flexcoders] DividedBox BoxDivider width or height

2005-08-18 Thread Manish Jethani
On 8/18/05, zipo13 <[EMAIL PROTECTED]> wrote: > Does anyone know if the width or height of the BoxDivider in the > DividedBox can be controlled. > The default width of a VDividedBox is a bit fat and I wondered if it > can be reduced. What about the dividerThickness and dividerAffordance styles?

RE: [flexcoders] Has anyone ever made a card game in Flex

2005-08-18 Thread Dirk Eismann
Freecell and Solitaire should be pretty easy to implement. Sorry, couldn't resist :) Dirk. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Thursday, August 18, 2005 5:56 PM To: flexcoders@yahoogroups.com Subject: Re

Re: [flexcoders] Has anyone ever made a card game in Flex

2005-08-18 Thread nostra72
What your saying is that with just raw Flex this is not possible to do. I know you can write a card game with Flex the question is can you do it and actually put it on the net so people can play it. Is this possible to do with Flex, just flex that is -- Flexcoders Mailing List FAQ: http://g

RE: [flexcoders] Has anyone ever made a card game in Flex

2005-08-18 Thread Philippe Maegerman
You would need something like Flash Communication Server to perform that. It can hold your game values and functions server-side, so that would be secure enough.   I think some xmlSocket server can do that as well, but I have no experience with such tools.   Philippe Maegerman   From: f

[flexcoders] Has anyone ever made a card game in Flex

2005-08-18 Thread nostra72
Has anyone ever written a program where someone can play cards with someone else online using Flex? I mean I would think it would be hard because how do you set it up to where you do not see someone elses cards? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/

RE: [flexcoders] Constructor not called when calling

2005-08-18 Thread grady.haynes
Hi, Chiel. Could you post some of the code from your tag whose constructor wasn't being called? afaik, the no-args constructor should have been called; is there a possibility of a typo (or incorrect capitalization) in the constructor name? Also, make sure that your constructor isn't declared wi

[flexcoders] Constructor not called when calling

2005-08-18 Thread trumpet1971
Hi all, I am pretty new at Flex and working on my first project. I read some Macromedia tutorials and in one of them they created their own CalculatorHandler-class and instantiated this through a tag in the main mxml file. I tried something similar by building my own class and found out the co

RE: [flexcoders] Cannot assign selected value from a radiobutton that was created dynamically.

2005-08-18 Thread Oscar . Cortes
Thanks, this worked. I will read more about EventListener and Delegate

RE: [flexcoders] What I wish Flex/Flash Player could do...

2005-08-18 Thread Rick Bullotta
Also, there are plenty of “generic” COM port-to-keyboard wedge applications out there.   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Theodore E Patrick Sent: Thursday, August 18, 2005 9:16 AM To: flexcoders@yahoogroups.com Subject: RE: [flex

Re: [flexcoders] Changing the wrongLengthError in a DateValidator

2005-08-18 Thread Kai König
Mika, thx, this is a very helpful one. Today I ran into another one, I was trying to access the field attribute of a validator inside the class, got an undefined all the time. The docs states that the field propery is not to be set in ActionScript, is it not accessable at all? app.mxml: insid

[flexcoders] DividedBox BoxDivider width or height

2005-08-18 Thread zipo13
Hi, Does anyone know if the width or height of the BoxDivider in the DividedBox can be controlled. The default width of a VDividedBox is a bit fat and I wondered if it can be reduced. I did: var div:mx.containers.dividedboxclasses.BoxDivider = myDivider.getDividerAt(0); div.width = 40; div.heig

RE: [flexcoders] What I wish Flex/Flash Player could do...

2005-08-18 Thread Theodore E Patrick
The best way to test a wedge driver is with a Text Editor.   Open NotePad Set the focus into Notepad Swipe a Card, Scan a barcode, Read an RFID.   If the wedge driver is working, the reader should rapidly type a long string of characters into notepad. The string ha

[flexcoders] SplitPane in Flex

2005-08-18 Thread Shlomi Cohen
Title: Mercury Email Signature Hi   I need a splitpane control in Flex, something with the ability to be closed immediately not just dragged to the end. (like the one we have in Flex Builder)   i've looked into a SplitPane written by Joan Garnet () and i think t

RE: [flexcoders] What I wish Flex/Flash Player could do...

2005-08-18 Thread James
Hello Ted,       I was looking for a way to read a card reader from comm. port, as the current configuration I have to deal with uses a barcode scanner on the wedge. Any help would greatly be appreciated James   From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECT

RE: [flexcoders] Changing the wrongLengthError in a DateValidator

2005-08-18 Thread Mika Kiljunen
Oops, this is the problem I was trying to answer to. Sorry folks about the previous post... :) Class MyDateValidator extends mx.validators.DateValidator { public function validationError(errorCode:String, defaultMessage:String,subfield:String):Void { If (errorCode == “wrongLength”)

RE: [flexcoders] Validation TextInput

2005-08-18 Thread Mika Kiljunen
Yep, I had the same problem earlier. Matt posted this solution that works: Class MyDateValidator extends mx.validators.DateValidator { public function validationError(errorCode:String, defaultMessage:String,subfield:String):Void { If (errorCode == “wrongLength”) defaultMess

RE: [flexcoders] LeftTabNavigator woes (was: Cairngorm woes)

2005-08-18 Thread Steven Webster
Nate,   There is nothing about your problem I can see here that has any relation to Cairngorm   The error message suggests that there is no method called getInstance() on a class that one of your developers has written, called LeftTabNavigator.as or LeftTabNavigator.mxml   I'd go and lo

[flexcoders] Cairngorm woes =\

2005-08-18 Thread Nate Nielsen
Hi all,   Having a tough time with a cairngorm app that's been inherited.  I didn't write the cairngorm adaptation, so I'm a bit lost.  This is what we're getting :     Error C:\Inetpub\wwwroot\bidfly\com\bidfly\view\BrowseViewHelper.as:100 There is no method with the name 'getInstance'.

RE: [flexcoders] How to draw a Trangle??

2005-08-18 Thread Philippe Maegerman
function drawTriangle() { var triangle = this.createEmptyMovieClip("triangle_mc", 1); with (triangle) {  lineStyle(5, 0xff00ff, 100);  moveTo(200, 200);  lineTo(300, 300);  lineTo(100, 300);  lineTo(200, 200); }}   Philippe Maegerman Web developer +32 2 400 40 39 +32 472 35 28 10 Avoir

[flexcoders] How to draw a Trangle??

2005-08-18 Thread Prasad Dhananjaya
Hello all, Can someone tell me how to draw a triangle. I started to use Flex & Actionscript from yesterday. So less experience & knowledge. There is a sample code(only a part) in Flex [help].But don't know how to define "triangle_mc"(see code)? Is there any other errors in this code? Please h

RE: [flexcoders] Ladislav Zigo Tweening Prototype in Flex

2005-08-18 Thread Philippe Maegerman
State of the art Tween machine ;) http://www.alex-uhlmann.de/flash/animationpackage/   Philippe Maegerman From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]Sent: jeudi 18 août 2005 10:44To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Ladisl

RE: [flexcoders] Ladislav Zigo Tweening Prototype in Flex

2005-08-18 Thread tor.kristensen
>>Does anybody know how to use this Ladislav Zigo Prototype >>http://laco.wz.cz/tween/ in Flex? The TEC Tweening library plays well with Flex, and is easy to implement. You can take a look at it here: http://magnus.te-consulting.dk/flash/index.html And check it out from here: http://svn.sourcese

[flexcoders] onKeyDown method cannot capture Escape key

2005-08-18 Thread owls_yang
Hello all, I'm working about keyboard shortcuts and want to capture the even when Escape key is down. I use this listener to test, most keys work fine unless the "Escape". It's on Windows 2000 Professional. Is Escape key unavailable for Flex on Windows? class mgr.MyKeyListener implements mx.c

[flexcoders] Ladislav Zigo Tweening Prototype in Flex

2005-08-18 Thread Stanislav Zayarsky
Does anybody know how to use this Ladislav Zigo Prototype http://laco.wz.cz/tween/ in Flex? Best regards Stanislav Yahoo! Groups Sponsor ~--> http://us.ard.yahoo.com/SIG=12hifjn8i/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=

Re: [flexcoders] Changing the wrongLengthError in a DateValidator

2005-08-18 Thread Kai König
Hi Matt, if you're thinking about the validators in general, another thing I'd love to have is something like a defaultErrorMessage attribute which automatically sets the value for all the more specific error attributes if one doesn't specify those in particular. Cheers Kai MC> I think someone e