ActionScript 3.0 :: Play The Mp3 From A Server So Main File Size
Dec 8, 2010
I have a flash website. I have a sound on and pause button on the main timeline and when you press the on button I want to play the mp3 from a server so my main file size doesnt get to big. Does anyone know the code for that? I guess I put the mp3 file on the server and then put in a code to the maintime that tells the server when I want to mp3 to begin playing and to pause.
View 1 Replies
Similar Posts:
Jan 17, 2012
I Have a flashmovie thats almost done and will soon hit the internet, but I want to add some animations into the website it�s two gears that I�m about to put at the bottom of the page and when a button releases in the main flashmovie the two bottom gears will turn a few frames and just stand still.These three movies are all separate (main movie, first gear and second gear).
It's a homepage designed in HTML and flash that has this "main flashmovie" in the middle of the screen, the size is about 1500(width)X800(height). And the gears is about 800wX200h placed at the left and right side bottom of the page. Dont worry the site is easy to apply to any screen resolution.I have been looking everywhere for any soul out there who suffering from the same problem but no success. Is it possible to script a button in the main movie to launch two separate movies in their own contents?
View 2 Replies
Jan 6, 2011
Got a really big problem here. I keep on getting "NetConnection.Connect.Failed" when I load a .asc file on my main.asc file, i use the method load() in my code. I really don't understand why this happens, but when i comment out the code that loads the asc file, I can successfully connect to fms. I can't figure out what's happening here. Btw, i'm using fms4 in windows 7 32bit.
View 6 Replies
Nov 10, 2003
i want to know how did the creator of otradesign accomplish the effect in his site like the menu and the main contents change size and the menu position according to the size of main contents.
View 5 Replies
May 16, 2011
Is thier any way to get the size of an FLV file? For example we get duration of an FLV file through metaData.
View 1 Replies
Mar 7, 2009
I finally got to link an external swf movie playing in my main movie... this external mov. has a script that when u move the mouse, a series of panels slide from left to right... when i preview the external movie, it plays fine.. but when i insert it in the main movie, and preview it, the movie plays, but the panel stays there.... static... does not move...
also, when i load a movie, how can i unload it when another is pressed?
View 2 Replies
Nov 21, 2011
I have tried to put main.asc sample file on my live application, removed main.far file and restarted my FMS, after that, i couldn't use FMLE on it, it generates an error !how to put properly the main.asc on FMS 4 (it works good for FMS 3.5)
View 14 Replies
Jan 15, 2007
im trying to play a frame in an external .swf with a button from my main flash file.
View 5 Replies
Oct 15, 2009
I have found this great tutorial, about uploading files with a Flex app, using Php to do the server scripting for us.
http:[url]....Its great, but i wanted to know what changes should i do at the ActionScript so that only accepts image files, and if possible to limit the file size upload and show a message when one of these conditions are violated.
EDIT
File Filter & Size Limiter Done. Code:
<?xml version="1.0" encoding="utf-8"?>
<mx:TitleWindow xmlns:mx="http://www.adobe.com/2006/mxml" [code]........
View 3 Replies
Aug 12, 2009
I need the main.asc file to return the current directory listing to a flash application.
[Code]...
View 1 Replies
Jun 23, 2009
How to play a FLV file located in a second FMS not directly accessible by the flash client?
- I am publishing an audio stream from the flash client to a FMS;- This FMS then publishes the stream to a second FMS, which records the stream to a FLV;
How can I play in the client the FLV audio file that I recorded in the second FMS?
- The first FMS is accessible by the flash client, but the second FMS is only accessible by the first FMS.
View 1 Replies
Feb 3, 2010
I have been looking for a way to tell what file was requested from within a VOD app when a video is played. I want to use the file name for something else but I dont want to have to send it with a second argument in connect().
Is it possible to tell what file is requested??? If so how can I do this??
View 6 Replies
Jun 26, 2009
Q1. I have 2 web servers, 1 FMS server, 1 File Server. Files when uploaded, will be stored in File Server. I need to play the file from client system, please let what configurations shall i make so that the request will be sent tot FMS from Client and From FMS to File Server and back to FMS and then to client as a stream. scenario: I want to play a video. Request will go sent from client to FMS Server, FMS server will fetch the file from File Server and Stream it to the client. Q2. In Flash PLayer, I need to play all types of videos including the videos which will require conversion to .FLV. I have to convert the vedio at the time of upload, Please let me know few conversion APIs which i will use in my system.
View 1 Replies
Aug 12, 2009
i have installed flash media server 3.5 ..windows vista and using FLASH 10right now in Flash Media Server page I am only able to play HTTP sample,RTMP file is not working , i check the sample folder >> and open HelloWorld >> that shows error :: Error #2044: Unhandled NetStatusEvent:. level=error, code=NetConnection.Connect.Failedat HelloWorld/connectHandler()what should i do now need ur help urgent
View 5 Replies
May 10, 2009
When I preview my flash file it says that the filesize is 29kb. However when I look at the properties of the outputted swf it's coming in a t 36kb. Which is the correct size? Also what extra information is being added to push it up by 7kb?
View 9 Replies
Aug 24, 2009
When I preview my flash file it says that the filesize is 29kb. However when I look at the properties of the outputted swf it's coming in a t 36kb. Which is the correct size? Also what extra information is being added to push it up by 7kb?
View 2 Replies
Jun 24, 2011
I made a preloader for my single scene movie and although the preloader is about 16k, when placed into frame 1 of the movie and tested, the frame is shown to have about 256k, which is larger than the movie it's loading. I've gone through all the files and made sure that export in frame 1 is not checked and made sure the publish settings also are set to export in frame 1.
View 5 Replies
May 16, 2011
I'm trying to setup a server-side playlist for playing back mp3 files, though I stumble into a weird FMS behaviour. I'm using latest FMS 4.0.2 Here is how I try to publish the stream (Server-side ActionScript):
[CODE]....
On the client side, I try to play it using NetStream.play("boo"). Though, the sound quality I get is really weird. The sound goes slower and faster and stops for a split of a second. It may play properly for a couple of seconds, but that's all. Sounds like a decoder problem to me, or a bitrate conversion problem. When I play the stream with NetStream.play("mp3:rhcp") the playback goes smoothly. I've tried several mp3 files with different bitrates, but they all have the same problem.
View 3 Replies
Sep 24, 2004
I have a background swf that has been coded so that it scales with the browser. I want to load the main swf file (main.swf) on top of this bg so that it is always centred on the page.
View 2 Replies
Oct 12, 2010
As stated in the title, can FMS and my Linux server share the same IP or must they be differemt?
View 12 Replies
Aug 3, 2003
using the command:
loadMovie(_root.section, _root.content);how would i work in a preloader bar?? add one to the file that is loaded into the main movie or on my main movie that is loading the file?
View 1 Replies
Nov 5, 2010
I got a bunch of live stream from FMLE, say: "FMLE_channel1", "FMLE_channel2", "FMLE_channel3". And then on the server side, I created several corresponding republished stream called "channel1", "channel2", "channel3".
On periodical basis, we call Stream.get("channel1").play("FMLE_channel1", -1, 10, true) every 10 seconds. Similar things were done on the second channel & third channel.Soon after the above Stream.get("channel1").play() call, I should get the following events in sequence:info :NetStream.Unpublish.Successinfo :NetStream.Publish.Startinfo :NetStream.Play.Resetinfo :NetStream.Play.Start In the above case all are happy. Clients can view channel1, channel2, channel3 well.But then after a while, one of the three channels, in most case it would be channel1, will not be viewable.
With the server trace info, I found that after the Stream.get("channel1").play() call, only the following two events exists:
info :NetStream.Unpublish.Successinfo :NetStream.Publish.Starti.e. I was missing the play.reset and play.start event.I further checked and confirmed that the FMLE was publishing all three channels fine to the server. I was able to view the "FMLE_channel1" from flash clients, but not the republished "channel1". the version is FMS 3.5.0.
View 3 Replies
Sep 12, 2009
I can't seem to remove / unload the external swf files e.g when the carousel.swf (portfolio) is displayed and I press the about button the about content is overlapping the carousel (portfolio) . How can I remove / unload an external swf file from the main flash file and load a new swf file, while at the same time removing garbage collection from memory?
View 15 Replies
Apr 30, 2010
I have an *.flv file on a FMS. When I play it on the client side the video plays just fine, but when I call Stream.play(filename, 0, -1, false) on the server side the video turns out really choppy.I both cases I use NetConnection to connect to an rtmp and NetStream to play the stream, but in one case I connect to a stream and request the server to play my file on that stream. Apparently that doesn't work with files? It works just fine for live streams.
View 20 Replies
Sep 23, 2010
I am streaming pre recorded audio files (mp4) to an AIR client. I have tried two different solutions,
streaming the file directly with the NetStream.play("mp4:xxxxx.m4a") and creating a server side playlist, adding the same sound clip and then streaming the playlist. The problem is, when streaming the playlist i get a few NetStream.Play.InsufficientBW, this does not happen when streaming the file direct. Both solutions uses bufferTime=1.0
I would like to use a server side playlist to implement a simple key solution so that the client dont know the full path to the file, but instead sends a key to a custom server side function that looks up the file path and creates a stream for the client.
View 1 Replies
Mar 14, 2012
We use FMIS (3.5) to distribute our videos, but how can I use HTML5 to view them without duplicating the video to the HTTP VOD directory.Can I point to the application FMS file location like I can with RTMP in some way?
View 2 Replies
Sep 21, 2006
I have an external swf that loads into my main movie using loadMovie. The original .swf that is being loaded is larger than what I'd like to appear in the main movie. Is it possible to tell the movie clip that the external is being loaded into, to reduce the size of the loaded .swf?
note:
I tried a
scaleContent = true;
View 2 Replies
May 1, 2009
it's possible to script an external preloader's empty movie clip to be of a specific size and position on the main stage? here's the script i've got for the preloader so far:
var my_pb:mx.controls.ProgressBar;
my_pb.mode = "manual";
this.createEmptyMovieClip("Portfolio", 999);
var my_mcl:MovieClipLoader = new MovieClipLoader();
[code]....
View 2 Replies
Nov 23, 2009
I'm trying to get my main class to resize to the browser window size. I'm listening on the stage to Event.RESIZE, updating my width/height to match the stageWidth/stageHeight, and drawing a rectangle to show me how big it is. When I resize, it flashes between a small and big size every other time the event fires. The width and height are correct in both cases, but in the "small" case, everything is in a small box.
[Code]...
View 2 Replies
Aug 9, 2004
I am new to actionscript. I have created a script that will play server side sound object and client side mp3 files alternately. Now, I would like to play the client side mp3 first then only play server side sound object alternately. However, I have no idea how can I do so. The following is the code that need to be swapped:
[Code].....
View 2 Replies