Imported Swf Files Have Lost Their Streaming Sound?

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


Similar Posts:


Imported PNG Transparency Lost?

Jul 17, 2009

I created an image in Photoshop that included a gradient layer fading from transparency to a foreground color (in this case, black). I saved this image as a PNG file and imported the file onto my Flash stage. The gradient appears on the image as expected when viewing the stage in the Flash editor, however, when I test the movie, the gradient no longer appears.

View 2 Replies

ActionScript 2.0 :: Multiple Streaming And Sound Files Manipulation

Sep 3, 2004

I have a site where as you click links, you move forwards through a city. I want to fade sound files in and out, overlapping, depending on where you are in the city. (The site is [URL]). As yet, I can't have two sounds playing at once. I have found a site with the effect I want, it's at [URL]. (Great site, by the way)

My code is as follows. I have two sound loops at the moment, one of cicadas, one of a city at night, both saved as separate .swf files, which I have loaded onto the main timeline on layers 14 and 15. The code for the two loops is:

cicadas.swf, FRAME 1
var volPercent = 20;
cicadas = new Sound(cicadas);
cicadas.setVolume(volPercent*2);
city.swf, FRAME 1
var volPercent = 20;
city = new Sound(cityMC);
city.setVolume(volPercent*2);

Once I load these two onto different levels, I get no sound. If I delete one, the other will play. I have tried loading the sound objects into empty movie clips, but then the entire file has to load before it will start playing. I need a way to stream multiple sound files, and have control over their volume.

View 4 Replies

Flash :: Streaming Large Files (streaming Media Server)

Jul 2, 2009

We are streaming a one hour F4V from streaming media server 3.5.2 and for some reason it is seeing our one hour video as being 10 hours long. We have tons of other videos and never ran into this problem in any of the other files. This is the only file that exceeds one hour. This occurs in the default player from the streaming server.

View 1 Replies

ActionScript 3.0 :: Animation Pausing When Lost Focus, But Sound Continues?

Jul 9, 2010

I have an issue with an animation/movie thingy i am making

When the user for example, Switches a tab in firefox or something. The sound on the video will continue to play, but the animation will pause. Leading the animation to become out of sync with the sound.

Is there a way to make the animation continue playing even if the tab has been changed??

View 8 Replies

Media Server :: Get Sound Level Of Each Clients Who Are Streaming Video And Sound?

Oct 20, 2011

I am using a flash app. I can send and receive streaming data to FMS by using this app, like the chart I attached. [URL] This app uses RTMP to access to FMS. I want to upgrade this app to display sound level of each client. Is it possible by using Actionscript and FMS? If so, which class should I use?

View 3 Replies

ActionScript 2.0 :: Streaming Sound Distorted - Sound Object?

Jun 14, 2004

I have a streaming sound that is loaded into my flash movie (will end up on CD) that is very distorted, it sounds like someone is slowing down the audio, the voice sounds deep and slow

View 1 Replies

Professional :: No Sound On Imported Flv Video

Mar 3, 2010

I imported to stage a .flv vidseo... and there is no sound playing when I play the video...

View 2 Replies

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

Professional :: One Or More Files Were Not Imported

Mar 16, 2011

I am using Flash CS4 and Flash CS5.I bought some music from Amazon MP3 that I want to use in my Flash animation and I keep getting this error upon import:one or more files were not imported because there were problems reading them.

View 2 Replies

Professional :: Can't View Jpg N Png Files Imported To Stage

Sep 21, 2010

Why can I see only the above images in the library after importing them to the stage?

View 15 Replies

ActionScript 3.0 :: Stop Looping Stream Sound Imported From Library?

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

FLASH CS3 - Moving Imported SWF Files To Library Folder

May 31, 2009

I am having problems with building my webpage with Flash. I have imported the the swf files I want in my library but when I try to put them into folders my computer seems to seize up and takes a few minutes to do the job and can be very slow and I am unable to anything on PC while it is doing this. I have not incounted this problem before on my PC but I have had it for over 5 years now and I am due to buy a new PC in spring next year when Windows 7 is released on all new PCs. I am using windows XP with all the updates available plus upgraded to 1GB memory last year. Is my PC to old to work with FLASH CS3 or is it another problem entirely?

View 3 Replies

Professional :: 2 Out Of 6 Imported Flv Files Pausing On Frame 1 When Published

Jul 19, 2011

