Hi all,

Unfortunatly there was a small error in my code, which Thierry found. A local var with the wrong name (sMoveFlag instead of sMoveObj)

I have uploaded a new version with the correction. Sorry for this unconvienience.
(working on to many scripts at the same time)

Best wishes,
   Claudi


On 3 okt 2010, at 23:30, Claudi Cornaz wrote:

Hi All,

I am glad to anounce the ccScroller group.

After many years, on and off, trying to get it to work right, I finaly succeeded in creating a true scrolling canvas like group.

I managed to get something to work before but now I found a simple and elegant solution.

You can drag objects around in the group and the "canvas" will always adept to the placement of the objects.
It grows and shrinks as neccesary, in the expected and sane way.

The final piece I needed was mentioned by Richard quiete a few weeks ago, the boundingRect. The boundingRect alone isn't sufficient but it turned out to be a crucial extra piece I needed to acomplish this canvas group.

I tryed to uploaded it to revOnLine but after I logged out I couldn't log in anymore. Apparently the password they send me this afternoon is wrong now. I don't know. So I have no idea if the upload went correctly because I can't find it nowhere anymore. Revonline seems a bit flaky at the moment.
I will try again later.

Probably the easyest way to get the stack is to execute the following in the messagebox:

go stack URL "http://www.claudi.on-rev.com/livecode/ccScroller_demo.rev "
and check it out.

I hope (some of) you find it usefull

All the best
 Claudi
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to