Fehler in Lingo Script

Hag

Hag

Aktives Mitglied
Thread Starter
Dabei seit
06.01.2004
Beiträge
162
Reaktionspunkte
0
Hallo,
da ich so recht weis wohin mit meiner Frage probier ichs mal hier. Ich bin noch ein Lingo Anfänger und mache gerade so eine Art Tutorials aus dem director 8.5 Buch von Markt und Technik. Leider ist in dem Script irgendwo der wurm drin aber ich weis nicht genau wo. Villeicht weis ja hier jemand Rat ?
Code:
-- Lautstärkeregler 1

on mouseDown  
  repeat while the mouseDown
if (the mouseV <= the bottom of sprite 11) and ¬
(the mouseV >= the top of sprite 11) 
then  
set the locV of sprite 15 = the mouseV
set sliderPos = the locV of sprite 15 - the top of sprite 11
set the volume of sound 1 = 255 - 255 * sliderPos / the height of sprite 11
end if
updateStage
end repeat  
end

der asgegebene Felercode lautet :

Die Felermeldung lautet:
operand expected
if (the mouseV <= the bottom of sprite 11) and¬?

mfg
Hag
 
Zuletzt bearbeitet:
Zurück
Oben Unten