[swx] Timing problems
Mediactief - Paul de Raaij
paul at mediactief.nl
Sat Apr 26 05:48:48 PDT 2008
Holger,
Thank you very much! Seems the cancelAllCalls does the trick. Haven't got a
clue which call cuased the problem, but it work's!
Thank you very much!
Met vriendelijke groet,
Mediactief
Paul de Raaij
Moddermanplein 10
2675 CT Honselersdijk
T: 0174-642451
M: 06-55797329
E: paul at mediactief.nl
W: www.mediactief.nl
W: www.mediactief.eu
The information in this e-mail message (including any information contained
in attachments hereto) is intended only for use of the addressee. This
e-mail message contains confidential or privileged information. If you
receive this e-mail message unintentionally, please notify the sender
immediately and then delete this message. E-mail transmission is not
guaranteed to be secured or error free. The sender is in no way liable for
any errors or omissions in the content of this e-mail message, which may
arise as a result of e-mail transmission
-----Oorspronkelijk bericht-----
Van: swx-bounces at osflash.org [mailto:swx-bounces at osflash.org] Namens holger
arndt
Verzonden: zaterdag 26 april 2008 14:22
Aan: SWX Mailing List
Onderwerp: Re: [swx] Timing problems
One more thing,
if you use only one SWX-instance,
it might occur that you have an unfinished request running and that this one
blocks your next call.
so try to use the "cancelAllCalls()" function in your SWX before making a
new call...
Am 26.04.2008 um 14:09 schrieb holger arndt:
> Hi Paul,
> first off, i tested the postoffice and it seems to work fine... (???)
> when i "enter" the postoffice, some pictures appear as in the book,
> that's all, right? I can send them as an ecard when i click on them
> ...
> and those appear (on my computer) after only a few seconds.
> So it might not be a general problem with your code, but just a
> certain situation in which the call is not correctly executed or takes
> longer than the timeout.
>
> But what is strange is that you use args[1] in your call parameter and
> the debugger writes
>> SWX: No arguments array (args) found. No arguments will be sent.
>
> That would make it understandable why you don't get a result.
> So try to add a Fault Handler to check what SWX tells you there.
> It should say that your service misses an argument or similar...
> And then try to find the reason for this e.g. why the args array is
> ignored...
>
> Hope that gets at least on the right way to find your "error"...
>
> Cheers,
> Holger
>
>
> Am 26.04.2008 um 09:27 schrieb Mediactief - Paul de Raaij:
>
>> Hello All,
>>
>> I've got a strange problem. I'm working on a new website which uses
>> swx intensively. Now I'm having a weird problem. I've you take a look
>> at www.myloandfriends.nl/test.php you'll see the flash page. When you
>> click on the clubhouse in the left and then on the book right, you've
>> see some pictures coming up. This all works nice with swx. (When you
>> try it you'll have to login: user: praaij; pass: test)
>>
>> This is all working perfectly. Now I have almost the same code in the
>> postoffice (right in the main village) and here Ib get some strange
>> timing problems. It takes a long time (15 - 30 seconds) before the
>> call gets executed. In the debugger then I get this message:
>>
>> =====================
>> SWX.call INFO: No timeout handler defined.
>> SWX.call INFO: No fault handler defined.
>> ExternalAsset timeout: _level0.SWXLoadManagerClip.holder0
>> ExternalAsset.load() info: Sending data using GET encoding.
>> SWX.prepare:
>> SWX: No arguments array (args) found. No arguments will be sent.
>> ExternalAsset timeout: _level0.SWXLoadManagerClip.holder0
>> =====================
>>
>> I use this code to call the swx
>>
>> ======================
>> // Maak het SWX object.
>> swx = this._parent.swx;
>>
>> // Voeg de 'method' eigenschappen toe.
>> var methodParameters:Object =
>> {
>> serviceClass: "CardMailer",
>> method: "getCards",
>> args: [1],
>> progress: [this, progressMeter],
>> result: [this, showCards]
>> }
>>
>> swx.call(methodParameters);
>>
>>
>> function progressMeter(event:Object) {
>> dataPreloader._alpha = 100;
>> }
>> =======================
>>
>> This code works perfectly for the clubhouse, so I don't understand
>> why I don't get it to work for this section. Anyone any idea what I'm
>> doing wrong?
>> Thanks in advance!
>>
>> Paul
>>
>>
>>
>> _______________________________________________
>> swx mailing list
>> swx at osflash.org
>> http://osflash.org/mailman/listinfo/swx_osflash.org
>
>
> _______________________________________________
> swx mailing list
> swx at osflash.org
> http://osflash.org/mailman/listinfo/swx_osflash.org
_______________________________________________
swx mailing list
swx at osflash.org
http://osflash.org/mailman/listinfo/swx_osflash.org
More information about the swx
mailing list