[flexcoders] help.. passing arguments to a method using remoteobject

2005-08-11 Thread Amit Sanon
i cannot figure out how to pass arguments... pls send an example code as to how to pass arguments to a method using remote object i have a class as follows class A { public int func1(int i, string st) { ... } } i created a remote object like... mx:RemoteObject

RE: [flexcoders] help.. passing arguments to a method using remoteobject

2005-08-11 Thread Mercer, Dustin
Usually that error is a result of one of the parameters being of the wrong type. What does your Remote Object method sig look like? From your example, your remote object method (func1) should look like this: public void func1(int param1, String param2){ //some code} Let me know if

RE: [flexcoders] help.. passing arguments to a method using remoteobject

2005-08-11 Thread Amit Sanon
thanks for the reply but it didnt help this is the sig of my method to be called... public int func1(int i,String st) { ... } regards Amit -Original Message-From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]On Behalf Of Mercer, DustinSent: Thursday, August 11,

RE: [flexcoders] help.. passing arguments to a method using remoteobject

2005-08-11 Thread Mercer, Dustin
Ok gotcha I must have missed the first part about class A Its getting lateJ Ok so anyways, this can be a tricky one. Have you tried adding a fault handler to that remote object? That may help you find out more. Try this : mx:RemoteObject source=A id=remot event.fault.detail );

RE: [flexcoders] Changing a modal popup to non-modal

2005-08-11 Thread Mercer, Dustin
Kim, Just curious, when you are creating the popup, what are you using as the first param to the createPopUp method? This is what defines the parent of the window being created. If you are passing application or _root, you may run into some of these focusing issues. Try passing this

RE: [flexcoders] help.. passing arguments to a method using remoteobject

2005-08-11 Thread Amit Sanon
thanks a lot buddy regards Amit -Original Message-From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]On Behalf Of Mercer, DustinSent: Thursday, August 11, 2005 12:13 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] help.. passing arguments to a

RE: [flexcoders] help.. passing arguments to a method using remoteobject

2005-08-11 Thread Philippe Maegerman
You can use mx:arguments inside yout method mx:RemoteObject id="ro".. mx:method name="setData" mx:arguments arg1{text1.text}/arg1 arg2{text2.text}/arg2 /mx:arguments /mx:method mx:RemoteObject Documentation here :

[flexcoders] Re: An interesting problem with models....

2005-08-11 Thread Daniel Harfleet
If you want an Array to act as a DataProvider, you must use the DataProvider methods, as these fire the relevant events to let controls know about changes http://www.cflex.net/showfaq.cfm?Object=faqchannelID=1faqtype=defaultfields=defaultValues=#Question398

[flexcoders] Re: help.. passing arguments to a method using remoteobject

2005-08-11 Thread Daniel Harfleet
Amit, can you give the list an idea of what the error actually says ? Are you also getting errors on your J2EE server ? If so what are these ? Have you switched on the gateway debug ? faq snip If your flex server is installed locally we suggest enabling server side debug level logging in

RE: [flexcoders] help.. passing arguments to a method using remoteobject

2005-08-11 Thread Amit Sanon
Thanks a lot... ur suggestion really solved my problem regards Amit -Original Message-From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]On Behalf Of Philippe MaegermanSent: Thursday, August 11, 2005 1:24 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders]

[flexcoders] Flex UI Component chart

