Ask a Question related to Macromedia Director Lingo, Design and Development.
-
mrsr84 #1
controlling a sprite in various movies
I want to control the behavior of a sprite that occurs in 3 separate movies. I want the lingo to use If logic that "If the user goes to a specific marker, then set the sprite in 2 different movies to show a code" but if the user goes to a different marker, then the sprite should remain empty.
Help is needed since the project is rapidly approaching the deadline for completion.
Thanks in advance.
mrsr84:)
mrsr84 Guest
-
Controlling quicktime movies
Hi, I am really new to Director so this may seem like a daft question. Is it possible to have a quicktime movie as a cast member but to only play... -
controlling outside movies
I have a button in one movie and I need it to tell another movie (that's in another HTML frame) to play specific frame number. Can some one help me... -
Movies controlling movies!
I need to know if it is possible to control a movie from another movie - let me explain. On the main screen I have four movies which are acting as... -
controlling loaded movies
this is some of the script of my homepage: _root.containerLargeIMG.startDrag() loadMovie(nameLargeImage,_root.mask.containerLargeIMG);... -
Controlling different SWF Movies
Sup guys, I'm pretty new to Flash and all the actionscripts, and I just found out I was in trouble. Actually, I have already posted a message... -
Rob Dillon #2
Re: controlling a sprite in various movies
What is the action that you want to use as a test? It sounds like the
simplest thing to do is to set that field?, text?, member to empty if
the playback head is at the one marker and set it to the code string if
the playback head is at the other. In other words, just segment the
sprite and apply a different behavior to the sprite where the field or
text member should be empty, or use a different member that has no text
in it.
If you want to do this more dynamically then you could use a movie
script to test for the marker and changes the content accordingly.
Place that script in an external cast and link the cast to all of the
movies that need to use it. You will still need to define the event
that calls the function.
--
Rob
_______
Rob Dillon
Team Macromedia
[url]http://www.ddg-designs.com[/url]
412-243-9119
[url]http://www.macromedia.com/software/trial/[/url]
Rob Dillon Guest
-
mrsr84 #3
Re: controlling a sprite in various movies
I am trying to determine if a user has gone to a particular movie and if so, I want a checkbox to show a green check to show "been there, done that" or leave it blank. I am trying to measure the visit using the following code:
on beginSprite me
global gonetorecord
if getpos (gonetorecord, 180) of movie "how compass works" then -- been to 180
set the member of sprite the currentSpriteNum to member "GCHECK~1"
else
set the member of sprite the currentSpriteNum to member "G Checkbox"
end if
end
In another instance, I am trying to determine if the user has successfully passed a test. If so, a code needs to be entered in 2 different movies and the checkbox needs a green check. If the user fails, then a red check goes into the box.
Hopefully this clarifies the problems that I am having.
Thanks for the help in advance.
Nancy
mrsr84:)
mrsr84 Guest



Reply With Quote

