Questions tagged [lingo]

Lingo is the embedded scripting language used in Adobe Director.

Lingo is the embedded scripting language used in Adobe Director – formerly Macromedia Director – for algorithmic manipulation of Director’s data types (e.g. sprites, “cast member” data resources, external “Xtra” extensions, Java objects).

It is not to be confused with the mathematical modelling language from Lindo systems, which is identically-named, but usually written in uppercase.

As of Macromedia Director 6, Lingo has two styles of syntax. The original style uses an English-like grammar reminiscent of HyperTalk and AppleScript:

if word 2 of paragraph 1 of the text is "dogg" then
    play frame "start"
end

… the newer “dot syntax” introduced in Director 6 looks more like Python or JavaScript:

if text.paragraph[1].word[2] == "dogg" then
    play frame "start"
end

The last version of Adobe Director (version 12) was released in 2013, and was formally discontinued in February 2017.

52 questions
0
votes
1 answer

what to do about this Index Out of Range Error (LINGO)

Hello I am getting: Script Error: Index Out of Range for the following sprite(spriteNumber).member = member(pBoard[cardNumber],"Cards") This is for a Cast:Cards where I have 10 cast members. I have a matrix of 20 cards in a memory game…
londonbird
  • 45
  • 1
  • 2
  • 7
0
votes
0 answers

Lingo Behaviour Initializer error

Unfortunately I'm still getting this error when I press play for this game. Though the game is working after I press the script button, this error persists coming up whenever I press play in Director 12. Do you know what the problem could be? I…
londonbird
  • 45
  • 1
  • 2
  • 7
0
votes
1 answer

Tokenizing cluster labels of Carrot2 Lingo Clustering on Solr

I use the Carrot2 Lingo Clustering Algorithm to Cluster my Solr search results. Now I want to process the clustering labels further and therefore I need to tokenize the labels to get them one-by-one per label. Is there some kind of post tokenizer…
user1337
  • 460
  • 6
  • 22
0
votes
1 answer

DIRECTOR "TCP/IP Socket sever/client"

Would Director be an option for creating a socket client? My client needs to accept server commands; frame rate, start etc. Director seems like it was made for controlling movies. I've got Director 11.5 at the office. Any lingo experts that could…
anon255058
0
votes
3 answers

Adobe Director - Lingo Quiz

So I have a quiz I'm making using Adobe director, but I'm struggling with the overall environment. I'm adding the following Lingo script to each button with a correct answer: on mouseDown global gscore set gscore = gscore + 1 And on the…
Chris
  • 99
  • 3
  • 14
0
votes
1 answer

Is there a easy way to add a save game menu to a adobe director game

Is there a easy way to add a save game menu to a adobe director game, without using FileIO Xtra so the player can play the game where they left off. And this is a point & click game where there progress changes as they play the game.
user1858815
-1
votes
1 answer

combine coordinates using lingo

Does anybody here who knows about Lingo Script? I'm actually a newbie on Lingo Script. And my problem is I don't have any idea on how to make an output in combining 3 coordinates. Example output: (x1,y1), (x2,y2), (x3,y3)
1 2 3
4