ActionScript 2.0 :: Non Terminating MP3 Download With MediaPlayback Component
Sep 10, 2005
Whenever an MP3 is initiated to stream (well, progressively download really) with the mediaPlayback component, it will contue to dl to the cache until done or the browser is refreshed. The occurs even when the component has been unloaded from an empty movieclip. This is an issue when folks browse alot of MP3s on the site, because even though it's inaudible, suddenly there are many files simultaneously dl'ing to their cache. Cant find a stop stream type of command in the media class, which I think is the only class for the media components. If I were doing real streaming with the Comm Server for example, I could use stopStream.
View 1 Replies
Similar Posts:
Nov 8, 2010
I'm building a custom Audio Player. The whole thing drives a MediaPlayback component. I have a scrubber set up that moves with the progress of the song. I want to be able to click and scrub with it though. Currently I have it set to set the playheadTime equal to the percent distance the slider is dragged to times the totalTime of the playback component. After the release of the slider I trace out the playheadTime and it seems to be fine, but I can't get it to resume playing at all. Here's the code in the controller:
var totalDistance = bar_mc._width - slider_mc._width;
var wasPlaying = false;
this.onEnterFrame = function(){
[Code]....
View 1 Replies
Jun 9, 2004
I'm trying to use the MediaPlayback component with an external .flv The video shows fine, but for some reason the progressbar isn't working.
View 1 Replies
Jul 4, 2011
Ive used mediaplayback component on a webpage and it works fine except the playhead pointy thing doesnt move as the video plays. Isnt it supposed to do that ? It just stays at the start while the video is actually playing.If i drag the pointer to a different part of the streaming bar then it does what its supposed to do but that doesnt look right.
View 2 Replies
Dec 22, 2009
I've searched high and low and haven't been able to figure out a way to set a preview image for video I'm loading in using the mediaPlayback component. Using Flash CS4, AS2.
View 1 Replies
Aug 13, 2010
Many times, each day, a notice this error in the event log :
[Code]....
each time after this error, the netconnection between the publisher and the server close. I have some log in my app who check the connectivity between the publisher and the server:
[Code]....
I just want to confirm if it's the real issue of this problem or if other thing can provide this result and how can I prevent the deconnection of the publisher if this append again?
View 5 Replies
Jul 21, 2010
ok, so a couple of months ago, while using Flash CS4, I started getting this unusual bug where the application would terminate, no error report dialog, no system reports, I didn't even get the satisfying *doonk* sound that Windows likes to make every time you try something Microsoft haven't thought of yet.
[Code]...
View 1 Replies
May 30, 2011
i'am doin a presentation and i put music bg in a mediaplayback component, but i need it in a loop.
View 1 Replies
Oct 22, 2009
I'm trying to compile gui/flex/songs.mxml in the fourth edition of Bruce Eckel's Thinking in Java book and am getting a compilation error with Flex 3.4.
Here is a simplified version of the example that gives the same error:
[Code]...
View 1 Replies
Jan 15, 2010
I've got a problem to play MP3 with MediaPlayBack, calling from a XML playlist. The playlist seems to work but not the MediaPlayBack which doesn't load the MP3...
Here is my XML code named mp3list.xml
<?xml version="1.0" encoding="utf-8"?>
<musiques>
<musique url="musique/01.mp3" desc="titre 1" />
<musique url="musique/02.mp3" desc="titre 2" />
<musique url="musique/03.mp3" desc="titre 3" />
[Code] .....
View 4 Replies
Nov 3, 2010
I have a instance on MediaPlayback and a button on one of my frames, i need to the button to either stop/pause the media file, is there anyway of doing this?
View 3 Replies
Jun 9, 2004
I'm trying to use the MediaPlayback component with an external .flv The video shows fine, but for some reason the progressbar isn't working.
View 1 Replies
Mar 10, 2007
My first question is using the short hand if ?: what is the "proper" way of terminating the else statement eg:
(x==1)?trace("A"):; //returns and error because no else statement defined
(x==1)?trace("A"):null; //no error but is it correct?
My second question is about the page flip
http:[url]....
In england we have these exams called GCSEs which are the first and only nationally compulsory exams in england (14>16). I am doing art graphics and I was looking into the page flip experiments. Above are the links.There are so many randomly named variables and so much random stuff that I cant understand it. For me it is not good enough to just copy and paste. I need to understand the script and make it my own. I tried creating some things using trigonometry
View 3 Replies
May 26, 2009
I am working on a mp3 album collection project and I am using Mediaplayback component for playing the mp3 files, a List component to show all the tracks (and select one) and the songlists are stored in XML data located in one folder for each album. It is working fine, but I want to have a button to "Play all tracks" like when you place a CD in the Windows Media Player, that is, starting playing the first track and so on.... until the last one.
Here are the parts for the mediaplayback:
lista.addEventListener("change", ifchanging);
function ifchanging(evento) {
if (evento.type == "change") {
[Code]....
But it just play the last track. I think it must go on one of the events or in a if..else including the EventListener... I'm just beginning on ActionScripting and I am using parts of what I saw in other codes.
View 2 Replies
Oct 13, 2009
I am working on a mp3 album collection project and I am using Mediaplayback component for playing the mp3 files, a List component to show all the tracks (and select one) and the songlists are stored in XML data located in one folder for each album. It is working fine, but I want to have a button to "Play all tracks" like when you place a CD in the Windows Media Player, that is, starting playing the first track and so on.... until the last one.
Here are the parts for the mediaplayback:
lista.addEventListener("change", ifchanging);
function ifchanging(evento) {
if (evento.type == "change") {
[code]....
that is for when you click (or press) on a selected item in the "lista" List.
I tried something like:
for (var i = 0; i<num_total; i++) {
player.setMedia(urlnow+"/"+lista.selectedIndex[i].data, "MP3");
player.play();
}
But it just play the last track. I think it must go on one of the events or in a if..else including the EventListener...
View 1 Replies
Sep 5, 2010
I am working on a mp3 album collection project and I am using Mediaplayback component for playing the mp3 files, a List component to show all the tracks (and select one) and the songlists are stored in XML data located in one folder for each album.It is working fine, but I want to have a button to "Play all tracks" like when you place a CD in the Windows Media Player, that is, starting playing the first track and so on.... until the last one.
Here are the parts for the mediaplayback:
lista.addEventListener("change", ifchanging);
function ifchanging(evento) {
if (evento.type == "change") {
[code]...
But it just play the last track. I think it must go on one of the events or in a if..else including the EventListener... I'm just beginning on ActionScripting and I am using parts of what I saw in other codes.
View 2 Replies
Feb 28, 2007
I currently have this code:
Code:
var vLoad = new Array();
vLoad = vidURL.text;
[code]....
View 1 Replies
Aug 11, 2010
I have a MediaPlayback component on stage, i have a sound with linkage name "sound1" in the library;
Why mediaPlayback.contentPath = "sound1" wouldn't work?
View 1 Replies
Nov 23, 2011
I want disable IDM(internet download manager)'s download video option from my youtube videos.
View 1 Replies
Jul 1, 2010
So I basically have used the fileReference class to allow the user to download a determined file if he wants to.
I use the file.download(URL) function and it works well.
However, the file is downloaded and saved to the hard drive using only the flash player. The browser is not aware of the download, and thus, if I want to show the progress of the download I'd have to make some progress bar myself. I know how to do it, but it would become really tedious and take too much UI space.
Isn't there a damn way in Flash to "send" a determined file to the browser so that it prompts the user to download it? It's an image file, so navigateToURL doesn't cut it since it will just display the image, both if I use a new tab or the current one.
View 1 Replies
Jun 16, 2010
I'm working at a company which has high security environment.Akamai Download Manager starts to download a trial Flash CS5. However, it stops quickly and downloads nothing (zero byte).I want to download a trial Flash CS5 without Akamai Download Manager!
View 3 Replies
Feb 22, 2011
I generate a HTML page with VB.Net which stores several pinks to files. These links are formatted with JavaScript looking like the Windows-Explorer with folders and files. The problem: There are only download links for the files, not for Folders. A folder can contain Subfolders ,a List of Files or a combination of both. So if I want to download a folder, I have to click manually on every file-link. I have not the possibility to insert PHP or another Server-side language. my question now is: Is there a client side way to Download them by click on a Folder? I prefer Javascript but If it isn't possible Flash will be ok also.
View 2 Replies
Jun 13, 2008
I have a few buttons rigged up for downloading word.doc, mp3 etc
Problem is its opening the file rather than giving a download this file option.
View 6 Replies
Jun 23, 2011
I have a component "child" which has a cancel button. Now this component is placed in a state called "newChildComp" I also have another component called "parent". In the parent component, i have a button that dispatches an event. Here is the event code:
[Code].....
so, basically,i am checking to see if the cancel button component in the Child component, while i am still in the parent Compoent, was clicked, if it was clicked, call the cancelButtonHandler. The problem is by the time the addNewChild handles the event, that cancel button was still null. My question is how do i solve this without using the itemCreationPolicy on the cancel button?
View 1 Replies
Dec 17, 2009
I want to download files from the server side to client side without prompting a window to the user to download when any updates happen at server side.Right now I am using urlstream class but first file is downloading completely rest of the files contents downloading partially.
editCode sample taken from other post. Warning: it's a huuuge chunk o'code.
<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns:MyComp="client.components.*" layout="absolute" height="554" width="817"
[code]....
View 2 Replies
May 20, 2009
is there any way to put scroll of tree component in left side of component or creating a custom scrollbar for tree component
View 13 Replies
Nov 11, 2010
I'm building a top view 2D map, that it's objects are stored on the server.The kind of objects are 10 and might be a photo, label, button, lists, mix of them or labels with tooltips.The component must request the "areas" that are missing on screen.An area is 1000x1000 px and is cached in flex.To move in the map, will be like in google maps (drag-and-drop).I should be able to have another list and move objects from one to another using drag-an-drop on objects. Ex.: I grab an objects from a list and I move it on this map, I release the mouse button and the item is placed there.Now the problem is: I build a custom component for this trying to emulate the item renderer for performance and recyclage, implement drag-and-drop on objects and request the areas that are missing?
or
I extend the List component from spark and I add some features as multiple kind of itemrenderers and use recycle on them. Of course it must be able to request the missing areas on the screen and cache it's data.Maybe create a custom layout is needed too.What I need is something that must be really fluid, so the lighter this component is, the better.
UPDATE: *There will be not any object over another.
*I will not use hitTest on bitmaps because all bitmaps are wrapped in another component,as they,for now are itemrenderers.
Anyway I already begin to do this using a class that extends the SkinnableDataContainer and a custom layout. As the layout is not like a grid, is sparse, random items at diferent points(x, y).How to get the localX and localY, relative to item renderer and not to the Spark List, from a DragEvent in Flex 4?
View 1 Replies
Mar 20, 2012
I was wondering if there was a way to get the sound from a FLVPlayback component and manipulate it with using a custom volume slider? Within my Actionscript I currently have this code which enables me to control the volume of a MP3:
import fl.events.SliderEvent;
var mysong = new music();
var myChannel:SoundChannel = new SoundChannel();
var myTransform = new SoundTransform();
myChannel = mysong.play(0,10);
[Code]...
But Instead of using the MP3 for sound, is there a way to use an FLV's sound instead?
View 1 Replies
Jul 18, 2010
Is it possible to get the component's single lable without having all the labels of the component appearing? Like, I'm trying to include the label into a text's .text the code I'm using now is MoVName.text=MoV.labels; but it gave me all the labels that were included in that particular component.
View 12 Replies
Sep 3, 2009
I have two components. One is called "InsideComp" and one is called "OutsideComp". OutsideComp has InsideComp as one piece of its component, and in my main MXML file, I have embedded an instance of OutsideComp. How do I access a public variable of InsideComp within my main MXML file?In Actionscript, I could just do something like:OutsideComp.InsideComp.valToChange = 5; But I dont know how to do it in MXML. I know this is probably an easy question.
View 4 Replies