[swx] Timing problems

Mediactief - Paul de Raaij paul at mediactief.nl
Sat Apr 26 00:27:08 PDT 2008


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





More information about the swx mailing list