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
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)
{
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
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
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
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
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
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
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?
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:
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
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
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'},
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!
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"
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
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
-
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
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
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,
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:
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
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
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
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
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
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
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:
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
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
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.
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
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
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
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
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]
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:
37 matches
Mail list logo