Discussion list for Unity developers.
unity-dev at moock.org
Thu May 31 12:23:20 CDT 2007
Ahhh, I see. Thanks for your help!
Derek
----- Original Message ----
From: Discussion list for Unity developers. <unity-dev at moock.org>
To: unity-dev at moock.org
Sent: Thursday, May 31, 2007 10:17:52 AM
Subject: Re: ||unity-dev|| Unity 2 login not compatible with Flash 7 publishing?
the latest version of uClientCore is 2.0.1. the fix was not included in
that version. (the latest version of the server is 2.0.2)
the fix will work with all formats, so you should be able to apply it to
any project.
colin
Discussion list for Unity developers. wrote:
> Hi Colin,
>
> Thanks for the reply. Yeah, I caught that bug in usimplechat.as when I compiled. :)
>
> Just tried the login fix and it's working. So, this fix wasn't implemented in Unity 2.0.2? Will the new upcOnLoginClient function work with other Flash versions as well or do I need to use the default for anything other than Flash 7 publishing?
>
> Thanks!
>
> Derek
>
> ----- Original Message ----
> From: Discussion list for Unity developers. <unity-dev at moock.org>
> To: unity-dev at moock.org
> Sent: Wednesday, May 30, 2007 11:12:25 PM
> Subject: Re: ||unity-dev|| Unity 2 login not compatible with Flash 7 publishing?
>
> hi derek,
> i'm surprised that uSimpleChat w/ client login compiled at all for you
> in flash 8. flash 8 should give you a compiler error when you attempt to
> compile because i (stupidly) used "int" as a variable name. to fix that,
> change lines 278 and 279 of USimpleChat.as to this:
>
> var intID:Number = setInterval(function (client:USimpleChat) {
> clearInterval(intID);
>
> as for your infinite loop, it's a bug in UClient that only appears when
> you publish to flash player 7 format. here's the fix:
>
> http://www.moock.org/pipermail/unity-dev/2004-July/002501.html
>
> note that the macromedia v1 components used in uSimpleChat w/ client
> login might not behave properly in a flash player 7-format .swf file.
> you should export to version 6 if you're using those components. or if
> you want to export to version 7 you should upgrade to the v2 components.
>
> colin
>
>
> Discussion list for Unity developers. wrote:
>> Hi everyone,
>>
>> I've been playing around with Unity 2 for a while now and just bought the full version. I've been creating some apps using the login feature to store persistent data. All the example apps were set up as a Flash 6 export under publish settings, so that's how I originally designed my apps.
>>
>> Well the other week, I changed the publish settings to export as Flash 7. All of a sudden I was having weird problems where the flash app would hang and eventually Flash will pop up a dialog box that says "A script in this movie is causing Flash Player to run slowly. If it continues to run, your computer may become unresponsive. Do you want to abort the script?" Any thing other than pressing Yes is bad news.
>>
>> Anyway, I've finally tracked this down to the publish settings. You can test this by setting the publish settings of uSimpleChat, (clientlogin version) to export to Flash 7. Just try logining in with a non-registered account name, or a registered account with the wrong password. It gives me the pop error every time in that situation. I'm using Studio 8 and Unity 2.0.2.
>>
>> I don't necessarily need to export to Flash 7, but just wondering why this doesn't work?
>>
>> I appreciate any insights.
>>
>>
>> Thanks,
>> Derek
>>
>> --
>> you're a unity-dev subscriber. to unsubscribe, visit www.moock.org/mailman/listinfo/unity-dev/
>>
>> superb hosting for this list and moock.org is generously provided by Rackspace. See: http://www.rackspace.com/?supbid=moock
> --
> you're a unity-dev subscriber. to unsubscribe, visit www.moock.org/mailman/listinfo/unity-dev/
>
> superb hosting for this list and moock.org is generously provided by Rackspace. See: http://www.rackspace.com/?supbid=moock
>
>
>
>
> --
> you're a unity-dev subscriber. to unsubscribe, visit www.moock.org/mailman/listinfo/unity-dev/
>
> superb hosting for this list and moock.org is generously provided by Rackspace. See: http://www.rackspace.com/?supbid=moock
--
you're a unity-dev subscriber. to unsubscribe, visit www.moock.org/mailman/listinfo/unity-dev/
superb hosting for this list and moock.org is generously provided by Rackspace. See: http://www.rackspace.com/?supbid=moock