473,405 Members | 2,262 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Flash mp3 player help!

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 1604

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

Similar topics

1
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:...
0
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...
0
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...
1
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...
1
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...
3
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...
6
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...
1
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...
2
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...
0
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.