I have six Scenes, each scene has an imported FLV file.I have a 6 button menu that works fine when clicking from one scene to the other.The problem is is that videos 1 to 4 play fine when I switch to the scene, but FLV files 5 and 6 just stay paused at frame 1.If I test the Scene using Ctrl+ALT+Enter, the Scenes work fine.But Only if I either hit Ctrl+Enter to render the whole project, or if I publish the file, do the FLV files pause on frame 1.All 6 videos are coded exactly the same way.

View 4 Replies

ActionScript 3.0 :: Published Swf Files Do Not Include Imported Libraries?

Nov 27, 2011

Am still learning AS3 and am using Flash Professional. I have a number classes that I use in my project:

import fl.controls.Button;
import fl.controls.TextInput;
import com.adobe.images.PNGEncoder;
import flash.media.Camera;
import flash.media.Video;

When I run the .fla file with Flash Professional, the file/movie executes beautifully. However, when I publish the file and run .swf in Flash Player rather than through Flash Professional, the file/movie loads but does not do anything once I click on the buttons. It appears as the imported classes as not being included in the published file. What am I missing here?

View 3 Replies

ActionScript 3 :: Imported Enabler Component In Both Parent / Child Asset Files

May 24, 2010

I've just started to work with DoubleClick Studio. I've successfully created a Flash expanding ad with CS4 that is mostly scripted and uses the Document class option. Now for some reason the back end of DoubleClick Studio thinks I've imported the Enabler component twice. I've checked my files numerous of times but can't find the root cause.

View 1 Replies

How To Loop Streaming Sound/mp3

Apr 30, 2009

I have CS4 but saving doc as CS3 so I hope I am in the right forum. I added a behavior as sound streaming mp3. I want to loop it.. Here is the action code that was generated. How would I change it to looping. I changed the true to false at the end of the code but that didn't work. here it is:

//Load Streaming mp3 behavior if(_global.Behaviors == null)_global.Behaviors = {}; if(_global.Behaviors.Sound == null)_global.Behaviors.Sound = {}; if(typeof this.createEmptyMovieClip == 'undefined'){ this._parent.createEmptyMovieClip('BS_figaro',new Date().getTime()-(Math.floor((new Date().getTime()) /10000)*10000) ); _global.Behaviors.Sound.figaro = new Sound(this._parent.BS_figaro);

[code]....

View 6 Replies

IDE :: How To Loop Streaming Sound/mp3

Apr 30, 2009

I added a behavior as sound streaming mp3. I want to loop it.. Here is the action code that was generated. How would I change it to looping. I changed the true to false at the end of the code but that didn't work.here it is:

//Load Streaming mp3 behavior
if(_global.Behaviors == null)_global.Behaviors = {};
if(_global.Behaviors.Sound == null)_global.Behaviors.Sound = {};

[code]......

View 3 Replies

Get Duration Of A Streaming Sound?

Feb 18, 2010

I am trying to write an mp3 player. I have tried everything and am suck getting the duration of an mp3.[code]...

View 1 Replies

Actionscript 3 :: Bitmapdata.hittest Collisions With Opaque/transparent Png Files Imported With Loaders

Aug 27, 2010

I have two png files. I import them using loaders. The images in the png files each have opaque (solid) and transparent parts. I want to use the bitmapdata.hittest method to detect when their opaque parts have collided.

[Code]...

I've been working on this for a couple of days now and nobody seems to know how to do this. Please don't post the examples on google, I've looked through at least the first five pages of results on google and haven't gotten any of them to work. The problem is that none of them provide an example of using this method with loaders, so I'm guessing the reason I can't get it to work is some gimmick associated with them.

View 1 Replies

Streaming SWF With Timeline Sound Not Working?

Jun 6, 2008

I'm streaming an external SWF into another movieclip, the external SWF has a timeline animation and sound (voice speech) as well on the timeline, it also has a preloader on it which it's set up that when 30% loaded is completed to start playing the animation.But when I run the main movieclip the streaming of the external SWF works fine for the animation but the sound does not play until the preloader is 100% completed.

View 1 Replies

ActionScript 2.0 :: Pause A Sound While It's Streaming?

Jun 3, 2010

So I've been "doing research" for a couple of days now, found nothing on this subject, and let me get this straight:

Is there no way to pause/resume a sound whilst it's being streamed?

Because loadSound() will start playing it immediately; attachSound() can't stream; and start() will simply not work till it's fully downloaded, or am I missing some essential brain cells here?[code]...

View 2 Replies

ActionScript 3.0 :: Set Streaming Sound To Off Forever?

Apr 18, 2011

I have few movieclip play one after another. For each movieclip, i put the streaming sound inside, and there is a button to turn off sound. I created this coding to turn off the streaming sound and it worked well.

