On Mon, Oct 3, 2011 at 11:17 PM, Joseph Marlin <[email protected]>wrote:

> Well just to be safe, here is the whole thing:
> http://dl.dropbox.com/u/1920393/tac.zip
>
> The "connect" menu is the menu with the issue. Hopefully it will behave the
> same for you as it did for me...
>
> Thanks so much for helping me out with this!
>
>

 You have a combination of issues there.
missing
super(ConnectMenu, self).on_enter()

ConectMenu hay only one item, so it can't change between items, hence no
animation (but the mouse will produce action if the mentioned super is
added.

Down the road you can have other problems, because you are not calling
super(ConnectMenu, self).on_exit()

Anyway, you are filtering for ip characters. Much more readable and simpler
would be to get rid of the ip layer and add to ConnectMenu an EntryMenuItem
for the ip, overriding on_text or on_key_press to filter unwanted
characters.

--
claudio

-- 
You received this message because you are subscribed to the Google Groups 
"cocos2d discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cocos-discuss?hl=en.

Reply via email to