2005-08-11 Thread flexhansen
Hi! Some time ago I found a nice UI component chart for Flex. I think it was part of a devnet article, but i'm not sure. Can't seem to locate it again :( - anyone have a link?! Thank you for your help! Kind regards -michael Yahoo! Groups Sponsor

[flexcoders] Text content larger than 16384 bytes may not be included at compile-time (740684

2005-08-11 Thread cnewroth55
I have an xml file that is 26000 lines long and am trying to read it into a datagrid, when i do i get the error listed as the subject: Text content larger than 16384 bytes may not be included at compile- time (740684) any idead why i am getting this? have nto seen this before thx all

[flexcoders] selectedItem in a list shows an icon (Revisited)

2005-08-11 Thread Niklas Richardson
Hi everyone, I revisited the selectedItem demo I created yesterday to see how the code would perform with larger data sets. You can read about my findings here: http://www.prismix.com/blog/archives/2005/08/selecteditem_in_1.cfm Basically, it performed well with 1000 items in the array, and it

[flexcoders] help...geting error when using http service

2005-08-11 Thread Amit Sanon
whenever i try to use httpservice tag i get an error --- HTTPService Fault:A start tag had no corresponding end tag --- i have a code written like this-- mx:HTTPService id=VerifyLogin url=Login.jsp mx:request usname{username.text}/usname

RE: [flexcoders] Re: Flash Player 8 Beta - found problem??!!

2005-08-11 Thread Craig Newroth
sorry it took so long to respond...here is the file Craig Abdul Qabiz [EMAIL PROTECTED] wrote: Hi, Can you please send the test file (mxml + swf) to me. I would like to see it... We tried compiling your code with Flex 1.5 and running the app in firefox and IE with Flash Player 8. I can't

[flexcoders] check box-radio button

2005-08-11 Thread Nithya R
hai i have two check boxes and i want them to function like radio buttons, ie it must not allow multiple selection and must support toggle funtion... how to do this? any link orsample available? thanks nithyaSend instant messages to your online friends http://uk.messenger.yahoo.com --

[flexcoders] Flash Component for Flex

2005-08-11 Thread Stanislav Zayarsky
Hello, I want to create advanced flash component and use it in Flex. So I have started to write Flash component for flex and... suddenly I realized that I can't use attachMovie command! But I want to attach symbols from library... Does anyone know smth about this issue? Best regards Stanislav

Re: [flexcoders] check box-radio button

2005-08-11 Thread Niklas Richardson
You can bind each other's selected property to the other. Something like this: mx:CheckBox id=myCheckBox1 selected={!myCheckBox2.selected}/mx:CheckBox mx:CheckBox id=myCheckBox2 selected={!myCheckBox1.selected}/mx:CheckBox On 11/08/05, Nithya R [EMAIL PROTECTED] wrote: hai i have

Re: [flexcoders] check box-radio button

2005-08-11 Thread Niklas Richardson
Actually, that's a super bad idea. Don't do it that way otherwise you'll get a circular reference and your browser / Flash will crash! On 11/08/05, Niklas Richardson [EMAIL PROTECTED] wrote: You can bind each other's selected property to the other. Something like this: mx:CheckBox

Re: [flexcoders] check box-radio button

2005-08-11 Thread Niklas Richardson
Crud! Hit enter too soon! Instead, you can do it this way: mx:CheckBox id=myCheckBox1 label=Check Box 1 click=myCheckBox2.selected = !myCheckBox1.selected/ mx:CheckBox id=myCheckBox2 label=Check Box 2 click=myCheckBox1.selected = !myCheckBox2.selected/ On 11/08/05, Niklas

[flexcoders] Load testing Flex apps

2005-08-11 Thread Kevin Ewok
I have a Flex app that does basic remoteMethod CRUD operations. Does anyone know of any testing software that can test scalability, perforamce, load, etc (since Flex is deployed to the application server)? I've haven't heard of any software that can mimic flash front-end actions. Thanks in

[flexcoders] tree with checkbox

2005-08-11 Thread Paolo Bernardini
I'm trying to implement a tree with a checkbox renderer, but so far with no luck. I've tried the example at macromedia, http://www.macromedia.com/support/documentation/en/flex/1/cellrendere rs/cellrenderers13.html but it doesn't work properly. It behave in a strange way, basically as soon as

Re: [flexcoders] Load testing Flex apps

2005-08-11 Thread Sreejith Unnikrishnan
Maybe you want to take a look at: http://www.macromedia.com/devnet/flex/articles/amf_perftest.html Kevin Ewok wrote: I have a Flex app that does basic remoteMethod CRUD operations. Does anyone know of any testing software that can test scalability, perforamce, load, etc (since Flex is

RE: [flexcoders] COLUMNCHART + REPEATER

2005-08-11 Thread david_gal-reyniez
Thank Matt. I have a better control about the building of my chart with the method creationComplete() which you advise me to use. Indeed I could optimize my chart! For example, the LinearAxis generates by default the property autoAdjust to true. It was problematic to watch a Datein this

Re: [flexcoders] Re: Flash Player 8 Beta - found problem??!!

2005-08-11 Thread Alias
Craig, This sounds like it's actually the result of a *fix* that's in the new player. If an object's _alpha is set to zero, it shouldn't be displayed at all - however, there were some issues with rendering device text with alpha, which is due to the limited font information the host platform

[flexcoders] ColorPicker in a cellRenderer

2005-08-11 Thread Burge David A (Contractor)
Title: ColorPicker in a cellRenderer I'm trying to use the ColorPicker in a cell renderer of a DataGrid component. I have no problem getting it to initially display except for the selected color. When the component is first drawn all the ColorPickers are black, when I mouse over a row in

Re: [flexcoders] Re: Flash Player 8 Beta - found problem??!!

2005-08-11 Thread Sjors Pals
Well i think not rendering objects with alpha zero is a big mistake. There is a visible property, and i think that should be the criteria to render an object. Especially when you look to backward compatibility i hope macromedia will decide to (not) fix this isue. Greets, Sjors Alias wrote:

Re: [flexcoders] alternate cell colours in a grid

2005-08-11 Thread Douglas Knudsen
hmm, that's tasty. thanks Adam. This alternates row colours in a grid, I need to alternate cell colours in a single row. A little mod of the below yields this function which I can call in the Grid initialise event. function initRowHeaders() { for(var i:Number = 0;

Re: [flexcoders] Combobox : Display tooltip scrolling over the elements

2005-08-11 Thread Valy Sivec
Hello, I poke around the combobox component without any luck... no tooltip :(( Below is the code I used. Any ideas? Thanks, Valy ?xml version=1.0? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; height=480 width=800 marginBottom=0 marginLeft=0 marginRight=0

[flexcoders] Re: How to render a foreground color on an mx:Image

2005-08-11 Thread donalstar
Very elegant solution. Thanks, Manish. --- In flexcoders@yahoogroups.com, Manish Jethani [EMAIL PROTECTED] wrote: On 8/11/05, Donal Carroll [EMAIL PROTECTED] wrote: I'm also listing the Laszlo code snippet so you'll see what I'm talking about: canvas view name=TestView

RE: [flexcoders] Calling ArrayStructures in CFCs from Flex

2005-08-11 Thread Battershall, Jeff
I'm jonny-come-lately to this thread, but I send and return arrays and structures to/from CFCs all the time. I've abandoned passing back CFQueries as such but convert them to an array of structures first as that is what Flex UIComponents seem to like. Example code: cffunction

[flexcoders] Actionscripted Compiler?

2005-08-11 Thread Aldo Bucchi
Hi all, Has anyone built a compiler, or a subset thereof? Lex parser / tokenizer AST / EBNF / Grammar parser etc...? Thanks, Aldo -- : Aldo Bucchi : mobile (56) 8 429 8300 Yahoo! Groups Sponsor ~-- font face=arial size=-1a

RE: [flexcoders] Changing a modal popup to non-modal

2005-08-11 Thread kreddington1
Unfortunately, I am already using this. Here is a copy of the code: var addressPop:TitleWindow = TitleWindow(PopUpManager.createPopUp (this, newAddress, true, initObj)); What happens is this: The first window popsup, the user clicks on a link which pulls up a second window. The user can

Re: [flexcoders] Re: Flash Player 8 Beta - found problem??!!

2005-08-11 Thread Craig Newroth
which would be the preferred method Sjors, except that i did not see a visible property to this single item in the menu bar itself, either the whole bar is 'visible' with all it's sub itmes, or the entire bar is invisible, and this was not what I wanted... Sjors Pals [EMAIL PROTECTED] wrote:

Re: [flexcoders] Re: Flash Player 8 Beta - found problem??!!

2005-08-11 Thread Craig Newroth
and as Studio 8 was released on mnayday that is what I intend to doyes, that did help, thx Alias Alias [EMAIL PROTECTED] wrote: Craig,This sounds like it's actually the result of a *fix* that's in the newplayer. If an object's _alpha is set to zero, it shouldn't bedisplayed at all -

RE: [flexcoders] Re: Flash Player 8 Beta - found problem??!!

2005-08-11 Thread Matt Chotin
Announced, not released J You can still file bugs on the feedback forms. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Craig Newroth Sent: Thursday, August 11, 2005 10:39 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Flash

RE: [flexcoders] Changing a modal popup to non-modal

2005-08-11 Thread Peter Watson
Try using something like this in the script block of the popup.mxml import mx.managers.SystemManager; var myPop; function createPop(){ myPop = mx.managers.PopUpManager.createPopUp(this, Pop1, true); doLater(this, fixfocus); }

[flexcoders] problem with cell renderer showing data in datagrid twice

2005-08-11 Thread cnewroth55
okay, heres one for all; i have a datagrid and the last cell i wanted to put a combo box in it with a set of selections for a user to pick from. got the cell renederer to work and it puts the combo box in it, however if yu select an item from them combo box, it will put that selection in the

Re: [flexcoders] problem with cell renderer showing data in datagrid twice

2005-08-11 Thread Craig Newroth
here are the files cnewroth55 [EMAIL PROTECTED] wrote: okay, heres one for all; i have a datagrid and the last cell i wanted to put a combo box in it with a set of selections for a user to pick from. got the cell renederer to work and it puts the combo box in it, however if yu select an item

[flexcoders] example of something that can be used in an outlook style calendar tool

2005-08-11 Thread Douglas Knudsen
ok, one of my first endeavours into the Flex/Flash UI stuffs. You can use something like this in a calendaring/scheduling tool. Its not performant or best-practise styled at all, that's to come. Seeing as how I can't really post a finished project as that code would be owned by my employer, I

[flexcoders] Accordion panel Ignoring click events

2005-08-11 Thread Cary Newfeldt
Hi, I'm doing the following [1] One accordion panel [2] Two VBoxes [3] Each VBox has a custom button embedded [4] Each button will pop up an alert when pressed. [5] When executing the application - The first button will execute alert message - The second button will fail to

[flexcoders] individual border settings?

2005-08-11 Thread Douglas Knudsen
according to http://livedocs.macromedia.com/flex/15/asdocs_en/mx/containers/Box.html we can not set the left border to blue and right border to green. Is this correct? Or are there some un-documented CSS settings or something? seems the case with other containers too. -- Douglas Knudsen

[flexcoders] Another Proxy? PHP?

2005-08-11 Thread heybluez
Hey, I have a client that does not want to use the Flex proxy for HTTPService requests. Unfortunately, you need to have a crossdomain.xml file on all the requested servers. This, is probably unlikely to be the case all the time...if even part of the time. SO I was thinking of building a PHP

Re: [flexcoders] individual border settings?

2005-08-11 Thread Manish Jethani
On 8/12/05, Douglas Knudsen [EMAIL PROTECTED] wrote: according to http://livedocs.macromedia.com/flex/15/asdocs_en/mx/containers/Box.html we can not set the left border to blue and right border to green. Is this correct? Or are there some un-documented CSS settings or something? seems the

Re: [flexcoders] Accordion panel Ignoring click events

2005-08-11 Thread Manish Jethani
On 8/12/05, Cary Newfeldt [EMAIL PROTECTED] wrote: I'm doing the following [1] One accordion panel [2] Two VBoxes [3] Each VBox has a custom button embedded [4] Each button will pop up an alert when pressed. [5] When executing the application - The first button will

Re: [flexcoders] Another Proxy? PHP?

2005-08-11 Thread JesterXL
Here's what I've used to proxy gzipped XML files: $file = gzfile($HTTP_POST_VARS[filename]); echo theXML= . implode(, $file); If you pass it file variable, which is basically a url to a gzipped file, it'll echo it back as a string. In your case, you could merely forward the request to and

Re: [flexcoders] Combobox : Display tooltip scrolling over the elements

2005-08-11 Thread Manish Jethani
On 8/11/05, Valy Sivec [EMAIL PROTECTED] wrote: I poke around the combobox component without any luck... no tooltip :(( Set comboBox.__dropdown.showDataTips in the open handler for the ComboBox. ComboBox open=event.target.__dropdown.showDataTips = true / Manish

Re: [flexcoders] ColorPicker in a cellRenderer

2005-08-11 Thread Manish Jethani
On 8/11/05, Burge David A (Contractor) [EMAIL PROTECTED] wrote: I'm trying to use the ColorPicker in a cell renderer of a DataGrid component. I have no problem getting it to initially display except for the selected color. When the component is first drawn all the ColorPickers are black,

Re: [flexcoders] help...geting error when using http service

2005-08-11 Thread Manish Jethani
On 8/11/05, Amit Sanon [EMAIL PROTECTED] wrote: whenever i try to use httpservice tag i get an error --- HTTPService Fault:A start tag had no corresponding end tag --- Just taking a guess, I think your service is returning invalid XML. Set resultFormat=text on your HTTPService element and

Re: [flexcoders] Another Proxy? PHP?

2005-08-11 Thread Manish Jethani
On 8/12/05, heybluez [EMAIL PROTECTED] wrote: I have a client that does not want to use the Flex proxy for HTTPService requests. Unfortunately, you need to have a crossdomain.xml file on all the requested servers. This, is probably unlikely to be the case all the time...if even part of the

[flexcoders] setVariable: only works on localhost?

2005-08-11 Thread Tracy Spratt
Title: setVariable: only works on localhost? I have determined my setVariable problem(it does not communicate with the app) is the result of the way I specify the application swf in the custom wrapper. This source reference using localhost works: param name='src'

Re: [flexcoders] individual border settings?

2005-08-11 Thread Douglas Knudsen
right, I was expecting to be able to set individual properties per border location. eg, have a box with the left border green and 10px thick and have the right border be blue and 2px thich and dashed. well, interesting, IIRC they claim that Flex supports CSS when it only supprts these few things

[flexcoders] Moving Cursor inside textArea

2005-08-11 Thread Josh Noland
Does anybody know how to move the cursor inside a textArea? I am implementing a system that allows a user to use shortcut phrases that are exploded into text. For instance when the user types hz it is exploaded to horizontal. The problem I am having is that when I add the additional

RE: [flexcoders] Calling ArrayStructures in CFCs from Flex

2005-08-11 Thread dfatta
Title: Message Jeff, Great example! It almost works for me except the cfc I call from Flex is a facade to my cfc query. The cfc query returns a variable that needs to be converted to an array or whatever before being put into a structure. Do you have any ideas how to do this? Many

Re: [flexcoders] Moving Cursor inside textArea

2005-08-11 Thread JesterXL
Selection.setSelection(yourText.length, yourText.length); - Original Message - From: Josh Noland [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, August 11, 2005 8:32 PM Subject: [flexcoders] Moving Cursor inside textArea Does anybody know how to move the cursor inside

[flexcoders] mxmlc: Error with configuration file... Invalid content starting with...

2005-08-11 Thread Tracy Spratt
Title: mxmlc: Error with configuration file... Invalid content starting with... Im trying to use mxmlc to compile an app. I got the error in the subject, so I reverted to the original flex-config file and still get the error. The app compiles fine normally. Any ideas? More of the trace

RE: [flexcoders] Loading in the background

2005-08-11 Thread Adam Cath
Hi Andrew, 2) You can create the MediaDisplay and set visible=false so it doesn't show up until you want it. If it doesn't start buffering, you should be able to kick-start it by calling load(). 1) What do you mean by load content? You can download whatever you want, whenever you want, from a

Re: [flexcoders] Accordion panel Ignoring click events

2005-08-11 Thread Cary Newfeldt
Hi Manish, Yes, thank you that worked. regards, Cary. Manish Jethani wrote: On 8/12/05, Cary Newfeldt [EMAIL PROTECTED] wrote: I'm doing the following [1] One accordion panel [2] Two VBoxes [3] Each VBox has a custom button embedded [4] Each button will pop up

[flexcoders] Re: Another Proxy? PHP?

2005-08-11 Thread heybluez
Hi. Can you expand on this? If I am sending a request from flex, how would i use RewriteRule? Thanx! --- In flexcoders@yahoogroups.com, Manish Jethani [EMAIL PROTECTED] wrote: On 8/12/05, heybluez [EMAIL PROTECTED] wrote: I have a client that does not want to use the Flex proxy for

[flexcoders] Re: Loading in the background

2005-08-11 Thread kaibabsowats
In regards to the MediaDisplay and downloading all the media before playing, one way is to do: mediaDisplay.setMedia( somemedia ); mediaDisplay.stop(); Then there is a start event which fires when the MediaDisplay thinks there is enough buffered to start playing. If you want to set your own

RE: [flexcoders] help...geting error when using http service

2005-08-11 Thread Amit Sanon
hey manish great guess man... or was it really a guess... but it solved my problem thanks a lot regards Amit -Original Message-From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]On Behalf Of Manish JethaniSent: Friday, August 12, 2005 3:31 AMTo: