Lingo Dictionary
183
deleteFrame
Syntax
deleteFrame
Description
Command; deletes the current frame and makes the next frame the new current frame during a
Score generation session only.
Example
The following handler checks whether the sprite in channel 10 of the current frame has gone past
the right edge of a 640-by-480-pixel Stage and deletes the frame if it has:
on testSprite
beginRecording
if sprite(10).locH > 640 then deleteFrame
endRecording
end
See also
beginRecording
,
endRecording
,
updateFrame
deleteGroup
Syntax
member(
whichCastmember
).deleteGroup(
whichGroup
)
member(
whichCastmember
).deleteGroup(
index
)
Description
3D command; removes the group from the cast member and the 3D world. Children of the
group are removed from the 3D world but not deleted.
It is not possible to delete the group named World, which is the default group.
Example
The first line of this example deletes the group Dummy16 from the cast member Scene. The
second line deletes the third group of Scene.
member("Scene").deleteGroup("Dummy16")
member("Scene").deleteGroup(3)
See also
newGroup
,
child
,
parent
Содержание DIRECTOR MX-LINGO DICTIONARY
Страница 1: ...Lingo Dictionary Macromedia Director MX...
Страница 756: ...Index 756...