Perhaps your SiteKeywordVO is never linked into the SWF because you
never create a dependency on the class name (as mxmlc will optimize and
remove unreferenced class definitions). An import statement is not
enough to create a dependency.
-Original Message-
From: flexcoders@yahoogroups.co
(Note that this is Flex 2 Beta)
We didn't want the parent mx.rpc.soap.WebService to introduce extraneous
dependencies on other parts of the Application framework. So any
functionality that does introduce such a dependency (such as busy
cursors or bubbling of events to top level application handler
Operation.send(args) has the method signature:
override public function send(... args : Array) : AsyncToken
So the "... args:Array" param will be an Array of length 1 with an
Object as _your_ args var. This means you can only send ordered
arguments via send(). For named arguments, you use th
ps these issues could use some clarification in the
documentation (I realize that is probably low priority at this point),
because when I read it (a few times) I got the impression that the two
ways of sending arguments were functionally equivalent.
Thanks again,
Ben
--- In flexcoders@yahoogroups.com, &qu
TTPS requests. Am I missing
sometihng? I'm at a loss. Thanks.
--- In flexcoders@yahoogroups.com, "Peter Farland" <[EMAIL PROTECTED]>
wrote:
>
> How are you loading your SWF? Are you loading it over HTTPS too?
Is it
> on the same domain as the secure AMF endpoint?
&g
In MXML, try getting the values from Application.application.parameters
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Nathan
Sent: Tuesday, April 18, 2006 8:02 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] How do I access URL vars i
ObjectProxy is a Flex specific subclass of Proxy for wrapping anonymous
Objects that are dynamic and can't be predictably made bindable to
report property change events. It shouldn't be used to wrap typed
objects like instances of B (see later). You can never cast ObjectProxy
to B... the as oper
ng to provide the same functionality as COM's TraceHook
(http://www.sellsbrothers.com/tools/#tracehook). But sounds like it's
impossible with AS3.
--
Thanks,
Vadim Melnik.
--- In flexcoders@yahoogroups.com, "Peter Farland" <[EMAIL PROTECTED]>
wrote:
>
> ObjectProxy
It depends on what the method signature for SampleDAO.getPersons looks
like. Where did you find this sample?
Note that the AS signature for NetConnection.call() is:
public function call(command:String, responder:Responder, ...
arguments):void
So the ... syntax in AS means "the rest of the
Did the request come through the gateway servlet?
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Dmitry Miller
Sent: Wednesday, April 19, 2006 8:18 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Problem with AMFGateway and Sessions -
flexcoders] Re: Problem with AMFGateway and Sessions - please
help
I assume so. The event handler class's methods are all static. This is
also unnamed service.
Thanks,
--- Dmitry
--- In flexcoders@yahoogroups.com, "Peter Farland" <[EMAIL PROTECTED]> wrote:
>
> Did
this.loginId = loginId;
}
public String getName() {
return loginName;
}
public void setName(String loginName) {
this.loginName = loginName;
}
}
is that bug in flex 2.0 beta 2 , need help
--- In flexcoders@yahoogroups.com, "Peter Farland" <[EMA
Don't know of a way to do that in Flex 1.5... I don't think base64Binary
was supported in WS in that release... But, fwiw, when Flex 2 Beta 3
comes out I could see it being done.
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of digital_eyezed
Se
In AS3 you can set AMF0 to be used globally for any NetConnection:
import flash.net.*;
...
NetConnection.defaultObjectEncoding = ObjectEncoding.AMF0;
though you'd have to unwrap the messages from the request on the OpenAMF side of things since Flex 2 RemoteObject uses a messaging framework t
Title: RE: [flexcoders] Flex2B2: JAVA to AS object serialization issue
Valy, the only bug I know of in this area for Beta 2 has to do with AMF 0. If you're not changing the objectEncoding of the underlying NetConnection to ObjectEncoding.AMF0 then it's likely that you either have registere
Mykola, I'm slightly confused by your post in contrast to
what Sergey and Stanislav originally said.
I read Sergey's post as that he was having trouble with
uncaught exceptions and had to add a lot of code to catch and possibly ignore
such errors. I read your post to mean the opposite of
Are you precompiling the SWFs? If so, are you specifying
--services and pointing to the configuration file at compile time with either
Flex Builder compiler command line arguments or mxmlc command line
arguments?
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of aej
You shouldn't have both "localhost" and "{server.name}" in
your
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of sank
xuanSent: Tuesday, April 25, 2006 12:45 AMTo:
flexcoders@yahoogroups.comSubject: 回复: RE: [flexcoders] Flex 2
problem about remoteobject in tomcat
Just comment out the messaging service include in your
/WEB-INF/flex/flex-enterprise-services.xml file.
The messaging service has a JMS adapter registered which
you don't need unless you're planning on using the messaging service with a
Producer/Consumer to do real time messaging to a
\webapps\flex\WEB-INF\flex\flex-remoting-service.xml
Please let me know what does setting,
-services
C:\tomcat\webapps\flex\WEB-INF\flex\flex-remoting-service.xml"
do & can't it be done manually.
Thanks,
Aejaz
--- In flexcoders@yahoogroups.com, "Peter Farland" <[E
This is a known issue in Beta 2, should be addressed in Beta 3.
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of ilia_papas
Sent: Tuesday, April 25, 2006 11:06 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex 2 not maintaining order
>
>
>
>
> showBusyCursor="true" fault="faultHandler(event)">
>
result="getNameHandler(event)">
>
>
> {formInput.text}
>
>
@yahoogroups.com, "Peter Farland" <[EMAIL PROTECTED]> wrote:
>
> Ah, yes, you need to specify --context.root on the command line as the
> client can't tell what the context root is (i.e. because you can have
> the default context root "" it can't m
pleRemoteObject/SimpleRemoteObject.html&
there is no change in behavior. I must have not understood you
correctly. Can you please clarify if possible on how to set context root step by
step.Thanks again,Aejaz--- In
flexcoders@yahoogroups.com, "Peter Farland" <[EMAIL PROTECT
, all we want is to make the platform we are using better,
and do trust me without responding to the real feedback from developers any
technology will shortly become outdated.
On 4/24/06, Peter
Farland <[EMAIL PROTECTED]>
wrote:
Mykola,
I'm slightly confused by your post in cont
oteObject/SimpleRemoteObject.html
Do I still need crossdomain.xml as Tomcat is running locally.
If so what will this file contain & in which directory I should create
it.
Thanks,
Aejaz
--- In flexcoders@yahoogroups.com, "Peter Farland" <[EMAIL PROTECTED]> wrote:
>
> Are you loading yo
To cast a type in ActionScript you use this
syntax:
tmpDoctor =
samples.Doctor(event.result);
(i.e. it is not the same syntax as
Java).
Also, in your Java class, note it must have a public
no-args constructor and the fields (or bean getter/setters) must be
public.
From: flexcode
s the way
lots
> of
> > really cool stuff were developed for the last year and it is
mostly
> > ignored by Adobe.
> >
> > You have a great idea of RIA and a great high performant player,
if
> you
> > make a great product it will be an "all win" situatio
The crossdomain.xml file resides on the remote server that
you're trying to contact, so it should be accessible like
this:
http://someserver:someport/crossdomain.xml
This file is not involved at compile
time.
(Also, that is not a warning and it can't be ignored, it's
a hard error inf
Sorry, this method of invocation is not supported by Flex.
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Avi Flax
Sent: Friday, April 28, 2006 10:37 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Possible to invoke Flex2b2 compi
As far as I know this won't happen (it's largely guided by
the ECMA 4 standard) so for AS3 you'll need to use the varargs ... syntax
to take a variable number of arguments:
public function calculateSomething (required:int,
...others:Array):int
{
}
Note that you can place functions in mu
How did you embed the font? Did you change the character
range to include these high-ascii characters?
Note by default the english range is used which by default
has the range U+0020-U+007E. You'd either need to create a new language range in
the flex-config.xml file and refer to this by
In Flex 2 / Flash Player 9 you'll use ActionScript 3, which has the
final keyword which can be applied at the class or method levels to stop
subclasses overriding/extending functionality.
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of nz_meh
, but it's not
> > applicable for libraries that I'm using (as2lib).
> >
> > Respect.
> >
> > --- In flexcoders@yahoogroups.com, "maxym.hryniv" wrote:
> >
> > Thank You Peter. It's a shame for me that i didn't know that. I
r the help
--- In flexcoders@yahoogroups.com, "Peter Farland" <[EMAIL PROTECTED]> wrote:
>
> In Flex 2 / Flash Player 9 you'll use ActionScript 3, which has the
> final keyword which can be applied at the class or method levels to
> stop subclasses overriding/exte
t won't compile.
...but at least I understand why now! :-)
--- In flexcoders@yahoogroups.com, "Peter Farland" <[EMAIL PROTECTED]> wrote:
>
>
> Correct.
>
> public final function set thumbCount(number:Number):void {
> super.thumbCount = number;
>
Try calling it on the underlying Connection... remoteObjectId.connection.connect(newURIGoesHere);
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton
Sent: Thursday, May 04, 2006 5:27 AM
To: flexcoders@yahoogroups.com
Subject: [flexc
Is the Program class correctly declared inside a package test {} block?
Does Program.as live in a subdirectory called test?
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of eairox
Sent: Thursday, May 04, 2006 7:02 PM
To: flexcoders@yahoogroups.c
You need to add a fault handler to the WebService to see why it has
failed.
How are you loading the SWF? Is the SWF hosted on the same machine as
the CFC? Note that localhost and 127.0.0.1 are not the same string for
purposes of domain name checking for security sandbox restrictions.
-Orig
I believe that since flex.compiler.ErrorPageServlet doesn't override
doPost, this is expected. Any chance you can track down what is making
the request via POST instead of GET?
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Libby
Sent: Wednes
Did you call loadWSDL() on the __mxna:WebService first?
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Nirth Fur Zahad
Sent: Thursday, May 11, 2006 1:06 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders][Flex2B3] Newbie question: WebSe
The remoting service on the server attempts to bind to an
appropriate method signature based on both the number of arguments provided and
also their data types. Some type marshalling must take place to cater
for the weaker type system on the client. This method lookup is cached for
the pro
I'd just delete the property. would now be
in Beta 3, but since you're relying on the default, just remove the
property. Note that now takes three possible values, request,
session or application.
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Beha
You're running into the sandbox security restrictions of the Flash
Player.
In short, to contact a remote webservice without using the proxy service
the owner of the domain hosting the service would need to place a
crossdomain.xml file in their webroot and specify your domain in the
list of dom
How are you calling your amfphp endpoint?
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jesús Iglesias
Sent: Thursday, May 18, 2006 7:19 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] AMFPHP credentials, secured services
Hi,
How
Without specifying a destination in an
flex-enterprise-services.xml file you have two options:
You'd could programmatically create a
mx.messaging.channels.ChannelSet in an block and assign it to
the RemoteObject instance,
or you could try just specifying the endpoint attribute (in
add
ction AppendToGatewayUrl( s : String ) : void{
//
}
}
}
-Mensaje original-
De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] En nombre de Peter Farland Enviado el: jueves, 18 de mayo de 2006 15:55
Para: flexcoders@yahoogroups.com
Asunto: RE: [flexcoders] AMFPHP credentials
In Flex 2, mx.rpc.events.ResultEvent is a subclass of mx.rpc.events.AbstractEvent which still contains a deprecated getter for a call property. The new name for this property is token (as per the dynamic mx.rpc.AsyncToken instance that is returned from any RPC service invocation).
I'm not famil
You can use HTTP 1.1 methods such as PUT with the FDS
Proxy Service.
The Flash Player URLLoader only supports GET and POST,
however the FDS Proxy Service uses Apache Commons HTTPClient to make the request
for you and this library is HTTP 1.1 compliant. Note, however, that the Proxy
Servi
Have you tried adding a format="xml" attribute to the tag as well? Normally this section is akin to an tag with named keys but when you're specifying the XML literally you need to inform the compiler.
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Be
Have you tried browsing to the URL directly? What does it
return?
What is the URL used to launch your SWF that accesses the
JSP page?
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of sreedhar
reddySent: Saturday, May 20, 2006 10:16 AMTo:
flexcoders@yahoogroups.
26 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Amazon ECS SOAP requests via mx:request tags
[FB2b3]
Hi Peter,
worked :D
where have you learnt that?
I would never think about that myself,
thanks,
regards,
Peter
--- In flexcoders@yahoogroups.com, "Peter Farland" <[EMAIL PROTEC
> 1) Why is flex deserializing this as a String instead of a Date?
[Pete] This would be a bug. Are you on the beta program and are you able
to log a bug? If not, let me know and I can help.
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
S
If you have {context-root} in any of your endpoints and rely on the
services configuration to generate the correct channels for you at
runtime then you must specify --context-root=/yourcontext at compile
time. (This has been raised before as an issue with the dialog for not
asking for this value
Title: is "delete" really the best/only way to remove a node in e4x?
For native Flash Player APIs, I'd log a bug against the
player... this isn't really a Flex decision.
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Tracy
SprattSent: Wednesday, May 24, 2006 9:29
Have you tried doing this inside a function instead?
Perhaps you could call this function on initialization, perhaps on the
Application creationComplete event?
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of CharlesSent:
Friday, May 26, 2006 3:49 PMTo:
flexcoders
This is a known issue that should be in releases after beta 3.
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of ben.clinkinbeard
Sent: Wednesday, May 31, 2006 3:05 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] F2B3: mx.rpc.soap.mxml.We
Have you got a {context.root} token in the channel-definition endpoint
for the "my-amf" channel? If so, can you try removing it to hard code
the context root, or if you want it to remain in the config, you must
specify --context.root as a command line parameter.
Next, how did you load the SWF?
tually tried
hard coding values for all 3 of the merge fields, which didn't seem to
have any effect. I've got tomcat on my machine and I'm running from
eclipse, so the browser is using http.
Is there anything else I should check?
--- In flexcoders@yahoogroups.com, "Peter Fa
me I made this
change. Still curious, where would I pass a --context.root parameter?
thanks so much for the help.
Jeremy
--- In flexcoders@yahoogroups.com, "Peter Farland" <[EMAIL PROTECTED]> wrote:
>
> Have you got a {context.root} token in the channel-definition endpoi
One correction, I think the class should still be called BatikFontManager, not BatikManager.
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alex Uhlmann
Sent: Thursday, June 01, 2006 4:35 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcod
Where are you declaring these classes?
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Suzy Lawson
Sent: Friday, June 02, 2006 12:01 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Instantiation and setting problems
I anyone else ha
Ben, if a parent type declares the default namespace (as it does on
GetDocumentResponse) then child elements that do not redeclare the
default namespace nor use a prefix to another namespace will inherit
that parent namespace.
-Original Message-
From: flexcoders@yahoogroups.com [mailt
re
--- In flexcoders@yahoogroups.com, "Peter Farland" <[EMAIL PROTECTED]> wrote:
>
>
> Where are you declaring these classes?
>
>
> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On Behalf Of Suzy Lawson
> Sent
That's correct Bjorn.
In the final release of Flex 2 the individual NetConnection based
mx.messaging.Channel implementations that make the connections to AMF or
RTMP endpoints for RemoteObject (and, well, the other services too) will
protect themselves from the NetConnection.defaultObjectEncodi
The flashgateway.jar is no longer shipped with Flex. In Flex 2, all
services are based on a messaging framework - as such, clients can talk
to endpoints on various channels using various protocols, some of which
may not be over HTTP.
The server side APIs all start with flex.messaging. The clas
Hi Niladri,
Examples/information for the FDS config should be in the
/resources/config/ folder that was part of the FDS 2 installation
(though these files will contain more complete information in the final
release).
However, for now here's some extra info on the Flex 2 Beta 3 config to
help y
ull
object reference.
at TestA/generateXML()[C:\flex\TestA.as:25]
at sampleBug/sampleBug::setValue()[C:\flex\sampleBug.mxml:8]
at sampleBug/___Button1_click()[C:\flex\sampleBug.mxml:12]
--- In flexcoders@yahoogroups.com, "Peter Farland" <[EMAIL PROTECTED]> wrote:
&g
Change
GetFileNumMod.fileNumQry.result
to
GetFileNumMod.fileNumQry.lastResult
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Jeremy
RottmanSent: Monday, June 05, 2006 6:03 PMTo:
flexcoders@yahoogroups.comSubject: [flexcoders] Webservices not
working.
I a
If you're using a raw NetConnection, then... no, not
natively from the client. There are third party tools out there that sniffing
AMF over HTTP traffic.
However, I'd first try using some of the utilities that
Flex has to dumping an object graph to a string:
import mx.utils.ObjectUtil;
Do you have a fully qualified URL for the wsdl attribute on
the tag?
Flex 2
should support WSDL imports.
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]Sent: Tuesday, June 06, 2006 10:52
AMTo: flexcoders@yahoogroups.comSubject: [flexcoders]
Title: RE: [flexcoders] Flex/CF Tutorial PDF Posted on Adobe Site, having problem, getting errors.
Bjorn,
As is true for any service, destinations must be declared as children of the element. Also, if you don't have default channels defined for the service, you'll have to define at leas
If you're using Producers and Consumers to contact
the messaging service then you'll need to ensure the channel can broadcast
messages to clients - i.e. the client would need to either be statefully
connected with a real time channel such as RTMPChannel or a polling channel such
as the AMF
XML namespaceDeclarations does return the default namespace
for me, but perhaps you have to get this information from the root XML
"node"?
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Ben
ClinkinbeardSent: Wednesday, June 07, 2006 11:43 PMTo:
flexcoders@yahoog
Ben,
I'm not an expert on the XML type, nor label functions
or UI components, but some things to consider in your
investigation:
1. You can get a list of all of the namespaces from an XML
instance using:
var namespaces:Array =
myXML.namespaceDeclarations();var
ns:Namespace;
Aejaz,
This is expected.
You can't assign the result of a remote object call
immediately to a value. The Flash Player needs to make calls asynchronously so
that the movie does not stall while waiting for a response from the network.
Instead you're returned a token to help you track resu
Note that this is already logged as 128061.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Matt Chotin
Sent: Monday, June 12, 2006 12:58 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: Using PUT with HTTPService
It would
Try adding an to your
MXML and then check your flashlog.txt file.
Settings in the mm.cfg file are for the Flash Player only.
Flex is unrelated to this - it is an ActionScript framework built on top of
ActionScript... essentially it's on its own when it comes to this sort of thing
:) so
You're both correct, but you're talking about different
things.
If you're accesing the ResultEvent, the the property is
definitely event.result. Check the ASDoc for
mx.rpc.events.ResultEvent.
If you're using data binding as Ben suggests, then you're
accessing the last result returned f
I believe you need to do the latter:
"https://localhost/server.php";
The protocol attribute is used to decide which proxy URL to use (http or
https). If you're not using the proxy you should get a compile time
warning that the protocol attribute is only for when useProxy="true"
(the default).
FlashGateway.IO.ASObject subclasses System.Collections.Hashtable. It
adds only one extra property ASType which is used to map AMF
TypedObjects between the client and server as per the information
registered using Object.registerClass(). Said simply, it's just the
server side representation of an
myASO = ds.Tables[0]; (if it only accepts a Table);
return myASO;
}
Can I do something similar to the above? If not, then I may as well
keep using my native DataSets and/or DataTables. Can you all clarify
this for me?
Thanks in advance,
Mike
-Original Message--
Flex compiles applications to a SWF file. SWF files are decoded and
rendered by the Flash Player. The Flash Player can anti-alias fonts if
the font glyph (i.e. the shape outline of each individual character)
information is embedded in the SWF. You must embed each face of a font
family in order to
Additional note for Daman's option 2.)
After turning on remote-objects-debug in flex-config.xml, you'd either:
a) Use the NetConnection Debugger.swf from the extras folder that ships
with Flex to watch AMF traffic as you did in Flash MX.
b) Turn on the gateway "Debug" level logging in
/WEB-INF/f
Credentials sent in custom manner are never sent using HTTP Headers. The
information is contained within the AMF/HTTP POST body.
The Flex-only API, setUsernamePassword, works on a per request basis and
sends credential information inside a special Flex Envelope type which
can have per-request hea
, details, etc)?
-Original Message-
From: Jaime Bermudez [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 12, 2005 12:34 PM
To: flexcoders@yahoogroups.com
Cc: Peter Farland
Subject: Re: [flexcoders] RemoteObject : Convert Java Exception to
ActionScript Fault
Hey Peter,
Do you have an
Yep, you can use different packages/classnames with
Object.registerClass()
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of r0main
Sent: Wednesday, July 13, 2005 4:36 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Object.registerClass di
Are you missing an apache jar from your /WEB-INF/lib directory? Check with the
jars that existed with the default flex web application installation and
compare them to those present in your own web app.
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Beh
You can get hold of the HttpServletRequest in a Java class when accessed
via RemoteObject by using flashgateway.Gateway.getHttpRequest().
http://livedocs.macromedia.com/flex/15/flex_docs_en/wwhelp/wwhimpl/commo
n/html/wwhelp.htm?context=Flex_Documentation&file=2247.htm
Once you have the requ
isAdmin is a function... So you need to use parentheses () to invoke it,
even when there are no arguments.
public function loadPerms():Void
{
srvPermissions.isAdmin()
}
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of mehere_stra
Actually, it's likely that you're getting an AppendToGatewayUrl AMF
Response Header from the server because it detected that while a session
was created during the request, the client didn't inform the server
whether it could accept cookies.
This AMF Response Header is trying to tell the client N
variable I am sending, but it
just doesn't get to the CFC for some reason. Doing the same exact thing
with all the other CFCs and they work fine :/Peter Farland wrote:
Actually, it's likely that you're getting an
AppendToGatewayUrl AMFResponse Header from the server because i
n the variable I am sending, but it just doesn't
get to the CFC for some reason. Doing the same exact thing with all the
other CFCs and they work fine :/Peter Farland wrote:
Actually, it's likely that you're getting an
AppendToGatewayUrl AMFResponse Header from the serv
];
GetTechSearchArray.push(TempObject);
} OTD_TECH_RESULTS.dataProvider =
GetTechSearchArray;}Peter Farland
wrote:
Are you setting remote-objects-debug in flex-config.xml?
What version of ColdFusion are you using?
Re: the unsupported type in stream message... are you
doing a
Er, that would require the "Debug" level log
too...
flashgateway.log.DefaultLogger
And I should have
also mentioned that you need to restart JRun if you change any config
files.
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Searc
Are you using the CFC as a web service?
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Greg Johnson
Sent: Wednesday, October 05, 2005 10:24 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] CFC Cashing
I make a change to the CFC and the Fl
Hi Allen,
Before going this far, can you try turning on "Debug" level logging in
/WEB-INF/flex/services-config.xml and ensure that only the Endpoint.*
pattern is enabled for the logging target filters?
I'd then clear out the logs, re-run the test, and examine the AMF
representation of the Objec
You literally create an Object, with header names as the property names
and header values as property values.
var headers:Object = new Object();
headers["CustomHeaderA"] = "SomeValue";
headers["CustomHeaderB"] = "SomeValue";
Note that if you're not using the FDS Proxy (i.e. the default state fo
It depends on what Java type ColdFusion returns to FDS for
serialization. By default, FDS returns java.util.Collection
implementations as mx.collections.ArrayCollection, and native Java
Arrays (i.e Object[]) as ActionScript Arrays. So, if your seeing that
event.result can be successfully coerced in
SWFs by default can either choose to access the file system or the
remote network (e.g. requests made for data via HTTP), but not both.
Flex compilers produce swfs that elect to use the network by default.
Apart from that, there's no reason why you can't run a SWF from the
desktop (the .mxml -> .
401 - 500 of 654 matches
Mail list logo