Re: [flexcoders] Re: Datagrids and Images

2005-04-11 Thread Manish Jethani
On Apr 11, 2005 3:34 AM, digital_eyezed [EMAIL PROTECTED] wrote: Sorry I can't see how this helps, this shows how to drag and drop columns on a datagrid, which is not the same as having an icon in the Okay, I thought you didn't know about header renderers, so I pointed you to that example.

Re: [flexcoders] Tab navigator container

2005-04-11 Thread Manish Jethani
On Apr 11, 2005 11:31 AM, nithya karthik [EMAIL PROTECTED] wrote: i want just the menu ie, a rectangular area like a vbox holding a list of menus to appear just beneath the tab Search for 'createMenu' on this page:

Re: [flexcoders] Re: No debugging information available for invocation of methods on server-side

2005-04-11 Thread Dan Tropp
Hi Andrew, {Tomcat_home}/logs/stdout.log is the only file that gets anything and it is minimal. I don't seem to have a catalina.out, but perhaps this is stdout.log under Tomcat 5.0? Thanks for the reminder about the net debugger. I picks up my calls but the information is limited. For

[flexcoders] Re: No debugging information available for invocation of methods on server-side

2005-04-11 Thread Andrew Spaulding
Hey Dan, Sorry, catalina.out is Tomcats output stream for logging packages such as Log4J and other similar tools. So you really wont get much of an output in the tomcat console or your stdout.log (these will probably only display your System.out messages etc) If it took you so long to find

[flexcoders] accessing data from a TitleWindow

2005-04-11 Thread Duccio Del Ministro
Hi all, my application retrieves its data using a HTTPService in the main Application window. When i open a modal window using PopUpManger and mx.containers.TitleWindow i'm not able to access the data previously retrieved by HTTPService . Is there a way to pass those data as a parameter to the

Re: [flexcoders] HSlider for FLASH MX 2004?

2005-04-11 Thread Scott Barnes
Yeah I remember MM released a Slider.swc DblSlider.swc ages past in Royale, was wondering where that is now. Also I noted that in the FlexForFlash a few classes aren't included.. Why's that :) so prying eyes like mine can't translate that into FLash MX 2004 or simply couldn't be bothered

Re: [flexcoders] menu bar control

2005-04-11 Thread Manish Jethani
On Apr 11, 2005 4:05 PM, Manish Jethani [EMAIL PROTECTED] wrote: for (var i:uint = 0; i foo.bar.category.length; i++) menu.addItem(foo.bar.category[i]); Sorry, I meant Number, not uint. A bit of a C programming hangover. :) ;-) -- [EMAIL PROTECTED] http://manish.revise.org/

[flexcoders] Mouse effect on dynamic component

2005-04-11 Thread Tom Fitzpatrick
If I'm creating a component dynamically with createChild, how do I add an effect? For an Effect named childHoverIn, I tried a mouseOverEffect to a new instance of the component Comp this way: createChild(Comp,,{mouseOverEffect:childHoverIn}); The child is created, but the mouseOver effect

Re: [flexcoders] menu bar control

2005-04-11 Thread nithya karthik
sorry i meant menu bar control not menu control... Thanks a lot Manish... I'd like to know how to change the default color of the menucontrol.. the attribte Fillcolors doesnt work.. nothing worksincluding selectedfill color, background color etc,.. I would also like to know how to remove

[flexcoders] Whitelist - IIS

2005-04-11 Thread beckpvt
Hello, I can't help the people with this issue because I have never used IIS with JRun. Can you help us? I have an WebService in .NET and running over my IIS server. With Jrun running over IIS and Flex Server installed my applications work, except when I will call a webservice in .NET, that I

[flexcoders] how to solve this problem about using HashMap in actionscript

