relayering groups within groups?
Jonathan Lynch
jonathandlynch at gmail.com
Wed Feb 1 15:16:47 EST 2006
Hi Terry,
I use this technique to adjust the layer of a subgroup that contains an
image, which is inside a group that works as a page. A page can contain
fields and images. All the images are inside groups in order to allow them
to be reversably cropped.
So, I might have 5 to 10 objects on a page. Doing this, relayering an image
group takes maybe 1/5 of a second - something like that. The lag is
definitely noticeable. With 100 objects to relayer, I bet you will notice
the lag time.
If you manage to figure out a better way, please let me know.
Good luck,
Jonathan
On 2/1/06, Terry Judd <tsj at unimelb.edu.au> wrote:
>
> Hi Jonathon - I arrived at a similar solution after much stuffing about
> last night. My only concern is that I may have to do this with lots of
> objects (100+?) every time I want to drag one about. Hopefully it's not
> too slow.
>
> Thanks for the info.
>
> Terry...
>
> >
> >
> > I have a solution to this problem.
> >
> > It was a real pain to figure out. The basic problem is in the way
> > Revolution
> > orders items inside of a group. To keep a subgroup intact, when you
> > relayer
> > it inside of a group, you have to set it's layer to the bottom of the
> > group.
> >
> > So, the question arises, how do you move a subgroup up and down, if
> > the only
> > safe method is setting it to the very bottom. The answer is this: When
> > you
> > are moving a subgroup down one layer or up one layer, what you really
> > do is
> > determine when layer the subgroup needs to be at, then move all the
> > other
> > subgroups and objects in the group to the bottom, in the correct
> > order, so
> > that everything else stays in the order it was in, and the subgroup
> > winds up
> > at the layer you want it to be at.
> >
> > It's a giant pain, but it works.
> >
> > I can send you an example of a stack that does this, if you wish.
> >
> > Take care,
> >
> > Jonathan
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
More information about the use-livecode
mailing list