473,799 Members | 3,224 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Flash mp3 player help!

1 New Member
Hi im trying to make a mp3 player in flash 8. I have got the player working with buttons etc just I want to make it autoplay... I will post my actionscript below, thanks Liam.

For the play button I use

Expand|Select|Wrap|Line Numbers
  1. on ({
  2. sound.start(cue);
  3. }
For the pause button I use

Expand|Select|Wrap|Line Numbers
  1. on(release){
  2. cue=Math.round (sound.position/1000);
  3. sound.stop();
  4. }
For the stop button I use

Expand|Select|Wrap|Line Numbers
  1. on(press){
  2. stopAllSounds();
  3. cue=0;
  4. }
And the track loading bit I use

Expand|Select|Wrap|Line Numbers
  1. sound=new Sound();
  2. sound.loadSound("mymusic.mp3");
  3. stop();
Any help in making the track autoplay will be great, I don't mind if I have to start it all again im pretty new to all this. Thanks again
Sep 10 '07 #1
0 1633

Sign in to post your reply or Sign up for a free account.

Similar topics

1
2243
by: dscriv | last post by:
Hello, I have Netscape 8.0.4 (in Firefox mode) and Flash 8.0.24.0. I also have IE and Firefox installed. If I go to this page, which contains a Flash detection movie: http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_15507 all three browers successfully run the Flash movie and show the same version of Flash to be installed. However, if I try to use a javascript Flash detection solution, it does
0
1389
crabpot8
by: crabpot8 | last post by:
hey guys, sorry for the short notice but this is pretty time-sensitive. I am working on a video service that asks for local files from a host computer. what we have set up is a site with a flash player, and the user passes the player some flashvars that indicate the unique name of the video. the flash in turn connects to a local client via one port nad asks for the video data. the client is receiving the request and sending the data, and we...
0
2808
by: crisscross27 | last post by:
Hi, I found a page called "myflashfetish" where you chan choose mp3 players for my space, well the problem is this, I wanted to place 2 or more players in myspace in a particular place, I read another sources how to do that, so i tried to add "position:absolute;left:525px;top:250", i succeed moving the first player but i couldn´t move the second, in change it appears besides the first one every time i move the first one, could you help me? how...
1
2733
by: critchey1 | last post by:
Hey everyone, i've been playing around with trying to get some scripts to work with detecting whether flash player is installed on your computer or not. I found a flash detection kit on the adobe site which had a client side detection method using javascript. Basically what im trying to get it to do is if flash player is installed, use the style property display="none" to hide my static content, and if flash is not installed hide the flash...
1
2301
by: dosingh | last post by:
i've put this page together using asp, html, javascript amd flash. java passes a number of variables over to the flash file but the flash graph does not appear. The error which appears is SWFObject in undefined. The script tag contained <script type="text/javascript"> but after taking the "text/" out the, the pages shows not error but also not graph!!!! at the end of my tether. PLEASE HELP!!! code is list below <%@LANGUAGE="VBSCRIPT"...
3
4181
by: Moo | last post by:
I'm trying to embed a flash mp3 player on my website (http://www.cafepress.com/sfclothing), I did post a previous message regarding a windows media player one but I prefer the flash one and I guess it'll have more compatibility with more people. Anyway, what I struggling with is getting it to autoplay (eventually I intend to have it pop up in it's own window so people can still browse my site whilst the audio is playing). Has anyone...
6
6269
by: nagmvs | last post by:
Hai friends, I want one flash player with out seek bar.U can lough after reading this,but my requirement is like that.Can any one tell me how can i acheive this.I am new to flash.I don't no how to create flash player in Flash 8.So please help me. I want one flash player with PLAY, PAUSE ,STOP,FIRST and VOLUME only.If ur having this type of player means please give me.Or tell me How can i create this type of player in FLASH...
1
2693
by: mugdhajain | last post by:
Hi, I am working on an independent application to play flash files on Mac. I have already done the same for Linux, and it works flawlessly but on mac for some reason flash is not drawing to my window. It is not throwing any kind of error too. I am using Flash player 10, that would mean that I am using the Core Graphics drawing model. I am able to send mouse events to flash and wrote a sample plugin to check if there was a problem in the...
2
8093
dream party
by: dream party | last post by:
Inserting a Flash (SWF, FLV) file into HTML web page is already an old and familiar thing to all of us. It is a rather non-flexible thing that just to edit some options in the template. However, I did not understand some parameters totally in the HTML tag. These days when I was surfing the Internet I have found some comprehensive introduction to these two tags. I read it and conclude it with my own words; I think it will be useful to us, so I...
0
1924
momotaro
by: momotaro | last post by:
I have a flash file that I include in a PHP page, the bottons are visible but not the content of the file (images) all the rest is a white box in both the preview of dreamweaver and the internet browsers here is the code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml">
0
9685
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9538
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10247
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
6803
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5459
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5583
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4135
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3751
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2935
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.