Carl West wrote:
> An innocuous little script that ran through _all_ the members of _all_
> the casts and set the fontsize of some them.
Just curious...
I have lots of innocuous little scripts that run through all the members
of all the casts, and do stuff like unlink flash members, or make a list
of occurrences of a specific member type...
an example: a handler that searches the casts for members of a certain
type, whose names contain a certain string:
on sweepCastsForNameStr aType, aStr
tFoundMemList = []
tLibCount = the number of castLibs
repeat with tCast = 1 to tLibCount
tMemCount = the number of members of castLib(tCast)
repeat with tMem = 1 to tMemCount
if member(tMem, tCast).type = aType then
if member(tMem, tCast).name contains aStr then
tFoundMemList.add (member(tMem, tCast).name)
end if
end if
end repeat
end repeat
return tFoundMemList
end
Q: Should I be specifically unloading EACH member after just looking at
it? Or are you doing something I'm not?
TIA
Clars Danvold
[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!]