Create Media Player And Link MP3s To Different Instances Of Same Button

Sep 28, 2009

I am trying to do: [URL]. This is a little webpage I'm building as I learn more and more flash. I am at a point where I need to link .mp3 files to the buttons on the "Dan's Top Songs Playlist". If you like, you can download my flash file here: [URL]. I am working with ActionScript 3.0. The buttons in the Media Player are all instances of the same button. How do I tie each button to a different .mp3 song to play when clicked (and stop when another song is clicked or the pause button is clicked)? Because of the size of song files, I'd like to stream it. Also, is there any way to use the "repeat" symbol to just play all the songs in order and the "shuffle" symbol to play them in random order?
Attachments: fbar.zip (1.8 MB)

View 1 Replies


Similar Posts:


Media Server :: Flash Player In Windows 7 - No Streaming MP3s?

May 7, 2009

Just installed Windows 7 RC (7100), and got the latest Flash player for IE8 and Opera. My site [URL] has a music player I created that plays (streams) MP3s from a Flash Comm Server I run. The player works fine with Flash Player version 10.0.22.87 on other platforms, but not in Windows 7. Once you pick a song, it should start immediately. Even clicking the play button doesn't work. The symptoms make me think there's a problem establishing the netconnection for streaming.
I've read Microsoft added streaming of some kind in Windows Media Player for Windows 7, could it be interfering?

View 1 Replies

ActionScript 2.0 :: Create A Mp3 Player Which Streams External Mp3s?

May 14, 2003

how do i create a mp3 player which streams external mp3s and loads all the tracks from an external file like asp etc?

View 9 Replies

ActionScript 3.0 :: Can't Open Rtmp Link, Neither Media Player?

Dec 29, 2009

i found a RTMP link of a cam site.[URL]... how can I open this link & watch feed ??

u know, browser cant open rtmp link, neither media player

View 0 Replies

Flash :: Player In Windows 7 - No Streaming MP3s?

May 7, 2009

Just installed Windows 7 RC (7100), and got the latest Flash player for IE8 and Opera. My site [URL] has a music player I created that plays (streams) MP3s from a Flash Comm Server I run. The player works fine with Flash Player version 10.0.22.87 on other platforms, but not in Windows 7. Once you pick a song, it should start immediately. Even clicking the play button doesn't work. The symptoms make me think there's a problem establishing the netconnection for streaming. Wondering if anyone else has Windows 7 specific problems with Flash player?

View 3 Replies

ActionScript 2.0 :: Flash 8 Video Player Won't Play MP3s?

Aug 16, 2006

I'm working with some other developers at my office on a multimedia player interface that displays ads and MP3s/FLVs from a user-controlled database of content.Turns out, in our v2 iteration that uses Flash 8 and the related video player, MP3s don't jive. Is that right? We're just now migrating to Flash 8 development, particularly for video, and we were suprised to see the functionality we had for MP3s with the MediaPlayback component go away. Is there a better way to integrate the Flash 8 video player with audio than what we did before?

View 1 Replies

ActionScript 3.0 :: Create Media Player For Loaded Swf Only?

Sep 4, 2010

Create media player for loaded swf only.

View 6 Replies

ActionScript 3.0 :: Create A Button To Add Multiple Instances Of Same Object When Clicked?

Mar 21, 2012

I need to create a button the can add multiple instances of the same object when clicked.

View 2 Replies

ActionScript 3.0 :: Create Multiple / Limited Movie Clip Instances With A Button?

Apr 2, 2011

click btSpawnAdd 1 mcObject to the stage, with a limit of 5 maximum of that objectclick btDestroyRemove 1 mcObject from the stage until all are goneI assume you'd use classes and arrays to get this done? I've managed to get a button creating objects onto the stage by doing that, but I can't figure out how to set a maximum.The end goal is to create drag & drop objects by clicking a button, and then being able to drag those objects onto a "recycle bin" to remove one.

View 18 Replies

ActionScript 3.0 :: SWC File In Which I Also Include All Media Files (mp3s) That Are Part Of Flash Application?

May 1, 2011

I wish to save my flash outpout (SWF) as an SWC file in which I also include all media files (mp3s) that are part of my Flash application. Currently these files reside in folders under my main library where all flash entities (AS3 code, buttons graphics etc reside)What software do I need to use to accomplish that?I now work in CS4 under winXP

View 0 Replies

Flash :: Create My Own Online Media Player Compatible With All Browsers?

Jan 28, 2011

I have being thinking to create a website for music uploading and downloading!I have thought a lot and had been able to create it! But i'am stuck with this fear that windows media player would not be able to support with other browsers like SAFARI!

View 1 Replies

Create A Button To Link To Dreamweaver Page?

Oct 16, 2009

I'm making a website in dreamweaver with flash in it, I want to link an image that I have in flash to another page (.html) that I have in dreamweaver. When I first used flash and dreamweaver I had done it, but honestly now I completely forgot and can't figure it out. I know I didn't use any action scripts. I just put the page name (???.html) somewhere and it worked.

View 5 Replies

