Re: [flexcoders] FlexBuilder Memory Hog?

2005-03-14 Thread Scott Barnes
lol it helps if i have 1.5... just realised i installed 1.0 and not 1.5 :) that may be why eh what what... I'll install 1.5 and see if it improves... On Sun, 13 Mar 2005 18:51:14 -0500, JesterXL [EMAIL PROTECTED] wrote: Don't know how it runs, but I KNOW she runs tons better when it's off.

Re: [flexcoders] FlexBuilder Memory Hog?

2005-03-14 Thread JesterXL
It does, and additionally, it'll render in Design View more accurately; case in point width=100%. Even with DesignView enabeld, I'm chillin at FlexBuilder=110 megs, JRUN=72 megs. WAY better than 1.0 was doin. - Original Message - From: Scott Barnes [EMAIL PROTECTED] To:

RowRenderer api

2005-03-14 Thread Jasper Blues
Hi Folks, I have a DataGrid component in which I'd like to make some rows non-selectable based upon properties in my dataProvider. Can someone suggest a way to achieve this? I can't find much information on how to use the RowRenderer api. Thanks and Regards, Jasper Blues :) ~~--- This

Re: [flexcoders] mx:Panel and disabling CSS Inheritance.

2005-03-14 Thread Scott Barnes
heh it kind of works, but sadly the headerColors gets passed down to things like accordion and datefields etc.. ahh this is so frustrating.. why the hell isn't there a inheritance=false attribute! hehe i'm think i'm going to have to hack it in order to get it working which i really did not

Re: [flexcoders] FlexBuilder Memory Hog?

2005-03-14 Thread Scott Barnes
Well i upgraded, and still the same problem. It appears to be CSS related, in that if i update a CSS file via the builder then click back onto my mxml file - memory spikes occur and my builder locks up for 20-30 seconds. oh well... might have to memories the entire MXML code based and use

Re: [flexcoders] FlexBuilder Memory Hog?

2005-03-14 Thread JesterXL
If she's running that bad, just turn Design View off, and keep your browser open and around, pointed to http://localhost:8700/flex/yourappfolderonserer/my.mxml?recompile=true or something close; that way, you can just F5 to recompile using a browser vs. FlexBuilder. Just make sure to upload

Re: [flexcoders] FlexBuilder Memory Hog?

2005-03-14 Thread Scott Barnes
On Sun, 13 Mar 2005 20:00:17 -0500, JesterXL [EMAIL PROTECTED] wrote: If she's running that bad, just turn Design View off, and keep your browser open and around, pointed to http://localhost:8700/flex/yourappfolderonserer/my.mxml?recompile=true or something close; that way, you can just F5

Re: [flexcoders] mx:Panel and disabling CSS Inheritance.

