ANN: A true scrolling canvas demo
claudi.c at fiberworld.nl
Mon Oct 4 06:03:28 EDT 2010
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
(working on to many scripts at the same time)
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
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
More information about the Use-livecode