2005-04-11 Thread loveewind
return a Java object from my back_end system below: public class UserVO { private HashMap accessMap = null; private String active= null; public HashMap getAccessMap() { return accessMap; } /** * @param map */ public void

[flexcoders] Re: how to solve this problem about using HashMap in actionscript

2005-04-11 Thread Andrew Spaulding
The hashMap is just an indexed array. You can access it if you know the key value, or by normal array methods. i.e. myMap ['user1']=22; ['user2']=33; if you want user2 as the output then just reference myMap['user2'] or if you want to treat it like an array then you could try the following:

RE: [flexcoders] Hide Datagrid column

2005-04-11 Thread Valy Sivec
Matt, Am I missing something?. The selected row from the grid is used to populate pop-up window's forms elements; the user can edit the form fields and then save the modified form( fire an update ). I need the primary key in the datagrid to be able locate/update the right recordthat's why

[flexcoders] Re: Dynamic DataGridColumns LabelFunction

2005-04-11 Thread joao_m_fernandes
Well what I want is to be able to assign labelFunction dynamicly. Depending on a selection I build an array of columns wich some have labelFunctions to format de data.At the end I replace current columns by the new array. If I define a fixed column in a dg whe labelFunction set I can watch

RE: [flexcoders] Re: flex and jsp

2005-04-11 Thread Cathy Murphy
Inconsistencies between the mxml and flash jsp tags were resolved in Flex 1.5. This accounts for the difference in functionality. In Flex 1.5, The 'param' tag should be used when sending params directly to the flash player. These would be parameters understood by the Flash Player and added

RE: [flexcoders] Re: Dynamic DataGridColumns LabelFunction

2005-04-11 Thread Dirk Eismann
Hi, looking at your code snippet it seems as if you're not invoking the constructor function of the DataGridColumn class: var DataGridColumn = new mx.controls.gridclasses.DataGridColumn; try this instead: var dataGridColumn = new mx.controls.gridclasses.DataGridColumn(); To assign a

Re: [flexcoders] Re: Error: Cannot invoke method when using a VO

2005-04-11 Thread Christoph Guse
Hi cazzaran, how did you solve your problem? I'm interested in a solution, because I have a very similar problem. In my case I have an object (OgoJobVO) in which is another object (OgoAccountVO) in which is another object (OgoPersonVO). When I get the Job-Object from the Server, everything

[flexcoders] Its Flex, but not as we know it!

2005-04-11 Thread greenfishinwater
I just found another Flex software product. http://www.gnu.org/software/flex/ Andrew Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of

[flexcoders] How do you handle Timestamp fields?

2005-04-11 Thread Valy Sivec
Guys, In Oracle I have a column type DATE and the Oracle thin driver see this column as TIMESTAMP. AMF transform java.util.Date to Date in AS2... and it doesn't know about java.sql.Timestamp What's the best way in hadling with Timestamp data type in a Flex App?. Should I pass back and

RE: [flexcoders] Re: No debugging information available for invocation of methods on server-side

2005-04-11 Thread Peter Farland
Note that the reason why the Throwable class info "NullPointerException" wasn't included in the status info"type" property is because of a default setting on the AMF Gateway. Internal class information is not included in the form of stack traces or exception types as they shouldn't be

RE: [flexcoders] How do you handle Timestamp fields?

2005-04-11 Thread Brian Deitte
Yes it is known that RemoteObject does not deal with Timestamp. Passing back numbers or using a Date would be the recommended approaches. -Brian -Original Message- From: Valy Sivec [mailto:[EMAIL PROTECTED] Sent: Monday, April 11, 2005 10:36 AM To: flexcoders@yahoogroups.com Subject:

Re: [flexcoders] HSlider for FLASH MX 2004?

2005-04-11 Thread Joe Berkovitz
Matt Chotin wrote: Before anyone gets all high and mighty on how we should be including source always Ill just say were investigating options for doing so in the next release. Gosh darn... I was *so* looking forward to getting all high and mighty... Oh, well, there's always a next time.

RE: [flexcoders] Hide Datagrid column

2005-04-11 Thread Valy Sivec
Okay Matt, I got it... I should have looked more at the dataProvider instead being focused to hide a grid column... jsp all habit... Thanks, Valy --- Matt Chotin [EMAIL PROTECTED] wrote: If you just get rid of mx:DataGridColumn headerText=Phad_id columnName=phad_id/ -- primary key everything

RE: [flexcoders] Cairngorm framework question

2005-04-11 Thread Mehdi, Agha
You can execute command from another command. Just import EventBroadcaster into the calling command and do EventBroadcaster.getInstance().broadcastEvent(getPhysicalAddress, indi_id ) from the resulthandler. One question though. What does GetPhysicalAddress() do? Dos it get the same address as

RE: [flexcoders] Exchanging data between MXML Components

2005-04-11 Thread Mohanraj Jayaraman
This works. Thanks a ton for the example Abdul. Mohanraj --- Abdul Qabiz [EMAIL PROTECTED] wrote: Hi Mohanraj, It's very much possible, I have modified the previous example to dispatch eventsIt would give you some idea, how you can achieve the same. I am using Metadata tag for

RE: [flexcoders] help with setInterval...

2005-04-11 Thread Matt Chotin
Youre having scope issues. setInterval(this, upCount, 1000); More info here: http://livedocs.macromedia.com/flex/15/flex_docs_en/1662.htm Matt From: terry_hrtn [mailto:[EMAIL PROTECTED] Sent: Monday, April 11, 2005 10:03 AM To: flexcoders@yahoogroups.com Subject:

[flexcoders] Dragging a TextInput from one canvas to another

2005-04-11 Thread Kim Reddington
Title: Message I am trying to drag the text of a TextInput control from one canvas to another. I found some code and modified it to let me drag the text of the TextInput from one canvas to a dataProvider of a List, but I am having trouble modifying the code to drag the text to another

RE: [flexcoders] Cairngorm framework question

2005-04-11 Thread Valy Sivec
Agha, thanks for suggestion, I missed that. Regards, Valy --- Mehdi, Agha [EMAIL PROTECTED] wrote: I was just wondering why don't you return a structure from UpdateAddress that holds two keys. One is a boolean and the second is the updated Address if it was updated. This way you won't have

[flexcoders] Re: help with setInterval...

2005-04-11 Thread terry_hrtn
Matt...now I'm getting the message below in the debug file...any suggestions. Warning: [type Function] is not a function at () --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: You're having scope issues. setInterval(this, upCount, 1000); More info

RE: [flexcoders] Sort Array of object

2005-04-11 Thread Gordon Smith
Title: Message sortOn() will be faster than sort() with a compareFunc. - Gordon -Original Message-From: Jeff Krueger [mailto:[EMAIL PROTECTED] Sent: Sunday, April 10, 2005 6:38 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Sort Array of object

[flexcoders] Forcing text to be anti-aliased

2005-04-11 Thread Kristopher Schultz
How can I force Flex to anti-alias the text of a Label (or any other text based component)? The documentation doesn't seem to be very forthcoming with this info. Kris -- Kristopher Schultz Developer Resource Interactive p: 614.410.2123 www.resource.com Yahoo! Groups Links To

RE: [flexcoders] Forcing text to be anti-aliased

2005-04-11 Thread Matt Horn
If you embed the font, I believe it is forced to be anti-aliased. See the section on "Using embedded fonts" in the Developing Apps book. hth, matt horn From: Kristopher Schultz [mailto:[EMAIL PROTECTED] Sent: Monday, April 11, 2005 4:18 PMTo:

RE: [flexcoders] Forcing text to be anti-aliased

2005-04-11 Thread Gordon Smith
Title: Message If you don't embed a font, I believe the Flash player simply lets the operating system render the text, formaximum speed.So in that case you get antialiasing if and only if antialiasing is enabled system-wide on the user's machine. - Gordon -Original

[flexcoders] Extracting Data from a DataGrid

2005-04-11 Thread digital_eyezed
Ok, heres the issue: I have a data grid which is populated from a result of a remoteObject call, the result is an Array of Value Objects: mx:DataGrid id=myDataGrid dataProvider={srv.getRates.result} mx:columns mx:Array mx:DataGridColumn columnName=supplier headerText=Company

[flexcoders] ComboBox Label

2005-04-11 Thread jwaknitz
Hello, I am having problems with the ComboBox component. I want to use the xml: render_choice response_label ident=A material mattextLess than $200/mattext /material /response_label response_label ident=B material mattext$201-$400/mattext /material

[flexcoders] Re: Error: Cannot invoke method when using a VO

2005-04-11 Thread cazzaran
Christoph, Actually, I haven't solved it yet. It trying different things, which mostly amount to working *around* the problem (like reducing my object graph depth, etc). I agree, I like using deep object graphs to, but can't seem to get it to work. -Josh --- In flexcoders@yahoogroups.com,

[flexcoders] flashgateway.Gateway.getHttpRequest

2005-04-11 Thread rb_dickey
Hi, Has anyone seen this behavior? I'm using Tomcat 5.5.7, and I have a web app configured with FORM authentication, which uses a custom mxml-based form. The authentication piece works great, but I can't get the userId from the HttpRequest.getUserPrincipal().getName() consistently. The

RE: [flexcoders] Cairngorm framework question

2005-04-11 Thread Mehdi, Agha
Now isn't that a great news...Thanks Steve. By chaining commands do you mean that it'll be synchronous invocation? -Original Message- From: Steven Webster [mailto:[EMAIL PROTECTED] Sent: Monday, April 11, 2005 2:37 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Cairngorm

[flexcoders] Prevent dynamic properties from being set

2005-04-11 Thread cazzaran
I have some POJOs on my server like Role, etc... They have many getter methods that return subsets of actual data. For example, Role has getGroups() and getSubGroups(), where getSubGroups() returns a filtered list of what getGroups() would (they both reference the same Set in the object, but

Re: [flexcoders] Re: Error: Cannot invoke method when using a VO

2005-04-11 Thread Dan Tropp
class vo.ApplicantVO implements ValueObject { public static var registered:Boolean = Object.registerClass( "vo.ApplicantVO", ApplicantVO ); Do you have a line like this in your AS class? ... } If you don't register the Java/AS class

Re: [flexcoders] Use mx:Model as well as Cairngorm ViewHelper pattern? -- Best-practice for using validators?

2005-04-11 Thread Dan Tropp
I've removed my models and just have the ViewHelper. My field validators are just bound directly to the controls rather than to the mx:Model. What is best practice - locating validators in your .mxml or programatically in you .as ViewHelper?? Dan Dan Tropp wrote: The book hasn't arrived

[flexcoders] Flex on Blackstone

2005-04-11 Thread Mehdi, Agha
Hi all, Is there any docs available to configure Flex to run with Blackstone? Thanks - Agha Mehdi web developer Littler Mendelson P.C. work: 415-288-6362 cell: 415-987-7104 - Yahoo! Groups Links To visit your group on the web,

RE: [flexcoders] Cairngorm framework question

2005-04-11 Thread Steven Webster
Now isn't that a great news...Thanks Steve. By chaining commands do you mean that it'll be synchronous invocation? You betcha. As synchoronous as a phased locked loop clock divider circuit. Erm. Very synchronous. Steven -- No virus found in this outgoing message. Checked by AVG

RE: [flexcoders] Cairngorm framework question

2005-04-11 Thread Mehdi, Agha
Awesome. Thanks Steve. You made the day :) Don't sleep in the planes, Don't waste time eating food inflight/outflight, Don't read books...until you have all the documentation/release notes nailed down :-). Looking forward to it. -Original Message- From: Steven Webster [mailto:[EMAIL

RE: [flexcoders] ComboBox Label

2005-04-11 Thread Tracy Spratt
Unless someone corrects me.. Yes, if you want to feed a combobox (which is a list based control and really wants an array) with a hierarchical dataProvider like xml, you will have to use a label function. Or convert the whole XML struc into an array. Tracy -Original Message- From:

RE: [flexcoders] MXML Components and using mx:Effect

2005-04-11 Thread Matt Chotin
Nope, in 1.x the mx:Effect tag has special compiler logic that makes it impossible for it to live on its own. AS is the only way to get it standalone. Matt From: Scott Barnes [mailto:[EMAIL PROTECTED] Sent: Monday, April 11, 2005 8:58 PM To: flexcoders@yahoogroups.com

Re: [flexcoders] MXML Components and using mx:Effect

2005-04-11 Thread Scott Barnes
aye thanks matt. On Apr 12, 2005 2:00 PM, Matt Chotin [EMAIL PROTECTED] wrote: Nope, in 1.x the mx:Effect tag has special compiler logic that makes it impossible for it to live on its own. AS is the only way to get it standalone. Matt

Re: [flexcoders] question about the import statement and action s cript files

2005-04-11 Thread nostra72
Sorry for being confusing I think my one programming weakness that I am trying to work on is writing programs and not taking up as much memory. I know a good programmer tries to conserve memory and this is a probllem that has made some of my problems come about Yahoo! Groups Links To

RE: [flexcoders] question about the import statement and action s cript files

2005-04-11 Thread Matt Chotin
Well dont overthink it either J Memory consumption is good to keep in mind but focus on building a clean design for your application first. A clean overall design will allow you to optimize for things like memory later as your bottlenecks become clear. Matt From: [EMAIL

RE: [flexcoders] question about the import statement and action s cript files

2005-04-11 Thread Matt Chotin
Sure, itd be something like this: class component1 { public var numberone : Number; } class component2 { public var comp1 : component1; function readNumberOne() : Void { Var num : Number = comp1.numberone; //do what you want } } class parent { var comp1:

[flexcoders] Editing Text

2005-04-11 Thread carmhuntress
Hi, I am trying to dynamically getnerate text with an embeded swf file and enabe the thing to be editable when you click on it. Here is what I have so far. import mx.controls.TextInput; _root.onMouseDown = function() { _root.createTextField(mytext,1,_xmouse,_ymouse,200,100);