Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mx 2004 [Lingo] Moving a model

Status
Not open for further replies.
Jun 15, 2007
2
0
0
US
I need to reposition the models in .w3d castmember. Right now i am using a Lingo Behavior Script in the .w3d sprite, and it looks like this:

on mouseDown me
Sprite(1).member("name").model[1].translate(100, 100, / 100, #self)
x = "init"
trace x -- I have tried the put statement as well
end

The script compiles.
When I run the movie and I click on the sprite, I do not receive the output from the trace/put statement, and the property does not change.

I am new to lingo and director mx 2004 so I am wondering;e is there some other factor in the software that I am missing?
 
I found out that I didn't place the script into the score correctly, and I needed to put the script within an 'on enterframe' handler.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top