SoundMixer.stopAll(); But, the problem is the new streaming sound will play again when it hit the frame that contain new streaming sound. How to overcome this problem? IS using EnterFrame event the only way to turn off the streaming sound forever??

View 3 Replies

Actionscript 3.0 :: Stop Sound From A Streaming FLV?

Jan 2, 2008

I am having trouble with sounds from a streaming flv continuing to play even after the playhead navigates to a different place in the timeline. I know from looking through forums and Adobe's livedocs that the answer lies with the SoundMixer class, but I just can't seem to get it to work. I am building a site that houses all of the videos for my company, so basically I want the sound from the flv to stop playing when the user navigates away from the frame that contains the flv.

Here is a sample of the particular code I am trying to use to do this:

Code: Select allimport flash.media.SoundMixer;
var sControl:SoundMixer = new SoundMixer();
msfNavHeader_btn.addEventListener(MouseEvent.CLICK, msfHome)

[Code]....

I don't know if there is a way to build a function that stops sounds globally or if I have to target each instance of an FLVPlayback Component.

View 5 Replies

ActionScript 2.0 :: Streaming Load Sound?

Oct 8, 2008

i have a little problem with a streaming load sound. this is the code:

[code]...

i don't understand because if i testing the swf i listen the sound super fastly and with IE6 too. FireFox and IE7 no. i have read that is the bitrate mp3 ... something like 128 kbs 44hz to run corectly but with i can't do the mp3 compression.

View 1 Replies

ActionScript 2.0 :: F5 Pause / Resume Sound While It's Streaming In AS2?

Jun 11, 2010

Is there a way to resume a streaming sound once it's been paused and whilst it's being preloaded in AS2?The issue being that start() won't work till the song is fully downloaded, loadSound() is only called initially and attachSound() can't stream.So first the sound is initiated with loadSound(), then I make it "pause" with stop() and what do I use for resuming? loadSound() with re-initiate it and start() won't work till the sound is fully preloaded, what the hell??Is there any other way of streaming external MP3s in AS2? Will simply switching to AS3 solve this?

View 1 Replies

ActionScript 2.0 :: Sound Object > To Play While Streaming?

Sep 30, 2010

I had a question. So now I am streaming an mo3 file using the sound object (loadSound function) ...So the mp3 is loading (and I have a progress bar showing the percentage loaded) and while it is loading it is being played. Now, when the playhead (the location being played) reaches the end of whatever has been download, it goes to the beginning (repeats). I am looking for a way to make the sound pause once it reaches the end, and then wait until a reasonable amount has been downlaoded, so that it may continue playing again. I hope I was clear.

View 5 Replies

Professional :: External Swf Streaming Mp3 Player No Sound?

May 3, 2011

I am pretty dense about flash, pretty new to the software so bare with me. So on the main .fla i have linked to a button to open the external swf mp3 player. That Mp3 player is streaming a song with the code var req:URLRequest = new URLRequest("mysong.mp3"); snd.load(req);  
 
the mp3 is in a folder which is located in the same place as both the .fla and .swf mp3 player. Streaming the mp3 works when testing the swf. but there is no sound when testing the linked swf mp3 player in the main .fla. It's like the file path messes up but i dont know how to go about fixing it?

View 7 Replies

Flash - Can't Get Second Sound To Load In Streaming .mp3 Player

Nov 14, 2010

I'm struggling with a flash file that I want to play two different sound files when the appropriate buttons are pressed.I've gotten it to the point where it will load without any errors popping up, but instead of playing the second sound when I press the button for that sound, it plays the first sound again. Here's the code:

var sc1:SoundChannel = new SoundChannel();
var s1:Sound = new Sound();
s1.load(new URLRequest("http://www.website.com/wells.mp3"));

[code]....

View 1 Replies

Android :: APK File - No Sound When Streaming Audio In AIR

Jan 28, 2012

I'm working on an app to stream audio from shoutcast. The streaming goes well on my computer and when debugging it with an Android-configuration. But when I deploy it to an APK-file and run it on a Samsung Galaxy S, the streaming doesn't work.

My code for streaming the audio:
var urlRequest:URLRequest = new URLRequest("http://.../;");
var soundContext:SoundLoaderContext = new SoundLoaderContext(2000, true);
soundChannel = new SoundChannel();
sound = new Sound(urlRequest, soundContext);
soundChannel = sound.play();

I've also tried an addEventListener(Event.COMPLETE), it seems my app doesn't get there when running on a Samsung Galaxy.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved