Actionscript 3 :: Play A 10khz Wav File In Flex?

Jan 31, 2011

i want to play a wav file in Flex. The sound has a sample rate of 10khz. can we play that file?

View 1 Replies


Similar Posts:


Flex - Play Flv File On FMS?

Nov 23, 2011

I have per-recorded .flv file, Now I want to play this video on Flash Media Server.I created a folder name "sampleApplication" in my directory C:Program FilesAdobeFlash Media Server 3applications directory. Now I write code to make connection

[Code]...

View 1 Replies

Flex :: Play Local Mp3 File?

Feb 23, 2010

I'm testing Adobe AIR with flex, and I wanted to play a mp3 via an open file dialog, I did that [code]...

I can't find anything related to that on Google or another documentation, all the docs I find is related to play a sound using URL and not Local files

View 1 Replies

Actionscript 3 :: Play A Speex File In Flex?

Jan 5, 2011

When i am pointing to an FlV it's playing successfully. But when it comes to a speex file. I am getting an error StreamnotFound. How to resolve this issue?

View 2 Replies

Actionscript 3 :: Flex AIR Play AAC Audio File From Local Disk

Apr 8, 2010

I would like to play AAC audio format file from local disk. I got example to play through netstreaming but I need to play it from local disk. I got an example to play mp3 file from local disk using Sound class.URL...

View 1 Replies

Actionscript 3 :: Play MP3 With No File Extension In Flex 4 Spark Video Player

Sep 30, 2010

I have a mp3 that is retrieved from the server via "somepage.php?id=100". When I load this into spark VideoPlayer it doesn't work. But when I copy that URL and put it into the browser URL I get a dialog that asks if I want to download "sound.mp3".

UPDATE!!!
// in the creation complete handler
var audioElement:AudioElement = new AudioElement();
audioElement.resource = new URLResource(path);

[Code]....

It seems the audio is cued up in order when added to the creation complete meaning that if one audio file is loading another will not start until after the first has completed.

View 1 Replies

Actionscript 3 :: Play A Local Flv Video File In Flex Mobile Project?

Jan 19, 2012

I trying to play a flv file in a flex mobile (flex 4.6) The files will all be locally stored and on the device. Would it be better to use the video even if it is not supported or can i use a movieClip? I am going to try and fade out a picture and then play the video with out any user controls and then fade back to the picture. The this will all be on a tablet. I am using Flash Builder 4.6.

View 1 Replies

ActionScript 3.0 :: Play Multiple Videos (all On Xml File) To Play On Button Action?

Jul 14, 2011

I am trying to make a swf with one FLV playback player and 6 buttons. I've got 6 different videofiles that I want to have linked to this swf. Some of the videos are quit large.When starting the Swf, the first video has to start, after playing it, it has to stop. Then you must be able to choose which video to play by clicking one of the buttons. I don't want to have small thumbnails of the video, just plain and simple buttons.I have to have all my files, both fla, swf and xml files in the same directory (I cannot have them stored in different folders, since I have to upload this to a cms system which has limited upload properties).
 
I've tried to find the right script on the internet, I'm not very good at scripting myselve, actually rather poor educated there.It seems to me that I have to make an xml file with a list of all my videos, I have my default swf ready, with a FLVplayback and buttons.Now there's just the coding part....

View 1 Replies

ActionScript 3.0 :: Play / Stop Button - Current Audio File To Play The Next One

Feb 27, 2012

I have created two buttons for separate audio files. Essentially if you click on the button it will play and stop. This works great! I have also injected a SoundMixer.stopAll(); to ensure if you click between both buttons that it will stop the current audio file to play the next one. My problem is when I select the 2nd button for the first time everything seems to be working...it's when I attempt to click on the first button again, that it will require 2 clicks and then it stops and plays accordingly...anyone know how I could eliminate this annoying two click process?

[Code]...

View 1 Replies

Actionscript 3 :: Flash/Flex Speex Audio Decode, To Play A Speex File?

Dec 7, 2011

I want to play *.spx files which encoded by Speex on the Web.But I have no knowledge of Flash/Flex or any Flash Audio codec. After Google search for a whole day, I got some solutions, that is:

Do something wrapping Speex files with a FLV container because that the Speex is only playable as the audio codec in a FLV container.Now I can play a SPX-Audio-Only FLV file in Flex, I use netStream.play("audio-only-speex.flv"), But I donot know how to wrap a Spx file with FLV container using ActionScript.I have never heard FMS stuffs before, as well as I'm not sure whether my virtual host can support or not...Convert every Spx files to MP3.

I think the best solution is decoding Spx in AS3, Yes, I'd like to make a Spx Flash Player.So, I downloaded Speex Library from speex.org, installed Adobe Alchemy. After ./configure;make the libspeex, build libspeex/speex.c out a libspeex.swc via Alchemy. then, I donot know how to do next. How can I decode the speex audio with AS3? My libspeex.swc: [url].....

