Ask a Question related to Macromedia Director Lingo, Design and Development.
-
JFresh webforumsuser@macromedia.com #1
Help with Director
Hi,
I was wondering if I can get some help with this.
I have an mp3 file playing during the director movie.
There are 3 buttons which are used to pan the song left, center, and right respetively.
ex code: (for right pan button)
on mouseup me
sound(1).pan = 100
end
From here, I created three sprites via the filled rectangle option in the toolbox, filled with a green color
The stage would look something like this:
Centerchannel button
LCh sprite1 spr2 spr3 RCh
The sprites are to represent which channel is on. For ex: when only the right channel is playing, the 3rd sprite will remain green while the others turn to red.
I tried accomplishing this by adding a bit more code to each of the buttons so it looked something like this:
(for right pan button)
on mouseup me
sound(1).pan = 100
sprite(spr3).color = rgb(0, 255, 0)
sprite(spr2).color = rgb(255, 0, 0)
sprite(spr1).color=rgb(255, 0, 0)
end
The code compiles fine, however, when I run this, the three sprites start to flash and none of the code for the color changes seem to work at all.
Thus, my questions are: why? and how do I fix this?
Thank you all for you time!
JFresh =)
JFresh webforumsuser@macromedia.com Guest
-
Director MX to Director MX 2004 FREE Upgrade now available
Director MX to Director MX 2004 - English Macromedia Customers who purchased Director MX between December 6, 2003 and April 9, 2004 (dates subject... -
How to import a director file into director? URGENT
Hi, I've kinda finished what i want to do and i've just realised i kinda stuffed up. i need to "combine" several director files into one. how do i... -
Director MX [for OS X] Get Info says its a Director 8.5 file!?!?!
I am working on a kiosk for the http://www.arsc.edu and when I create files in Director MX and go to the finder to Get Info, it says that its a... -
loading director files into a director file?
Hi I made 2 games in director and I'd like to have something like a menu to choose betweeen the 2 games so i was wondering if there was a way of... -
Can Director MX save a movie as a Director 8.5 file?
Can Director MX save a movie as a Director 8.5 file? I can't find this option in "save as" or "export." HELP! -
JB #2
Re: Help with Director
your malfunctioning buttons are not 'flashing' the color change?
the code looks OK, I can only think that perhaps the score playback head
is moving beyond the sprite scan ( for example if your sprites end at
frame 10 and the playback head gets to frame 11 the buttons would blink
off and when the playback head came back to the buttons the lingk color
changes would be forgotton)
JB Guest



Reply With Quote

