Jump to content


Photo

my 1st mp3 player


  • Please log in to reply
73 replies to this topic

#41 funkysoul

funkysoul

    The Funky Stuff

  • Publishing Betazoids
  • PipPipPipPip
  • 2,307 posts
  • Gender:Male
  • Location:Zurich, Switzerland
  • Interests:Music: HIM, HIM, HIM, Cafe del Mar, Linkin Park, Fort Minor, Coldplay, Eric Jordan<br />Sports: Snowboarding, KiteSurfing, Extreme Sports<br />Computer: Flash, After Effects, Actionscript

Posted 06 August 2005 - 05:12 AM

VayderX - Just remove this line
_root.sound_mc.songStarter(songfile[0],songname[0]);

Idiopanic - Which version of flash are you using?

#42 idiopanic

idiopanic

    Young Padawan

  • Members
  • Pip
  • 3 posts

Posted 06 August 2005 - 11:10 AM

flash mx 2004

#43 funkysoul

funkysoul

    The Funky Stuff

  • Publishing Betazoids
  • PipPipPipPip
  • 2,307 posts
  • Gender:Male
  • Location:Zurich, Switzerland
  • Interests:Music: HIM, HIM, HIM, Cafe del Mar, Linkin Park, Fort Minor, Coldplay, Eric Jordan<br />Sports: Snowboarding, KiteSurfing, Extreme Sports<br />Computer: Flash, After Effects, Actionscript

Posted 06 August 2005 - 11:21 AM

hmm.. very strange..

I've downloaded it right now, and it's working for me.
Maybe is your download corrupt?

Otherwise PM me your email adress, so I sent the unzipped fla to you

#44 mostwanted

mostwanted

    Young Padawan

  • Members
  • Pip
  • 7 posts

Posted 07 August 2005 - 12:59 AM

Hello everyone!

I would like to say it's a great tutorial on the mp3 player!
I do have one problem though.. When I upload the files to my server and in the html code on the page, The player just sits there... it has just "Loading...."
Could anyone please post the correct html code for the player?
I'm sorry if it's somewhere else.. If it is I have overlooked it.. :)

Thank you again for the great tutorials!! Keep up the great work!

#45 funkysoul

funkysoul

    The Funky Stuff

  • Publishing Betazoids
  • PipPipPipPip
  • 2,307 posts
  • Gender:Male
  • Location:Zurich, Switzerland
  • Interests:Music: HIM, HIM, HIM, Cafe del Mar, Linkin Park, Fort Minor, Coldplay, Eric Jordan<br />Sports: Snowboarding, KiteSurfing, Extreme Sports<br />Computer: Flash, After Effects, Actionscript

Posted 07 August 2005 - 10:13 AM

just download the zip file I've provided you on the tutorial.
Or if you have already made your player and it's working inside flash.. then just press publish (F12)

#46 VayderX

VayderX

    Young Padawan

  • Members
  • Pip
  • 2 posts

Posted 08 August 2005 - 11:23 AM

Hey funkysoul, thanks for the help, the player's working like a charm :)

#47 funkysoul

funkysoul

    The Funky Stuff

  • Publishing Betazoids
  • PipPipPipPip
  • 2,307 posts
  • Gender:Male
  • Location:Zurich, Switzerland
  • Interests:Music: HIM, HIM, HIM, Cafe del Mar, Linkin Park, Fort Minor, Coldplay, Eric Jordan<br />Sports: Snowboarding, KiteSurfing, Extreme Sports<br />Computer: Flash, After Effects, Actionscript

Posted 08 August 2005 - 11:38 AM

great ;)

#48 rustytoolz

rustytoolz

    Young Padawan

  • Members
  • Pip
  • 7 posts

Posted 11 August 2005 - 05:57 AM

Hey Funky any luck on getting it to stop after the second song is finished?

TIA!

Rusty

#49 funkysoul

funkysoul

    The Funky Stuff

  • Publishing Betazoids
  • PipPipPipPip
  • 2,307 posts
  • Gender:Male
  • Location:Zurich, Switzerland
  • Interests:Music: HIM, HIM, HIM, Cafe del Mar, Linkin Park, Fort Minor, Coldplay, Eric Jordan<br />Sports: Snowboarding, KiteSurfing, Extreme Sports<br />Computer: Flash, After Effects, Actionscript

Posted 11 August 2005 - 03:14 PM

nope sorry.. but I'm working on it
EDIT: Just had an idea.. Try to change this bit of code:

