Streaming Mov File In Quicktime Player
Hello guys,:
I have a video that i wanna link from my site, and i want it to open and stream in a quicktime player/mediaplayer and NOT a other browser window!
The file that i want to stream is a Mov and not swf or flv.
Best regards ufex
ActionScript.org Forums > Flash General Questions > Flash 8 General Questions
Posted on: 03-11-2006, 12:24 PM
View Complete Forum Thread with Replies
Sponsored Links:
Streaming Quicktime Audio Player
My client has an album of streaming .mov files (hosted on http://stream.qtv.apple.com) and wants a 'player' to stream the album within the site. I've built a dozen flash mp3 players, but have never had to deal with quicktime files.
My questions:Is it not possible to stream .mov files even if they are just audio tracks?
If I can't stream the tracks directly, can I create FLV files that stream them?
If I can't do either of the above, what are my other options (maybe this question belongs on a QT board)
Any help is appreciated.
View Replies !
View Related
Flash Mx And Streaming Audio In Real Player Or Quicktime Etc.
Hi all,
Hope you all can help me, Im building a Flash site for a Dj friend and I want his mixes to be downloadable on both Mac and PC, plus I also want the mixes to also to be listened to on real player, windows media player or quicktime. I just wanted to know how to do this ?
p.s has anyone got any tips on wheres best to host a site like this as theres about 550mb of music. so plenty of bandwidth is needed, cheaper the better and in the UK.
Thanks for your time
View Replies !
View Related
Dynamic Streaming MP3 Player Load From External Txt File ?
I've got a streaming mp3 player (with media controls and percent loaded) all working fine at
http://www.beatznlyricz.com/
Problem is I don't want my client (or me) to have to go into flash to change the MP3 path, name, and artist every time there is a new MP3 they want to put into rotation. All of my code is currently in the FLA file.
What I want to do is have a text file load the MP3 path, the track's name, and the track's artist into flash.
Here is roughly what my code looks like now:
Code:
if (tracknumber == 1) {
trackname = "http://bar.gwizie.com/fla/mp3/texta-aufweidersehen.mp3";
TrackNameText="aufweidersehen"
ArtistNameText="Texta"
}
else if (tracknumber == 2) {
trackname = "http://bar.gwizie.com/fla/mp3/JediMindTrick-Paleface.mp3";
TrackNameText="Paleface"
ArtistNameText="Jedi Mind Tricks"
}
else if (tracknumber == 3) {
trackname = "http://bar.gwizie.com/fla/mp3/2pac-CaliforniaLove.mp3";
TrackNameText="California Love"
ArtistNameText="2 Pac"
}
else if (tracknumber == 4) {
trackname = "http://bar.gwizie.com/fla/mp3/BIG-BigPoppa.mp3";
TrackNameText="Big Poppa"
ArtistNameText="BIG"
}
else if (tracknumber == 5) {
trackname = "http://bar.gwizie.com/fla/mp3/Bone-1stofThaMonth.mp3";
TrackNameText="1st of the Month"
ArtistNameText="Bone"
}
else if (tracknumber > 5) {
tracknumber = 1;
trackname = "http://bar.gwizie.com/fla/mp3/texta-aufweidersehen.mp3";
TrackNameText="aufweidersehen"
ArtistNameText="Texta"
}
else if (tracknumber < 1) {
tracknumber = 5;
trackname = "http://bar.gwizie.com/fla/mp3/Bone-1stofThaMonth.mp3";
TrackNameText="1st of the Month"
ArtistNameText="Bone"
}
playing=true;
mySound.loadSound(trackname, true);
mySound.onLoad = function() {
mySoundLoading=0;
}
this.onEnterFrame = function () {
mySoundBytesTotal = mySound.getBytesTotal();
mySoundBytesLoaded= mySound.getBytesLoaded();
if(mySoundBytesLoaded>0) {
mySoundLoading=Math.round((mySoundBytesLoaded/mySoundBytesTotal)*100);
loadingText="Loading "+mySoundLoading+"%";
}
if (mySoundLoading==100) {
loadingText="";
}
}
The tracknumber variable is changed to add +1 when the user hits the next track button, -1 when they hit previous track button, and +1 when the song is over to loop it continuously.
Right now, for each tracknumber, I'm just manually entering the TrackNameText and ArtistNameText which changes the value of a dynamic text box.
I guess what I want to do is have the MP3 file path, the corresponding track name and track artist to load from an external txt file. So that's all I have to edit when they want to add different mp3's. I'll probably have to have a limit of, say 10 songs or, to get the code and loop to work right, which isn't a problem.
Any help?
-Grant
View Replies !
View Related
Streaming Mp3 And/or Quicktime Mov.
Hello all, does anyone know how to ste up a link in flash to point to a nother window opening so that quicktime movies and mp3s can stream?
The idea is to have something similar to the way that Ifilm operates, so no downloading is possible.
thanks!
View Replies !
View Related
Streaming Audio Quicktime?
Hi,
I'm not linked with the guys that run this site.
I'm doing a bit of research into audio streaming because I have to sort an audio page out for a semi large music company.
http://www.failedexperimentrecords.com/
Could you tell me if this is true streaming. Just click on a track. I thought true streaming allowed you to jump to any part of a track. This looks as if it is cached into the quicktime player, but then when you close the track and click it again it has to preload the track again as if the cache was cleared.
DOes anyone know much about audio on the web?
Thx.
Any help welcome.
BRb
View Replies !
View Related
Quicktime Player
Hi everyone....
I´m stuck with a problrm that I can´t solve...
I´m hoping someone can
I want to trigger a .mov file in quicktime player after I click a button, but i havent any idea I that works...
can someone help me please
thankyou all
View Replies !
View Related
Quicktime Player Window?
Hello!
I'm working on a site that has video clips(quicktime) and I want them to open in a little pop up window, not in another browser page.
How can I do this????
Is it possible to play a video clip while it's loading in the window as well??
Thank you for your help. I really appreciate it.
kamma
View Replies !
View Related
Opening QuickTime Player?
Does anyone know how to open a movie in QuickTime Player from a Flash website?
I've tried getURL("blah.mov", "quicktimeplayer") but it just opens the movie in a browser window. I'm thinking maybe this can be accomplished by using Javascript and having the getURL go through that or something. My Javascript/Actionscript abilities are both limited though...
The QuickTime tutorial explains:
When set, the QuickTime Plug-in will launch QuickTime Player as a helper application (if it is not already running) and opens the url of the movie file. In order for TARGET="QUICKTIMEPLAYER" to work, there needs to be an href attribute in the embed tag which points to the movie file.
embed src="poster.mov" width="200" height="240" href="sample.mov" target="quicktimeplayer"
Thanks for any help.
View Replies !
View Related
Error When Export Flash File Into Quicktime MOV File? Help Me
Hi everybody!!
When I export my flash file into MOV file, the program notice that:
" The installed version of Quicktime does not have a handler for this type of Macromedia Flash movie."
What does it mean? What I should do to export flash into MOV in right way??
Please help me. Thanks a lot.
PS: I used Flash MX 2004 7.0 and Quicktime movie 7.1.5
View Replies !
View Related
Calling Quicktime Player From Flash
I've been looking for a way to do this for over a week now and I've found numerous posts in here asking the same question. Finally tonight, just when I was ready to give up and start doing a bit of redesigning... I came across this link...
http://www.david.egbert.name/work/ne...nks/index.html
Has anyone tried this method to call QT Player from Flash as opposed to opening a QT movie in another browser window?
I can't deal with my server till tommorrow about the QTL MIME type thing, but if anyone can give me some pointers on what java to insert in Dreamweaver and what command to use in Flash to call it that sure would save me alot of hit & miss. There's been so many questions about this I'm sure there's alot of people who would like to know this if it works...
Thanx People!
View Replies !
View Related
Opening Quicktime Player From Flash
Hi guys
I'm trying to open quicktime player from a flash button. I've read both approach provided by _ragnar as in
http://flashmove.com/forum/showthread.php?t=9103
The first approach open .qtl file from a browser and asking me to save. The second approach open quicktime on top of a browser. Instead I just want to open quicktime player only. Could someone please help me to solve this problem?
Thank you in advance.
Mochachino
View Replies !
View Related
Targetting Quicktime Player From Flash
My client has specifically requested the use of Quicktime as the delivery system for his videos. After a helpful tip from restlessdesign (a tip in which he was kind enough to not give me any grief for a really, really stupid error), I can display the movie in a lightbox on top of the Flash movie. This is excellent, as this is how he wants the "Normal" files delivered.
For the HD files, however, he wants the movie to automatically open in Quicktime Player, much like they do on Apple's Trailers site. This is all well and good, and is simple to do from an HTML link on a page using "TARGET=QUICKTIMEPLAYER" as a parameter. I can't, however, figure out how to make any kind of external call from Flash to include this parameter.
My googles have all turned up lots of useful information that will come in handy in the future, but nothing that seems to help me now. It is completely possible, however, that I'm a stupid-head and am using bad keywords.
Anyone have any suggestions?
Thanks!
-Kevin
View Replies !
View Related
How Do I Make Link In SWF Open Quicktime Player?
I have streaming movie embedded in html which when you click the Quicktime icon the movie opens up and plays using the quicktime media player.
http://www.madminproductions.com/pop.../movietest.htm
Is there action script which would do the same (cause movie to open in QT player when the user clicks from a button or object in my flash movie). It's important the movie streams as opposed to downloads which is what happens if you link directly the the URL of the movie using an 'on press get URL' action script.
Action script needs to emulate what the embed parameter in the HTML page does.
Can action script do this?
View Replies !
View Related
Quicktime Vs. Window Media Player Question
Howdy,
I have .avi files on my website that are displayed in a popup window. I used a plug-in for Dreamweaver to place the .avi file. I added an additional 16 pixels or so to the length of the .avi file to make room for the movie's windows media toolbar.
However, when someone on a mac or a pc machine in which .avi is associated with quicktime, the extra space I added for the windows media toolbar is displayed as white space. So esentially there is a white bar on the top and bottom of the movie.
What can I do so I will not have those white bars when it is open in quicktime? Is it possible to somehow change the background of the actuall .avi space?
Thanks,
mperla
p.s.: I guess this question really does not belong in a Flash forum, but it is something we could all possible deal with
View Replies !
View Related
Want FlashMXPro To Launch Quicktime/player W/o Browser
I have FlashMX2004Pro and I am doing a CDROM projector project. The page has buttons that launch either the quicktime player on the Mac or the Window Media Player to play video files. This all works when I test it, but before the player windows come up I get a blank, ugly Explorer window. This is the action attached to my button:
on(release){getURL("Final Mother's Day 1-2 size.mov");}
How can I get just the player windows to come up and play and no launching of Explorer?
Thanks in advance!
View Replies !
View Related
Flash Button Opens QuickTime Player
Hello everyone. This is my first post but i have been using FK for a long time as a resource when learning Flash. Sorry to trouble you on New Years day, but my hangover waits for no project!
The reason for my posing is that i have come up against what should hopefully be a simple issue, i have never had to do anything like it before.
I would like to be able to open the Stand Alone QuickTime player from Flash, without it opening the QT file in the browser as per the getFile URL action. Could you guys tell me if this is this possible? If so, how could i achieve it using Flash 8. I was hoping to click a button and QT opens and plays the sound.
I have tried the many methods but still no luck, all wisdom welcome.
Happy 2007, keep up the great work.
Regards, Ray.
View Replies !
View Related
Embed Video (MOV) = No Need For Quicktime Player/plugins/etc.?
I need to deliver a Quicktime movie to users (it needs to be .MOV format). But I need to avoid there being a need to install Quicktime or any additional plugins.
If I import a video format into Flash and select "embed" during the importing process, does that mean the user only needs the standard Flash player enabled within their browser and do not need any plugins/codecs or the video player itself (in this case Quicktime)?
Thank you for any help!
View Replies !
View Related
Stand Alone QuickTime Player From Flash Button
Hello everyone. This is my first post but i have been using your truly awesome web resource a while now. Sorry to trouble you on New Years day, but my hangover waits for no project.
The reason for my posing is that i have come up against what should hopefully be a simple issue (for you guys) but what has had me pulling my hair out all this morning.
I would like to be able to open the Stand Alone QuickTime player from Flash, without it opening the QT file in the browser as per the getFile URL action. Could you guys tell me if this is this possible? If so, how could i achieve it using Flash 8.
I have tried the many methods but still no luck, all wisdom welcome.
Happy 2007, keep up the great work.
Regards, Stantz.
View Replies !
View Related
Action Script To Open Quicktime Movie In Player
I'm trying to make a link from my swf that opens up a quicktime movie in the users browser using quicktime player
I can make the link in html page by using embed paramater eg.
SRC="PlaceholderMovie.mov" width="32" height="32" controller="false" HREF="ActualMovie.mov" target="quicktimeplayer"
But if I want users to open the quicktime player by clicking a button or object in my swf movie what is the action script I should use?
Thanks in advance for your help..
[Edited by adamr on 09-20-2002 at 04:16 PM]
View Replies !
View Related
'elp ME [MP3 Streaming Player]
Im currently creating a multiple file mp3 streaming player using ID3 tags.
I created functions to fade the sound in and out, and the sound is loaded into an empty movieClip created at runtime.
However im having difficulty in changing tracks, while either streaming or when loaded fully? Im at a lost cause, below is the main function for loading the sound in. som1 'elp me!
The track changes only if i keep clicking on the next track btn.
================================================== =
function loadAudio(track) {
fadedown();
if (theVOL == 0){
loadAudio("track1.mp3" ;
}
removeMovieClip("soundtrack" ;
//if no sound create one
if (this.soundtrack == undefined) {
//set flag on
s_isON = 1;
this.createEmptyMovieClip("soundtrack", 500);
soundtrack.st = new Sound(soundtrack);
//is streaming
soundtrack.st.loadSound(track, true);
soundtrack.onEnterFrame = function() {
if (this.st.getBytesLoaded()/this.st.getBytesTotal() == 1) {
delete this.onEnterFrame;
//this.st.start();
this.st.setVolume(1);
fadeup();
s_id3_artist = this.st.id3.TPE1;
s_id3_title = this.st.id3.TIT2;
s_id3_genre = this.st.id3.TCON;
trackDetails = s_id3_artist+newline+s_id3_title+newline+s_id3_gen re;
}
};
}
}
im goin crazy tryin to fix this > <
View Replies !
View Related
Streaming MP3 Player
I'm using Flash MX and I'm trying to script a streaming MP3 player (kinda like the ones on www.thedonnas.com or www.finchmusic.com). Anyone have any tutorials/resources/links or whatever? Any help would be greatly appreciated! Thanks!
View Replies !
View Related
Streaming Mp3 Player
okay, i have my mp3 player built and everything, only problem is, it has to download the whole song off the server before it will start playing it, which is, obviously, super annoying seeing as how they are full legnth songs. so anyway i was wondering how i could make my player a streaming one, if there was just some script i could put in, or if someone has a template i can use, or something. thank you.
-x-
View Replies !
View Related
Streaming Mp3 Player
I need to stream mp3's over the web, and I think flash is an ideal method, all of the examples here require you to put the mp3 into a swf file, I was wondering if you can just have it so it opens a .mp3 file off the server.
I tried a tutorial on here, but it did not work. I remember seing a free .fla that did exactly what I need but I do not recall where I found it.
Basically I will have a PHP script reading .mp3's out of a database, I can then write the .mp3 to a temp folder, and pass the URL of it to flash, flash must then stream the mp3 to the end user, I can set the mp3's in the temp folder to expire after a certain amount of time. I would like to be able to do this without installing any additional softwear on the server. Can anyone please tell me how to do something like this (the flash aspect of it) I have the PHP, mySql and temp file parts all down already. Thank you for your time.
View Replies !
View Related
Streaming Mp3 Player
hello, im working on a streaming mp3 player, and i was wondering how i can make the song start playing after is had buffered..say 20% of the song..i know you can change how many seconds before itll start playing with the _soundbuftime function, but i want it to buffer for a percent of the song, instead of seconds...thank you
View Replies !
View Related
Streaming Mp3 Player..
I want to make a streaming mp3 player for the new website I am working on. Does the webhost I use have to allow that (as in a service I have to pay for) or can I just upload the mp3's and make the player?!
Where can I find a tutorial on making a streaming mp3 player?! I want it to be very tiny. It's just going to show the band name and song and have a play and stop button. I'd like to be able to have a dropdown box where someone can select a song. I don't want the songs embedded in the swf file because that would make it too big if I stuck 3 or 4 songs in there.
I am working on a photo gallery.. you can see a sample of what it should look like here: http://www.yuppicide.com/other/ and the music player will sit on top of that. Eventually the gallery will have the next, prev, and close buttons working because the gallery is going to open in a popup. I also made a mistake and made the graphic a button that's why the hand shows up if you hover over it. The graphic is going to sit there until you press next, then it's going to do it's transformation.
View Replies !
View Related
Fix For A MP3 Streaming Player
Hi
I was wondering if someone could have a look at the code for this
player
http://eloo.izlenim.com/fl_p.asp?fieldNum=2&productID=6
and tell me how to modify the code so that the player by default
loads first playlist and first item in it ...
at the moment you have to go to drop down and select
playlist to be able to play something ...
thanks
View Replies !
View Related
Streaming Mp3 Player
Hello...
I'm trying to make an mp3 player for a site. I've been trying to place each song in an external swf with a preloader in the first frame and have my main movie use loadMovie to load the external swf into a holder.
This works great when I test on my machine (although the preloaders do not show up), however, on the web it seems to not be working.
The other question I have is each of my mp3's are around 3.5 megs. Is there anyway to create an mp3 player that maybe downloads some of the mp3 then plays while the rest is still being downloaded?
Any help is greatly appreciated!
-john
View Replies !
View Related
Streaming Mp3 Player
I am trying to create a very simply mp3 player (if you even want to call it that) for my page. I have it set up right now with mp3's in individual swf files. The player has links to each swf file and when you click on it, it will stop whatever is playing and player the file you select. The only problem is, it isn't streaming it. the code I am using for my play button is this
on (release) {
unloadMovieNum(66);
loadMovieNum("http://www.dpcamp.com/swf/song3.swf", 66);
}
I've heard that you can link directly to mp3's in flash 8 but i've yet to see any code that i've tried work.
How would I get my mp3's to stream?
http://www.dpcamp.com/swf/player.swf
View Replies !
View Related
Streaming Mp3 Player
Hi,
i have created a mp3 player using AS 2.0 that controls the playlist using xml .Everything is working properly . My only issue is that i want the music to stream instead of waiting until the song is fully downloaded to play . This player works fine locally but in browser it creates problem when streaming from server . I have tried a lot ...have searched everywhere ...can u please tell me how to add the streaming / buffering functionality to this player (same as you see in youtube ....want the same streaming functionality) ..
Here's my whole code :
stop();
songtime._alpha = 0;
var songs:Array = new Array();
var curtrack:Number = 0;
var playingsong:Sound = new Sound();
if (_root.playlist == undefined || _root.playlist == "") {
_root.playlist = "playlist.xml";
}
var playlistXml:XML = new XML();
playlistXml.ignoreWhite = true;
playlistXml.load(_root.playlist);
playlistXml.onLoad = function() {
loadSongs();
loadplaylistbox();
playpause.gotoAndStop(2);
playpause.playpausebutton.onPress = function() {
playpause.gotoAndStop(1);
loadSong(curtrack);
songtime._alpha = 100;
};
if (_root.autostart == "false") {
toggleplaypause();
}
};
volumebar.volumeslider.startDrag(true,0,volumebar. volumeslider._y,30,volumebar.volumeslider._y);
function loadSongs() {
for (songIndex=0; songIndex<playlistXml.childNodes[0].childNodes[0].childNodes.length; songIndex++) {
var songdata:Object = new Object();
for (songNode=0; songNode<playlistXml.childNodes[0].childNodes[0].childNodes[songIndex].childNodes.length; songNode++) {
switch (playlistXml.childNodes[0].childNodes[0].childNodes[songIndex].childNodes[songNode].nodeName) {
case "creator" :
songdata.artist = playlistXml.childNodes[0].childNodes[0].childNodes[songIndex].childNodes[songNode].childNodes[0].nodeValue;
break;
case "title" :
songdata.title = playlistXml.childNodes[0].childNodes[0].childNodes[songIndex].childNodes[songNode].childNodes[0].nodeValue;
break;
case "location" :
songdata.location = playlistXml.childNodes[0].childNodes[0].childNodes[songIndex].childNodes[songNode].childNodes[0].nodeValue;
break;
}
}
songs[songIndex] = songdata;
}
}
function loadSong(track) {
playingsong = new Sound();
playingsong.loadSound(songs[track].location,true);
playingsong.start(0);
updatevolume();
playingsong.onSoundComplete = function() {
playpause.gotoAndStop(2);
playpause.playpausebutton.onPress = function() {
playpause.gotoAndStop(1);
loadSong((curtrack+1)%(songs.length));
};
};
playpause.playpausebutton.onPress = function() {
toggleplaypause();
};
songdisplay.text = songs[track].artist+" - "+songs[track].title;
eval("playlistbox.playlistitemcontainer.playlistit em"+curtrack+".playlistitemhighlight")._alpha = 4;
eval("playlistbox.playlistitemcontainer.playlistit em"+track+".playlistitemhighlight")._alpha = 20;
curtrack = track;
}
function loadplaylistbox() {
for (songIndex=0; songIndex<playlistXml.childNodes[0].childNodes[0].childNodes.length; songIndex++) {
playlistbox.playlistitemcontainer.attachMovie("pla ylistitem","playlistitem"+songIndex,playlistbox.pl aylistitemcontainer.getNextHighestDepth(),{_x:0, _y:15*songIndex});
eval("playlistbox.playlistitemcontainer.playlistit em"+songIndex+".playlistitemtext").text = songs[songIndex].artist+" - "+songs[songIndex].title;
eval("playlistbox.playlistitemcontainer.playlistit em"+songIndex).songindex = songIndex;
}
}
playpause.playpausebutton.onPress = function() {
toggleplaypause();
};
function toggleplaypause() {
if (playpause._currentframe == 1) {
playpause.gotoAndStop(2);
playpause.curpos = playingsong.position;
playingsong.stop();
} else {
playpause.gotoAndStop(1);
playingsong.start(playpause.curpos/1000,0);
}
playpause.playpausebutton.onPress = function() {
toggleplaypause();
};
}
onEnterFrame = function () {
if (songdisplay.movingright) {
songdisplay.hscroll -= 10;
if (songdisplay.hscroll<=0) {
songdisplay.movingright = false;
}
} else {
songdisplay.hscroll += 10;
if (songdisplay.hscroll>=songdisplay.maxhscroll) {
songdisplay.movingright = true;
}
}
if (!draggingslider) {
progressslider._x = (playingsong.position/playingsong.duration)*182+86;
if (progressslider._x == 0) {
progressslider._x = 86;
}
}
if (draggingplaylistscroller) {
updateplaylistscroll();
}
if (draggingvolmeslider) {
updatevolume();
}
tempsongtime = "";
if (Math.floor(playingsong.position/60000) == 0) {
tempsongtime += "00";
} else {
tempsongtime += Math.floor(playingsong.position/60000);
}
tempsongtime += ":";
if (Math.floor((playingsong.position/1000)%60)<10) {
tempsongtime += "0";
}
tempsongtime += Math.floor((playingsong.position/1000)%60);
tempsongtime += "/";
if (Math.floor(playingsong.duration/60000) == 0) {
tempsongtime += "0";
} else {
tempsongtime += Math.floor(playingsong.duration/60000);
}
tempsongtime += ":";
if (Math.floor((playingsong.duration/1000)%60)<10) {
tempsongtime += "0";
}
tempsongtime += Math.floor((playingsong.duration/1000)%60);
songtime.text = tempsongtime;
//trace(Math.floor(playingsong.position/60000));
//if(Math.floor(playingsong.position/1000)%60)
//songtime.text=Math.floor(playingsong.position/1000)%60+"/"+Math.floor(playingsong.duration/1000)%60;
};
progressslider.onPress = function() {
draggingslider = true;
progressslider.startDrag(true,86,progressslider._y ,263.8,progressslider._y);
};
progressslider.onRelease = progressslider.onReleaseOutside=function () {
progressslider.stopDrag();
playingsong.start(((progressslider._x-86)/182)*playingsong.duration/1000,0);
playpause.gotoAndStop(1);
playpause.playpausebutton.onPress = function() {
toggleplaypause();
};
draggingslider = false;
};
progressbar.onPress = function() {
playingsong.start(((_xmouse-61)/182)*playingsong.duration/1000,0);
playpause.gotoAndStop(1);
playpause.playpausebutton.onPress = function() {
toggleplaypause();
};
};
volumebar.onPress = function() {
draggingvolmeslider = true;
volumebar.volumeslider.startDrag(true,0,volumebar. volumeslider._y,47,volumebar.volumeslider._y);
};
volumebar.onRelease = volumebar.onReleaseOutside=function () {
draggingvolmeslider = false;
volumebar.volumeslider.stopDrag();
updatevolume();
};
function updatevolume() {
playingsong.setVolume((volumebar.volumeslider._x/47)*100);
}
previoussong.onPress = function() {
loadprevioussong();
};
function loadprevioussong() {
var loadtrack = (curtrack-1)%(songs.length);
if (loadtrack<0) {
loadtrack = songs.length-1;
}
loadSong(loadtrack);
}
nextsong.onPress = function() {
loadnextsong();
};
function loadnextsong() {
var loadtrack = (curtrack+1)%(songs.length);
loadSong(loadtrack);
}
playlistscroller.onPress = function() {
draggingplaylistscroller = true;
playlistscroller.startDrag(true,317.5,85,317.5,185 );
};
playlistscroller.onRelease = playlistscroller.onReleaseOutside=function () {
draggingplaylistscroller = false;
playlistscroller.stopDrag();
};
playlistscrollup.onPress = function() {
playlistscroller._y = Math.max(85, playlistscroller._y-10);
updateplaylistscroll();
};
playlistscrolldown.onPress = function() {
playlistscroller._y = Math.min(185, playlistscroller._y+10);
updateplaylistscroll();
};
var mouseListener:Object = new Object();
mouseListener.onMouseWheel = function(delta:Number) {
playlistscroller._y = Math.min(185, Math.max(85, playlistscroller._y-delta));
updateplaylistscroll();
};
Mouse.addListener(mouseListener);
playlistscrollbar.onPress = function() {
playlistscroller._y = Math.min(185, Math.max(85, _ymouse));
updateplaylistscroll();
};
function updateplaylistscroll() {
playlistbox.playlistitemcontainer._y = -((playlistscroller._y-85)/101)*(playlistbox.playlistitemcontainer._height-149);
}
var myMenu = new ContextMenu();
var menuplaypause = new ContextMenuItem("Play / Pause", toggleplaypause);
menuplaypause.separatorBefore = true;
myMenu.customItems.push(menuplaypause);
/*var menuprevioustrack = new ContextMenuItem("Previous Song", loadprevioussong);
myMenu.customItems.push(menuprevioustrack);
var menunexttrack = new ContextMenuItem("Next Song", loadnextsong);
myMenu.customItems.push(menunexttrack);*/
myMenu.hideBuiltInItems();
_root.menu = myMenu;
Please help me out!!!!
Thanks
Kiran
View Replies !
View Related
Streaming MP3 Player
I have been working on a band site and now I am looking for a streaming MP3 player to finish up. I was working with the component media player in CS3 but I am unhappy with the results - it's too clunky visually out of the box and I can't figure out how to edit it graphically. I don't need too much functionality (play/pause, skip to next, skip to previous, song title, maybe volume), but I do want control of the look of the player. This player is an example of what I am looking for: http://www.armyofanyone.com/php_site/
Any assistance would be much appreciated!!
View Replies !
View Related
Streaming Mp3 Player
Hey, i've been searching here and can't find just a simple player with play/stop button that streams mp3.
Maybe somebody could post an example or point to one.
I would really appreciate!
peace
View Replies !
View Related
STREAMing Mp3 Player, How?
Hi peeps,
for improvement of my existing flash mp3 player I was thinking of a real streaming player. When I play a song with my current flash mp3 player it loads an .mp3 wich is also downloaded to my temporary internet files... When you look at the .mp3 player of MySpace you see that that isnt happening at their player. Does anybody know how that is done?
Thanks in advance!
View Replies !
View Related
Streaming MP3 Player Help
Hello Everybody,
I want to create a MP3 player in flash for a website , if i play a MP3 file that should not be get downloaded into the temp folder , this can be done in flash ? if this can be done please mention what function to be used ..... help please ....
Thanks,
Saddu.
View Replies !
View Related
Streaming MP3 Player
I was wondering if someone could help me out.
** I am new at flash but know some basics**
How do I make a streaming Mp3 player for my flash website that will play whole songs and mutliple tracks? I am assumeing that a streaming player will make it load faster. I want to make the controls consist of: Play, stop, next, back
How do I do this?
REMEMBER in detail I am new!
Thanks so much!
View Replies !
View Related
Streaming Mp3 Player
Hey, i've been searching here and can't find just a simple player with play/stop button that streams mp3.
Maybe somebody could post an example or point to one.
I would really appreciate!
peace
View Replies !
View Related
|