ActionScript 2.0 :: Mp3 File Not Playing
Aug 2, 2011I have a flash file developed by an ex-colleague, to load and play a flash file, however after moving the website to OVH server, the mp3 stopped playing[code]...
View 2 RepliesI have a flash file developed by an ex-colleague, to load and play a flash file, however after moving the website to OVH server, the mp3 stopped playing[code]...
View 2 RepliesI have some animation (programmatic, I'm NOT using keyframed animation in timeline), and some music I want to play in the background. Once the music file reaches the end (about 30 seconds long), I want to trigger the end of the animation functions.I figure I could either use an actionscript timer to trigger the end of the animation or a keyframe with actionscript that is placed on the timeline near the end of the song but these methods assume knowledge about the duration of the wave file. If I changed the framerate or updated the external wave file, these triggers would possibly no longer sync upIs there some sort of event listener or other detection method for an audio file to signal it has finished playing? Or maybe there is a way to get the duration of the audio file to use in the timer
View 3 RepliesCreated an mp3 player that works fine, but i need the track name, artist name, track timer, to be shown aswell?and i dont have a clue how do go about doing this.
View 2 RepliesI have a problem that I have not found a syntax error or logic error to explain. It appears to be an obscure problem related to playing a sound file and graphic positioning in the same file. My next step is to look for any known bugs. I have posted the file at. URL] When the page loads you will see a list of selections. Do not click any of the html Play buttons In the graphic arrow pointing to the right is the play button click it and a default file will start. Click the pause button (which will be green while the selection plays) Then click the play button again. The knob that moves while the song plays, will begin moving from the position it was at the time pause was clicked.
Click the stop button (arrow facing left with vertical line at tip) Choose a selection from the html list by clicking the Play button next to it. Then click the play button in the player display. The title of selection will appear in the title area. repeat the original steps (play, pause, play) This time the knob that moves while song plays, snaps back to the start and moves from start, rather than from the pausedposition.
[Code]...
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 Repliesi have a button that when it is pressed plays and loads an external flv file. this part works fine but directly after the flv video is finnished i want to load in an swf file. does some one have an idea how to do this? first show flv and then load swf?
this is the code as it looks now..
[Code]...
I have created fla file in cs4 which is 1 minute long.
However when I try to export it as an avi only the last fifteen seconds of the video actually play. The avi is still 1 minute long but the first 45 seconds is just a white screen.
I'm only converting it to an avi so that i can subsequently convert it to an flv and put it into a player on my site.
Does an FLV need an accompanying javaScript file in order to play within an HTML page? How do you generate this or get a hold of this javaScript file if that is the case? I'm told you do not actually publish the file in order to get it to play / work.
So far, I have the FLV, the HTML page (where it's been inserted), the "skin" SWF and the movie in SWF also.
I am fairly new to Flash and working with MX 2004 with Flash 2. I have tried several methods to play an external .FLV file. Some ideas from this forum and some from the Flash help system. Either I don't understand them and/or I am not implementing them correctly but nothing has worked. I have read of an FLVPlayback component and my system has a MediaPlayback component in the Component window. I have also seen yards of actionscript to play such files. Can anyone supply me with a basic/simple method, with code/example or buttons-to-push if necessary, to have an .SWF play an external .FLV via my MX 2004 system?
View 3 RepliesI am using Dreamweaver CS$ version 10 and have embedded a flash video on a web page but it is not playing/showingwhen I put it on a test page it works, but not when I place it in my production page.
View 2 RepliesI am trying to create a flash file out of a .flv movie to behave similar to what you can see in [url]ca.gov[/url]. The nice thing about the flash in ca.gov is that before the whole movie loads the flash starts playing it. You can easily see this if you have httpfox or httpwatch installed on your browser [URL] that loads only the flash). The file [URL] loads first and loads [URL] while playing it.
I'd like to create a similar .swf from my .flv file. I use Adobe Flash to publish the .flv file into .swf but what I see in my page is that it loads the whole movie (.flv) file before playing it.
What I am wondering is how I can create my .swf so it starts playing the .flv file while it is loading it. I understand that the movie file I'm using is of type .flv and the one on ca.gov is of type .f4v; but as far as I understand this shouldn't be why it's not working the way I want.
Also, it would be ideal for me to detect the bandwidth of the user and let the flash loads different versions of the .flv file based on the user's bandwidth.
stop();var pausePoint:Number = 0.00;var isPlaying:Boolean;
var soundChannel:SoundChannel = new SoundChannel();var sound:Sound = new Sound(new URLRequest("Sounds/Music_File_2.mp3"));
[Code]...
I am trying to play the .mp3 file called "Music_File_2.mp3" the music file is in a folder called "Sounds" 2buttons called Play_btn and Stop_btn plays and stops the music. Once the music playing if i click on the play button the music will pause.
Everything works fine when i launch the program though "Flash Player 10". but when i right click and open the .swf file with Internet explorer the whol project works fine, but the sounds would not play.
I need to play a FLV file on a web page, but I don't want it playing in a visible player. That is I don't want there to be the usual Play button and no frame. I want it to work and look much like this link: [URL]. It is similar to those infamous "Mac vs PC" videos which occasionally play on the home page of [URL]. My flash ability in this area is limited. (I'm a Joomla pro but not a flash pro.) Looking at the source code, I see various swf controller file links, and some javascript, I think.
I have no idea what is in the swf files that may or may not be making it all work. First of all I don't even know if it is possible for a FLV file to play above html and then disappear revealing the html when it is finished playing. I assume with the swf and javascript and divs this is possible, but am not sure.Ideally I would love the complete code if possible. Or links to where I can find out how to do it.
I have embedded an automatic slideshow as a swf file into a website I'm designing for my parents. When I test the swf file, it performs exactly as expected but when I embed it into the html, it just sits there and doesn't run/animate/whatever.
The slideshow (should) automatically run through a group of 7 photos, with a fade transition and was all done with actionscript, loading the external jpeg files into alternate movieclip containers etc etc.
The web page where it doesn't work is here: [URL] - you can see that the swf just sits there, doing absolutely nothing.
The location of the swf file is: [URL] - as you can see, it works fine on its own!!
If I published several separate SWF files from several FLA files (because they were too large to work in one FLA document) is there a way to play them automatically one after the other? I looked online and somebody suggested www.swfmergeI tried placing on the last frame of each FLA file the actionloadMovie but I don't know how to define it so that once one SWF file is done, the next one starts.I just open the SWF with explorer on windows so that I can view them full screen (they are for a slide presentation, architecture and I am showing a little bit of animation)
View 5 RepliesHow adobe plays the AS2 SWF file so beautifully, including being able to go to next frame or prev frame or zoom functions? I have tried many different ways to play an AS2 SWF in my flex (AS3) SWF loader and it is a very difficult problem. I use a AS2 Shell as a proxy and I use local connection to communicate between the two AVMs. The result is quite a horrible one because, I am not able to scale the swf very well and also have a torrid time with the debugger. Any special methods used by Adobe to achieve that in CS4 Flash or do they also use LocalConnection to play the AS2?
View 2 RepliesI just upload a new flash site to the air and i have one problem.My site have 9 different gallerys, so i made a main swf file and 9 more.
the main file is "calling" to the others.my problem is that it takes forever to play the gallerys.
I have a problem with a swf file which will not play in web browser.It played fine until I updated my site.I tried typing the absolute path to the swf file in the browser address bar and found it straight away. When I clicked on it the screen stayed blank.I checked the path to the file and the flv file was relative to the document and not the site.
swf plays fine in flash player, flash, and locally on dreamweaver.I moved the swf up the file tree and changed the links accordingly but still would not play.I also tried saving it as a new swf from flash, but that doesn't play either.I added another swf to the containing folder and that played fine in the browser.When I open the fla file in flash it only shows a flv playback movie, not the elements, I think this is because it was created in after effects.Here is the link to the containing folder, the swf file is Home_page_movie_V2.swf
[URL]
Does Android support flash? If yes then i need an example code to play a flash file. Wonder if we can play a flash file in WebView?
View 5 RepliesI want to make my flash file to play on my dvd player. It has some scripted buttons on it, so it is important that this works, is it even possible to make a swf into a DVD format and then play it with scripted buttons?
View 1 RepliesI'm trying to set up a .flv file that will have buttons for two different pieces of sound.I've been able to get the first piece to load and to play and stop, but when I try to load the second piece, I trip up.I'm still a novice, but do think I understand the basic problem -- Actionscript can't distinguish between one sound request and another. The question is, how to fix this and get actionscript to understand that I'm trying to load and play two different sounds associated with two different buttons?I get error codes such as "1151: A conflict exists with definition s in namespace internal." , "duplicate function" problems and "duplicate variable" warnings. I've seen some discussion on this site of a recyclable sound object. I think I'm asking a similar question, but although the person who posed that question also posted a solution, I haven't been able to make it work.Here's the code:
var s:Sound = new Sound();
s.load(new URLRequest("http://www.website.com/Water.mp3"));
wellsplay_btn.addEventListener(MouseEvent.CLICK,playSound);
[code].....
In order to play videos (Flash Format) on the website I use JW Player on my pages. But I seem to have some problems with it. On certain Firefox browsers when clicking on the player it chooses to download the file instead of playing it in the browser. On the same computer I tried it on Internet Explorer and there my webplayer is showing badly, it stands in the top left corner (whereas it should be in the middle of the page) and flickers a bit.
Because everything is in development the webpage is only available through our servers. In other words, I can't provide you any link with details. So my question is, why do some browsers download the video instead of playing it? And is there a possible free alternative to JW Player to play flash videos?
I want to play a external SWF file (which is in server) in client side. It is working when I run through flash, but when double click on .swf it shows a dialog box:
Adobe Flash Player Security To let this application communicate with the internet click Settings.
So what settings do we need to change to play the swf file?
I am trying to get the video clip, which is swf format, I have loaded it in and placed it where I wanted it to be. I did this in AS3 here is the code
// adds the the opening swf movie
var opening_loader:Loader = new Loader();
opening_loader.load(new URLRequest("opening_movie.swf"));
[code].....
I 'm working in a flash website and I used a background music that runs while the flash file is playing, I used action script codes to run this music. Also, I used some simple sounds that plays when the user move his mouse over a button or some items, but I imported these sounds to its frames directly and I didn't use action script to run it.The problem is that I want to make a "MUTE" button to stop all sounds, but the background music only stopped because it was runned through Action Script, other buttons will produce the same sounds when moving the mouse over them Does anybody have an action script code to mute all sounds even if they were imported to frames directly??
View 2 Repliesflv file not playing from server?[URL]
View 4 RepliesWeird problem going on right now. And I seriously don't know what this is about.
On my main timeline (new document)
I create a text. I convert that text to an image. I drag that image on my main timeline at frame 1.
Then I set opacity to 0%. Create a keyframe at frame 50. Then I Tween it. And at frame 50, I set opactity back to 100%.
When I test the movie (ctrl enter) it just doesnt show the tween AT ALL. It goes straight to the last frame.
When I just go to frame 1, and press enter. It does work like it's supposed to.
I have been trying to figure out how to play the last x seconds of a mp3 file depending on a variable. I could not find any examples/tutorials that are close to what I need.
The thing is, I have an animation that lasts 9 seconds (this is a variable), I want the sound file to last 9 seconds as well.
When i play a flv file the buttons that are below this is still active and i can click on them. is there a easy way to disable buttons when i play an flv file?
View 1 RepliesI am trying to get my flv file to start playing when the page is loaded with no sound, but I am have no luck. The flv file starts playing fine with the sound on, and I can turn the sound off with my volume controller, but I need it to start playing with no sound.[code]...
View 3 Replies