In addtion, should I rewrite the libspeex using Alchemy API before build the libspeex.swc? Although I am not professional in AS, but I have a strong ability to learn.

View 2 Replies

ActionScript 3.0 :: Play An Mp3 File Using NetStream.play?

Mar 23, 2010

I have a "movie player" that plays flv files using the code below (videoToPlay is the name of the file to play and is just a string). I want to use the same setup to play an mp3 file also.I tried using mySound = new Sound(); and then mySound.attachNetStream(ns);, but it gives me this error: 1061: Call to a possibly undefined method attachNetStream through a reference with static type flash.media:Sound.

View 5 Replies

ActionScript 2.0 :: Adding Pause,Play,FastForward,Rewind Controls To A Swf File Via A Loaded Swf File?

Jan 19, 2012

I will try to be as clear as I can. I have an existing swf file that I want to add Play,Pause, FF and Rewind via an externally loaded swf file that has the controls contained in it.I am loading an external swf file that has all of the controls on it via this code:

// Set up the Mouse to use a listener
var mouseListener = new Object();
Mouse.addListener(mouseListener);

[code].....

View 1 Replies

ActionScript 2.0 :: Adding Pause,Play,FastForward,Rewind Controls To A Swf File Via A Loaded Swf File

Mar 25, 2012

I have an existing swf file that I want to add Play,Pause, FF and Rewind via an externally loaded swf file that has the controls contained in it.

I am loading an external swf file that has all of the controls on it via this code:

// Set up the Mouse to use a listener
var mouseListener = new Object();
Mouse.addListener(mouseListener);

[Code]....

