Questions tagged [asynctoken]
17 questions
4
votes
2 answers
ActionScript 3 AsyncToken implementation
Looking for an example or documentation links as to how to implement a method returning AsyncToken.
Note this is not about using/consuming a method returning AsyncToken! I wish to write such methods myself.

Goran
- 6,798
- 9
- 41
- 57
3
votes
4 answers
How to Fake a AsyncToken return in ActionScript 3
Using Parsley,
I have a service that I access through a
[Command(selector='list')]
public function getRssFeed( msg:RssEvent ):AsyncToken
{
return service.list() as AsyncToken;
}
when I point to the "Real" RssService, everything works as expected. My…

Brett
- 71
- 1
- 4
2
votes
3 answers
What is the point of the ASyncToken?
I've been tasked with the creation of an AS3 client for an HTML5 WebSocket server.
My initial thinking is to create this service using some of the existing classes in AS3, namely attempting to emulate RemoteObject, but having looked into it, I can't…

adamk
- 439
- 3
- 10
1
vote
1 answer
Flex AsyncToken for listening to Alert box buttons
Can I listen to Alert button click between components using AsyncToken?
Basically, I want to have a method that opens an Alert with buttons and have it return an AsyncToken so that other components calling that method can listen for button…

Francisc
- 77,430
- 63
- 180
- 276
1
vote
2 answers
HTTPService AsyncToken and AsyncResponder example
Where can I find an example of Flex application which implements an HTTPService asynchronously called by an AsyncToken and an AsyncResponder?
Thanks in advance
the httpservice send a string like this with a certain…

Fseee
- 2,476
- 9
- 40
- 63
0
votes
1 answer
Is it possible to cancel an RPC Call?
Is it possible to cancel an RPC call that is assigned to an AsyncToken with responders?

Francisc
- 77,430
- 63
- 180
- 276
0
votes
2 answers
Flex : LCDS Service returning null Asynctoken when executed 2nd time
I'm developing a Flex application using RobotLegs, LiveCycle DS & Java.
I'm trying to implement an update function, using LCDS, but I'm running into some strange behaviour:
This is the ActionScript code within a RobotLegs' execute command,
used…

WWWillems
- 11
- 2
0
votes
1 answer
AsyncToken return basic string?
I'm trying to develop a Flex Mobile / PHP application, and I'm running into some trouble with the AsyncToken... Does it not just return a basic string?
For example... I'm wanting to just return a simple string result from my request - right now,…

Joseph Sutton
- 97
- 8
0
votes
1 answer
Retrieve Last 2 Results from Service Call in Flex AS3 PHP
I'm a Flex newbie and I've searched both StackOverflow and Google'd but can't seem to figure out this (simple) problem with Flex/ActionScript 3 Asynchronous programming. I have a PHP service (Zend) that inserts a row into the table. What I would…

Jamal
- 77
- 1
- 5
0
votes
1 answer
How do i handle Asynctokens in Actionscript classes
Heres my code:
public class Schem
{
public var info:String="";
private var ro:RemoteObject = new RemoteObject("Hibernatetest");
public function Schem()
{
ro.endpoint = "http://jesus/blazeds/messagebroker/amf";
…

Kai
- 376
- 1
- 4
- 17
0
votes
2 answers
How do i handle Remote Method calls via AsyncToken?
So here is the mxml i would like to get working:

Kai
- 376
- 1
- 4
- 17
0
votes
1 answer
FLEX - Convert AsyncToken to ArrayCollection
I'm new to flex and I can't seem to get this to work. Essentially, I have a select box with which it's available data is dependent on another combo box.
There are multiple TreatmentTypes in each CategoryType.
Here's my code:
Combo box change; update…

Vaesive
- 105
- 1
- 11
0
votes
1 answer
AsyncToken behaviour with Socket- Flex
I am using FlashSocket on my client side to make calls to socket.io on node.js server.
But i want specific values and function references to be available in the socket event listeners.
One approach that came to my mind was to pass the required…

Sarita
- 837
- 11
- 19
0
votes
2 answers
How to make URLLoader return an AsyncToken?
I was trying to retrieve binary data over HTTP for my Flex application, and was running into some stumbling blocks. HTTPService did not seem to deal with binary data well, people said to use URLLoader. But URLLoader does not have the nice…

Karthik
- 403
- 3
- 14
0
votes
0 answers
FLEX Error #1502: A script has executed for longer than the default timeout period of 15 seconds
I’m getting the error “[RPC Fault faultString="Error #1502: A script has executed for longer than the default timeout period of 15 seconds." faultCode="EncodingError" faultDetail="null"]:” when uploading a bytearray trough a web service.
Now…this…

user2690511
- 83
- 7