Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: FLASH: Re: Newbie Scripter-variables in "go to frame"?
From: Greg Nelson
Date: Thu, 6 Apr 2000 22:57:30 +0100

Hello all,
My first posting after reading and picking up good hints for
a long time ...

I've been using FLASH for animation for years, but now I
have to script, and I'm no whiz even though I can get by
with Lingo. I would appreciate some help.
My animation loops on two frames
Everything works except:
I have a subroutine that includes the following Loop While


Set Variable: "i" = 1
Loop While (i <= vCounts)
If (Var1 < get("Var2"&i)
Begin Tell Target ("/MC")
Go to and Stop (i+1) <-- PROBLEM?
End Tell Target
Else
-- Blah Blah
End If
Set Variable: "i" = i + 1
End Loop

Apparently, when I use the Expression option in the tell
target "go to frame" I can't get it to recognize any
variables--just hard wired numbers (although I get no error messages).

What is the Expression option for in this dialog box and is
there a way to script this?

--
Greg Nelson
Multi-Media / Animation
Office of Instructional Services
Colorado State University
Fort Collins, CO 80523
(970) 491-6005 Fax: (970) 491-6989

flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the last 100 messages from the flasher list NOW
http://www.chinwag.com/flasher/last100.shtml

Flash books http://www.chinwag.com/flasher/books.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  Re: FLASH: Re: Newbie Scripter-variables, Robert Bleeker

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]