Ask a Question related to Macromedia Director Lingo, Design and Development.
-
davis #1
erase created members
ok let me try this one more time.
the projector i am using is simply creating text fields named newPage1,
newPage2,
etc... i need the projector to check at the on prepareMovie handler if these
fields have been created and if so erase them. thanks.
Davis
davis Guest
-
HOW TO ERASE \r or \015 in win32??
i want to erase ^M in then end of lines. but i can do this in win32. $_=~s/\r//g; #but \r still exist $e=\x0D; $_=~s/$e//g; #have the... -
Erase Tool
Hi I'm new to Macromedia Fireworks MX and I just cannot seem to get the erase tool to work properly. If I draw a line using either a line tool or a... -
erase cursor
All of a sudden, when I select the erase tool, the cursor is just a pinpoint no matter how large of an erase area I select. I used to view the... -
How to destroy (remove from memory) created with new command members
I create (for example) 50 bitmap members with new command are they removed from memory or do i need do do it myself ??? if YES then - how to... -
Can I erase the border?
hello! am having to resize an image as well as the canvas, and now the border doesn't "fit" with the resize. Can I simply erase the border and... -
Mark A. Boyd #2
Re: erase created members
Not sure why you're starting so many new threads in here for apparently
identical questions. Have you noticed the "Reply Group" button at the top
of Outlook Express?
On 07 Dec 2003, "davis" <smithl@jbu.edu> wrote:
I still think you should do your clean up before quitting Director and> the projector i am using is simply creating text fields named
> newPage1, newPage2,
> etc... i need the projector to check at the on prepareMovie handler if
> these fields have been created and if so erase them. thanks.
creating a projector, but here ya go:
on prepareMovie
libs = the number of castLibs
repeat with lib = 1 to libs
mems = the number of members of castLib lib
repeat with mem = 1 to mems
if member(mem,lib).name starts "newPage" then
erase member(mem,lib)
end if
end repeat
end repeat
end
Note that this will also erase a member named "newPageWithOutANumber" or
whatever. If you're creating those new members in a castLib that is used
exclusively for those members, you can limit the above script to checking
just that castLib.
--
Mark A. Boyd
Keep-On-Learnin' :)
Mark A. Boyd Guest



Reply With Quote

