ActionScript 3.0 :: No Sound In The Movie Imported?
Feb 20, 2011
I have created a new Actionscript 3 file, imported a video and have used the skin MinimaFlatCustom with volume seekbar. When I preivew (ctrl+enter) the file, it works fine. But when I publish the file and open the HTML document, the movies jumps 2 seconds ahead due to which THE VOLUME doesn't work, THERE IS NO SOUND IN THE MOVIE.
If I hit the playback button, the movie starts from zero seconds and volume works fine. Basically when I load the HTML window or refresh the HTML window, movie jumps to 2 seconds AND THERE IS NO SOUND.
View 5 Replies
Similar Posts:
Mar 3, 2010
I imported to stage a .flv vidseo... and there is no sound playing when I play the video...
View 2 Replies
Jun 14, 2009
I am trying to import a swf I made that contains streaming sound. When I place it on the time line and press cntr enter my animation plays but with no audio. I see the symbols from the swf and the swf inside my library. When I open the swf file inside my project it is broken down frame by frame with no audio. I can add audio back into my movie clip so I know that movie clips can support streaming audio. But I would rather not have to do this.
I'm very new to flash so I am hoping there is something big that I am missing.In addition to my previous question: I need to embed a lot of objects over and over in this project I am working on. Each object will have controls for play back of itself. Is there some reason I cannot do this?
View 6 Replies
Mar 9, 2011
How do you tell flash to stop Looping a stream sound that is imported from the library via Linkage method into AS3? I understand the idea of soundChannel that control the sound.
PHP Code:
block_mc.addEventListener(Event.ENTER_FRAME, enterframe);
function enterframe(event:Event):void{
if(block_mc.hitTestObject(circle_mc)){
myChannel= mySound.play();
}else{
myChannel.stop();
The above is a drag and drop situation, so when the block_mc is no longer hitting the circle_mc, the sound echoes or loops multiple times before coming to a stop. Any clue how to rectify this. How do you use onSoundComplete in AS3.
View 4 Replies
Oct 23, 2011
Imported .mov in movie clip does not autoloop. whhy?
View 1 Replies
May 18, 2007
I use Flash MX 6.0
1) I have a button and when I put cursor over it, it must start looping a sound. When I drag away, the sound must stop. I would be even cooler if it was possible to make the sound fade away when the mouse is rolled away. I have no problem creating another sound file that fades my current sound away.
2) I have a button which represents a knife, that should stab something (a panel) once pressed. So fist the knife must be clean. but after one or more presses, the blood should remain as a movie clip (as I want to animate the dripping blood)
3) once rolled over a button, the sound must start looping (as I wrote in 1.) AND the knife should slowly go backwards (MC). BUT when I roll mouse away, the sound fades away (as in 1. again) PLUS the knife should slowly move back to its place in stead of just jump from one place to another.
View 1 Replies
Jun 14, 2011
I import Jpeg or any other images into flash , and I can click on it in the library and see the image, but when I bring it onto the movie scene, I just see the squares and the image is faded, it seems like it has brought the opacity of the image all the way down to zero , no matter what image type I save I get the same result, PNG, BitMap, GIF , is there anything I gotta do in preferences ?
View 1 Replies
Apr 5, 2011
I have 4 swfs that I have exported from flash, all containing clickable links. By themselves, the links work just fine. However, I have a "Main" movie that I am trying to import the 4 swf files into. They import fine and I have no problems except that when I test/export the movie the links in the original swf files no longer work.
View 2 Replies
Jul 10, 2009
I imported a video (mp4,avi, quicktime - just experimenting with video quality and size) using "Import video..." Everything looks fine after I publish it as a swf. However, I notice that there is a delay when viewing the swf, and not online, just locally. I'm seeing the stage for at least 1 second before it plays the movie. There is no delay in the movie before being imported to Flash.
Any idea why that is? Is there a solution to get rid of the delay?
View 3 Replies
Apr 23, 2009
whenever I try to test my flash movie my imported graphics appear as pure red... I've tried using a jpg,png,bmp, and even just importing the photoshop document...why won't it work?
View 1 Replies
Jan 10, 2010
Basically I need to pause a Captivate movie (CP3) that is playing within a flash movie (CS4, AS3).
I have made a full motion recording with Captivate which I have imported into a flash movie. The flash movie is organised as a series of movieclips that play from the main timeline. My CP demo forms part of one of these movieclips (there are flash objects playing "on top" of it in different layers). I have a play/pause button on the main timeline that works to pause all of my movieclips EXCEPT for my captivate demo. This continues playing, while the movie clip is forms part of pauses, throwing everything out of sync.
how I can pause CP portion? My actionscript skills are minimal and I'm not even sure what object(s) to target.
View 2 Replies
Aug 27, 2010
Successfully imported target swf and put into stage, when I publish this I see target swf is playing.
import flash.display.MovieClip;
var BGLoader:Loader = new Loader();
var BGurl:URLRequest = new URLRequest("HomeBG.swf");
[Code].....
View 2 Replies
Apr 8, 2003
How to adjust the frame rate of an imported movie so that it would run in its intended fps rate, and not at the same rate as the presentation in which is importing it. (To be more specific, my main presentation runs at 1 fps, but the intro movie I want to add runs at 20 fps). Anyway, along my travels, someone pointed me towards the code at [URL]. I have since downloaded it and tried to get it to work. As it turns out, I know so little about flash and actionscript programming that I am unable to get it to work properly!
According to the comments in the code, it is executed by calling the fPlayControl() function, which has the following syntax:
_levelN.fPlayControl(_root.mcMovie,nFPS)
where (quoting now)
"'N' is the level number of where this swf is loaded and 'mcMovie' is a movie clip on the _root timeline of the movie that is calling this function and 'nFPS' is a number between 1 and 120."
I don't even know what levels are! Are they layers? Thus, the first layer is level 0? Then the next layer is level 1? Next, how do I give an imported movie a name so that I can call this function with the movie's name as parameter? I tried importing a movie into the library, and then giving it a name, but I still couldn't get the bloody thing to work.
My steps to attempt to get this to work: I opened the play_control.fla file, and chose "Import to library..." I then selected my little intro movie, and then I brought up the library, and renamed it. I also choose the "Export for ActionScript" option, which automatically highlighted one or two other options. Then I added this one line after all the other ActionScript code:
_level0.fPlayControl(_root.myintro,1);
Anyway, after doing that, nothing came up. Then I added another layer and inserted the intro movie from the library into it and played the movie again. This time the intro played, but it zoomed along (at I'm assuming 120 fps, which is what the speed is set to in the demonstration file I downloaded). Thus, it still wasn't working.
View 4 Replies
Jun 30, 2010
I have loaded an external swf in my main movie, the swf is a picture gallery which loads images from an XML file. The directory structure is as below[code]...
When i run the main movie, it is looking for the Thumbs folder in the root folder. How can i make the images load from the subfolder?
Do i need to change the relative path in the XML?
View 3 Replies
Jul 14, 2007
I am having an issue getting my custom made classes imported to the flash movie. It seems to ave a problem importing (or using) the class. Here is the as code I am attempting to use to import and call to a function inside of a class:[code]
View 1 Replies
Jan 6, 2010
I am importing a youtube video to a new movie clip using this script:
Code:
function containYoutube(youtubevar, depthLevel) {
this.createEmptyMovieClip("youtubecontainer",depthLevel);
this.youtubecontainer.loadMovie("http://www.youtube.com/v/"+youtubevar);
[Code].....
I need to be able to unload it if the user jumps to another part of the timeline. I have tried to just unload the movieclip, but it still seems that youtube is streaming data to the swf. If I do it locally, it crashes the application. If I put it on the server, it makes it clear that youtube is still loading even though the movie clip has been unloaded.
View 5 Replies
Jul 21, 2004
I am trying to import a jpeg image into an empty movie clip and then resize the image.I can scale it, and position it but I can't resize it. Somebody suggested creating a movieclip in Flash first and giving it an instance name. Then use loadMovie to place the jpeg into that movieclip. This did work and allowed me to resize it but only the movieclip would be resized which in turn resized the image proportionally.I still couldn't specify exact dimensions of the image - only the movieclip.
View 14 Replies
Dec 16, 2010
I have an Movie Clip in Flash that have subobject of button type which has subobject of input text and movie clips. Right after creation core Moveclip all subobject are set to null, when I expect them to be valid objects.
[Code]...
MC_Core_design was created in Flash and exported to Actionscript. I've done this for button_1 class aswell. The code was written using Flex. When I comment out both lines that result in error I get correct view of the core Movie clip with all subobject. How can I set subobject properties right after object creation?
View 2 Replies
Apr 16, 2011
I am triggering short sounds dynamically from the library for a game (Specifically Air for Android). When the user clicks a button the sound can take up to 600ms to actually play. I have set it for any silence before the actual sound by calling the sound like so:
[Code]...
All return the same results. I know there are threads here that talk about this but none have offered a real solution that I can find. Is there no way to cache the sound or store it in a buffer?
View 1 Replies
Oct 20, 2011
I am inporting a .mov file into flash, adding graphics then exporting it as a .swf.
the video looks great when I play it back but there is no sound from the original .mov
how do I get the sound to work
View 1 Replies
Jan 29, 2010
I have a sound in my flash movie and I'm trying to lip sync to it but for some reason when I try to move that red thing across the frames to play the sound across it so I can go to each syllable so I can work the lips to it. But when I run the red thing across the frames there is no sound going through the speakers. When I ctrl-enter and play the swf I hear the sound what should I do?
View 2 Replies
Jun 9, 2009
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.
View 2 Replies
Jan 6, 2010
I have set up a movie in which i have imported the music. the movie is about 1 min long and music about 3 min. I have imported the music--works great I have set up a mute/unmute button--works great But I want the movie to loop, but not the music. The movie loops naturally at frame 1, but the music starts again while playing the the music from the first loop.
[Code]....
View 2 Replies
Sep 14, 2010
adding a simple sound to a movie with AS? I'd prefer this, since I already have simple "Roll On", and "Roll Out" script in place.
I have imported the sound file. In Properties, under Label, I have named it "tire_squeal". (Also, created a layer within the movie, and dragged the file onto the stage - all done.) Is this necessary when using Actionscript, or not?
The sound file loaded into my Library is named, "tire_screech.wav"
I want the sound to load "stopped", then play OnRollOver, and quit OnRollOut. (See previous AS code in string.)
View 7 Replies
Sep 18, 2011
I have a movie clip that contains sound (I tried sound by code and sound in the time line) and when I go to next frame and back to it the sound plays without the movie content, and notice that I put stop action in the firest frame and the sound is not event type it is stream typeto stop the sound from playing, I do not wnat it to play unless I played the movie clip it contains.
View 1 Replies
Feb 21, 2012
anyone got an idea of how I can create sound or voice activated animations? What I want to do is set up a microphone so when a viewer speaks, a movie will either activate a sound clip or an animation?
View 3 Replies
Oct 8, 2004
What is the best way to attached sound to my movie. I used to used the sound obejct as such:
my_Sound_sound = new Sound();
mySound_sound.attachSound("soundID");
But by under the linkage menu I am only able to select export in the first frame. Which makes my first frame super huge. Than my preloader will not load until the sound, so it is no good.
View 4 Replies
Oct 27, 2006
I am having a problem with playing sound in flash, actually I have a main file say (a.swf) and in it a sound is playing, then when another movie is loaded by LoadMovie say b.swf (which also has its own sound) both the sounds play. And when I stop the sound in the main file and load the movie again the sound does not play. I want the main movie to play its own sound and when I load another movie inside the main movie then I want to play the loaded movie's sound and when I close the loaded movie then the sound of the main file to be played. My Logic : Will onClipevent (load) { } and onClipEvent (unload) { } work on this ???? when I load another movie on empty movie clip ..
View 1 Replies
Jun 14, 2003
I'm totally stuck on getting a sound to work in my movie. Here's my code:
s = new Sound();
s.attachSound("hibee");
_root.menu_flyin.admin_mc.onRollOver = function(){
s.start();
}
I created a test movie to see if there is someting wrong with the way I am scripting. But the test worked and my real movie doesn't! The sound is being targetted to a movie clip within a movie clip (_root.menu_flyin.admin_mc) and all instances are there on the stage. I linked the "hibee" sound file to export to 1st frame for Actionscripting and all.
View 6 Replies
Oct 8, 2004
What is the best way to attached sound to my movie. I used to used the sound obejct as such:
my_Sound_sound = new Sound();
mySound_sound.attachSound("soundID");
etc etc.
But by under the linkage menu I am only able to select export in the first frame. Which makes my first frame super huge. Than my preloader will not load until the sound, so it is no good. What shall I do?
View 4 Replies