Re: <lingo-l> Authoring from Lingo import to Cast and Position in Score

Thanks for the replies.

I've been writing scripts in cshell and perl for years, and would really
rather let lingo do the tedious work of importing the cast members and
assigning their positions on the score.

When I get this to work (as I have hundreds of files to import) I'll
probably write a PERL program to create the lingo script.

I'm just having trouble understanding the basic correct syntax for:

1) importing a file to the cast
2) the path name to the external (linked) audio file (Mac and WIN)
3) Positioning the text in the correct location.

4) Then, most importantly, when I get a very simple script to work, do I
execute that script in the message window to run it?

Sorry if these questions seem basic.  This env is very different from UNIX.


-- === Snip of Garman's broken code ===================

-- import the audio to the cast

set newMember = new(#text)
member(1).text = "music_1.mp3"
member(1).name = "music_1"

-- Set the Score

on buildScore numberOfFrames

    beginRecording
        horizontal = 20
        vertical = 20
            go to frame 1
            sprite(20).member = member "music_1"
            sprite(20).locH = horizontal
            sprite(20).locV = vertical
            sprite(20).type = 1
            updateFrame
     endRecording
end

-- ======================



--__--__--

Message: 2
Date: Tue, 11 Jun 2002 17:58:32 -0400
To: [EMAIL PROTECTED]
From: Tab Julius <[EMAIL PROTECTED]>
Subject: Re: <lingo-l> Authoring from Lingo Questions.
Cc: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]



I disagree - I've been writing Lingo-only interfaces for years now.  Since
I come from a software engineering background, it's easier for me to
conceptualize and do than trying to intermix the score and Lingo.  If you
were from a graphics arts background, then score and Lingo would be easier.

At 04:13 PM 6/11/02 -0500, Howdy-Tzi wrote:
>At 15:38 -0400 06/11/2002, Garman 222 Herigstad wrote:
>
>>I'm trying to do a small project in Lingo, and trying to build the entire
>>interface using Lingo only.
>
>While that's feasible, it's a little like building your own car with a tap
>and die, welding torch, block of raw steel, etc., not even bothering to go
>as far as a kit, let alone getting a pre-manufactured item.
>
>>I'm having some trouble with being able to source one big script into lingo
>>from a file I've created outside of lingo.
>>
>>How do I execute an external script that will have all of my GUI building
>>commands?
>
>Well, for starters it helps to understand the way Director itself works
>with the Score and so on. If you're not familiar with that you might not
>be able to get the Lingo to perform as you expect.
>
>I really think it would behoove you to at least minimally hack around with
>the GUI tools that Director provides. The Score, Stage and Cast are rich
>and powerful metaphors that will take pretty much all the drudge work out
>of generating an interface. Doing otherwise would be rather analagous to
>using emacs in a term window to create an Illustrator document. I suspect
>it's doable, but it would go a hell of a lot faster to just use Illustrator.

_____________________________________

Garman
http://www.storycity.net/~Garbox


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to