2 sounds in a flash movie
hello, i have 2 sounds in a flash movie, music and narration.
I have this script in frame 1 for narration sound:
_root.my_sound = new Sound();
_root.my_sound.attachSound("antedespacho");
_root.my_sound.start();
and i have a MC, in frame 1 of movie, and inside, in layer 1
this script for the music:
_root.fondo = new Sound();
_root.fondo.attachSound("musica");
_root.fondo.setVolume(0); -- every 5 frames i change the
volume for make fade in ;)
_root.fondo.start(0,99);
I have 2 buttons in main timeline for start/stop narration,
but when i stop the narration, the music stop. Where is the
problem??
This is the script of the button:
on (release) {
_root.donde = (_root.my_sound.position);
_root.my_sound.stop();
Thanks in advance.
Sonia
You must attach the sounds to separate movie clips. Then you
can control them separately:
this.createEmptyMovieClip("despacho_mc",
this.getNextHighestDepth());
my_sound = new Sound(despacho_mc);
my_sound.attachSound("antedespacho");
my_sound.start(0,1);
this.createEmptyMovieClip("musica_mc",
this.getNextHighestDepth());
fondo = new Sound(musica_mc);
fondo.attachSound("musica");
fondo.setVolume(0);
fondo.start(0,99);
and here's a handy script to automate your sound fade-in:
var tuneVol:Number = 0;
musica_mc.onEnterFrame = function() {
if (tuneVol>=100) {
tuneVol = 100;
delete this.onEnterFrame;
} else {
tuneVol += 10;
fondo.setVolume(tuneVol);
Similar Messages
-
No sound in Flash movies [SOLVED]
Hi there.
This is the souncard: http://alsa.opensrc.org/index.php/Terra … 1_USB_MK.2
I replaced my /etc/asound.conf with the one in this wiki (Surround 5.1) since the .asoundrc is deprecated.
Now, Flash movies in Firefox(Dailymotion, Youtube) don't play any sound... It seems I have to configure something in /etc/modprobe.conf, but I don't know what exactly.
This is aplay -l:
**** List of PLAYBACK Hardware Devices ****
card 0: Audio [USB Audio], device 0: USB Audio [USB Audio]
Subdevices: 0/1
Subdevice #0: subdevice #0
aplay -L:
front:CARD=Audio,DEV=0
USB Audio, USB Audio
Front speakers
surround40:CARD=Audio,DEV=0
USB Audio, USB Audio
4.0 Surround output to Front and Rear speakers
surround41:CARD=Audio,DEV=0
USB Audio, USB Audio
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Audio,DEV=0
USB Audio, USB Audio
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Audio,DEV=0
USB Audio, USB Audio
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Audio,DEV=0
USB Audio, USB Audio
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Audio,DEV=0
USB Audio, USB Audio
IEC958 (S/PDIF) Digital Audio Output
null
Discard all samples (playback) or generate zero samples (capture)
and lsmod | grep snd
snd_usb_audio 76128 2
snd_usb_lib 14976 1 snd_usb_audio
snd_rawmidi 19104 1 snd_usb_lib
snd_seq_device 6924 1 snd_rawmidi
snd_hwdep 7300 1 snd_usb_audio
snd_pcm_oss 37024 0
snd_pcm 68996 3 snd_usb_audio,snd_pcm_oss
snd_timer 19204 1 snd_pcm
snd_page_alloc 8072 1 snd_pcm
snd_mixer_oss 14464 1 snd_pcm_oss
snd 44772 11 snd_usb_audio,snd_rawmidi,snd_seq_device,snd_hwdep,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
soundcore 6368 1 snd
usbcore 125420 6 usbhid,snd_usb_audio,snd_usb_lib,ehci_hcd,uhci_hcd
Is this a /etc/modprobe.conf issue ? Thanks in advance
Last edited by master-inferno (2008-03-30 16:44:51)ALSA lib pcm_dmix.c:935:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
This is the error I obtain in console...
Can someone please help me ?
SOLVED !!!
I added
pcm.!default {
type plug
slave.pcm "asymed"
pcm.asymed {
type asym
playback.pcm "dmixer"
to /etc/asound.conf
Last edited by master-inferno (2008-03-30 16:44:33) -
About 2 weeks ago, I noticed that linked YouTube videos that
I had previously watched and listened to suddenly had no sound. A
little more investigation showed me that no flash videos had sound
any more. I've reinstalled several times, including both OS X
versions. I've used the uninstaller (which, by the way, does not
delete all of the Flash files in the Library folder). I've
reinstalled all of my browsers. No online Flash movie from any
source has sound on any browser.
Can anyone help?I just reinstalled my system with XP SP2 and found that sound
in Macromedia Flash player (version 9) wasn’t working. I
compared it to another machine and found out that - for some
obscure reason - the wavemapper mapping was missing.
I tried reinstalling other versions of the Flash player, but
to no success … So I added the mapping myself via the
registry.
Go to the following sweetspot in your registry:
My Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Drivers32
Create a new String value named “wavemapper“. As
value give it “msacm32.drv“.
And that’s it, no restart necessary, all your Flash
embedded videos will have sound again :) -
Flash movies makes horrible "flickering" sound with new graphic card!
I just bought a Gigabyte GeForce 460 GTX 1GB and now when I watch Flash movies
the movies makes a really bad "flick" flick" "flick" sound. If i scroll down and away from the actuall movie screen
the bad sound stops and the movie plays normally. But soon as I scroll up to the movie the sounds starts again.
Can't stand the bad sound quality anymore!
I tried latest Firefox & Internet Explorer.
I tried uninstall both flash and drivers then reinstall with the latest updates.
I tried searching the web for solutions.
My PC:
HP Pavilion
Intel Pentium 4 CPU 3.60GHz 360GHz
Memory: 3 GB
System type: 32 bit
Windows 7 Ultimate
My new Graphic card:
Link
Thanks for the help!Hi, We'll have to continue later. From Adobe:
Due to system maintenance with Adobe.com, the log-in and authentication for the Adobe Forums will be temporarily unavailable for approximately 3 hours on Saturday, Sept. 11, 2010.
Maintenance will begin at 7:00 pm PST and will be complete by 10:00 pm PST. During this time, the Forums will be in Read-only mode.
We apologize for any inconvenience. Thank you.
by Mark Nichoson at Sep 7, 2010 10:02 AM
Expiring the announcement will not delete it but will remove it from the public announcement list. Are you sure you want to expire this announcement?
Are you sure you want to delete this announcement?
For my Time Zone, that is in about 10 minutes. EDT for me. 10PM PST
eidnolb -
hi, i'm using win7 x64 and IE 10. Flash Videos on www.bluewin.ch (for example) won't work. there is only sound. in a different browser it works very well (Chrome). I tried out a lot of things to resolve this Problem: uninstall Flash -> install the newest Version / uninstall IE -> install the newest Version / disable Hardware acceleration / clean the registry manually from Flash Player reg_keys etc. / tried in an older IE Version (9.0.4) / uninstall the Flash Player with the uninstall tool... everything i tried ended with the same result -> still can't watch the Flash movies.... any other ideas to resolve this Problem? thanks!
Could you check to see if you have the following Windows update installed?
KB2670838 – Platform Update for Windows 7 x64
If so, please try updating your video drivers. If you continue to run into problems try uninstalling that KB and try again. For what it's worth, I was able to view videos on this page with IE9 and Win 7 x64. -
Load flash movie which with sound problem
Hi, all,
I am doing a flash which with audio, the audio about 3-4 mins. But when i use another flash movie to load that flash mov with sound (using load movie function), cannot hear any voice. Why is it?
The flash movie with sound is use actionscript to attach the sound, when i test the movie, it is work. When it comes to load from another movie, it doesn't work. Anyone can help me to solve it?
Thanks.What version of Actionscript are you using?
-
Playback of sounds from flash movie files in authorware
Ive imported a flash movie file into authorware but the sound
is not playing back. In flash, I created a movie that includes
graphics and sounds. The movie plays perfectly when I open the
flash player but it doesnt play when imported into Authorware. Ive
tried publishing the flash file as quicktime but had a problem with
the handler on my computer. Does anyone have any
suggestions?If you click the 'Options' button on the Property panel for
the Flash
movie, is the 'Playback > Sound' checkbox actually checked
in the
resulting dialog box?
When published as QT, what does 'had a problem with the
handler on my
computer' mean? Do you have QT installed on the playback
machine? Are
you using Insert > Media > Quicktime?
Erik
dcastil4 wrote:
> Ive imported a flash movie file into authorware but the
sound is not playing
> back. In flash, I created a movie that includes graphics
and sounds. The movie
> plays perfectly when I open the flash player but it
doesnt play when imported
> into Authorware. Ive tried publishing the flash file as
quicktime but had a
> problem with the handler on my computer. Does anyone
have any suggestions?
>
Erik Lord
http://www.capemedia.net
Adobe Community Expert - Authorware
http://www.macromedia.com/support/forums/team_macromedia/
http://www.awaretips.net -
samples, tips, products, faqs, and links!
*Search the A'ware newsgroup archives*
http://groups.google.com/groups?q=macromedia.authorware -
Flash movies stop after a random amount of time,
The problem that I am having is that flash movie files (Every website) play for a moment or two and then stop with the little “loading” symbol turning endlessly in the center of the screen. Flash movies used to work with no problem but over the span of the last few months it went from not working well to not working at all. In a perhaps related problem sometimes downloads will stop after a certain length of time and also seem to “hang” at a random spot. If I pause the reload and then restart it the program or whatever will usually finish downloading. This doesn’t happen often but does happen. The flash movie thing, though, happens every time – no matter what browser I have tried. (Firefox, IE, IE with no add-ons, and Chrome anyway.)
I have tried solutions that I have found all across the internet, including the Adobe and Microsoft forums, to no avail. I have unloaded flash with the Adobe uninstaller and reloaded flash. I have tried various flash releases – with and without a firewall on. I have made sure that I am using the 32 bit version of IE and even tried running everything in “administrator mode.” I’ve upgraded every driver that I can upgrade. I’ve used a registry checker as a last resort. I even used the Dell partition to return my computer back to the condition that it was in when I bought it and that didn’t change anything either.
Everything I have tried has made zero difference. In the hopes that someone will have another idea for me to try I am putting all the stats for my computer that I can think of below.
Qwest internet running at 20mbps
Flash 10.1.102.64
Shockwave 11.5.9.615
Microsoft Security Essentials
Tried both IE 9, IE with no add-ons, and now have IE 8 from when I restored from the partition image
OS Name Microsoft Windows 7 Home Premium
Version 6.1.7600 Build 7600
System Manufacturer Dell Inc.
System Model Inspiron 560
System Type x64-based PC
Processor Intel(R) Core(TM)2 Duo CPU E7500 @ 2.93GHz, 2936 Mhz, 2 Core(s), 2 Logical Processor(s)
Graphics - Intel(R) G45/G43 Express Chipset
Sound - Realtek High Definition Audio
BIOS Version/Date Dell Inc. A00, 10/6/2009
SMBIOS Version 2.6
Hardware Abstraction Layer Version = "6.1.7600.16385"
Installed Physical Memory (RAM) 8.00 GB
Total Physical Memory 7.96 GB
Available Physical Memory 6.94 GB
Total Virtual Memory 15.9 GB
Available Virtual Memory 14.4 GB
Page File Space 7.96 GBThank you for answering eidnolb -
Answering your questions...
Have you had a Virus and if so what Anti-Virus program removed it?
No virus that I am aware of
Since you have a Dell, McAfee came pre-installed? Did you remove it prior to Installing MSE? If so, did you use the McAfee Removal Tool or just remove it from Control Panel/Programs & Features?
My computer did come with McAfee which isn't on my computer now. I used a program called "Decrapifier" that removes unwanted preloaded software that comes with PCs.
Is McAfee still Installed?
No
Do you have any Anti-Virus/Spyware programs other than MSE?
No - I have just used MSE until now. I thought about using AVAST but was't sure what running 2 virus/spyware programs would be like.
Since MSE doesn't have a Firewall, do you use any Firewall other than Windows? If so, which?
I use Windows Firewall. I have tried both adding Youtube as an allowed program and switching the firewall off enirely with no luck.
Do you use a Router? Is it Wireless?
I do have a Lynksys router that is a little older but I've also tried hooking the modem directly to the computer.
Is Qwest wireless?
I use the wired ports and not the wireless for my connection.
Other than IE8, what browsers and versions are Installed now?
I only have IE8 now. I never reinstalled the other browsers after using the Dell partition. I prefer Firefox so having to use IE is frustrating.
I've also used "RegestryBooster" to make sure that my regestry looked okay.
Thanks again for taking the time to answer. I think you are right about me doing too much - LOL -
Unloading a flash movie using Safari browser
I have MAC 10.4 and safari 2.0 browser.I run a flash movie(Instruction.swf) and after that the actual test for the student run.So while running The first movie i.e Instruction.swf I am not able to unload that movie using javascript in Safari 2.0 browser so that the actual test can run.It just hang up after finishing the movie.While in the other Mac and windows it is working fine.
Please Help me.
Thanks In Advance.Welcome to Apple Discussions!
Do you mean to say, in other Mac and Windows web browsers it is working fine? If that's the case, it sounds like the version of Flash plugin used by the Safari plugin is probably older than the one used by the other web browsers.
With Safari Enhancer's enabling of the Debug menu you can force certain webpages to open in other web browsers. That would help streamline your viewing of those pages.
http://www.lordofthecows.com/safari_enhancer.php
You can also enable the Debug menu with:
defaults write com.apple.Safari IncludeDebugMenu 1
from the Terminal. -
HELP!! White frame where Flash movies should be!!!
Can't figure a single reason why this is doing what it's
doing. Everything works fine before I create the projector.....but
once I launch it and test, all my Flash movies are just white
frames of the same size as the movies are supposed to be. No sound
or anything. Does the same thing on the Mac or PC side. I've tried
checking and unchecking DTS, etc. but I can't figure this one out.
My project is due TODAY....first time I've had this problem
before, ever.....HELP!!!I thought about that (actually made that mistake with the
Buddy API Xtra), but I just now got it to work....seems as though
it doesn't like talking to a shared drive space between my Windows
and Mac partitions, even though it'll play just fine within
Director while I'm working on the project. I copied everything
over, all the directories, etc. to my Windows side, created a test
projector from there, and voila!
Thanks for the suggestion; I used to make that Xtra mistake a
LOT.
p. -
When i play a Flash-Movie in QT 7.5 there is no sound! Why?
Adobe FlashPlayer should first be uninstalled using the appropriate uninstaller available here:
http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_14157&sliceId=2
and then the latest version obtained from here:
http://www.adobe.com/shockwave/download/download.cgi?P1ProdVersion=ShockwaveFlash
and installed.
If you are running Leopard:
Some users have mentioned that the latest Flash Player (v.9.0.115.0) conflicts with Leopard, and that they have needed to revert to v. 9.0.47. This can be downloaded from here:
http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_14266&sliceId=1
(You can check here: http://www.adobe.com/products/flash/about/ to see which version you should install for your Mac and OS.
There is an additional 'fix' you could try if you are having problems with Flash and Quicktime, depending on which type of Mac you have:
On Intel Macs, make sure that you are not running Safari in Rosetta. You can check this, and change it, in the Get Info window.
On PPC Macs, go to the Hard Disk/Library/Internet Plug-Ins folder, and drag the file 'QuickTime Plugin.webplugin' to the desktop. Quit and restart Safari. If things have improved you can trash that file. If they haven't put it back, as the lack of this plug-in can cause QT content in some widgets to cease functioning. -
Right click on flash movie / SWF file
Why we get flash default menu when i right click on a flash
movie?.
When i enable video bookmark (videomark). user is suppose to
right click on flash movie and select videomark.
is the flash default menu is customizable?. Please let me
know.Here is a sample script to customize the right-click menu.
Put it in frame 1 of your movie.
var myContextMenu = new ContextMenu();
myContextMenu.hideBuiltInItems();
var thisTitle:ContextMenuItem = new ContextMenuItem("My
prison movie", bla);
var thisCredit:ContextMenuItem = new ContextMenuItem("created
by Paris Hilton", bla, separatorBefore=true);
var thisCopyright:ContextMenuItem = new
ContextMenuItem("© My Intelligence Is Ltd.", bla);
myContextMenu.customItems.push(thisTitle);
myContextMenu.customItems.push(thisCredit);
myContextMenu.customItems.push(thisCopyright);
function bla() {
//insert your function here
this.menu = myContextMenu;
The function can be anything: getURL, load a movie clip, turn
sound on/off, etc. You can add as many ContextMenuItems as you
want. Each one can have a separate function assigned. It seems that
some sort of function is required by the class, so I use an empty
function like in this example if I want nothing to happen when the
user clicks the menu item. -
Flash Movie - Controlling the Movie
I'm currently working with a flash file that has 24,000
frames. I have been able to successfully use the Call Sprite
commands to start and play the movie and stop the movie, but only
from frames 1-16,000. But for some reason the movie will not play
beyond frame 16,001. It will go to any frame using the Call Sprite
commands after 16,000 and display that frame but the movie will not
play. The movie is a flash 6 swf. published from Flash 8
professional. It was originally a video converted to flash format.
This works or any frame number between 1 and 16,000:
CallSprite(@"chair",#gotoframe,9325)
CallSprite(@"chair", #play)
But the movie image stops at frame 16,001 and the sound
continues. If I tell it to go to frame 16,100 (or any frame higher)
It will go to that frame, display that frame (image) but will not
play the movie/sound.
The flash assest properties are set as Linked,preload, image,
sound, and I've tryed every possible option.I would not be surprised if this was a limitation of the
Flash sprite,
since it only officially supports Flash 6 or earlier. I
recall some sort
of frame limit in older versions of Flash.
Did you try 'not linked', so it's actually imported? Not that
that would
help necessarily, but maybe.
Also maybe try the Flash ActiveX control and see if that
works better
for you? Though it has it's own issues and requires different
scripting...
Erik
la4chuck wrote:
> Apparently, what ever codec was used when the video was
converted will not
> allow me to break up the flash movie into segments in
Flash professional.
>
> Is there some limit to how many frames wil play in
authorware?
>
Erik Lord
http://www.capemedia.net
Adobe Community Expert - Authorware
http://www.adobe.com/communities/experts/
http://www.awaretips.net -
samples, tips, products, faqs, and links!
*Search the A'ware newsgroup archives*
http://groups.google.com/group/macromedia.authorware
*The Blankenship Caveat: Note that direct linking to http
content
through any Authorware icon will likely fail if a proxy
server is present!* -
Hi, I'm new here and new to flash. Anyway, here's my problem:
For some reason the flash movies I make only show up on our ftp (ex ftp.myname.com/flash.swf) and not on the http url. I spoke with our web hosting company and the customer service rep said what I was experiencing was 'due to the coding on the index page of your web site.' First off, I have no idea what that means and how that would possibly affect a separate page. If he is right then I have no idea how to fix it.
Can someone help me out?That sounds like a BS answer that your webhost customer service guy gave you.
There should be nothing that you can do, as a customer, to affect the server in such a way as to have the effect you are experiencing. And, if possible, you would not have been able to do it without knowing.
It sounds like there is a setting set up incorrectly on the server (in IIS, or the parameters of the server type if it is a linux box). They should have it set up so that the FTP site displays the same thing that is on the HTTP site.
Call them back and raise a stink. Ask for clarification when they give you solutions that you don't understand, and ask them to escalate it if they can't give you more clarification. (ask to talk to their manager, and so on and so forth) -
Flash movies too fast with flash 10?
I have a website with some flash movies. they run at 30 FPS.
i recently installed a new version of flash and now my movies run
too fast. not too much fatser but enough to make a difference to my
audience. is this a feature of flash 10? what can i do to make sure
my viewers dont also have this problem??Do you hear anything? Check your audio output. If it is set to hdmi, there's nothing to slow down the video and it plays too fast. Set the audio output to speakers and...voila!
This happened to me today. I had plugged in an external mic that used an A/D dongle (usb output) and it switched my audio output from speakers to hdmi somehow. I could download flash movies as .webv and play them at regular speed with VLC, with no sound. I use Linux Mint 17, but I saw other forum posts where this happened on Windows and Ubuntu.
Maybe you are looking for
-
How can I Create with photo?
When I sign in, using the Adobe ID with an @ sign, or if I don't sign in, and I select Create>Photo, I only get the "Aw Snap" page. Please teach me what I am doing wrong. Thanks k
-
Is there any way to block USB ports through SCCM console
How to Block the client machine USB ports using SCCM 2012 R2 console we know that so many 3rd party tools are able to block the USB ports for client machines, how cant we add an additional option for SCCM 2012 for Block USB ports for client PC's, to
-
Oracle database 8.1.7.4
hi friend, can any one give me link of oracle 8.1.7.4 database setup. so i can download it. thanks in advance
-
Copying music from Touch to PC
My old PC died so I have bought a new one. Two problems: 1. This is the fifth and final pairing for my Touch. Can I get any more 'credit' pairings? 2. More important, how do i transfer tracks from the Touch to the PC. I have copied across tracks
-
How to investigate high io in a RAC with multiple databases?
how to investigate high io in a RAC with multiple databases?