Forum Moderators: open

Message Too Old, No Replies

Video sound on and off?

How do I start a video with no sound on?

         

Terrym

1:02 am on Aug 19, 2005 (gmt 0)

10+ Year Member



Ok I'm almost completely new to Flash and I'm trying to get some video to be embeded on an html page. The video needs to NOT play when the page loads. I need it to play when the user selects play. The sound should be OFF when play is selected, then the sound needs to turn back off if the user so chooses.

I have it all working but the sound issue. I can get the sound icon to change from the on icon to the off icon, but I can't get the icon to change back.

I also cannot get the sound to turn off. I'm using an .avi file for the audio and video both.

How can I get the sound to turn back on again after it turns off, then how do I change icon back after it's turned on/off?

Thanks in advance. I'm using Flash MX Pro 04.

-Terry

Richard_N

7:20 am on Aug 19, 2005 (gmt 0)



Firstly the file would better converted to MP3 for the sound and .mov for the video. You then need to create a sound component and a media component on the stage, they come included with MX Pro. These can then be controlled through actionscript.

Try reading the flash help files, its all explained there.

As an aside I always wonder with these questions if someone knows so little about a programme how come they paid out a few hundred pounds to buy it, its hardly a trivial purchase...

I can probably guess the answer though.

twist

7:33 am on Aug 19, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Well, i'll have to agree with you about how this program is usually aquired, but I like to give people the benefit of the doubt. For example, in college I took an independant study class on Flash 5 and my teacher gave me a box version of the software to use at home. Their are also trial versions available.

as for video, VirtualDub is usefull for editing and splitting audio/video.

Another option,

Once I had a 7 minute video that had a lot of semi-still scenes. I split the audio/video and then turned the video into individual images ~30,000. I then put the images into a flash timeline and went through and removed frames that wouldn't be missed and used more compression on quick action sequences and less compression on longer still images. I then added the audio into the timeline. Anyway, I took a 73MB video and turned it into 3MB. It also allowed me to control it through the timeline. It took a few days but it sure saves a lot of bandwidth.

[edited by: twist at 7:43 am (utc) on Aug. 19, 2005]

Terrym

7:38 am on Aug 19, 2005 (gmt 0)

10+ Year Member



I've been reading up on it, but really I'm not good with books. Forums or trial and error give me the best results. :)

I noticed on some website how-to's they refer to using seperate sound files but I didn't know if there was a way to use a single file to accomplish what I'm out to do, since I wanted the audio to come in and out in sync with the video as opposed to playing like for instance, a background song.

I am really new to flash in general I've had it for a while and planned on using it a while back for some other stuff but didn't have a real need for it until recently.

Thanks again for the help.