Re: [flexcoders] Exchanging custom objects between Flex .NET

2005-08-04 Thread priya s
Hi, Using ASObject I m able to exchange data from .NET to Flex. But I have 2 questions : 1) Will there be any changes required,when migratingtofuture versions of Flex, as in Flex 2.0, which is going to support .NET? Can we still retain ASObject or should we change them to Custom classes.

[flexcoders] Re: Exchanging custom objects between Flex .NET

2005-08-04 Thread bhaq1972
Hi Priya /superabe i got a question for you. have you tried returning .net datasets instead of ASObject? just wanted to gets some thoughts. --- In flexcoders@yahoogroups.com, priya s [EMAIL PROTECTED] wrote: Hi, Using ASObject I m able to exchange data from .NET to Flex. But I have 2

RE: [flexcoders] What is the easiest way to Post data to a XML file ?

2005-08-04 Thread Abdul Qabiz
Hi Ahmed, You will need a server-side program(script) to write data backto XML. So you can probably write a JSP/ASP/PHP or may be a POJO to do that. Please search google to see how to write XML/Text file using JSP/PHP or watever. Once you have that knowledge, you can learn how to use it

Re: [flexcoders] Re: Exchanging custom objects between Flex .NET

2005-08-04 Thread priya s
Hi , Returning a DataSet is straightforward, but for just returning a single object, using DataSets would'nt be right. Regards Priyankabhaq1972 [EMAIL PROTECTED] wrote: Hi Priya /superabei got a question for you. have you tried returning .net datasets instead of ASObject? just wanted to gets

[flexcoders] removing backgroundImage

2005-08-04 Thread zipo13
Hi, I think this should be fairly simple but still I'm having trouble to get this to work. I have a background image of an Application that I want to remove at some point and get it back to the default backgroundColor. Since this is a style I tried: this.setStyle(backgroundImage,);

Re: [flexcoders] Re: Exchanging custom objects between Flex .NET

2005-08-04 Thread superabe superabe
Wait. Are you saying you were able to successfully return a dataset from .Net to Flex using remoting? Last time I checked I thought I had some issues when I tried that out. - superabe On 8/4/05, priya s [EMAIL PROTECTED] wrote: Hi , Returning a DataSet is straightforward, but for just

[flexcoders] Re: Exchanging custom objects between Flex .NET