this.sound_obj.onSoundComplete = function () {
        (song_nr==songfile.length-1)? _global.song_nr=0 : _global.song_nr++;

Remove the "?_global.song_nr=0", I think it should work then..

I don't have flash on this machine where I am now.. but I will try it myself tomorrow..

#50 rustytoolz

rustytoolz

    Young Padawan

  • Members
  • Pip
  • 7 posts

Posted 11 August 2005 - 09:44 PM

Hey Funky it didn't work I'll just wait till you look over it and see what happens thanks for all your help I really appreciate it!

TIA,

Rusty

#51 malaflam

malaflam

    Young Padawan

  • Members
  • Pip
  • 3 posts

Posted 17 August 2005 - 09:06 AM

Hey all, new here. I'm also pretty new to Flash and have been working with this mp3 player tutorial for a bit. I love it! Great work Funky...the only thing that is really stumping me is I don't want it to auto start on my page load. I want the player to load up but to wait for the user to actually hit the play button to begin. Maybe I'm totally missing something in the coding but is there an easy way to just stop the player from starting up?

#52 Hooch

Hooch

    Young Padawan

  • Members
  • Pip
  • 158 posts
  • Location:Brockville, Ontario

Posted 05 September 2005 - 09:50 PM

I want the player to load up but to wait for the user to actually hit the play button to begin.

This is a good option.

One I was wondering if you could do Funky was the pause button.
Is this possible?

#53 funkysoul

funkysoul

    The Funky Stuff

  • Publishing Betazoids
  • PipPipPipPip
  • 2,307 posts
  • Gender:Male
  • Location:Zurich, Switzerland
  • Interests:Music: HIM, HIM, HIM, Cafe del Mar, Linkin Park, Fort Minor, Coldplay, Eric Jordan<br />Sports: Snowboarding, KiteSurfing, Extreme Sports<br />Computer: Flash, After Effects, Actionscript

Posted 06 September 2005 - 01:41 AM

Hi everybody.. I will be releasing part III of the mp3 player soon, there will be some of the features you asked for.
:huh: be patient

#54 Hooch

Hooch

    Young Padawan

  • Members
  • Pip
  • 158 posts
  • Location:Brockville, Ontario

Posted 06 September 2005 - 06:50 AM

You are the master. We shall wait with great patience and excitement.

#55 funkysoul

funkysoul

    The Funky Stuff

  • Publishing Betazoids
  • PipPipPipPip
  • 2,307 posts
  • Gender:Male
  • Location:Zurich, Switzerland
  • Interests:Music: HIM, HIM, HIM, Cafe del Mar, Linkin Park, Fort Minor, Coldplay, Eric Jordan<br />Sports: Snowboarding, KiteSurfing, Extreme Sports<br />Computer: Flash, After Effects, Actionscript

Posted 06 September 2005 - 11:58 AM

Many people asked me how to disable the "auto-play" function of the player. here the solution:

Just remove this line:
_root.sound_mc.songStarter(songfile[song_nr], songname[song_nr], songband[song_nr]);


#56 Hooch

Hooch

    Young Padawan

  • Members
  • Pip
  • 158 posts
  • Location:Brockville, Ontario

Posted 06 September 2005 - 02:57 PM

Hey funky..this is just awsome you are helping us all along.
And I appreciate your time an effort. I am enjoying this alot.

Now I have a question for ya.
In the following code (yours ofcourse) you see this line
this._parent.display_txt.text=name+" / "+band;

this.sound_obj = new Sound(this)
this.sound_obj.loadSound(file,true)
this.onEnterFrame = function () {
if(this.sound_obj.position>0) {
delete this.onEnterFrame; 
this._parent.display_txt.text=name+" / "+band; 
timeInterval = setInterval(timer, 1000, this.sound_obj);
} else {
this._parent.display_txt.text="loading..." 
}
}

So it looks like this in the MP3 player now
Fly on the Wall / AC/DC

Is it possible to change that so it would look like this
Fly on the Wall
-by-
AC/DC


Thanks.. Hooch

#57 funkysoul

funkysoul

    The Funky Stuff

  • Publishing Betazoids
  • PipPipPipPip
  • 2,307 posts
  • Gender:Male
  • Location:Zurich, Switzerland
  • Interests:Music: HIM, HIM, HIM, Cafe del Mar, Linkin Park, Fort Minor, Coldplay, Eric Jordan<br />Sports: Snowboarding, KiteSurfing, Extreme Sports<br />Computer: Flash, After Effects, Actionscript

Posted 06 September 2005 - 03:44 PM

honestly.. the easiest solution would be

creating 2 textfields, one for the title and one for the band
give those 2 textfields unique names and instead of this
this._parent.display_txt.text=name+" / "+band;
put this:
this._parent.title_display_txt.text=name;
this._parent.band_display_txt.text=band;

;) easy or not?

Edited by funkysoul, 06 September 2005 - 03:45 PM.


#58 Hooch

Hooch

    Young Padawan

  • Members
  • Pip
  • 158 posts
  • Location:Brockville, Ontario

Posted 06 September 2005 - 05:24 PM

1st off thank you.
2nd of all, I have no experience in coding. I have no idea what most of this is.
So I am only following your tutorials by the letter.
I would have never known what could be done there.

I understand this could be frustrating.

again thank you.

#59 dysfunktunal

dysfunktunal

    Young Padawan

  • Members
  • Pip
  • 17 posts

Posted 13 September 2005 - 01:27 AM

ya im completely new but i really wanted this coded...can u help me out with this...

Error opening URL "file:///C|/Documents%20and%20Settings/HP%5FAdministrator/My%20Documents/My%20Received%20Files/mediaplayer/undefined"
thats wut it says to me...wut dus this mean???

#60 funkysoul

funkysoul

    The Funky Stuff

  • Publishing Betazoids
  • PipPipPipPip
  • 2,307 posts
  • Gender:Male
  • Location:Zurich, Switzerland
  • Interests:Music: HIM, HIM, HIM, Cafe del Mar, Linkin Park, Fort Minor, Coldplay, Eric Jordan<br />Sports: Snowboarding, KiteSurfing, Extreme Sports<br />Computer: Flash, After Effects, Actionscript

Posted 13 September 2005 - 02:23 AM

have you placed all files on the same folder?? Everything needs to be in the same place to work properly




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users