I am doing this so I can rollover the viewing window and have it appear. I cannot get any code to work to control the timeline (which is broken down into sections with individual MC's in each section.

What I am looking for is the code to apply to the buttons on the external swf file that has the controls to control the playing of the movie.

View 5 Replies

ActionScript 1/2 :: Loading Swf File Into An Existing Flash File - Script For Waiting It To Play Until It's Fully Loaded?

Feb 6, 2010

I have a flash file that is 1.5mb in size. As it takes about 6 minutes for someone on dialup to load this file, I have created a smaller swf file and loaded the larger one from it but I don't want the larger one to begin to play until it's fully downloaded. How do I set this up? I have set up the action script 2 as follows: loadMovieNum("top2.swf", 0);

View 7 Replies

Attach A Sound To A .fla File That Starts To Play When The File Is Opened?

Sep 8, 2009

I would like to attach a sound to a .fla file that starts to play when the file is opened. I have created a button and would like to be able to use this button for a visitor to the site to mute the sound. So, I'm trying to accomplish two things, first attach a .wav file, then get the mute button to work.

View 1 Replies

Play Videos In Flash File After Moving SWF File To Website?

Oct 8, 2009

I am having some problems showing my videos in flash after moving it anywhere besides my computer.
 
I published my flash file once as a exe. file and sent it to another computer, where it all worked but my videos, which didn't show up at all.
 
I also published them as SWF files, then put them up on my free website (where i don't have access to the ftp) and the videos still aren't there.
 
The videos will play fine in an SWF file on my computer, but i am assuming when they are away from the videos, they don't have a source to access them.
 
I also tried sending the videos along with the SWF files when sending to other computers and it still doesn't work.
 
I now have a free hosted website (with wix.com if that makes any difference) with my flash work on, but no videos. I even tried to embed a youtube video into the scenes the videos are meant to appear, and put the videos on youtube, then i discovered you can't put that sort of HTML into flash.
 
how to show the videos on these sort of website, or even better, how to keep them in original file when sending them, so they show on other computers.

View 2 Replies

ActionScript 2.0 :: When Play With Stand Alone SWF File It's Not Playing Flv File

Aug 27, 2009

i'm trying to play flv file using programming but problem it's only work with only html file.when i play with stand alone SWF File it's not playing flv file? what should i do to run as a stand alone application do i've to desing into Adobe AIR ?

View 2 Replies

IDE :: Play Music File Once Only On Click Of Play Button Until Music Stops

May 1, 2009

Using Macromedia Flash Professional 8.

I have a website banner made in Flash. I have added a music file to it and Play and Stop buttons. I also have a Replay button to replay the banner animation once it stops.

I have put the music on a separate frame so that it will not play automatically when the banner loads. I have made the Play button direct to the frame the music is located at so that when clicked, it will go to that frame and play the music file.

The problem I am currently having is that if I click the Play button more than once, it will play the music file again on top of the current play-through.

So if I click Play, the music will play. Then if I click it again, the music will play again, but on top of the first instance of the music, so two instances of it will now be playing and it sounds horrible.

I would like to make it so that if you click Play when the music is playing, it will not play the music again until the music has stopped.

View 6 Replies

Play Mov-file Inside Swf-file Triggered By URL?

Oct 14, 2009

I want to list about ten videoclips (all mov-files) on my webpage and when i put my mouse over a clip it should start playing - when i remove the mouse from the clip, it stops. My idea was to use a swf-file that i can trigger using a URL like this: preview.swf?path=movies/movie1.mov
 
1. How do make my swf-file aware of the URL and then play the right file?

2. When the mouse is not over any videoclip i would like have the first frame of the mov-file shown - is this possible or do i need to make screenshots from all the mov-files then?

View 3 Replies

Professional :: Play Video With A .swf File Instead Of A .flv File?

Jul 31, 2010

I have a slash template that I will be inserting video into, the template is set up for a .flv file ? what would I change in Dreamweaver or Coda to edit this file so that it can play video with a .swf file instead of a .flv file? here is the template
 
<dat video="dat/Images/Folio/video.jpg" title="sample" des="video samples" flvPath="dat/Videos/test.flv"/>
 
I want to change this to test.swf instead of test.flv

View 2 Replies

ActionScript 2.0 :: Play A .swf File In A .swf File?

Apr 16, 2006

but how do you play a .swf file in a .swf file? Would it be better if I were have it as an external or embeded? Would it require AS or would it be able to play just fine without it?

View 1 Replies

ActionScript 3.0 :: Play A Sound File And Show The Progress Of The Sound File Being Played

Mar 16, 2009

I have to play a sound file and show the progress of the sound file being played. I am using import flash.media.Sound; import flash.media.SoundChannel; But the PROGRESS event gives theprogress of loading of file. I want to know of much of the song has been played and how much more is left.

View 3 Replies

SWF File Won't Play

Jul 11, 2011

I created a few swf files for my company's new website and 3 of the 4 play with no problem at all. The one is a little more involved (for my minimal Flash knowledge) and will not run and I just can't figure it out. Please help!! The test page I have up is [URL] and you will see that nothing loads there. The other pages (valuation, how it works, and console) with swf files load up just fine.

View 2 Replies

IDE :: Get My SWF File To Play In CS4?

Nov 15, 2009

i created an animation in Sony vegas, made it a wmv, and then converted that into a perfectly functionable SWF file (It worked on newgrounds), but when i put it into CS4, no matter what i do it won't play IN the project, i just get blankness, how do i get it to play this file so i can add a preloader so it's more suitable for viewing?

View 1 Replies

SWF Does Not Play In Html File?

Jun 4, 2009

I'm new to this so I downloaded the script to create a simple slide show. The swf plays perfectly locally, but when embedded in my html page, it gives me a blank black box. I have attached the xml file and here is a link to the test site. The large box is the image in question.

View 5 Replies

ActionScript 3.0 :: Play SWF File Only Once?

May 17, 2011

how to play my SWF file only once when I select CTRL-Enter to test the file.  Presently it just keeps on looping.  I have tried stop(); but it freezes at frame one.  I have tried gotoAndstop also to no avail.  In Dreamweaver you can import the SWF and program it to play only once.  I have done so:  [URL]  However, I want to create an index.fla file that does the same so that I am able to add some tweaks to the page. 

View 15 Replies

Asp.net :: Get A Swf File To Play Automatically?

Apr 8, 2012

I have been given the task of converting a macromedia application to a web app. It seems the application begins with the shell.swf once the exe is started. I have experimented with embedding the project's different swf files, and one thing I've figured out is that entire project works without the exe if the the shell.swf is somehow started. I've been opening and running the shell.swf with CS5.5 flash professional. *I do not have the source project.

This leads to my question. All of the swf files of this application autorun when embedded into an aspx, except the shell.swf, which appears to be the directing file of the application. How can I get this shell.swf to autorun from an aspx load event? I pretty much need to mimic the Flash Professional's play button. This is an interactive application to educate young people about the Buffalo river, and it is somewhat robust. I am almost certain that once I can get the shell.swf running on a webpage, the entire app will run it's course.

I have been working with AspNetFlash, but I have not been able to achieve the desired effect. I need to get this running so the client can utilize the program over the next few months while I am re-writing the application to store user interactive data.

View 1 Replies

C# :: Play A .swf File On WPF Application?

Dec 15, 2009

I want to display a simple .SWF file on my WPF Form. It's a simple animation on loop.

Is there a control "box" type element I can place on my form and just load the .swf file to it so it can play?

View 4 Replies

Php :: Play An Asx File In Flash?

Jul 9, 2010

i need to steam an .ask file form an remote site is it is possible to do in flash ......

View 1 Replies

Jquery :: Play Ad Before Flv File?

Feb 4, 2011

i am using jw player to play an flv file including captions. this seems to work fine. but now i need to play a ad before my flv file starts playing? or can we play flv files one aftre the another using jquery or any other idea?

View 1 Replies







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