2005-08-04 Thread bhaq1972
I did originally have problems (flex 1.0) but things were okay in flex 1.5 (I think but i'm gonna try those tests again, properly). But there's definately no problems with returning datasets with flashorb remoting it works great. with regards to sending single records back, i dont use

Re: [flexcoders] removing backgroundImage

2005-08-04 Thread Manish Jethani
On 8/4/05, zipo13 [EMAIL PROTECTED] wrote: I have a background image of an Application that I want to remove at some point and get it back to the default backgroundColor. Since this is a style I tried: this.setStyle(backgroundImage,); this.setStyle(backgroundImage,null); but nothing

[flexcoders] Re: removing backgroundImage

2005-08-04 Thread zipo13
hmmm it works but isn't there a more offcial way to remove a style? This how its done in the flex style explorer? --- In flexcoders@yahoogroups.com, Manish Jethani [EMAIL PROTECTED] wrote: On 8/4/05, zipo13 [EMAIL PROTECTED] wrote: I have a background image of an Application that I want to

[flexcoders] Newbie Question about Value Objects on client side

2005-08-04 Thread cruegger2000
I've been reading the docs for about 2 days now and have a simple question I can't find the answer to. Please no flames, I have made an attempt to find the answer to this question by reading all the documentation I can find. I'm using Flex with Websphere 6.0. I have a POJO business delegate

[flexcoders] RE: Newbie Question about Value Objects on client side

2005-08-04 Thread Steven Webster
Hi Chris, QUESTION: Do I *have* to create a corresponding Person class on the client side using ActionScript to access the attributes (firstName and lastName) on the client, and use registerObject()? If I don't create a corresponding Person class on the client side, how I can I access the

Re: [flexcoders] Re: removing backgroundImage

2005-08-04 Thread Manish Jethani
On 8/4/05, zipo13 [EMAIL PROTECTED] wrote: hmmm it works but isn't there a more offcial way to remove a style? The official way would be to set the value of backgroundImage to undefined, but as you discovered that doesn't seem to work. This how its done in the flex style explorer? Not sure.

[flexcoders] menubar icons?

2005-08-04 Thread Robert Brueckmann
Is anyone out there able to get an icon to appear next to a menu item in their menubar component? The MenuItem syntax in the APIs and documentation say that the menuitem xml node simply needs an icon attribute that points to the icon file...not so much working for me...just was curious if I'm

[flexcoders] Re: removing backgroundImage

2005-08-04 Thread zipo13
Actually - the hack doesn't work. Once I resize the window the image just comes back :( --- In flexcoders@yahoogroups.com, zipo13 [EMAIL PROTECTED] wrote: hmmm it works but isn't there a more offcial way to remove a style? This how its done in the flex style explorer? --- In

[flexcoders] Price of Flex 1.5

2005-08-04 Thread Tony Rozario
Hi, I'm working in SAP Labs we need a minimal licensed version of Flex, may be to run it in a single box. how much woud it cost? with regards, tony__Do You Yahoo!?Tired of spam? Yahoo! Mail has the best spam protection around

Re: [flexcoders] Re: removing backgroundImage

2005-08-04 Thread Manish Jethani
On 8/4/05, zipo13 [EMAIL PROTECTED] wrote: Actually - the hack doesn't work. Once I resize the window the image just comes back :( this.border_mc.destroyObject('_backgroundImage_mc'); Manish Yahoo! Groups Sponsor ~-- font face=arial size=-1a

[flexcoders] Re: Problem With TileList...

2005-08-04 Thread sir_janksalot
Exactly. When I shorten the list I get the same problem with 1st and 6th. How do I fix this? sj --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: Well the 12th row is the first one that comes from offscreen right? So the TileList is re-using the cells from the 1st row

[flexcoders] vScrollPolicy acting real funny

2005-08-04 Thread Sauro, Nick
Hey flexers, just got a quick question regarding scrolling policies. I have a SearchResults class which is a VBox. Now, inside this Vbox, I have a few components for a header(Search Results 1-4 of 253). Beneath that, I have another Vbox which displays the results. Heres the

Re: [flexcoders] Whats the best way to do this

2005-08-04 Thread Manish Jethani
On 8/4/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Have a link on an mxml file that links to another mxml file? The Flex Store sample has a link to thinkgeek.com (I think). Similarly you can link to another MXML file on the same server using the Link component and calling getURL in the

Re: [flexcoders] vScrollPolicy acting real funny

2005-08-04 Thread Manish Jethani
On 8/4/05, Sauro, Nick [EMAIL PROTECTED] wrote: I have a SearchResults class which is a VBox. Now, inside this Vbox, I have a few components for a header(Search Results 1-4 of 253……). Beneath that, I have another Vbox which displays the results. Here's the problem. I set the height of

[flexcoders] How to assign a data provider to a combo box

2005-08-04 Thread terry_hrtn
Is there a way to assign a data provider to combo box at run time using action script instead of mxml? I've tried: function setCombo(){ MyWebService.MyFunction.send(); MyComboBox.setDataProvider(MyWebService.MyFunction.result); } Yahoo! Groups Sponsor

[flexcoders] Re: How to assign a data provider to a combo box

2005-08-04 Thread sir_janksalot
Try: MyComboBox.dataProvider = MyWebService.MyFunction.result; --- In flexcoders@yahoogroups.com, terry_hrtn [EMAIL PROTECTED] wrote: Is there a way to assign a data provider to combo box at run time using action script instead of mxml? I've tried: function setCombo(){

RE: [flexcoders] How to assign a data provider to a combo box

2005-08-04 Thread João Fernandes
Terry, What you can do is to assign a result event to your webservice method and then bind the result to the combo box dataprovider.   mx:WebService wsdl=YourWebServiceUrl id=MyWebService     mx:operation name=MyFunction result=someFunction(event)/   /mx:WebService

Re: [flexcoders] How to assign a data provider to a combo box

2005-08-04 Thread Manish Jethani
On 8/4/05, terry_hrtn [EMAIL PROTECTED] wrote: Is there a way to assign a data provider to combo box at run time using action script instead of mxml? Yups, simply set the dataProvider property. comboBox.dataProvider = newDataProvider; Manish Yahoo! Groups Sponsor

RE: [flexcoders] vScrollPolicy acting real funny

2005-08-04 Thread Sauro, Nick
I've tried that, to no avail :-/ I'm thinking, could it possibly have something to do with using a Repeater Object in the VBox? Here's an excerpt: mx:VBox xmlns:mx=http://www.macromedia.com/2003/mxml; xmlns:utl=util.* horizontalGap=2 backgroundColor=#FF minHeight=1 vScrollPolicy=off

RE: [flexcoders] Price of Flex 1.5

2005-08-04 Thread Kelly R
They are going to try and tax you for around $18,000. They say the price is $15,000 per cpu but then they make you buy the support for an extra $3,000. Digital Crack Dealers. I told them that too. Right after they raised the price. From: Tony Rozario [EMAIL PROTECTED]Reply-To:

Re: [flexcoders] vScrollPolicy acting real funny

2005-08-04 Thread Manish Jethani
On 8/4/05, Sauro, Nick [EMAIL PROTECTED] wrote: I've tried that, to no avail :-/ Set minHeight to 1 on the inner VBox (the one you want the scrollbar on). It seems to work. Manish Yahoo! Groups Sponsor ~-- font face=arial size=-1a

[flexcoders] lists and DD

2005-08-04 Thread Douglas Knudsen
Consider using a list and the drag+drop manager. Assume the user has selected three items in the list contiguously. Can I determine which of the three items the users mouse is on upon a click and hold? I can't seem to see anything in the docs as of yet. -- Douglas Knudsen

[flexcoders] Re: Problem With TileList...

2005-08-04 Thread sir_janksalot
It looks like this: public function setValue( str : String, item : Object ) : Void { var alreadyAddedFilterObject : Boolean = ( user == item || item == null || item == undefined ); if ( alreadyAddedFilterObject ) { return; } else {

[flexcoders] Re: How to assign a data provider to a combo box

2005-08-04 Thread terry_hrtn
yes and no -- won't work in my case. Action script calls web services async. I have a single web service that returns multiple values depending on whats passed in, so having: webservice.send(); comboBox.dataprovider=webservice.result There is no data in webservice.result until webservice.send

Re: [flexcoders] Whats the best way to do this

2005-08-04 Thread nostra72
In a message dated 8/4/2005 11:05:12 AM Eastern Standard Time, [EMAIL PROTECTED] writes: mx:Link click=”getURL(‘path’,’_blank’)/ When I tried it I got an error message that says an open quote is expected for attribute click -- Flexcoders Mailing List FAQ:

RE: [flexcoders] vScrollPolicy acting real funny

2005-08-04 Thread Sauro, Nick
Youre the man! Thanks J From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Manish Jethani Sent: Thursday, August 04, 2005 12:00 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] vScrollPolicy acting real funny On 8/4/05, Sauro,

RE: [flexcoders] Whats the best way to do this

2005-08-04 Thread João Fernandes
Theres a missing mx:Link click=getURL(path,_blank)/ João Fernandes Secção de Desenvolvimento Departamento de Informática From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of [EMAIL PROTECTED] Sent: quinta-feira, 4 de Agosto de 2005

RE: [flexcoders] Whats the best way to do this

2005-08-04 Thread Sauro, Nick
Oops, forgot the closing . From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of [EMAIL PROTECTED] Sent: Thursday, August 04, 2005 12:36 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Whats the best way to do this In a

RE: [flexcoders] Re: Flex Install on IIS

2005-08-04 Thread Mehdi, Agha
Title: RE: [flexcoders] Re: Flex Install on IIS Alright, I guess I need to give up hope. Re-installed everything from scratch, followed instructions line by line and the result is the same server error. I am surprised no one ever ran into this, which means that theres something wrong

[flexcoders] Re: Whats the best way to do this

2005-08-04 Thread sir_janksalot
mx:Link click=getURL(`path','_blank')/ --- In flexcoders@yahoogroups.com, [EMAIL PROTECTED] wrote: In a message dated 8/4/2005 11:05:12 AM Eastern Standard Time, [EMAIL PROTECTED] writes: mx:Link click= getURL(‘path’,’_blank’)/ When I tried it I got an error message that says an

RE: [flexcoders] Re: Flex Install on IIS

2005-08-04 Thread João Fernandes
Title: RE: [flexcoders] Re: Flex Install on IIS How i did proceed to install cf+flex in our dev server. 1) Install CF Enterprise multi-server option. 2) Create a new instance of cf (cflex ) 3) Stopped the instance 4) Installed Flex 5) Unzipped Flex war file 6) Copied flex folder

Re: [flexcoders] Re: How to assign a data provider to a combo box

2005-08-04 Thread Manish Jethani
On 8/4/05, terry_hrtn [EMAIL PROTECTED] wrote: yes and no -- won't work in my case. Action script calls web services async. I have a single web service that returns multiple values depending on whats passed in, so having: webservice.send(); comboBox.dataprovider=webservice.result In that

Re: [flexcoders] Problem with Iframe

2005-08-04 Thread Manish Jethani
On 8/4/05, Paramjit jolly [EMAIL PROTECTED] wrote: I am trying to use this iFrame sample which someone has uploaded but Christophe's IFrame component? http://coenraets.com/viewarticle.jsp?articleId=95 I integrated whole thing in my project and it works fine Still one problem I am

Re: [flexcoders] Re: Problem With TileList...

2005-08-04 Thread Manish Jethani
On 8/4/05, sir_janksalot [EMAIL PROTECTED] wrote: It looks like this: public function setValue( str : String, item : Object ) : Void { var alreadyAddedFilterObject : Boolean = ( user == item || item == null || item == undefined ); if ( alreadyAddedFilterObject ) { return;

Re: [flexcoders] lists and DD

2005-08-04 Thread Manish Jethani
On 8/4/05, Douglas Knudsen [EMAIL PROTECTED] wrote: Consider using a list and the drag+drop manager. Assume the user has selected three items in the list contiguously. Can I determine which of the three items the users mouse is on upon a click and hold? I can't seem to see anything in the

RE: [flexcoders] Re: selectedNode

2005-08-04 Thread Matt Chotin
Check out the TreeDataProvider API. Should provide all the methods you need. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Nikmd23 Sent: Thursday, August 04, 2005 11:56 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: selectedNode

Re: [flexcoders] lists and DD

2005-08-04 Thread Douglas Knudsen
but which on eof those items is the mouse on? Say the user selected 5 items contiguously then initiated a drag on them. I want to know which item teh mouse is on. DK On 8/4/05, Manish Jethani [EMAIL PROTECTED] wrote: On 8/4/05, Douglas Knudsen [EMAIL PROTECTED] wrote: Consider using a list

Re: [flexcoders] Re: Flex Install on IIS

2005-08-04 Thread Tariq Ahmed
To follow that up, same here. I've done the CF6.1 and CF7 on numerous occasions and haven't had a problem (Win XP and Win2K Server, IIS5) . I followed the MM instructions exactly: http://www.macromedia.com/support/documentation/en/flex/1_5/flexforcf.html And works like a charm. As Rob

Re: [flexcoders] mouseUp misfire??? and why so many warnings in log file?

2005-08-04 Thread Manish Jethani
On 8/4/05, zhongtie [EMAIL PROTECTED] wrote: I have two JPG images on convas, and want to draw a border around the image when I click it. I extended mx:Image to handle the mouseUp event. However, when I clicked on image1, image2 also had the border drawn around it. Why did both images received

Re: [flexcoders] lists and DD

2005-08-04 Thread Aldo Bucchi
Hi, If there is no clean way to do it ( i would still look further ), a nasty hack would be something like this: - when the drag starts. - determine the mc below the mouse at that time ( take a look at lowlevelevents, if that doesn't do it, I can give you a snippet that works just fine ) -

Re: [flexcoders] lists and DD

2005-08-04 Thread Douglas Knudsen
interesting...thanks for the reply. one way I just thought of was to ensure that all list items were the same width, something in my problem I can assume. Then based on mouseX and these widths should be able to figure out which item the mouse is over in the slected group. DK On 8/4/05, Aldo

Re: [flexcoders] Dynamic controls

2005-08-04 Thread Aldo Bucchi
Agha, Parse the array and instantiate controls dynamically ( with actioncript ) mx.core.UIObject.createClassObject( classRef: Function, name: String, depth: Number, initObj: Object) : mx.core.UIObject On 8/4/05, Matt Chotin [EMAIL PROTECTED] wrote: I'm not sure what your question is.

Re: [flexcoders] Dynamic Tree

2005-08-04 Thread Douglas Knudsen
yes. this was one of the first things Ilearned to do in Flex...abit back. I'm planning on blogging it when I get some free time. Belowis some code to do this. The webservice call below fectched children to the node clicked on when a user clicked the arrow to drill down in the tree. It worked

Re: [flexcoders] lists and DD

2005-08-04 Thread Manish Jethani
On 8/5/05, Douglas Knudsen [EMAIL PROTECTED] wrote: but which on eof those items is the mouse on? Say the user selected 5 items contiguously then initiated a drag on them. I want to know which item teh mouse is on. Listen for the mouseDown event... ?xml version=1.0 encoding=utf-8?

drg and expan..outlook style (was Re: [flexcoders] lists and DD)

2005-08-04 Thread Douglas Knudsen
my reason for needing this is to build a control similar to outlooks calendar thingy where you can drag and expand an event time span on a calendar thing. From another suggestion, I'm using canvas now with a box. The blow code, warning the colours are absolutely horrible, it is just an example

Re: [flexcoders] lists and DD

2005-08-04 Thread Douglas Knudsen
yes! wichked...just what I was thinking of when you sent it. Me thinks this will be a better approach then my new post with subect line: drg and expan..outlook style (was Re: [flexcoders] lists and DD). Using a list will be easier to prepopulate from a DB and get the data from to populate a DB.

RE: [flexcoders] How to handle a returned Java Collection in Flex - RemoteObject call

2005-08-04 Thread Oscar . Cortes
Sorry for the late response, I actually got it closer to what I need. I can see the collection that the Remote Object is returning in a ComboBox. However, I can see all attributes listed in the ComboBox separated by commas. I only want to show one of them, the Description. So I figured I will

Re: drg and expan..outlook style (was Re: [flexcoders] lists and DD)

2005-08-04 Thread Manish Jethani
On 8/5/05, Douglas Knudsen [EMAIL PROTECTED] wrote: these two ops cancel each other out. any ideas? } else { selector.width = lastW - deltaX ; selector.x += deltaX;

[flexcoders] Re: Dispatch event problem

2005-08-04 Thread Rajesh Jayabalan
Has anyone dispatched an event from cell renderer? anyone any ideas on how to proceed. Regards Rajesh J --- In flexcoders@yahoogroups.com, Rajesh Jayabalan [EMAIL PROTECTED] wrote: Hi Mika, Can you explain a little more sorry. Regards Rajesh J --- In flexcoders@yahoogroups.com, Mika

Re: drg and expan..outlook style (was Re: [flexcoders] lists and DD)

2005-08-04 Thread Douglas Knudsen
oh gessh, doh. damn arithematic. Thanks again! off to get this to work with a list instead. DK On 8/4/05, Manish Jethani [EMAIL PROTECTED] wrote: On 8/5/05, Douglas Knudsen [EMAIL PROTECTED] wrote: these two ops cancel each other out. any ideas? } else {

Re: [flexcoders] lists and DD

2005-08-04 Thread Aldo Bucchi
Well thought Manish! much simpler OTOH, the approach I suggested is what I use for a more complex framework ( IoC for context menus and DD). Try investigating along that line, it's quite powerful. Best, Aldo On 8/4/05, Douglas Knudsen [EMAIL PROTECTED] wrote: yes! wichked...just what I was