2005-03-14 Thread Scott Barnes
Ok i think i've found a comprimise but still, its annoying feature within the product not to have some attribute that can turn off/on inheritance. 2.0 feature req hehe. I've had to set default header-colors for all tags that are affected ie: ---CSS FILE--- DateField, Accordion etc {

Re: [flexcoders] Re: Can I gray out the rest of a screen behind a popup?

2005-03-14 Thread Scott Barnes
I'm wanting to change the color of the white modal under layer to a different color? anyone have something written to achieve this already? On Thu, 24 Feb 2005 14:44:04 -, sreejithunni [EMAIL PROTECTED] wrote: If you set modalTransparency in the TitleWindow component to 100, the entire

Servlet Session

2005-03-14 Thread [EMAIL PROTECTED]
Hi, i have a problem with flex session servlet. This code work, but have a great problem. If i wish to store in session from Flex ,a collection of Pojo this code don't work. For example i have a CustemerVO i wish to store it in session and used it by my servlet with simple

Re: do you validate WS/RO requests?

2005-03-14 Thread bhaq1972
yes. --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: Quick survey, do you ever use the Validators on RemoteObject, WebService, or HTTPService requests? E.g., mx:RemoteObject ... mx:method name=someMethod mx:arguments arg1.../arg1 arg2.../arg2 / / /

James Anniss/MutualOMA is out of the office.

2005-03-14 Thread James . Anniss
I will be out of the office starting 03/14/2005 and will not return until 03/16/2005. I will respond to your message when I return on March 16th, or you may contact Scott Zagurski (x5265) or Jordan Starr (x8115) for any assistance or work needed before my return.

Flex SWF in Zinc

2005-03-14 Thread JesterXL
Is wrapping a Flex SWF using Zinc, and distributing the EXE ok via the EULA? Aral Balkan brought this up to me after I told him my progress on a project, and thought I'd ask. I wrote a small GUI for NaturalDocs (naturaldocs.org) since it's only command line. I used Zinc as the wrapper since

RE: [flexcoders] do you validate WS/RO requests?

2005-03-14 Thread Dimitrios Gianninas
I validate the modelin my case then pass it on to the RO. I think this is typical of anyone using Cairngorm. Jimmy Gianninas Software Developer - Optimal Payments Inc. From: Matt Chotin [mailto:[EMAIL PROTECTED] Sent: Sunday, March 13, 2005 6:28 PMTo:

Re: [flexcoders] RowRenderer api

2005-03-14 Thread Manish Jethani
On Mon, 14 Mar 2005 10:24:32 +1000, Jasper Blues [EMAIL PROTECTED] wrote: I have a DataGrid component in which I'd like to make some rows non-selectable based upon properties in my dataProvider. Can someone suggest a way to achieve this? I can't find much information on how to use the

Cannot invoke method

2005-03-14 Thread [EMAIL PROTECTED]
Hi, i have this problem, if you can you look my code, if you look my mxml file when press PassaPOJO button, flex lunch this error Error: Cannot invoke method 'Lista'. Why? what i wrong, please can you help me java side simple function public void Lista(PfVO pf) {

Re: Installing Flex on IIS with JRun??

2005-03-14 Thread Bradley
When you guys say extract the flex.war do you mean to Add the Flex.war via the Jrun admin console as a new J2EE component in the Web Application section? Or is there another way to do this?? Thanks all! --- In flexcoders@yahoogroups.com, Ketan Bengali [EMAIL PROTECTED] wrote: You will also

Submit an editable grid

2005-03-14 Thread Valy Sivec
Hello guys, I have an editable datagrid and a save button underneath. Each row from the datagrid isan "AS2"value object that is registered Object.registerClass. I edit the grid and hit the save button. I would expect to get on the server side an array of java value objects ( server side relative

Use hand cursor

2005-03-14 Thread Robert Stuttaford
Hi flex coders, Does anyone know how I can force use of the hand cursor, specifically on an Image control? Ideally Id love to just go instance.useHandCursor = true; Do I have to write a derivative and override the relevant mouse handlers? Thanks! Robert

RE: [flexcoders] Re: Installing Flex on IIS with JRun??

2005-03-14 Thread Peter Farland
You can do this without the admin console... Unzip the flex.war file (war files are just zip files with a different file name extension) using a suitable name for the top level directory under your server. For example: unzip flex.war to yourserver as: C:\JRun4\servers\yourserver\flex So that

Whats the best way to do this

2005-03-14 Thread nostra72
Ok lets say you have an array of about fifty objects and you use a repeater and put the items with the properties from the repeater to a list of labels. BUT you do not want the screen to go so far to the right that it goes off the screen you want it to instead go over to the next line. In other

Re: [flexcoders] Submit an editable grid

2005-03-14 Thread Joe Berkovitz
The only time I've ever seen that happen is when there is something broken about the Java/AS mappings. There are several simple JavaBean gotchas that can bite you here: - forgetting to put in a public no-arg constructor - forgetting to have public setter methods for properties - trivial

Default text in ComboBox with and Required Fields

2005-03-14 Thread Anthony Merryfield
Title: Default text in ComboBox with and Required Fields I've got a page with several ComboBox elements within, some of them are required fields. The DataProvider gets the contents dynamically from the server. Is there a way to add a default item such as 'Please Choose...' without it

RichTextEditor...for Flash

2005-03-14 Thread JesterXL
I tried (with Abdul's MXI help) to get this installable for FlexBuilder, but have failed. Hopefully someone else can help Igor carry the torch so Flexers' can use this component. RichTextEditor Flash Component http://www.flashtexteditor.com/in.html My Commentary

RE: [flexcoders] Submit an editable grid

2005-03-14 Thread Peter Farland
Title: Message What does the API for the "save" method on the RemoteObject service look like? If it is based on something generic, like java.util.Map, then it might leave a type as flashgateway.io.ASObject (which extends java.util.HashMap). If it's ArrayList, then it might notspot that it

RE: [flexcoders] Cannot invoke method

2005-03-14 Thread devis
Hi, thank's for your help but with Aggiorna(vo:vo.as400.PfVO):Void flex throw again Error: Cannot invoke method 'Lista'. I have review all my classes, and if i use them when retrive data , work fine, for example public PfVO[] Retrive_PF() the code work!!!, I'm not more thing to check. Help

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

2005-03-14 Thread Steven Webster
Have you checked out the Tile Container ? Steven From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 14 March 2005 15:15To: flexcoders@yahoogroups.comSubject: [flexcoders] Whats the bestway to do this Ok lets say you have an array of about fifty objects and you use a repeater and

Can you make an array of functions

2005-03-14 Thread nostra72
Is this possible

Re: [flexcoders] Flex SWF in Zinc

2005-03-14 Thread peter blazejewicz
Hi Jessie, I wondered about the same licensing question when I've been testing Flex inside ZINC, I've simply use .exe as shell container for .swf served from Flex just like in browser , thanx for asking that, regards Peter, MDM Support Team [EMAIL PROTECTED] JesterXL wrote: Is wrapping a

Re: [flexcoders] Can you make an array of functions

2005-03-14 Thread Spike
You can achieve the same thing as an array of functions by creating an array of objects that each has a single function. The question is why would you want to do this? Spike [EMAIL PROTECTED] wrote: Is this possible *Yahoo! Groups Sponsor* ADVERTISEMENT click here

Re: [flexcoders] Flex SWF in Zinc

2005-03-14 Thread JesterXL
To expound on what you just said: - is using the Zinc projector to load the SWF from a remote URL legal? (Peter's way he tested) - is using the Zinc projector to wrap the SWF locally by getting a local copy of the SWF generated from a Flex server (way I've tested) legal? The first uses a

Re: unsupported type found in stream-Flex alert

2005-03-14 Thread Veronica Grigoras
Abdul/Peter, I have an editable datagrid that gets populated via remote object calls. The delegate class has a method Object[] getDataGridData (), the result array is populated with java value objects. On the flex side I registered the AS2 value object to the correspondent java value object

RE: [flexcoders] Can you make an array of functions

2005-03-14 Thread Gordon Smith
Title: Message Yes. An array element can be any ActionScript value, including a function reference. - Gordon -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, March 14, 2005 7:56 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Can you make an

RE: [flexcoders] Use hand cursor

2005-03-14 Thread Tracy Spratt
I found this: mouseOver=event.target. It's the onRelease that fixes it. But also: FYI, I've found it much easier to use an mx:Link icon=.../tag than to overide all the handlers on an image tag. Tracy From: Robert Stuttaford [mailto:[EMAIL PROTECTED] Sent:

Documentation on supported application servers

2005-03-14 Thread greenfishinwater
I've looked on the flex developers site, and can't find any info on which application servers are supported for the deployment of flex, and specifically what versions of say Apache, Tomcat are required. Can anyone point me in the right direction. Andrew

Re: [flexcoders] Re: Slider extension

2005-03-14 Thread Harris Reynolds
This is a good question. Without the source extending the Slider is difficult at best. Currently I had to write a custom slider to get the functionality I need, but I'd like to leverage what is already available as well. ~harris --- Matthew Pflueger [EMAIL PROTECTED] wrote: Has anybody

RE: [flexcoders] Default text in ComboBox with and Required Fields

2005-03-14 Thread Tracy Spratt
Title: Default text in ComboBox with and Required Fields Check out the prompt property. It looks like it would be submitted though. Tracy From: Anthony Merryfield [mailto:[EMAIL PROTECTED] Sent: Monday, March 14, 200510:20 AM To: [EMAIL PROTECTED] Subject: [flexcoders]

RE: [flexcoders] Documentation on supported application servers

2005-03-14 Thread Matt Horn
Andrew, you can see it on the system requirements page: http://www.macromedia.com/software/flex/productinfo/systemreqs/ Supported Application Servers: Macromedia JRun 4 Updater 2 IBM WebSphere Application Server 5 BEA WebLogic Server 7 or 8.1 Oracle 10g AS Tomcat 4.1.29 or 5.0.18 I am

RE: [flexcoders] Submit an editable grid

2005-03-14 Thread Valy Sivec
Peter, Thank you for your message.I fixed the problem and what I have done is to iterate the datagrid provider and dump it into an array of AS2 value objects. and call the remote object like : function saveDataGrid() { var gridLines:Array = new Array(); for( var cnt:Number = 0 ; cnt

RE: [flexcoders] Re: do you validate WS/RO requests?

2005-03-14 Thread Matt Chotin
Sorry, should have asked you to specify which tags (if you distinguish). Matt From: bhaq1972 [mailto:[EMAIL PROTECTED] Sent: Monday, March 14, 200512:41 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: doyou validate WS/RO requests? yes. --- In

RE: [flexcoders] Re: Slider extension

2005-03-14 Thread Tracy Spratt
Here are some posts that may be relevant: Hi Let me explain the problem a little more: Using the code below, the Top Panel with the title My Title will not display the 2 thunbs correctly. To display the two thumbs correctly, you need to remove the title text for the panel. Here is

Data Grid entry, numerical operations with bigdecimals

2005-03-14 Thread Valy Sivec
Hello, I have a data entry grid and a column should be numeric ( BigDecimal in java ). To get the correct representation of the number I transmit the number to flex as String, to avoid the scientific representation of the number. My problem is that in the editable grid, the user can change the

Problem with WebService using HTTPS protocol

2005-03-14 Thread extensive_systems
I'm trying to invoke an unnamed web service and the fault string Could not load WSDL is returned. (typing the URL in a browser returns valid (WSDL) XML). A couple of questions: (1) Does anyone have an idea why the WSDL could not be loaded? (2) Does anyone have a complete, working example of

RE: [flexcoders] Re: unsupported type found in stream-Flex alert

2005-03-14 Thread Peter Farland
It's ok as long as you don't have code that does this: something.whatever = new String(foo); something.somethingelse = new Number(4); This is a limtation of the Flash Player and the underlying AMF NetConnection that it provides. Instead, the above must be written as follows: something.whatever

RE: [flexcoders] Submit an editable grid

2005-03-14 Thread Peter Farland
Title: Message Have you tried changing your Java API to: public void saveIndi(Individual[] individuals) instead?

RE: [flexcoders] Can you make an array of functions

2005-03-14 Thread Abdul Qabiz
Something like this: function func1() { } function func2() { } var arr = [func1, func2]; arrFunction.push(function func3() { } ); But again, why you need it.. -abdul -Original Message- From: Spike [mailto:[EMAIL PROTECTED] Sent: Monday, March 14, 2005 9:34 PM To:

Re: [flexcoders] Problem with WebService using HTTPS protocol

2005-03-14 Thread Dennis Jackson
Not over https. But I do over http. -Original Message- From: extensive_systems [EMAIL PROTECTED] Date: Mon, 14 Mar 2005 18:33:38 To:flexcoders@yahoogroups.com Subject: [flexcoders] Problem with WebService using HTTPS protocol I'm trying to invoke an unnamed web service and the fault

RE: [flexcoders] Re: Slider extension

2005-03-14 Thread Matthew Pflueger
This is definitely something Ill keep in mind but Im currently not having any problems getting the slider to display itself (or its thumbs). What Id like to do is be able to set thumbCount=n and give the slider an array[n] of values and have n number of thumbs appear For example,

Re: Problem with WebService using HTTPS protocol

2005-03-14 Thread extensive_systems
Answer to (1) is that System.security.loadPolicyFile(...); does not seem to have worked properly / done the trick, and I actually had to place crossdomain.xml in the appserver's root directory. --- In flexcoders@yahoogroups.com, extensive_systems [EMAIL PROTECTED] wrote: I'm trying to

Need example of Custom Component Built in Flash

2005-03-14 Thread dduuggllaa
Hello, Would someone be willing to post a simple example of a custom component built in Flash for use in Flex? The simpler the better. Thanks. -Douglass Turner

Re: [flexcoders] Use hand cursor

2005-03-14 Thread James Ward
I am really surprised that MM didn't do a better job with this. My personal feeling is that anything that can be clicked, should by default, use the hand cursor. Sorry for the rant... So I ended up creating wrapper classes for clickable items. For instance: class components.Button extends

Re: [flexcoders] Can you make an array of functions

2005-03-14 Thread nostra72
I am just trying to find ways to write code more compactly thats all I just thought an array of functions would be a way to do it but I guess not.

RE: [flexcoders] Submit an editable grid

2005-03-14 Thread Valy Sivec
Peter, I changed that as you said and it worked fine if called the method RO.saveIndi( Array ) where the Array is the the data from the dataprovider. The same code doesn't work in case I want to send the dataprovider directly to the remote object ( see the function below ) This works:

Re: [flexcoders] dataprovider for mx:Array tag

2005-03-14 Thread Tarik Ahmed
What is your remote object returning? If it doesn't return an array, you could create a function that processes the result of the remote object function and manage it that way. Doodi, Hari - BLS CTR wrote: Hi, I need to develop a UI such that when user click 'Prev' button system should

Re: [flexcoders] Using flex to generate a random number

2005-03-14 Thread Valy Sivec
Try this one... var random :Number = 1+ (Math.random() * 10)Valy[EMAIL PROTECTED] wrote: Is there any way to use flex to generate a random number then round that number to the nearest number like say generate a random number between 1 and 10? Do you Yahoo!? Yahoo! Mail - Helps protect you from

Re: [flexcoders] Using flex to generate a random number

2005-03-14 Thread Tarik Ahmed
Well there's a Math class, with a random() function. Here's something you can refer to: http://www.actionscripts.org/tutorials/intermediate/Random_Functions/index.shtml [EMAIL PROTECTED] wrote: Is there any way to use flex to generate a random number then round that number to the nearest number

RE: [flexcoders] dataprovider for mx:Array tag

2005-03-14 Thread Doodi, Hari - BLS CTR
The result will be array of value objects coming from Java. But since the backend objects are not yet ready I am trying to simulate with xml. Here is my remote object syntax. mx:RemoteObject id=itemDisplay_mngItemsController source= manageitems.controllers.MngItemsController showBusyCursor=true

Re: [flexcoders] mx:Panel and disabling CSS Inheritance.

2005-03-14 Thread Manish Jethani
On Mon, 14 Mar 2005 10:29:48 +1000, Scott Barnes [EMAIL PROTECTED] wrote: ahh this is so frustrating.. why the hell isn't there a inheritance=false attribute! hehe It's based on the way CSS works in HTML. Some properties (like font-size) are inheriting, some aren't. The way I would get

RE: [flexcoders] Re: Slider extension

2005-03-14 Thread Jason Szeto
Matt, We purposely limited the Slider to only support 2 thumbs. Can you describe the use case for supporting more than two thumbs? In any case, you can create a subclassof Slider that overrides the set thumbCount setter function. Ive included an example below. Note that when you

RE: [flexcoders] Use hand cursor

2005-03-14 Thread Jason Szeto
You can also use the ImageButton component that ships in the extras folder of Flex 1.5. Jason From: Tracy Spratt [mailto:[EMAIL PROTECTED] Sent: Monday, March 14, 20059:18 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Use hand cursor I found this:

Re: [flexcoders] BG Canvas Color / Panel Width

2005-03-14 Thread Manish Jethani
On Fri, 11 Mar 2005 18:48:59 -, nextadvantage [EMAIL PROTECTED] wrote: How do I set the background canvas to a dark black gradient like I have seen in some of the samples? Create a gradient image using your favourite image editor, then set it as the `backgroundImage` of the component, and

Re: About Image

2005-03-14 Thread Kyle Dyer
Has anyone written a servlet that can do this on the fly? Like the .net img2swf tool? kyle unfortunately, the Flash Player can only handle JPG files that are non-progressive. to check, open a JPG that doesn't get displayed in Flex in a program like Photoshop or Fireworks and save it as a JPG

RE: [flexcoders] Re: About Image

2005-03-14 Thread Steiner, Jeff
There is a servlet contained in a sample on my site that has a gif2jpeg servlet. Take a peek at the google maps example under Advanced on http://www.flexauthority.com. Download the source and take a look. Jeff -Original Message- From: Kyle Dyer [mailto:[EMAIL PROTECTED] Sent: Monday,

RE: [flexcoders] Re: Slider extension

2005-03-14 Thread Matthew Pflueger
Thanks for the quick response Jason! Your advice worked like a charm and so easy Im a little embarrassed to have even asked the question Anyway, as for the use case, Ill due my best to explain: Say you want to rank rabbit breeders by the number of rabbits theyve successfully sold.

Re: [flexcoders] HRule tabEnabled?

2005-03-14 Thread Manish Jethani
On Sun, 13 Mar 2005 18:21:57 -0500, JesterXL [EMAIL PROTECTED] wrote: Is there a way to have this tabEnabled=false by default? Seems weird to be able to tab to an HRule... I wonder why it inherits from UIComponent. Anyway, I found this the best option:

Re: [flexcoders] mx:Panel and disabling CSS Inheritance.

2005-03-14 Thread Spike
c'mon now Scott, You could have tested that out almost faster than typing the question ;-) I'd test it myself, but I'm running out of free RAM on this machine and don't have Flex Builder running at the minute. Spike p.s. Only kidding about testing it yourself btw, I'm curious what the answer is