Ldoc+ Lingo Group:
SCORE & SCORE GENERATIONinfo D5/601: score 6 0 elements new in Director 6.0, ! 9 contain Dictionary fixes 601 & 501, + 14 miss from the 'Appendix' 6.0 for SCORE GENERATION. Score Elements (5): !+ set oldScore = the score + set the score = the media of member... + scoreSelection ! scoreColor of sprite ! updateLock (settable) Score Recording (20): ! beginRecording clearFrame deleteFrame duplicateFrame endRecording !+ frameLabel + framePalette + frameScript + frameSound1 + frameSound2 + frameTempo + frameTransition insertFrame scoreColor of sprite !+ scriptNum of sprite + save castLib + saveMovie ! updateFrame ! updateLock !+ updateMovieEnabled -- 6.0 'Appendix' errors for SCORE GENERATION: Many elements are missing, see (+) above. The 'scriptType' has nothing to do with score recording, instead 'the scriptNum/scoreColor of sprite' can be set!
[index] _ D5/601 _ 971212:
beginRecording
Score generating command
6.0 Dictionary Errors, same in 5.0:
"You can't start a Score recording session from within an 'on enterFrame' handler" = Missing: "...and not from an 'on prepareMovie', 'on prepareFrame', 'on beginSprite', 'on endSprite', and 'on stepFrame' handler." "set the type of sprite 20 to 1 set the foreColor of sprite 20 to 255" = Delete these 2 lines from the Example, they make no sense. And setting 'foreColor' to 255 only works ok in 8-bit color depth! = Missing: "See Also: ... the updateLock" --TIP: When doing Score recording at run-time, remember that there is the property the updateLock, which when set to TRUE will not make any changes to the Score visible until it's turned back to FALSE. So you can prepare some frames without the user seeing it until you finally 'go...' to them. With 'the updateLock' TRUE, you can also use (passive) Score recording to just go ahead to a frame and look into some of its sprite settings.
[index] _ D5/601 _ 971212:
score
basic movie property
6.0 Dictionary Errors, same in 5.0:
= Missing: "You can set a variable or the 'media of member' to the score." = Missing: "See Also: beginRecording, endRecording, the updateLock, the media of member, objectP(), ilk(someThing) = #media" -- From the '601 ReadMe': Using 'set gSaveScore = the score' now also stores frame markers in gSaveScore, and 'set the score = gSaveScore' restores them to the score. --TIP: A useful EXAMPLE for the 'score' property can be found at Gretchen's 501 BugList. You can store 'the score' into a variable or in 'the media of member', and then later set 'the score' to one of different versions. This will include the WHOLE score from beginning to end, with all frameLabels and score scripts.
[index] _ 971212:
updateFrame
score recording command
6.0 Dictionary Errors, same in 5.0:
"set the type of sprite 20 to 1 set the foreColor of sprite 20 to 255" = Delete these 2 lines from the Example, they make no sense. And setting 'foreColor' to 255 only works ok in 8-bit color depth! = Missing: "See Also: ... the updateLock, the lastFrame" --TIP: New in the '5.0 Readme' and in the 6.0 Dictionary: When used in the movie's last frame or any frame after that, the updateFrame command duplicates everything in the current frame and copies it into the next frame. You can determine the last frame number using the property 'the lastFrame'.
|