I've not dealt with authentication but here is how to call an operation.
// getOperation() returns generic AbstractOperation by default
// you want mx.rpc.Operation, not mx.rpc.mxml.Operation
var op:Operation = ws.getOperation("doCoolStuff") as Operation;
op.arguments.arrayArg = new Array("foo", "
Funny you should ask.
http://xmlrpcflash.mattism.com/ is for AS 2. I converted it to AS3,
fixed some bugs (maybe introduced new ones :), and it seems to work
for me. I was going to seriously clean it up before annoucning,
but since you ask, here:
http://www.hrum.org/people/debedb/pro/blog/2006/1
--- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> wrote:
>
> I am not familiar with "XML-RPC", but I suspect that the answer to your
> question is no.
>
>
>
> Can you do an ordinary HTTPService call successfully?
>
>
>
> This:
>
> "author.login"
>
> Looks suspicious. I
Hello all,
I want to create a non-visual component that can have another non-visual
component as child.
For example:
How to do that?
I know I should implement the AS class of MyComponentA from IMXMLObject like
the following. But I don't know how to make it enable to accept another
non-v
Thanks for the suggestion. I tried changing the name of the
ArrayCollection, but I'm still getting the "Unable to Bind" warning.
Any other ideas?
Paul
--- In flexcoders@yahoogroups.com, "Samuel Reuben" <[EMAIL PROTECTED]> wrote:
>
> from the looks of the code it seems that you'll have to change
Hi,
I am trying to create a web service in pure action script. I need to
authenticate and then call the proper method from the web service.
I have not seen any good tutorials explaining how to do this...
This is my current snippet:
private function init():void{
va
Unfortunately you can't add parameters for a file: URL. If you want
to add parameters, you'll have to follow Tracy's instructions but
change it to an http: URL that points to the file, e.g.
http://localhost/MyApp.html?sessionID=1657. (If it's a file on your
hard disk then of course you'll have to
Flex Presentation Server is essentially Flex 1.5. For Flex 2 we
separated out the presentation logic into the Flex SDK and improved the
data portion into FDS.
Matt
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Charles
Sent: Friday
I want to add margin to tags inside of a control. How
can I do this?
Hi all,
Can anyone tell me the difference between Flex Presentation Server and
Flex Data Services. I'm aware of FDS, and I've used it myself. But I
haven't found much info on Flex Presentation Server and I'm a little
curious as to what it's for.
Thanks in advance
Charles
Hi Kenny,
1.
NewScreenEvent - Hmm... This isn't a CairngormEvent - rather it extends
flash.events.Event. It is used only in Checkout.mxml and its
subcomponents. It makes sense to me to keep this within this part of the
view as nothing else 'needs to know'. If something else did need to know
I
Thanks for the suggestion. I'll try it in the next few hours (currently
traveling).
Best
Steve
_
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tracy Spratt
Sent: Friday, December 08, 2006 2:59 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flex
In Adobe's dashboard sample app,
http://www.adobe.com/devnet/flex/samples/dashboard/ it assigns a
charting component's dataProvider to an ArrayCollection's source (e.g.
revenueData="{slicedRegionData.source}") In the regionChange() function
it sets the array regionData and assigns it to slicedReg
Try this one:
http://www.richinternet.de/blog/index.cfm?entry=ADD4FDD1-9B48-BFBC-2A70F3C57EBC6892
Dirk.
-Ursprüngliche Nachricht-
Von: flexcoders@yahoogroups.com im Auftrag von Matt Maher
Gesendet: Fr 08.12.2006 17:07
An: flexcoders@yahoogroups.com
Betreff: [flexcoders] backgroundGradie
I haven't tried this but let us know:
In FB, go to menu Run, Run, Other. It will bring up the launch
configuration dialog.
If you uncheck Use Defaults in the URL section, you can edit the url.
Put your parameters on that and save it and give it a try. Please let
us know the result.
To avoid confusing people with an avalanche of options, the mxml
namespace for the framework only contains those classes we expect people
to be using in MXML. ChartElement is one of those that very few people
use or extend in MXML (this is the first I've heard of it). So it's not
in the http:/
Francis,
It worked in betas, but was removed on production build - we had to remove
samples from the chapter. In standard mode fails for us on access as well
with runtime error. More importantly, we can not extend Function datatype as
runtime fails instantiation stating that type Function is fina
@dustin - Do you know if there is a way to get around the grayish color in
the middle of the transition? It looks like it fades from white to the
grayish color then to black. And the same from black to white.
Here is my code:
http://www.adobe.com/2006/mxml"; layout="absolute"
styleName="plain">
Hello,
Is there any easy way to tell flex that I want it to add parameters to the
URL when debug launching? I've looked over the preferences are of
FlexBuilder, but I can't seem to find anything..
FOR EXAMPLE.
I've got the following debug URL for one of my applications.
C:\ SVN\tru
Thanks for the reply.
The lib I use at the moment (for actionscript 1 in player 6) is here:
http://members.netmadeira.com/killer/xmlrpc/
and some details here:
http://en.wikipedia.org/wiki/XML-RPC
It looks like I'll have to get my existing lib to work with AS3 - it
shouldn't be
As long as we're on that subject... I've added a new setting to amfphp,
which is:
$gateway->setAmf3RecordSetFormat("Array");
Which can also be set to ArrayCollection. I have yet to implement it,
but does this sound like something useful to you?
Patrick
lostinrecursion a écrit :
>
> It's inter
Does anyone know why I can't create an MXML Component that extands the
ChartElement class.
* I have Charting license * Used the "New MXML Component" wizard
* Chose ChartElement form the "Based on:" list
It creates "MyChartElemeny.mxml" with no problems, but when I insert it
in an App an
I have a keyboard listener which listens to and responds fine to CTRL + keys or
SHIFT + keys
or plain old keystrokes. but it is never called when I press ALT + key. Any
suggestions?
Thanks
Bruce
My Flex application occasionally likes to ramp up the CPU usage. It
will jump to 30 or 40% and slowly increase to 70 or 80%. This seems to
happen when I generate components programatically. My code doesn't
generate anything like an infinte loop that I could imagine causing this.
Has anyone else ex
--- In flexcoders@yahoogroups.com, "jer_ela" <[EMAIL PROTECTED]> wrote:
>
> I've used it with no trouble with svn. Rather than creating a project
> that points to an existing svn directory, you may have to create a new
> empty project and then import from svn.
>
> --- In flexcoders@yahoogroups.co
What do you use on the server side?. If you;re using java on the server side
you can call a method on the server side if your http controller is properly
configured.
Give us more detail with what you have on the backend, and you might want to
consider using resultFormat="e4x" when you declar
Hi all,
I just had the pleasure of stepping through the Cairngorm Store (v2.0)
and checking it out. (I2, Great Work)
I have two event questions regarding the store.
1. I notice that there are two events (UpdateShippingCostEvent and
NewScreenEvent) which do not map to a command in the Controller.
Hi,
RSLs aren't the best match for what you need. Look into the new 2.0.1
"Modules" feature.
-rg
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of wljammal
Sent: Thursday, December 07, 2006 6:36 AM
To: flexcode
I have a simple list (code below) that has drag and drop enabled. I
want to allow the user to reorder items in the list. But I do NOT want
them to be able to duplicate list items by holding down the CTRL key
during the drag drop. What would be the simplest way to handle this?
Thanks,
Lokesh
Is it feasible to create a custom keyboard shortcut? I see the huge
list of items I can use by default but I would like to create some of
my own to account for the repetitive typing (copy/paste) actions. (I
am looking to do this in the IDE and not within the application.)
I opened the Window >
It's interesting how AMF does not provide the same "wrapper"
functionality as HTTP and WEB services. Reason being, when using the
standard CFC to AS Class mapping features of Flex 2, you could
certainly benefit from such an automated conversion. For example, when
passing data to Coldfusion as an Ar
Hi Sanjay,
Again, I haven't heard anything specific about FlexTagLib being
supported in Flex2 so I'm afraid I can't be of much help there.
Regarding your compiled SWF in a JSP file, can you successfully
browse to the SWF directly, i.e. without the JSP?
--- In flexcoders@yahoogroups.com, "sanja
I found out what was happening to cause the "unable to bind" warning in the
scenario that I described (see below). I eventually stumbled onto this
solution after trying many different searches in Google:
--
This is a solution for the common warning: "unable to
Thanks Clint! I completely forgot about describeType. That's MUCH better
than tacking on a property - not that you shouldn't be able to do that, but
describeType is better suited in this case.
And thank you, Francis, for looking into this. It's good to hear that I'm
not crazy! ... at least nothin
Hi all,
I'm currently working on a big project and need to load components
dynamicaly but this doesnt seem to be working to well with our
framework so the other option is to use seperate applications as the
entire application is binding driven.
The problem here is that empty applications come in
Hi Doug,
Thanks for responding...
So now pls tell me how can i integrate mxml with JSP.
I tried to include compiled SWF file in my JSP file but it shows an
error of destination doesnt exist. It doesnt find RO which I have
made in remote-config.xml.
Please help
Regards,
Sanjay
--- In flexcode
Derek
So - just make setter method on closure object for function or define it as
a property - it's just an old good pointer.
Regards,
Anatole
On 12/8/06, Derek Vadneau <[EMAIL PROTECTED]> wrote:
Funny, I just read that this morning. However, it doesn't really apply
here. I need to pass a
You should be able to add properties to function objects, just as the
docs suggest. Unfortunately, it looks like this isn't working in strict
mode anymore. Oddly, it does work in standard mode, but that may not be
a viable workaround for you. I had a brief discussion about this with
the engineers t
I am not familiar with "XML-RPC", but I suspect that the answer to your
question is no.
Can you do an ordinary HTTPService call successfully?
This:
"author.login"
Looks suspicious. It is sending a querystring parameter that looks like
this:
...?method="author.login"&
Does the url
Here's some code to get the name of the currently executing function
dynamically if that's what you're after...
var traceTarget:TraceTarget = new TraceTarget();
// Log only messages for the classes in the mx.rpc.* and
// mx.messaging pack
I understand that XML(event.result), while it looks like a cast, is
really a top-level function.
And as far as the "as" operator, the doc says: "Evaluates whether an
expression specified by the first operand is a member of the data type
specified by the second operand. If the first operand is a
I have spent most of today googling and searching forums looking for
an answer to this and it's getting towards that time on a Friday so my
brain has given up.
Does Flex natively support XML-RPC? I found 1 or 2 examples of it
being used - one of them here:
http://tech.groups.yahoo.com/group/flexco
First, the behavior of ActionScript 3 Number, int and uint is based on
the ECMA Script 4 specification (well, at least what this specification
stipulated at the time of release). Given that AS3 has been released
Flex is dependent on the way it is today.
Second, Java primitives can't be null (they
You can use String.indexOf() instead of String.search() if you don't
want any sort of pattern matching at all. Or, you could take the
string the user enters and run that through an escaping function
before using it with String.search(). Something like:
if(item.Phone.search( myEscapeFunc(sea
ALL data service calls in flex are "asynchronous". You can never access
the result of a data call in the same function in which you invoke the
send(). You must ALWAYS use the result event or bind to lastResult.
Binding directly to lastResult can be hard to debug, so get in the habit
of creati
--- In flexcoders@yahoogroups.com, "Paul Andrews" <[EMAIL PROTECTED]> wrote:
>
> - Original Message -
> From: "stephen50232" <[EMAIL PROTECTED]>
> To:
> Sent: Friday, December 08, 2006 2:17 PM
> Subject: [flexcoders] Clearing panels before changing state
>
>
> > Hi,
> >
> > In my applic
Funny, I just read that this morning. However, it doesn't really apply here.
I need to pass a function object and the name will probably be different for
each one. So assigning a value to a variable of the class isn't acceptable,
since the value will change for each call.
As I mentioned, I have a
I was wondering if there were other elements (canvas, hbox, panel, etc)
that can suport the backgroundGradientColors gradient properties?
I see that there seems to be no support by default, is this simple to
change?
Very early next year.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Austin Kottke
Sent: Thursday, December 07, 2006 10:32 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] 2.01 Update
Is there an ETA of the new flex builder 2
Yes, RAD6 doesn't work so well with Flex. However we have done work in
2.0.1 to make it compatible with RAD7 which is coming out soon (or
already came out). 2.0.1 is out early next year.
Matt
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
B
Please see apply method
also I posted pre-edited cut from the book here:
http://flexblog.faratasystems.com/?p=125 - with closure object ala
Flex 1.5you can use
Thanks,
Anatole
On 12/8/06, Derek Vadneau <[EMAIL PROTECTED]> wrote:
You shouldn't have to cast as an object. And, according to th
You shouldn't have to cast as an object. And, according to the docs, you
should be able to simply add a property to a function and access it. No
offense - I really do appreciate the effort to help me out - but casting
seems to be a bit of a hack. Although I like AS3 there are some things that
were
I had not thought of that, and your right the .search() is detecting
it as a regex expression. Being I can't expect the end user to
understand to type \(###\)###- to filter phone numbers is there a
simple way to make it ignore the characters and not take it as a regex?
--- In flexcoders@yahoo
Seems as if public inner classes are not recognized by the Java-to-AMF
serializer in FDS, is this correct?
i.e. if a class RecordSet uses an inner class RecordSetVO which is used
as a data type for the value objects that are transported via AMF then
this type info is not set correctly.
Dirk.
Kelly,
Simple point & click works fine as it did in Flex 1.5 with Flash
Player 7, but the issue resides with double-clicking and recognizing
text input boxes. In Flex 1.5/Flash Player 7 when you clicked into a
text input fields; the fields would display an icon to launch the
on-screen keyboard. Th
Not out of the box but you can quite easily build your own properties
file loader by e.g. builing it on top of URLLoader or URLStream.
Dirk.
> -Original Message-
> From: flexcoders@yahoogroups.com
> [mailto:[EMAIL PROTECTED] On Behalf Of zenwarden
> Sent: Friday, December 08, 2006 4:24
Is there a way to have these properties not load at compile time, but
rather be read at run time? One of the nicest things about properties
in java and other langauges is that they allow you to change or modify
behavior and values without recompiling code.
Flash seems to ignore this concept both w
- Original Message -
From: "stephen50232" <[EMAIL PROTECTED]>
To:
Sent: Friday, December 08, 2006 2:17 PM
Subject: [flexcoders] Clearing panels before changing state
> Hi,
>
> In my application when the user clicks the log out button, the
> currentState is changed, but before that I'd l
We have a web application which is built using Zope and has postgreSQL
as the database backend. We are planning on adding/replacing
functionality in sections with Flex 2. Over time the majority of the
application will be done in Flex 2.
We are trying to evaluate the many different ways we ca
Hi,
In my application when the user clicks the log out button, the
currentState is changed, but before that I'd like to be able to clear
all the TitleWindows that my still be opened by the user.
Is there a way to force all the TitleWindows to close before changing
the state?
Thanks
Stephen
I need to change a httpservice url at runtime. However when I change
the url the xml is not being updated, it is always one step behind.
See the following example app, the xml displayed in the Alert box is
always from the previous call.
How do I get it to update correctly?
http://www.adobe.com/
Hi All
I'm just finishing messing around with the tutorial projects I have been
working on and am now getting started with actually building the application
I want to build.
I am trying to set up my folder structure and what I want is a folder for
components (that will be used in lots of proje
Thanks, Jeremy and Tracy, for the fast answer! By using the
labelFunction now the data is displayed correctly.
-- Niko
--- In flexcoders@yahoogroups.com, "jsscardinal" <[EMAIL PROTECTED]> wrote:
>
> I encountered this same thing before. The solution is to use a
> labelfunction.
>
> Like this:
Fantastic - that is just what I was looking for. I did a few searches in the
docs for string tables and similar but didn't come up with anything.
Thanks to both of you.
Giles Roadnight
_
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of greg h
Sent: 07 Decemb
Hi,
I am working with Combo Box for which dataprovider is ArrayCollection and I
am getting data from database using HttpService as follows:
public function myLabelFunc1(item:Object):String
{
return item.data1;
}
Here, I want to update com
Is there an ETA of the new flex builder 2.01 update?
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Hello all,
the slider class has a style property "slideEasingFunction" that i
supposedly can set to a function.
How can i set a function reference in an external css file? I know how
to set a class reference:
e.g. downSkin: ClassReference('whateverclass');
how would I do the same with a func
Nevermind, for some reason it didnt work in the past, but now its
working perfectly.
Sweet!
--- In flexcoders@yahoogroups.com, "Daniel" <[EMAIL PROTECTED]> wrote:
>
> Im using the method getDefinitionByName so I can get instances of
> classes which I only know their name.
> Now, this classes alw
Hi Steve,
Is your problem to do with your rules about which view to display? If
it's getting a bit complicated or 'crufty', then you probably need
another level of abstraction. Encapsulate your rules about which view
should be displayed inside a getter called currentView. Bind your
view s
Im using the method getDefinitionByName so I can get instances of
classes which I only know their name.
Now, this classes always receive 2 parameters in their constructor.
My question would be, how can I pass these parameters using the method
getDefinitionByName, somehing like:
var name:String = "
from the looks of the code it seems that you'll have to change the name of
your ArrayCollection. Try myDataProvider
hope it works,
-sam
On 12/8/06, Paul Whitelock <[EMAIL PROTECTED]> wrote:
I hoping someone might know why I am getting an "unable to bind" warning
with the following scenario.
I thought at this point it is worth jumping in to talk a bit about
Cairngorm Enterprise, which we are currently working on.
With Cairngorm Enterprise one of goals is to promote an application
model on the client (RIA) and a domain model on server. We see the
application model being a good OO mo
Hi Robin,
Whether you're using RemoteObject or WebService, the point of using
either is _not_ to have to do that kind of serializing/deserializing. So
it's all built-in, and it's all done behind the scenes, at the player
level in the RemoteObject case and at the ActionScript level in the
WebSe
73 matches
Mail list logo