ActionScript 3.0 :: Create A Button With Text For Link?

Apr 8, 2009

I need to take this code

Code:
_myButton.addEventListener(MouseEvent.CLICK, onMouseClick);
function onMouseClick(e:MouseEvent):void
{

[Code].....

and create in AS3 a button for it (_myButton) with the text 'click me'

View 1 Replies

ActionScript 3.0 :: Create A Button That Link To A Website?

Jul 15, 2010

I am trying to create a button that link to a website and I cannot for the life of me get my flash to open a new window to a site. I am trying to have specific links to different sites for each slide, I'm not sure how to get it working. I get an error message of:

TypeError: Error #2007: Parameter url must be non-null.
at global/flash.net::navigateToURL()
at MethodInfo-119()

my script is the following:

import fl.transitions.*;
import fl.transitions.easing.*;
var imageWidth:Number = 0;[code].......

View 3 Replies

ActionScript 2.0 :: Create The Next Button Which Will Link To Another Scene Containing The Assembled Body Parts

Aug 28, 2005

I am trying to create something like a dress up game. The first screen would be all the body parts(e.g hands,head etc.) and once users click on the next button they will be taken to a new scene with the assembled body parts where there'll be clothes and accessories for users to choose.My question is how to create the next button which will link to another scene containing the assembled body parts.

View 1 Replies

ActionScript 2.0 :: Looping MP3s Seamlessly Unless Mute Button Clicked?

Apr 24, 2004

I'm using some modified code from a chapter exercise (from a text book) to play four separate MP3s external to the FLA. Here's an example of what happens when a button is clicked:

Code:
BtnOne.onRelease = function():Void {
stopAllSounds();
song1=new Sound();
song1.loadSound("Music/Puffy.mp3", true);
gotoAndPlay("music1");

On the label 'music1', I have this AS:
Code:
stop();
song1.onSoundComplete = function() {
song1.start();
}

The problem is, there's something of a noticeable stutter when the MP3 reaches the end, just before it starts up again. The first MP3 (contrary to the others), is a seamless ambient sound which ought to sound perfect in the FLA, but doesn't, again, because of the slight stutter in starting it up again. Is there a better way to do this? I thought, perhaps, this would be fixed if I removed the "stop();" line and instead had it play the next frame, which would invariably send it back to the previous one, but this changed nothing. Is there a better method to use? Even with the other three MP3s, which aren't seamless, I want to loop, unless and until the user clicks the 'Mute' button.

View 2 Replies

ActionScript 2.0 :: MP3s - Loop Unless And Until The User Clicks The 'Mute' Button

Apr 24, 2004

I'm using some modified code from a chapter exercise (from a text book) to play four separate MP3s external to the FLA. Here's an example of what happens when a button is clicked:

[Code]....

The problem is, there's something of a noticeable stutter when the MP3 reaches the end, just before it starts up again. The first MP3 (contrary to the others), is a seamless ambient sound which ought to sound perfect in the FLA, but doesn't, again, because of the slight stutter in starting it up again. Is there a better way to do this? I thought, perhaps, this would be fixed if I removed the "stop();" line and instead had it play the next frame, which would invariably send it back to the previous one, but this changed nothing.

Is there a better method to use? Even with the other three MP3s, which aren't seamless, I want to loop, unless and until the user clicks the 'Mute' button. My last thread (about setInterval)received no replies, but I'm hoping this will, especially as this final project is due this Wednesday and I'd rather it not have this slight hiccup in it.

View 2 Replies

ActionScript 2.0 :: Click On A Button In A Swf And Control What Stream Is Played Through The Media Player On The Same Asp Page

May 20, 2009

I have 2 swf's and a activex media player on an asp page. I want the buttons on my swf to control what live stream the activex player plays. The stream urls are in a webservice that i connect with one swf then send to the other swf using "localconnection". So when you click on a button on the first swf, it then sends a list of available streams to the other swf, displaying them in their designated dynamic text fields, which are located on top of their corresponding buttons. In my "localconnection" i send both the name and the url from the first swf to the second. Basically I want to know if its possible to click on a button in a swf and control what stream is played through the media player on the same asp page.

View 1 Replies

Actionscript 3.0 :: Create Html Link And Click The Link To Play Video?

Jul 13, 2009

i made a video player with the xml playlist , it's a video channel indeed, it's embed swf in html. but my boss would like me to put a link on the web, when user click the link, it would directly play the specific video inside the video channel. is it possible to do it without server side script but javascript?

View 1 Replies

ActionScript 2.0 :: Create Base Url Function And Button Link To Call That Function?

Jun 16, 2010

How create baseurl function in flash and how i call that function in button script

View 1 Replies

Media Server :: FMS(Interactive) - Adobe Media Player Tracking Service?

Aug 30, 2010

I understand that the Flash Interactiver Server has this feature called 'Adobe Media Player Tracking Service' which the free version dosen't have. Any idea what ' Adobe Media Player Tracking Service' is and what it does

View 2 Replies

ActionScript 3.0 :: Button Link - Link Them To A Picture/url Address?

Dec 17, 2009

i created my subMenu buttons fine, however i only know how to link them to a picture/url address, my goal is to have the user click the subMenu button and open the image or page right below the menu bar in the "stage" area of flash. I read about IFrames but i'd rather create the whole site in flash .Here is the code for my subMenu...

btn_34th.addEventListener(MouseEvent.CLICK, buttonClickHandler);
function buttonClickHandler(event:MouseEvent):void {
navigateToURL(new URLRequest("images/34th.jpg"));
trace("I'm Clicked!");

Again, this works fine, i just want to have the image take up the "white" space on the stage area, very similar to an IFrame.

View 1 Replies

Media Server :: VideoPlayer And Application Instances

Jun 27, 2010

I am trying to playback recorded streams from a Flash Media Interactive Server using the VideoPlayer component in Flex 4/Flash Builder 4.If the stream is located in the serverpath>/ streams/vod/_definst_ directory then I can get to it by setting the 'source' parameter of the VideoPlayer to [code]What I can't get to work is when I have a stream recorded to an instance within an application directory.So if the application is "app1' and the instance name is "inst1" it would be literally located in <serverpath>/ app1/ streams/ inst1 directory. Setting the source parameter to this "<server>/ app1/ inst1/ streamname" does not work.It seams to be ignoring the 'inst1' part of the path because the server side log shows '_definst_' as the instance name being run.I know this is in part a Flex 4 question, but manually writing a video player works. I would just like to get the Flex 4 VideoPlayer component to play the video.

View 2 Replies

ActionScript 3.0 :: Getting A Button To Link To Mailto Link?

Mar 26, 2009

I've trawled the web, everyone with different ideas on how to call up a mailto link in AS3. What I'm looking for is this: I have a box, that is coverted to a button symbol given the name 'mailto'I have another layer for the actionscript I have imported 'flash.net.navigateToURL' and 'flash.net.URLRequest'
I know I need to create a function or a variable to link in the already created button. Do I also need to import the MouseEvents?

I created this FLA to get used to CS4 (i was previously using8)Everything works wonderfully, I would just like to know how to use AS3 properly, without having to call defeat and create the FLA again using AS2.

View 4 Replies

Media Server :: Set The Maximum Number Of Connections Of FMS On The Same IP In Multiple Instances?

Apr 11, 2012

In multiple instances, limiting the maximum number of connections for the same IP?You give me the answer is to limit a single instance, whether there is a way to limit the number of users of the entire connected to the FMS?

View 5 Replies

Flash Player 10 Vs FP 9 - Pile Of 1009 Errors And Many Of Tweenlite Instances Won't Work

Apr 7, 2010

My movie publishes fine in FP9. When I try to publish in FP10 (so I can use unloadAndStop() ) I get a pile of 1009 errors and many of my Tweenlite instances won't work. Is there something obvious I'm missing here? Are there big differences between FP10 and 9?

View 1 Replies

ActionScript 3.0 :: Create Instances With Buttons?

Mar 30, 2009

I am having trouble. I am trying to get buttons on the stage to create instances of movie clips from the library when clicked.

I don't get any compiler errors, but when I click the buttons[code]...

View 4 Replies

ActionScript 3.0 :: Way To Create Class Instances?

Oct 8, 2009

I recently learned how to use gravity so I made a bouncing balls program but I have an issue with the interaction between the frame timeline code and the class.The problem is that when I create instances with a timer, I declare the variable inside the timer function. And I want to add a blackhole sort of thing when I click down on the stage but I cannot access the object from the blackhole function since it's declared inside the timer.

View 4 Replies

ActionScript 2.0 :: Use A For Loop To Create Instances?

Aug 27, 2006

I'm trying to parse an XML file, and use it to create instances of a custom class the fly in actionscript 2. (can't migrate to 3 for this project).I'm trying to make something happen like:

Code:
for (var i:Number=0; var<n; var++) {
instanceName="MyObject"+i;[code].....

Which doesn't work.When it's all done, I need to have n objects named MyObject1, MyObject2, ..., MyObject(n).

View 2 Replies

Media Server :: RTMFP Protrocol In Flash Player 10.x Is Not Compatible With Flash Player 11.x

Feb 11, 2012

I have a swc plugin embedded in my product to stream live video to a group of recipients.The plugin uses the NetStream, NetGroup and NetConnection objects, the server I use to handle the RTMFP session is Influxis.One client creates a group as a publisher, and stream a live video.His Camera is enabled and I can see the video on the screen as well. The others connect to his group and play the video.Peer assisted Networking is enabled for both the publisher and the recipients.The plugin worked well in all 10.x versions (10.1/10.2/10.3)However, when upgrading to flash player 11.x, it stopped working.

-11.x to 11.x isn't working.
-10.x with 11.x isn't working.
-only 10.x to 10.x is working.

The server I use to handle the RTMFP protocol is Influxis.com I sent them the same question as well.The weirdest fact is that I'm using flash builder 4.6 with 4.6 sdk, which is aimed for flash player 11.1, and it is only working with 10.x flash players.

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved