On Fri, Oct 7, 2011 at 4:20 PM, Andy <[email protected]> wrote:

> I never did figure out why set_focus is failing to create a
> restricted_fx, I have verified that set_focus is working, that I am
> using .5rc0, that everything is initialized right. (Thank you I was
> missing the some stuff from some_proxies.py)
>
> I finally got fed up with searching for this restricted_fx and
> restricted_fy and replaced all instances with scroller.fx and fy.
>
> It seems to be working just fine, so I will keep moving.
>
> Thanks,
> Andrew
>
>



Theres a case when set_focus will not set restricted_fx, restricted_fy :
when *all* the controlled layers (ScrollableLayer instances) don't impose
restrictions about how much can be scrolled, that is when you don't define
px_width for any controlled layer.

If thats your case, you should be fine using fx, fy

--
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