At 09:11 PM 9/9/00, Kerry Thompson wrote:

>First, let me address a point Zac made. If you drag and drop, then unlink, 
>the external cast will be empty--dragging and dropping is really cut and 
>paste.  Instead, you can copy and paste--select all, then right-click and 
>"copy cast members." (Or ctrl-c, or whatever your favorite copy command 
>is.)  Then you paste into the new cast. That way, when you unlink the 
>external cast, all your members will still be safe.

Aye, but if any of the cast members are used in sprites in the score, the 
score will lose the reference to them as soon as the external cast is removed.

>Now, back to your point, Colin. If you're relying on cast position, then 
>set both casts to the traditional view, not the list view. You can see the 
>old and new side by side, and insert blank cast members in the appropriate 
>positions. It's a bit of manual labor, but it works.
>
>Could you copy the members in a loop with Lingo? I'm not quite sure how I 
>would do this--member(i, "internal cast").media = member(i, "external 
>cast").media doesn't work, nor does the keyword "member."

You would probably want to determine the source member's type property, 
create a new member of that type in the new castLib, and do the 
member(i,"New Internal").media = member(i,"External").media thing. Or 
perhaps copyToClipboard/pastFromClipboard instead. I haven't tried that 
method, but if it works on all member types, it will copy the source 
members' names to the destination members, too.


--
Mark A. Boyd
Keep-On-Learnin' :)


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to