[swx] SWX bug ?
Folkert Hielema
nederflash at gmail.com
Sat Aug 11 07:50:21 PDT 2007
Seems you do not have the latest and hottest version then. fault was added
during 1.2 -1.3 release if i'm not mistaken, so logic would be that you use
an older SWX version. please recheck your org.swxformat.SWX file it should
have following lines of code starting at line: 217
// Listen for the fault event if a fault handler has been defined.
if (p.fault != undefined)
{
if (typeof p.fault[1] != "function")
{
trace ("SWX.call ERROR: Fault handler should be in the form
[faultObject, faultFunction] (found "+typeof p.fault[1]+" for faultFunction
instead of a function reference.");
}
else
{
externalAsset.addEventListener(ExternalAsset.FAULT,
Delegate.create(p.fault[0], p.fault[1]));
}
}
And that would mean you have the good SWX file ;)
have fun,
Folkert
On 8/11/07, info at dietlev.be <info at dietlev.be> wrote:
>
> First time I used Subversion ^^
> Anyway, got the latest from
> http://svn1.cvsdude.com/osflash/swx/trunk/
> but I still have the same error.
>
> It's probably my setup somewhere since no one else reported the "fault"
> error.
>
> -----Original Message-----
> From: swx-bounces at osflash.org [mailto:swx-bounces at osflash.org] On Behalf
> Of
> Aral Balkan
> Sent: zaterdag 11 augustus 2007 13:42
> To: SWX is the native data format for Adobe Flash. It uses native SWF
> bytecode to represent and exchange data.
> Subject: Re: [swx] SWX bug ?
>
> Hey man,
>
> We won't but you may want to change them as the mailing list is
> publicly accessible.
>
> About the error you're having, I wonder if somehow the latest AS API
> didn't make it into 1.3. Can you try getting the latest version from
> SVN and tell me if you still have the problem.
>
> http://svn1.cvsude.com/osflash/swx/trunk/
>
> Thanks,
> Aral
>
> On 8/11/07, info at dietlev.be <info at dietlev.be> wrote:
> >
> >
> >
> >
> > In my hurry to find a solution I forgot to delete the login details for
> the
> > database.
> >
> > I hope you won't take advantage of my stupid mistake ^^
> >
> >
> >
> >
> >
> > From: swx-bounces at osflash.org [mailto:swx-bounces at osflash.org] On Behalf
> Of
> > info at dietlev.be
> > Sent: zaterdag 11 augustus 2007 13:21
> > To: 'SWX is the native data format for Adobe Flash. It uses native SWF
> > bytecode to represent and exchange data.'
> > Subject: [swx] SWX bug ?
> >
> >
> >
> >
> > Hi all,
> >
> >
> >
> > As you know I was making a shoutbox using SWX. Folkert helped out and I
> > shamelessly copied his code ^^.
> >
> > Here's the thing : I get an error on the fault handler :
> >
> >
> >
> > "fault : [this, onFault]"
> >
> >
> >
> > With the error traced :
> >
> >
> >
> > "Warning: Unknown argument in SWX.call. fault is not a valid argument.
> >
> > Valid arguments for SWX.call are: serviceClass, method, args, result,
> > progress, timeout, debug"
> >
> >
> >
> >
> >
> >
> >
> > Maybe it's because of this error, but I don't get an event.resulteither.
> > When I enter data in the shoutbox it sends just fine. I do not get a
> > response however.
> >
> >
> >
> >
> >
> > I'm on a Windows machine with XP Service Pack 2.
> >
> > I use WAMP ( latest version ) and SWX 1.3
> >
> > Both the AS code and the PHP are included,
> >
> >
> >
> > Thx in advance,
> >
> > Greetings from Belgium where the sun is shining
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > _______________________________________________
> > 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/swx_osflash.org/attachments/20070811/360c1e35/attachment.html
More information about the swx
mailing list