ActionScript 3.0 :: Play .wav File In Flash Through The Url?
Jan 4, 2012How to play .wav file using as3 in flash through the url?
View 6 RepliesHow to play .wav file using as3 in flash through the url?
View 6 RepliesI 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 RepliesI 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.
i need to steam an .ask file form an remote site is it is possible to do in flash ......
View 1 RepliesI 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....
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]...
If you go to the website: [URL]. The white square is my embedded flash swf file, but as you can see it isn't playing. In Flash, when I test the movie, it plays beautifully. When I put it on my webpage, it's just blank. What bothers me is that I embed Flash swf files frequently with zero problems. The only difference is that this is a video. The swf file is properly uploaded to my server. I've attached the swf file for reference.
The html is:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="320" height="240" id="FlashID" title="TDR">
<param name="movie" value="intro2.swf" />
<param name="quality" value="high" />
<param name="wmode" value="opaque" />
[Code] .....
Attachments: intro2.swf (49.6 K)
It is very difficult to find good resources for Haxe informationI have an FLV movie in the same directory as the SWF I am generating. I cannot get the FLV to play. I can get this working in AS but I need to know what I am doing wrong in my Haxe code.
var mc:MovieClip = Lib._root;
var connection:NetConnection = new NetConnection();
connection.connect(null);
[code]........
Here is my code
onFrame (1) {
mySound = new Sound();
mySound.loadSound("http://www.mysite.com/spot_mixdown.mp3 ");
mySound.start(0, 0);
}
that play .mp3 file from my website at the first frame. It's work for me!
But when I update spot_mixdown.mp3 (change sound inside but use same filename) on my website and then reload webpage, a sound is not change.
I am putting together a website that uses a templating system. It contains a plugin that lets users upload/share music files so anyone can listen to them via the website's flash player.
It works with mp3 files only. Is there a way to make the player play other formats such as wav, wma, mp4, etc?
I am having trouble with editing my flash template in flash cs4. When I try to play the fla file in the timeline it does not play everything in each layer. I have made no changes to the exisiting files in the template at all but there is only a partial background and some text playing.I have tried two other fla files from templates and they are the same.
View 1 RepliesI have a 3,5 MB .swf file on my webpage it works perfectly well in firefox. But in internet explorer it doesnt seem to play. My guess is that IE uploads the whole .swf file before playing it. Can anyone here tell me how to let it work in IE as well?
View 6 RepliesI am trying to embedded a SWF file into dreamweaver. It plays fine in dreamweaver and when you preview it in Firefox or Safari, But when I upload my HTML files and SWF files it does not play and displays the following message "content on this page requires a newer version of Adobe Flash Player". Heres my code and the URL of the website which I am trying to embedded the SWF file [URL].
<object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="550" height="450">
<param name="movie" value="moviewebsite/pollardsmovie.swf" />
<param name="quality" value="high" />
<param name="wmode" value="opaque" />
[Code] ......
I am searching for a way to load and play karoke files "cdg"The loading part is easy the difficult part is interpreting the byte array that i get after loading the file...
View 2 Replieshow can i play wave file using flash .
I m able to play mp3 files using following code
[URL]
How do I play a .flv file inside Ext.Window?
View 1 RepliesI have a WebView that is loading a URL that plays a Flash file. This works in the regular Android Browser, or if I use an Intent. For some reason it won't load in my WebView. It tells me I need to download Flash Player, even though it has already been installed:
public void setupWebView(){
webView = (WebView) findViewById(R.id.WebView);
if(webView != null){
webView.getSettings().setJavaScriptEnabled(true);
webView.loadUrl("[URL]");
}}
I have a flash logo on my website but I don't want it to play every page load.I'm a total newbie in actionscript but I've gone as far as I have with the logo by googling and asking questions. I hope someone can please tell me how to do this one last thing I need on my logo since I can't find it anywhere! :)I'm using AS2 but I guess I can use 3 as well.
View 1 RepliesI have a flash CS3 slideshow that loads it's content from an external .xml file. If I export the HTML it plays fine, but if I move the HTML to the site root directory (just outside the directory with the .swf file), and let dreamweaver update the links the flash slideshow will not play. my site is at: [URL] the flash with the .xml is in [URL]
View 1 RepliesUsing Flash CS4 and having the Flash plug-in ver 10 on my PC, the generated html file will not play the swf in the browser.I noticed that the active-x javascript is now included in the header as well as the javascript portion in the body tag.But it won't play. I get the typical blank window in IE with the "X" in the upper left corner.I don't have this problem with Flash CS3.
View 10 RepliesI have a flash file that is looping endlessly. I only need it to play once and stop. I have tried eveything to fix it but simply cant ge tit to work, The file can be seen here:[URL] My html code via golive is set yo play once, i am pretty sure the issue is a setting in FLash
View 1 RepliesI have one swf object in my site.
I have to read data from database and after fetching data of video names,
I need to play those video in single swf object one by one, means after completion of first video second video will start.
I am developing an application for android 3.0 tablet, that's supposed to play swf files inside a WebView.First I tried to open the swf file from the device, than through the internet, with no luck.The WebView shows up, but inside the WebView all I can see is a black screen (with a 3-4 px wide white line on the right).If I load the same URL to the device browser, the flash file plays well.I think Im missing something on the WebView setup, but after a few hours of searching and googling I still dont know what.The Java code:
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
requestWindowFeature(Window.FEA
[code].....
I am trying to play a Youtube video in a Flash SWF. I have a button (video_btn) and a black rectangle movie clip (480 x 365) named video_mc. The AS2 I have for video_btn is:
video_btn.onRelease=function(){
createEmptyMovieClip("video_mc",_root.getNextHighe stDepth());
video_mc.loadMovie("http://youtube/.......");
};
This does not seem to be working locally. I did try uploading a test swf to a free swf hosting website but it still does not play the Youtube video.
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 RepliesHow do I get an mp3 file to auto-play when I open a Flash movie on my computer? I presume it is actionscript but I am not sure what the code is.
View 2 RepliesI'm trying to create a simple SWF file that can receive the name of a FLV file in the HTML file and play it since I have many FLV files. Basically using the technique of FlashVars. I've set the contentPath/source in the components to be blank, and set my actions in the first frame to be player.source = filename, as was instructed to do so in a Flash book I am reading. I then set the "filename" variable to a file in the same path as the web page in the HTML file, however, all I get is a blank Flash player skin. The FLV file will not load. I also tried setting the "filename" variable to load the FLV from a public website in the same domain and on another domain, but it still doesn't work.
View 5 RepliesI created a flash file that contains a flv file inside. After I published it on my Mac in both html and swf format and it played well. But when I copied all this folder include the swf, html and the source flv to test on a pc it played well but the video part (flv) was blank. So I copied the .fla file to pc and published again, then it works fine (including the flv video part) on both pc and Mac. All the settings were same while publishing.So I wonder what's wrong with publish from Mac side? I work with Mac and so it's very inconvenient to publish my work on PC.
View 5 RepliesI have 2 flash files, one with an intro and the second that just has a document class file that plays out a snake game. How could i import that document flash file and make it play out on like frame 100 off my other flash file.
View 1 RepliesHaving some trouble with a slideshow flash file. The snippet of AS is attached below. The play functionality is working fine, but when the slideshow is running, the pause button won't work.
NextFrame = function(){
if (whichPic<NumCount) {
bLoad = true;
whichpic++;
} else {
if (whichPic==NumCount){
[Code] .....