AS3 :: Added Narrated Audio File To Fla?
Sep 8, 2009
I find myself inbetween the AS2 and AS3 world with this project. I added an audio file in a project which is a narrated presentation. If I play the timeline the audio plays but when I stop the playhead the audio continues to play. To tell you the truth I could not even remember having to do this in AS2 not alone in AS3. I have the audio preferences set to specch to make the file smaller, have the frame rae up to 30 frames per second as I'm using FlashEff for text and movieclip effects.
Is there away to be able to stop the audio so i can see and hear where I am when I start dropping the text and pics in the project?
View 1 Replies
Similar Posts:
May 15, 2007
I'm looking for a (free) flash player that I can embed in my site and use to play a .m4a (.mp4 with AAC audio) file that will be obtained using a URL (i.e. it's not local to the server hosting the web page).I've tried searching on google for one, but either I'm searching wrong or no one has made such a thing. Ideally this would be very simple (small user interface with play button and maybe a progress bar) and it would be easy to have multiple instances of on an html page (can create the player with an <object> tag).
View 7 Replies
Nov 15, 2009
I am sending out a standalone player that uses an xml driven image gallery. I need to prevent changes to the xml file to stop images being added to the gallery. I can can password protect the xml file to prevent changes, but I also wondered if there was a way to validate the authenticity of the xml file from within Flash to prevent the entire file being replaced?
View 3 Replies
Nov 20, 2009
Does any on know of a video Tutorial of a way to add a URL LINK to the end of a .FLV file.I need to add a button when the video ends to a URL to proceed to a new page on the site.
View 1 Replies
Jan 21, 2011
I am using a Flash AS2 template for a PayPal shopping cart on my site. As the code is now, a new shipping charge is added to the buyers total for every item added. I would like it to have only 1 shipping charge, no matter how many items are added!
Actionscript Code:
import caurina.transitions.Tweener;cartItems = new Array();itemNr = -1;itemQty = 1;cartin = false;ctrl_mc.cart_mc.onRelease = showCart;attachMovie("cart","cart_mc",15000,
[code].....
View 1 Replies
Aug 6, 2010
If I import an FLV video is there any way to remove the audio, put the audio into a byte array, and then re-add the audio to the flv video?
View 1 Replies
Mar 22, 2011
I have a .swf file that is not looping although I have added the parameter to do so. It plays just the once, and at the end of the video it stops instead of looping.
<div id="video">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="211" height="316" id="FLVPlayer" style="visibility: visible; ">
<param name="movie" value="FLVPlayer_Progressive.swf">
<param name="quality" value="best">
<param name="wmode" value="opaque">
[Code] .....
View 1 Replies
Jan 21, 2011
I have AS3 project, made with FlashBuilder. I'm using MovieClips from an external .SWC-file. In a MovieClip from the .SWF-file, I want to use an audio-file. Is it possible to preload a sound-file (e.g. .MP3) in my FlashBuilder project, and access it in a MovieClip inside the .SWC?
View 1 Replies
Sep 27, 2009
i am new to actionscript i need to download .mp3 and vedio file form my remote server how to do this give me any example source code for this.when i download .pdf its downloading properly. but not audio.
View 1 Replies
Jul 8, 2009
I hired someone else to do the scripting for an animation that I originally created. It calls an xml file which displays 3 different items in the flash. It works great... except when I open the FLA file and republish it even if I don't change a single thing, the resulting SWF file does not work. I've tried everything to no avail. The script writer is using CS3. I am using CS4 although I HAVE tried with CS3 (on different computer). Both the script writer and myself work on Macs. The script writer even sent screen shots of the publish windows, and I'm selecting all the exact same options. (version 9, AS2). Has anyone else run into this type of problem? I'm at witt's end. I really need to be able to make changes to this file and republish it. I can post the FLA file if someone wishes to take a look.
View 18 Replies
Jul 29, 2010
I'm using flash and php to write or overwrite a text file (an xml file). I have text strings that contain the xml data, which then get parsed by the php file.
It works fine. However, I notice that the header in the XML file <?xml version='1.0' encoding='utf-8'?> get's replaced with <?xml version='1.0' encoding='utf-8'?>
Why would slashes get added?
[Code].....
View 2 Replies
Jan 9, 2011
I've been searching around and can't find the solution to my problem. (firstly AS3.0 still confuses the hell out of me, having some real trouble getting my head around it).I've added a custom mouse cursor on my file, but with AS3.0 it already uses Mouse.Hide(); to hide the original mouse cursor and replace it with a symbol/mc.But i was already using both Mouse.Hide(); and Mouse.Show(); to hide the mouse at specific times. (so this new cursor has messed all that up).
View 3 Replies
Jan 27, 2009
I am not new to html or flash but, some what new to XML. I created a carousel based off the tutorials and it works great on my computer but, when I create an html file and attach the .swf file the flash file loads but, the icon images or anything from the .xml file doesn't appear.This is what I use to load my .swf file :
<div id="spacer">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" [code].....
Do I have to put a special script in the html document for it to be able to see the xml file?
View 1 Replies
Jul 10, 2009
I am trying to use the CSVLib from [URL].. However; when trying to use one of the examples I get an "1180: Call to a possibly undefined method addFrameScript."This is what I did.Extracted the files, then moved all FLA, AS and CSV files in the root (where also the COM folder resides). Then added the import statement to the Applicaiton file and defined document class.
View 2 Replies
Nov 16, 2010
I am trying to create html links from a external xml file to be dynamically added to a text field (im using flash builder)the process i am having trouble is: -Loading an external swf which contains the textfield loading external xml which contains the cdata with links adding the cdata to the htmltext property of the textfield the link is showing correctly, the mouse turns into a hand... but when i click on the link it doesnt work. i have seen a few forum posts similar to this problem but all are using textfield control in flash builder but im trying to add the cdata into an externally loaded swf which holds the textfield.
View 2 Replies
Sep 22, 2010
A quick question. Is it possible to play a mp4 video file with 2 audio tracks in it and switch between the two audio tracks? In stead of subtitles we want to provide the user with audio in their own language. As a test I received a mp4 video file with 2 audio tracks, an English and a German. When I load and play the mp4 video file I default hear the English audio track. Is it possible to switch to the German audio track?
View 5 Replies
May 1, 2011
I am not familiar with flash, and I would like to change an audio file from an annoying noise to a silent (aka, blank) file. Before you ask "why use it at all" - It is used for an online chat client, and invokes a Jquery error if the file is not present. The current file. It would be outstanding if someone could whip-up an error.swf file that is silent.
View 1 Replies
Oct 1, 2009
I have an assignment to create an mp3/wav file using flash. This player is expected to record voice from a speech mic and also be controlled by a foot pedal. How to record voice data and convert it into .mp3 file but haven't found anything yet.
View 1 Replies
Dec 12, 2006
Ok, so I've accomplished fading out the flv file once activated by a cue point, but I'd like to fade out the audio with it as well. Does anyone know if this is possible, and if it is, what the necessary AS would be?
Code:
var vid:Object = new Object();
vid.cuePoint = function(cues) {
vidTest.onEnterFrame = fade;[code]......
View 1 Replies
Mar 31, 2009
How do I get the length of an audio file? I need this value to set up a timer that depends on the length of the song playing.I have tried the following, but only get a value of ZERO.
from my code:
var gettheme:URLRequest;
var nextA: Sound;
var SC_A:SoundChannel;
var songLong : Number = 5; // just to set a number
[code]....
View 1 Replies
Jun 16, 2010
My flash app needs to popup a browse file dialog box and select an audio file. After selection, it will then play the audio file inside flash.
View 1 Replies
Nov 18, 2008
I managed to use a loader to load an swf that has a video/audio track encapsulated within it. It starts and plays fine. Because of property rights considerations, I must use the provided swf with the video within it rather than converting it to an FLV.
And using the unload command I get the video portion to stop, but not the audio.
I know that I need some kind of audio stop to stop the audio, but haven't been able to figure out exactly how.
The parent swf is pretty simple, no buttons, it just plays 6 external swfs under control of another program that starts it and stops it with no other interaction.
View 6 Replies
Mar 29, 2010
I am trying to import an audio file into Flash, but do not know what file extentions it recognizes. The file is .m4a that was created in iTunes. I can see how Flash would not recignize it, so what does Flash recognize, and I'll see if I can convert the file.
View 2 Replies
Aug 29, 2010
I've been sent a link to an FLV file that plays in the browser and when downloaded plays in Adobe Media Player.
However, when I try to import it into Flash, I get the error message
unsupported audio codec
It'll bring in the video no problem.
I've tried to use Adobe Media Encoder to convert the file but it doesn't see the audio either.
Is this some kind of protection on the audio? What am I missing?
View 1 Replies
Oct 23, 2011
When i load the audio as mp3 file some time it will throw error.The error is "one or more files cannot be imported" Then i convert the audio file as wav file,but the quality of the audio is not good.
View 1 Replies
May 26, 2010
Is there a way to detect whether an FLV file contains video, audio or both?The flv file is streamed to a flash client, that needs to show a certain view depending on the data in wrapped in the flv file.
View 1 Replies
Mar 30, 2011
I'd like to record audio from a microphone and I'd like the user to be able to add cue points during the recording so when he loads the file afterwards, he can jump easily to a specific position.
I don't really know what file format I should use and how to store the metadata (cue points)
I thought about
encoding a wav/mp3 and stores metadata in a .cue file (easy to do but 2 files to store)storing XMP data in a mp3 file (seems a bit harder but standard metadata embedded in 1 file)flv/f4v with audio only and standard cue points but I'm not sure I can create them directly from the client
View 3 Replies
May 11, 2011
I was wondering if there is a current class or library in a web language (php, perl, etc.) that is able to extract audio from flash files or youtube links directly.
View 2 Replies
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
Jan 4, 2010
I have a captivate generated SWF file which has a .FLV inside it.In flash on click of a button I unload the movie(SWF), the video goes away but the .FLV still plays the audio
View 6 Replies