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

Lingo giving an infeasible solution because of an unrelated variable?

I am working on a lingo file for production and I am using derived sets to basically get the connection down between the 2 tables. For one table, I was just trying to sum the values from the BOM table into a variable. To be clear, I'm just assigning…
Thanos
  • 1
0
votes
2 answers

Need help with cuepoints (Adobe Director project)!

I have a little problem, there is a cd project done by another developer in Adobe Director. It is in three languages. This project has video files with subtitles... Subtitles attached to video with the help of cue points... if user selects another…
None
0
votes
1 answer

Using a variable in a message - Lingo

Can anyone tell me if there is a way for me to use a variable within a lump of code, so that code can be looped to send messages to multiple objects? For example, if I have 10 buttons and want each to send a variation of the same command…
DrRocket
  • 215
  • 2
  • 14
0
votes
1 answer

Derived variable stuck at 0 (unable to solve for fixed variable)

I'm supervising exercise sessions about LINGO and LP and today an exercise came up about investing. This is the intended solution: MODEL: SETS: year /t0 t1 t2 t3/: capital; investment /A B C D E/: allocated; table(investment, year):…
Wout12345
  • 91
  • 5
0
votes
2 answers

Director 11 and Flash with AS 2 communication

I have a Director project with 3 scripts (2 behaviors and 1 movie script). I have the following code in my movie script: on startRecording () --do stuff _movie.script["script2"].passGrade(75, 3, 4) end and in one of my behavior scripts, I have…
Elie
  • 13,693
  • 23
  • 74
  • 128
0
votes
1 answer

Directtostage error when playing published application in another computer

I have a Director application that has several modules, but one in particular decided to not work. That is the Video section of the program. So basically when Im developing in Director, everything works perfectly, but when I try to run the…
FoxLift
  • 433
  • 2
  • 16
  • 30
0
votes
1 answer

how can i make a video/image cube interactive?

im doing a project in adobe director and im looking to make an image/video cube which display an image or video on each side of the cube now i have seen some tutorial on how to make the cube in softwares like cinema 4d but how could i make this cube…
0
votes
1 answer

loading rLingo package for R

Working with R (ver 3.4.1) and Lingo (ver 16), attempting to install rlingo package using the provided direction within Lingo documentation via command prompt. I get the following error message: ****************** Checking for R... Checking for…
0
votes
1 answer

How to call Lingo with Visual Studio?

I have to solve two problems, the first one is linear but the second one is not. I usually solve the linear problems using cplex optimizer with visual studio. However the second problem can not be solved by cplex and I had been told that lingo can…
0
votes
1 answer

How to detect if Windows is 64x or 86x via Lingo (Adobe Director)

I was wondering if its possible to detect if a costumer's Windows is 64x or 86x based via Director. The reason for this is that some Xtras don't work as intended when running on a 64x windows, and I wanted to create 2 versions of my program for…
FoxLift
  • 433
  • 2
  • 16
  • 30
0
votes
2 answers

Swapping information between ActionScript and Lingo

I have a lingo script which runs some data processing for a Flash movie. I can call my Lingo functions from Flash by putting the following inside one of my methods: getURL("Lingo: myMethod"); and I can pass parameters from flash to lingo as…
Elie
  • 13,693
  • 23
  • 74
  • 128
0
votes
2 answers

Comparing dates in Lingo

How do I compare two dates in Lingo? To be specific, I want to know if today's date is after some fixed date. I know I can create the fixed date by using: date("20090101") and I can get the current date using: _system.date() but I can't seem to…
Elie
  • 13,693
  • 23
  • 74
  • 128
0
votes
1 answer

Director/Lingo, making an application toggle between fullscreen and windowed?

I recently had a client contact me asking for an update to his project that I used to maintain/develop years ago. It was done using Macromedia Director (now Adobe Director) and Lingo. Since I haven't developed anything using these technology in…
Dennis
  • 20,275
  • 4
  • 64
  • 80
0
votes
1 answer

Adobe Director: on mousehover image resizes too small

After setting a mouseover to an image of a door opening (so when you mouse over it appears to open), it changes to the other image however it SHRINKS the next sprite/image that it is meant to. I've tried adjusting the width, scaling the sprite, and…
Cyrup
  • 1
  • 1
0
votes
1 answer

Using the optimized values from one Lingo model in another Lingo model

In lingo I have modeled a maximizing function and have found optimal values for say x1,x2,x3.The data required to this model is obtained through an EXCEL sheet by =@OLE('C:\sheet1'). This maximization part works fine. For the second part now I have…
clarkson
  • 561
  • 2
  • 16
  • 32