|
From: Luke B. <lb...@lu...> - 2006-01-27 03:55:17
|
Hey Andreas, =20 Thanks so much for your contribution! =20 We=92ll be sure to include this change in the next release. =20 =20 Luke Bayes www.asunit.org <http://www.asunit.org/>=20 =20 =20 _____ =20 From: Peter Andreas M=F8lgaard=20 Sent: Tuesday, January 24, 2006 11:18 AM Subject: AsUnit & Flex 1.5 =20 Hi Luke and Ali, =20 Thank you very much for having been so privileged to benefit from the = AsUnit framework. I have however encountered a bug when using it from within Flex 1.5 = app=92s. =20 Class file: com.asunit.util.LocalConnClient=20 Line number: 56 =20 Problem Desc: /com/asunit/util/LocalConnClient.as:52 A return = statement is required in this function. Code: return function() { arguments.unshift(fname); arguments.unshift("execResolve"); arguments.unshift( ref.serverId); return ref.execMethod.apply(this, arguments); } =20 Solution: Desc.: To cast the function instance prior to returning it. Code: return Function( function() { arguments.unshift(fname); arguments.unshift("execResolve"); arguments.unshift( ref.serverId); return ref.execMethod.apply(this, arguments); } ) =20 I don=92t know why and its only sometimes I experienced it until I made = an explicit cast. If you can somehow use it its fine, its just a piece = small change that helped me around. Keep up the good work=20 De bedste hilsner / Best regards, Peter Andreas M=F8lgaard =20 |