Hi
all,
When I
try to run a method on a RemoteObject, I seethis error in the
debugger
EventType: "Status"MovieUrl: "http://localhost:8600/samples/greg/index.mxml.swf"Source:
"Client"Time: 1109808432601Date (object #1)."Wed Mar 2 16:07:12
GMT-0800 2005"Status (object #2).code:
Hi Aral,
please can you send me this preview and the Flex samples application too?
Thanks,
Sven
-Ursprüngliche Nachricht-
Von: Aral Balkan [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 2. März 2005 22:38
An: flexcoders@yahoogroups.com
Betreff: Re: [flexcoders] Cairngorm or ARP
Hi
Agha,
Check that you have allowed access to the RO from within
your flex-config.xml file.
Jeff
From: Mehdi, Agha [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 02, 2005 4:15 PMTo:
flexcoders@yahoogroups.comSubject: [flexcoders] RemoteObject
Problem
Hi
all,
When I
try to run a
Title: Create mx:Model statically vs Binding
There are a few other threads about this, and I have never been comfortable with mx:Model so I decided to try to figure it out, but have been unsuccessful. In the small sample app below, I have three datagrids. One uses XML directly, one uses a
Not sure how fussy Flex is about validXML
but your fault and result attributes are in single quotes. Also the HTTPService
tag looks unclosed.
From: jivankohinoor
[mailto:[EMAIL PROTECTED]
Sent: Thursday, March 03, 2005
4:18 AM
To: flexcoders@yahoogroups.com
Subject:
Mark, Id love to see a simple
working example of this.
Luckily, my printing needs at the moment
are modest, but an interim solution, while MM improves native printing, would
be a delight.
Tracy
From: Mark Hitchcock
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 02, 2005
I created a simple mxml applicationthat contains a viewStack. The
stack defaults to the first canvas. This canvas contains a button
that when pushed, changes the stack to the second canvas.
I can get this to work, but what I really want is to put the first
canvas into a second mxml file. The
Try
parentDocument.headerStack.selectedChild = secondCanvas;
- Gordon
-Original Message-
From: kredding.geo [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 02, 2005 5:13 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] ViewStack change using separate mxml file
I created a
Thanks Manish. Running it as an HTTPService or as a CGI would seem to
be the easiest, and I'll give it a try. I had been thinking in terms
of RemoteObject and hence my uncertainty on how to proceed, but
HTTPService sure looks easier to implement from what I'm starting
with.
From: Manish Jethani
Perfect. Thank you.
--- In flexcoders@yahoogroups.com, Gordon Smith [EMAIL PROTECTED] wrote:
Try
parentDocument.headerStack.selectedChild = secondCanvas;
- Gordon
-Original Message-
From: kredding.geo [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 02, 2005 5:13 PM
To:
Title: Message
Ok, this is something I didn't understand. I have my flex
running on http://localhost:8600. when I use
remoteObject with endpoint of http://localhost:8400/flashservices/gateway, which is a CF
server, itruns fine with no problems. This time, I tried using
remoteObject with
Now I have a parent document with 2 children mxml docs using
viewStack. I would like to take the value of a textInput from one
child and place that value into a text control of the second child.
Is this possible?
Thank you
--- In flexcoders@yahoogroups.com, kredding.geo [EMAIL PROTECTED]
Hi Tracy,
Not a problem. Yes, my printing needs are quite modest aswell and like I
said in the original email, this solution exceeds my printing needs at the
moment, but offeres the flexibility I need.
Please find attached a simple mxml file as well as a java file which will
need to be compiled.
Hi Agha,
We've used Cairngorm to this point, but we had a good talk with Aral at MXDU comparing the two frameworks and what I've said about ARP is based on this discussion. Try the list Aral posted today in another Flexcoders thread. I need to try out some ARP ideas in a project to sort out my
Vandan,
Flex, in and of itself, does not truly have the ability to add, edit or
delete data from a db. What you can do is call a webservice that performs
those actions.
Check out some of the samples in the Flex Explorer on Macromedia's web site
for some good specifics as to what flex can do.
Certainly. From any script in a Flex application, you can access data from
any component and store it anywhere. You can use relative or absolute
access, as in any hierarchy.
From a script of the parent document, you can access properties of
descendant components by dotting down relative to the
code - as a pragmatic (slothfull? :-)
Flex programmer I am rather fond of using a bit more actionscript in my mxml,
but then I understand where Aral is coming from - and in Flash I would never
put code in my fla. I would be happy to recommend either framework to a
client.
Not having seen
After all, a MXML gets compiled into a AS 2.0 class. Most MXML files are
instances of the View (classic View in MVC that is) - so to me it's logic
andvalid to have functionality inside that file that handles and delegates user
interactions.
Dirk.
-Original Message-
From: Steven
Hi guys,
I've sent you both the files offlist. In the interests of not flooding
this list, can I please ask anyone else who might be interested to email
me directly -- thanks! :)
All the best,
Aral
On Thu, 03 Mar 2005 02:32:18 +0200, Willem Engelbrecht
[EMAIL PROTECTED] wrote:
To repeat the
Personaly I don't like putting code into mxml's too, for me they are
just the visual part of the application. I also don't like the idea of
having a class somewhere far away from my form wich is called on a (for
example) submit button event and then accesses the formfields to check
their values.
Title: New to Flex and having difficulties with validation
Hello everyone,
I'm new to Flex (started on Monday) and I'm having a lot of difficulties with validation.
Here's the situation:
I have a model in which I load data from an external XML
mx:Model id=edgesmodel source=edges.xml/
Hello,
I tried to use the NumberFormatter but without any luck... I checked the MM documentation but no luck either...
There is a sample here
http://livedocs.macromedia.com/flex/15/asdocs_en/mx/formatters/NumberFormatter.html
but when I enter 0.00023 the formatted output is : 2.3e-8.
Hi,
It seems to be a limitation, however I will verify and file the issues..
Since both buttons are at same place, when you click one button and don't
move mouse and other button appears at the same place...Other button doesn't
get into over state or doesn't get the focus. So you have to do
As an experiment, I created a RadioButtonGroup validator as
a custom validator to determine is a user neglected to select a RadioButton in a
RadioButtonGroup:
class RBValidator extends mx.validators.Validator
{public function RBValidator () {
super(); } public function
doValidation(value)
Can I ask how you manage an MXML without
any ActionScript at all? How in a file that has components with clickor
change listeners would you not have any supporting ActionScript codeI
mean just about every single one of my MXML files has initialize or
creationComplete listeners in the parent
What i do is extending the mxmlclass with an AS
class. Then instead of using the mxml i use the AS subclass. If the class is
empty, things just work like they did before. But inside the AS class u have the
usual callBacks (createChildren, init, etc) and a
constructor.
Via code u can add
Your example works fine as long as totalAmt is a number, formatting will work as expected.
My problem has a different context, though:
I have 2 text inputs, both of them are being formatted using the regular NumberFormatted. Im trying to get the numbers out of the 2 text boxes, add them up
Show it as string, I mean internally calculate as number then convert number
to string and show in the textfield
I wrote a quick dirty routine, that might help you.There might be a
better way to do, this is what I have done using string operations...
code
function
Hi members,
I am new to Flex coding. I did learn a lot from coenraets web site
and also from richinternetapps.com. I do really appreciate them for letting
others to see their code and learn from it.
I do have couple of issues to resolve. I did try search on Livedocs and
other websites for
does anyone have any good examples of how to get data to and from a
chart if RO's or CFC's? All the ones I have seen are static xml...
thanks,
Craig Newroth
Hi,
I have to print data from a datagrid with several columns(12). Defining a
print job, I intend to modify the default page orientation, to print in
horizontal orientation, but it doesn´t work. Any thought?. Thanks in
advance.
My code:
var pj : PrintJob = new PrintJob();
//orientation
I've created a databinding in a component that works OK, but gives me a
warning.
I have an xml file called sales.xml storing a value this way:
plan
description id=DIRECT
element
nameDescription/name
valueThis is some descriptive text./value
/element
/description
other nodes here
/plan
in
Yes, this does work. Here's an example:
?xml version=1.0?
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;
mx:VBox
!-- Create a LinkBar container to navigate the ViewStack container. --
mx:LinkBar dataProvider=myViewStack borderStyle=solid /
!-- Define the ViewStack and the three
I'm up to speed on Tomcat now and attempting to install Cairngorm. As
the docs are rather thin, I'm assuming Cairngorm is an application
skeleton with an entry point. The file INSTALL.txt mentions an
Index.mxml file that does not appear to be included in the cairngorm
zip file. Can someone from
That was my initial approach too, but eventualy it was
easier to track bugs and 'mis-references' since i extended the component i was
accessing. Now i get an error when i try to reference a textfield that isnt
there. Another thing that is a pro for this kind of approach, is that the mxml
Why don't u try to use getURL?
U can use it like this:
getURL(javascript:functionName('arg1', 'arg2'));
Internally fscommand is converted to something like:
getURL(fscommand:functionName...), I don't know exactly, but there was
a thread about it on flexcoders a month or so ago.
Greetz Erik
Douglas, As the docs are rather thin,There
are 685 pages of docs here:http://www.amazon.com/exec/obidos/tg/detail/-/0321255666/qid=1109863774/sr=8-1/ref=pd_bbs_1/104-6646893-5762341?v=glances=booksn=507846:-)
I'm assuming Cairngorm is an application skeleton with an entry point.
The file
I think if you're using IE, you have to create a VBScript passthrough
because fscommand will only call a VBScript function. Your original code
worked for me in Firefox but not in IE. (Plus, you might have to watch the
caps of myMovie_DoFSCommand -- the D is capitalized).
Try adding the
Abdul,
thanks for your example it was very helpfull I added an extra text box and wanted to do some sum between the 2 boxes... very basic stuff...
function setOutput()
{
var value1 : Number = parseFloat(in_ti.text);
var value2 : Number = parseFloat( in_ti2.text ) ;
var total : Number;
total
Steven,
Actually, I have and very enjoy your excellent Flex book. Very
helpful.
What I mean is that it is unclear how you intend users of Cairngorm to
take it out for a spin. Do I now stair at the included code for a
while until I discover an entry point to hook into with a .mxml file I
code up?
Eric, the chapter on programmatic skinning has examples that should get you
started. Did you try this?
http://livedocs.macromedia.com/flex/15/flex_docs_en/2198.htm
There's also a section in that chapter on making skinning properties
styleable.
HTH,
Matt Horn
What I mean is that it is unclear how you intend users of
Cairngorm to take it out for a spin. Do I now stair at the
included code for a while until I discover an entry point to
hook into with a .mxml file I code up? Has that task been
left as an exercise for the student ;-) or what?
Hi Valy,
Thats how Flash Player rounds off the numbers
automatically, if you have a number like this:
var s2 = 12345678901234.95; //it would show as
12345678901234.9
and
var s2 = 12345678901234.96; //it would show as
12345678901235
Not sure, how to solve thisSomeone who has done it
As I read,
Flex doesn't support files upload to the server,
even using a Central App
I think this is another weak point.
Is there any solution out there to solve the problem ?
Thanks,
dott. daniele galiffa
multimedia designer developer
Macromedia Flash MX Developer Certified
[EMAIL
Hi list,
For my current project I need an autocomplete text field similar to
google's suggestion.
If anybody has an idea about how to implement this please drop a line.
TIA
Regards
D.
For my current project I need an autocomplete text field
similar to google's suggestion.
If anybody has an idea about how to implement this please drop a line.
http://www.richinternetapps.com/archives/79.html
Hope this helps,
Steven
--
Steven Webster
Technical Director
iteration::two
Hi Abdul,
I'm working for a financial application and this behaviour in my opinion is unaccceptable...I'm hesitant to believethat our QA eng, not mentioning theclients willaccept this
Can't believe that such a basic thing cause me so much trouble...is thereanybody in on this forum that used
Hi,
1) Yeah, you can trap the keyboard events using ActionScript. You can use
keyDown event with Key object to find about pressed keys.. See example
code later in the mail.
2) you can use the combination of mouseDown, mouseMove mouseUp event to
make dragging happen. Look at Manish's Google map
Hi,
This is an issue that I have also had to
deal with recently.
I had limited success using code similar
to that which you have outlined below. The major problem is that pressing CTRL
+ the majority of keys causes the browser to intercept these key presses and
perform its own
Im reading these posts but haveno
time to respond (nor to any other posts right now), though the discussion is a
good one and I dont have strong opinions either way (taking into account
of course that Im strongly loyal to binding). The only thing Ill
contribute is that Im gonna refer to
Erik -
Thanks, that worked in a much nicer cross-platform way then using
fscommand.
--- In flexcoders@yahoogroups.com, Erik Westra [EMAIL PROTECTED] wrote:
Why don't u try to use getURL?
U can use it like this:
getURL(javascript:functionName('arg1', 'arg2'));
Internally fscommand is
hi,
I wrote a doc on howto do file
upload with a Flex UI with JSP, the doc is here: http://www.markme.com/mchotin/archives/2004_11.cfm
Basically the Flash player does
not currently support file upload/download.
If you deploy your Flex UI in
Central it does have file upload/download
Cool. Thanks very much Steven.
-Douglass
I was about to say that. It's besicaly like asp.NET where
you have the tag bas view on the html and the code in C# or VB in a code-behind
file. I use jimmy's method using the viewHelper because otherwise you wouldhave
the mxml file a actionscrip class (code-behind) and the viewHelper also if
hi
you can store your data in a array and add a text field to a canvas,
when your texfield gains focus (or whatever) you can with absolute
position show a list underneath the textfield with the items in the
array that match your criteria.
I´m not sure if this can be achieved without the canvas
Flexcoders,
I have 2 Java classes: bean and service. The service class has a
save method that takes a bean so it knows what to save. I want to
use the Flex RemoteObject data service to call the service's save
method and pass it a bean. When I do that, Flex appears to be
calling all of the
It does so by design (a much requested feature that was added in Flex 1.0),
but in order for you to skip the Java Bean like deserialization, you could
do the following:
1. Don't send type information using the _remoteClass property (I've never
been a fan of this method of object typing)
2. Don't
Hello,
In an effort to get a better feel for the mapping from MXML to AS2 I'd
like to spend some time staring at the code generated by MXML. Can
someone please tell me where it is cached? Thanks.
-Douglass Turner
You keep the generated ActionScript files by setting the
following in the flex-config.xml file:
keep-generated-astrue/keep-generated-as
The generated files should be in the same directories as
the mxml files, with the name {filename}-generated.as.
hth,
matt horn
From: dduuggllaa
Coolness. Thansk Matt.
--- In flexcoders@yahoogroups.com, Matt Horn [EMAIL PROTECTED] wrote:
You keep the generated ActionScript files by setting the following
in the
flex-config.xml file:
keep-generated-astrue/keep-generated-as
The generated files should be in the same directories as
I'll send it this way:
=== AutoCompleteText.as ===
// Create the local shared object at the top level of the domain so that
// all text fields in all Flash movies in the domain can access it.
TextField.so = SharedObject.getLocal(textfieldAutoComplete, /);
// When the user types into the text field
Title: Message
http://stz-ida.de/html/oss/js_bigdecimal.html.enhas a _javascript_ implementation of BigDecimal. Perhaps
it could be ported to ActionScript if the licensing is acceptable. But
Macromedia has no connection to this code and can't offer any
support.
- Gordon
-Original
Supported Tags:
lt; (, less-than sign)
gt; (, greater-than sign)
amp; (, ampersand)
quot; (, double-quote)
apos; (', apostrophe)
The following HTML tags are supported:
a href=/support/flash/ts/documents/url
b
br
font [color=#xx] [face=Type Face] [size=Type Size]
i
span
li
p
63 matches
Mail list logo