[flexcoders] Validators and Formatters

2005-08-29 Thread priya_sukup
Hi, I am looking for validator without mx :Model or mx :Validator. In fact how to make validation totally with actionscript. Also to check format i need to use actionscript. The validations may vary depending on the button action selected, so need to perform validations and format check for

RE: [flexcoders] Handling mx.controls.Alert.show() Yes/No Options (Or A Better Way To Do It)

2005-08-29 Thread Mink, Joseph
In the click event method, you could set a global variable (defined in the script section of your mxml file) to be a value that represents the pushed button...something along the lines of the following: mx:Applicationmx:Script![CDATA[var pushedButton; function click (event) {

[flexcoders] Re: Handling mx.controls.Alert.show() Yes/No Options (Or A Better Way To Do It)

2005-08-29 Thread Andrew Spaulding
Try something like this: mx:Script ![CDATA[ import mx.controls.Alert; import mx.utils.Delegate; public function showAlert() : Void { Alert.show( Are you sure?, Confirm Delete, Alert.YES | Alert.NO, null, Delegate.create(this, this.handleAlert), null, Alert.YES ); } public function

[flexcoders] Re: Handling mx.controls.Alert.show() Yes/No Options (Or A Better Way To Do It)

2005-08-29 Thread Andrew Spaulding
Sorry, didnt realise Tracy had already responded with the correct solution ;-) Cheers guys, Andrew. --- In flexcoders@yahoogroups.com, Andrew Spaulding [EMAIL PROTECTED] wrote: Try something like this: mx:Script ![CDATA[ import mx.controls.Alert; import mx.utils.Delegate; public

Re: [flexcoders] Re: Null Form

2005-08-29 Thread Manish Jethani
On 8/29/05, Andrew Spaulding [EMAIL PROTECTED] wrote: I've taken a quick look, and couldn't see why you need to override the getters and setters for the id property in CreateListItem.mxml 'id' is the UIObject property used to look up the component instance on the parent document. Jesse, if

Re: [flexcoders] canvas flickering on hideEffect

2005-08-29 Thread Manish Jethani
On 8/29/05, Jaime Bermudez [EMAIL PROTECTED] wrote: That's cool. The reason why I made the grid disabled is that the grid is clickable through the search box, even though the box is above the grid. In other words, I can select a row in the grid that is covered by the search box. Is there a

RE: [flexcoders] Closing Browser

2005-08-29 Thread Abdul Qabiz
You can call javascript function from ActionScript using getURL(..) I think following should work. getURL(javascript:window.close()); -abdul -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Prasad Dhananjaya Sent: Monday, August 29, 2005

[flexcoders] Re: Calling a webservice solely through AS

2005-08-29 Thread inajamaica
Wow, well done! Thanks for the reply, I will need to read it a few times to try and mimic your approach, but all this information is most appreciated. Quite a shame that Macromedia doesn't support WS calls through actionscript though... --- In flexcoders@yahoogroups.com, Jeff Tapper [EMAIL

[flexcoders] How would you do this?

2005-08-29 Thread Stephen Ocean
The Kentucky Post is going paperless. They've decided to cover prep school sports as their trial for their new online editions. See the link below for a demo of the new concept. http://kypostpreps.com/ We think they should use Flex to build this and the supporting CMS. What do you think?

Re: [flexcoders] Re: Null Form

2005-08-29 Thread JesterXL
Whoops... I must of left those in there. I was copying and pasting from VO's, and Flex actually bitched on another form earlier about me doing that... thanks a ton! :: goes to test :: - Original Message - From: Andrew Spaulding [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent:

Re: [flexcoders] Re: Calling a webservice solely through AS

2005-08-29 Thread Jeff Tapper
Honestly, I'm not sure if its officially supported or not, although the lack of documentation on it strongly suggests its not officially supported. Guess we'll know more when Flex 2.0 comes out, perhaps they will support it then. At 07:54 AM 8/29/2005, you wrote: Wow, well done! Thanks for

[flexcoders] Creating flex gui on the fly

2005-08-29 Thread priya_sukup
Hi, I am trying to create flex screens on the fly in my web app. I am using xsl to transform the xml of a screen to mxml. The screen is identified based on the url sent to the server. The transformation is done using xalan from a servlet. But when the response is sent to the browser from the

[flexcoders] ComboBox dropShadow bug

2005-08-29 Thread Philippe Maegerman
Very quiet today, so here a bugto keep you busy ;))) The dropShadow in ComboBox is not really working :(( ?xml version="1.0" encoding="utf-8"?mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" backgroundColor="#FF" mx:ComboBox dataProvider="{[{label:'Hello'},

Re: [flexcoders] ComboBox dropShadow bug

2005-08-29 Thread Manish Jethani
On 8/29/05, Philippe Maegerman [EMAIL PROTECTED] wrote: Very quiet today, so here a bug to keep you busy ;))) The dropShadow in ComboBox is not really working :(( It's not supposed to. dropShadow works only on containers. Documentation bug. :) Manish Yahoo!

RE: [flexcoders] ComboBox dropShadow bug

2005-08-29 Thread Philippe Maegerman
I'm curiouswhy the compiler is not throwing an error then? It works with Lists and dataGrids, Flex Builder is showing these attributes too. Is it going to disapear or be fixedin V2? ?xml version="1.0" encoding="utf-8"?mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml"

Re: [flexcoders] canvas flickering on hideEffect

2005-08-29 Thread Jaime Bermudez
Thanks for your help Manish. We decided on going after the first approach and making the data grid disabled when the search window is visible. Now, another issue I'm having is that when a preview panel is displayed, the search window gets cut off, even though it's width is a percentage. You'll

[flexcoders] Embedding flex Applications

2005-08-29 Thread Aldo Bucchi
Hi all, I haven't got into this problem by experimentation yet, but I believe it might be recurrent enough so that asking first is smarter. I want to embed existing mx:Application/s in a container application... - so that the following applications: apps/app1.mxml apps/app2.mxml apps/app3.mxml -

RE: [flexcoders] Re: hide/unhide a stack in Accordion

2005-08-29 Thread Simard, Ghislain
yep! Ghislain Simard Analyst Technique web | Web Technical Analyst Ressources Naturelles Canada | 580 Booth Ottawa (Ontario) K1A 0E4 Natural Resources Canada | 580 Booth St Ottawa ON K1A 0E4 Gouvernement du Canada | Government of Canada [EMAIL PROTECTED] 613-947-0582 | télécopieur / facsimile

RE: [flexcoders] Re: Calling a webservice solely through AS

2005-08-29 Thread Matt Chotin
Not supported in Flex 1.5, supported in an upcoming version. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jeff Tapper Sent: Monday, August 29, 2005 6:07 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Calling a

RE: [flexcoders] Charting Components w/in Repeater

2005-08-29 Thread Ely Greenfield
Your (a) thought looks like a likely candidate. CategoryAxis objects don't inherit their dataprovider from the chart...you need to assign them explicitly. Ely. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of dave buhler Sent: Saturday,

RE: [flexcoders] Closing Browser

2005-08-29 Thread Tracy Spratt
Sometimes this works to avoid the browser prompt: getURL(javascript:window.opener=self; window.close();); Tested on IE only. Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Abdul Qabiz Sent: Monday, August 29, 2005 3:18 AM To:

[flexcoders] bug with empty string replaceText() ?

2005-08-29 Thread daniel s.
Does anyone know if the issue explained in the first comment here was ever handled? http://livedocs.macromedia.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/co mmon/html/wwhelp.htm?context=Flash_MX_2004file=1806.html I'm experiencing the same issue, I have a TextArea and when i try a

Re: [flexcoders] Closing Browser

2005-08-29 Thread Clint Modien
Firefox won't let you close a window... if that's a requirement. It can if the user has his setting set to allow closing the browser window but that's not the default. On 8/29/05, Tracy Spratt [EMAIL PROTECTED] wrote: Sometimes this works to avoid the browser

RE: [flexcoders] Creating flex gui on the fly

2005-08-29 Thread Tracy Spratt
The problem is that there are two server-based compile steps that happen before the client gets the app. First, the mxml is generated in .as files, then the .as files are compiled into a swf, which is wrapped in html then sent to the client. You are skipping the generate and compile. I don't

RE: [flexcoders] Charting Components w/in Repeater

2005-08-29 Thread Ely Greenfield
OK, here's what I see from your code. Your vertical Axis is a CategoryAxis, with a categoryField but no dataProvider. That means it has no source for its categories, and thus won't show any categories. Which means your BarSeries won't show any bars, because there's no categories to map the

Re: [flexcoders] Charting Components w/in Repeater

2005-08-29 Thread dave buhler
Hi Ely, I made some progress talking to the chart. It now shows a range up to number 2, so now I know I can work with it: But it still doesn't populate. Here are my code changes: ViewHelper: //- public

Re: [flexcoders] Charting Components w/in Repeater

2005-08-29 Thread dave buhler
Hi Ely, The final bar chart should be a comparison of a customer's Ratings. Customers are rated 1-5. 1 being poor. 5 being the best. So the chart should be something like: x: RATING FOR CATEGORY (delivery, quality, payment) y: RATING BY VALUE (1-5) Since I am using a repeater, I am clueless

RE: [flexcoders] Charting Components w/in Repeater

2005-08-29 Thread Ely Greenfield
Hmmm...based on that description... 1) if your horizontal axis is the category, and your vertical axis is the value, It sounds like you want vertical bars, not horizontal ones. I imagine you want a ColumnChart, not a BarChart. 2) To access an axis (hehe), you would do something like:

[flexcoders] CAIRNGORM 0.99 QUESTION

2005-08-29 Thread flexcoding
Is it OK to have a constructor in the Command classes and have delegate initialized there rather than doing it in every time execute method is called? So Could the code of LoginCommand of sample code that came with CAIRNGORM 0.99 be changed to: class

Re: [flexcoders] Charting Components w/in Repeater

2005-08-29 Thread dave buhler
Should I reference the DataProvider of the: CategoryAxis or verticalAxis/HorizontalAxis On 8/29/05, Ely Greenfield [EMAIL PROTECTED] wrote: Hmmm...based on that description... 1) if your horizontal axis is the category, and your vertical axis is the value, It sounds like you want

[flexcoders] How to set a WebService endpoint?

2005-08-29 Thread Mink, Joseph
This may be a stupid question, but how do you set the endpoint for a WebService object? mx:WebService concurrency=multiple|single|last fault=No default. id=No default. load=No default. port=No default. protocol=http|https result=No default. service=No default.

Re: [flexcoders] ComboBox dropShadow bug

2005-08-29 Thread Manish Jethani
On 8/29/05, Philippe Maegerman [EMAIL PROTECTED] wrote: It works with Lists and dataGrids, Flex Builder is showing these attributes too. Sorry, my bad. It does work for List. ComboBox does not extend List though. Is it going to disapear or be fixed in V2? The desired behaviour would

Re: [flexcoders] canvas flickering on hideEffect

2005-08-29 Thread Manish Jethani
On 8/29/05, Jaime Bermudez [EMAIL PROTECTED] wrote: Now, another issue I'm having is that when a preview panel is displayed, the search window gets cut off, even though it's width is a percentage. You'll see what I mean if you run the following app, select the first row to cause the preview

RE: [flexcoders] Handling mx.controls.Alert.show() Yes/No Options (Or A Better Way To Do It)

2005-08-29 Thread Gordon Smith
I just wanted to mention that vars defined in the mx:Script of an mx:Application aren't global variables. They are instance variables of that application, in the same way that vars defined in the mx:Script of a component are instances variables of that component. If the application's

RE: [flexcoders] Creating flex gui on the fly

2005-08-29 Thread Gordon Smith
The Flash Player can't turn MXML into SWF. Only the Flex compiler can do that. There is no real reason to turn the XML describing a screen into MXML. Just get the XML into your Flex application. Then parse through it and call createChild() to create components based on what your XML says the

RE: [flexcoders] Validators and Formatters

2005-08-29 Thread Matt Chotin
AS-only validators are not supported in 1.5. They will be in the next version. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of priya_sukup Sent: Sunday, August 28, 2005 11:16 PM To: flexcoders@yahoogroups.com Subject: [flexcoders]

RE: [flexcoders] How to set a WebService endpoint?

2005-08-29 Thread Matt Chotin
It is automatically determined from the WSDL. If you need to specify a different endpoint check the docs here: http://livedocs.macromedia.com/flex/15/flex_docs_en/0770.htm From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mink, Joseph Sent: