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
2
votes
0 answers

Coding for LINGO/LINDO (Integer Linear Programming)

I'm confused how to write the code on LINGO for this model (the model is on pic). I want the "Periode" (period on English) to be consecutive. I tried this code, it's feasible but it's not in consecutive periods. Can someone help me with this…
Rei
  • 21
  • 1
2
votes
4 answers

How can you tell if a language is a "dynamic language"?

I'm trying to get a better handle on what it really means for a language to be "dynamic". I have quite a bit of experience with Lingo, which is the scripting language for the Adobe (formerly Macromedia) Director product line, and I'm just wondering…
devuxer
  • 41,681
  • 47
  • 180
  • 292
2
votes
0 answers

Location lingo update from head unit to iPhone app

Head unit sends location lingo information/update. How does the iOS/iPhone app handle this update. My app otherwise handles the location by using GPS info using CLLocationManager. But when the head unit is sending the location lingo, what is the…
1
vote
1 answer

integer linear programming on 3-partition of a special set

background: Sis a set consisting of the following 7-length sequences s: (1) each digit of s is a, b, or c; (2) s has and only has one digit that is c. T is a set consisting of the following 7-length sequences t: (1) each digit of t is a, b, or c;…
4869
  • 11
  • 1
1
vote
1 answer

Tweaking Lingo parameters with carrot2 (with PHP)

I'm trying to tweak the call to the Carrot2 REST API : $client = new Client(); try { $params = [ 'multipart'=> [ ['name'=> 'dcs.c2stream', 'contents' => $xml], …
Touane
  • 23
  • 4
1
vote
2 answers

Error : "Missing pluralization rule for" for Lingo in Vapor

I'm using the Lingo package for my Vapor solution see : https://github.com/vapor-community/Lingo-Vapor and this has been working perfect for 3 languages Now I need plurals for a popup I'm creating : for i in stride(from: 1, to: 12, by: 1) { …
Glenn
  • 2,808
  • 2
  • 24
  • 30
1
vote
2 answers

Dynamic UI window drawing in Flash?

Wasn't sure if this question belongs here, but I'll try. So I'm about to move my project from Director | Shockwave Player (if you ever heard of these) to Flash Player for numerous reasons and while I'm thinking how to better start off I got a…
Rihards
  • 10,241
  • 14
  • 58
  • 78
1
vote
0 answers

How to write the syntax in lingo for the following objective function

I have this model which i want to run on Lingo, iam having hard time how to input this into lingo, its a linear programming model btw ∑∑∑aik×ijk-∑∑∑wik×yijk
Riko
  • 51
  • 6
1
vote
0 answers

solving mixed integer program with LINGO

i need to solve the below problem in LINGO. i declared the sets and data but there is an error in constraint one. i think my syntax is wrong. anybody can help me writing the right constraints. my syntax in LINGO: the error i got in constraint 1 is…
1
vote
4 answers

Lingo call to ActionScript not working

I have a Flash sprite in my Director project. Under the Properties of that sprite, under both the Member and the Sprite tabs, it has as its name "Assessment". In my Lingo script, I have the following call: sprite("Assessment").displayGrade(75, 3,…
Elie
  • 13,693
  • 23
  • 74
  • 128
1
vote
1 answer

Weighted goal programming with Lingo

I have an optimization problem which is about assignment problem. I wrote it with a weighted goal programming algorithm (I introduce some deviations, etc.).I try to solve this algorithm with Lingo. Unfortunately each time I try to solve it, Lingo…
1
vote
0 answers

Adobe Director 12 simple hyperlink

I am looking for the simplest syntax to make an image or text into a hyperlink within Adobe Director 12. Here are two reference links: Creating a hypertext link on hyperlinkClicked Do I need a hyperlinkClicked event handler, or is there a simpler…
1
vote
1 answer

converting C to Lingo

does anyone here knows how to convert this expression below to lingo: for(var channel=1;channel<30;channel+=3) there is already sample below on how to use for statement to repeat with, my problem is i dont know how to use channel+=3 in lingo…
newbie
  • 201
  • 2
  • 4
  • 12
1
vote
1 answer

How to return a binary value by comparing two variables?

I currently study operation research. I required to formulate the model as LP model. The objective function is y = ( ai * C1i + bi * C2i) ,where ai = max(0, xi - Ti) ; bi = max(0, Ti - xi) This is a scheduling problem. xi is the decision…
1
vote
1 answer

Get the BIOS time in LINGO

Can someone tell me how to get the BIOS time in Lingo?
Elie
  • 13,693
  • 23
  • 74
  • 128
1
2 3 4