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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sound... 1

Status
Not open for further replies.

coldfused

Technical User
Jan 27, 2001
2,442
US
ok guys i know there is probably a easier way to do this but this is how i did it..

mc music..mc musicloop..put the sound in the loop mc..put the loop mc in the music mc frame two with a stop action(frame one blank with a stop action)..

start music button=
on (release) {
tellTarget ("/music") {
gotoAndStop (2);
}
}

stop music button=
stop all sounds action...

start music button plays the music fine execpt for the small pause from the last frame to the first frame of the music loop..how do i make that stop..i want the loop to keep looping without the small break inbetween frames..also the stop all sound action in the stop button works fine..for about 5 seconds..then the music just starts back by itself..what am i doing wrong..

also old i replaced the figure bitmap seq with a animated gif..cut the original 600/600 bmp's down to 300/300 gifs

unfortunatly i can not post the fla because i locked up without being able to save my changes..so the buttons and the two mc(music)are not even there anymore..but when i go to put them back in tonight i need to know why it's not working right..why the break in between the last frame and the first..how do i loop the sound where it does not break..and why is the stop all sounds action only working for a few seconds then the sound starts back up without starting the music with the button..

hope i explained clearly enough...


e.gif


virtuality2001@aol.com
 
Virt,
Can you at least upload your sound loop (wav or mp3)so that I can download it. Seems to me there must be a silence in your loop and that's what you're hearing.

I'll check the rest... But not much time today!

;-)
 
Virt,

Your loop works fine! Have a look (SOUVENIRS!):


The beginning is a bit harsh (I wouldn't of done the cut there...), but when it's looping, sounds fine to my ear.
Is this for bath&body?

Build your 2 frame music mc with a stop (); action on the first frame, and a stopAllSounds (); action, followed by a stop (); action on the second frame. Sound should cary over on both frames. Your ON-OFF button should also be included in this mc, on both frames. It can be two different buttons or the same with different actions as follows:

First frame:
on (press) {
gotoAndStop (2);
}
Second frame:
on (press) {
gotoAndStop (1);
}

Once this is done, just drag the mc from the library on stage and position, scale it, or whatever. Voilà! Done!
No tell target stuff!

Going out... Won't be back before nine...ish!

;-)
 
alright old man i just got in..will get started again on this..will call on you if it don't work..but i'm sure it will..i understand why it didn't now..and yes it is for the bath&body..trying to get this one to be the best so far..which isn't that hard for me..but anyway..will be back if i need ya..

and if your wondering about the tv..i'm gona go back and redo alot of it..reduce the size(pixels)..things like that..plus i have a million new ideas for it, so it will definatly be work in progress..a long process..but it's cool..learning more every day..
e.gif


virtuality2001@aol.com
 
ok old..if you look at the bath&body the way i have it now you will see what i'm trying to do with the music..it's all in the top left corner..this is what i need you to do..make the d.a.m.n thing work...you will see the music bars moving..i need those to only start when the music starts..and to go away when the music is off..didn't make it that far yet..plus the buttons are all there without the actions..please fix it..and also i am posting the momentintime fla where i used that with action..my only guess is that that action will only work if the button calling that action is on the main timeline..not in a mc..i'm guessing probably wrong but it definatly works in that case in that file..
e.gif


virtuality2001@aol.com
 
Ok! Got it!

First question: Do you want the music to play when the movies has loaded and starts to play or do you want to start sound off and have to turn it on to hear it?

Second: I guess "p" means play... what does ">" mean?

Third: What's my reward for making this work? LOLLOLLOL!

;-)
 
Well, third answered!
Guess T1 is faster than phone connection!
Hang on!
And answer the other questions!

;-)
 
Ok! Get it for second fla. But that's not Dave's file. I want to look at Dave's file!

;-)
 
the sound playing at first..user can shut off..
there is no p there is a x that shuts off the music..the > plays the music..

and there is no dave file..that was what i made with the actions he gave me..the file size yeh i know..that was one of my fist attempts..not really understanding file size..
e.gif


virtuality2001@aol.com
 
first attempts..sheesh....................
e.gif


virtuality2001@aol.com
 
Well, there's no x in the fla I have!
It's a "p" and a ">"!
What do you want! Got it working with the "p" which act as a toggle: hit it, it stops, hit it again, it plays!
Can do it with both: "p" or "x" (if you want that! - or Off for that matter!) stops the music, and ">" or On plays it!

It's up to you!

;-)
 
thats weird..you know what it is..i used a special button text it's called ffxbuttons2..the p in that text is actually a circle with a x in it..orange and red on mouse over..but anyway please make it a circle with a x..a stop and a play button please..
e.gif


virtuality2001@aol.com
 
do you think we should have options on the music..anyway stars by the dozen..
e.gif


virtuality2001@aol.com
 
Maybe not on bath&body... But could be interesting in another project. I think it would be easy! Just duplicating that music mc and with a conditional statement just cycle through a bunch of them... or even random. Of course that would add KBs to the file!

About to turn in... Tomorrow's the day!

;-)
 
enjoy..talk to ya later..
e.gif


virtuality2001@aol.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top