Home Forum
Welcome, Guest
Username Password: Remember me

Help! Trying to create my own buttons for Wimpy and failing! Any1 else done it?
(1 viewing) (1) Guest

TOPIC: Help! Trying to create my own buttons for Wimpy and failing! Any1 else done it?

Help! Trying to create my own buttons for Wimpy and failing! Any1 else done it? 3 years, 12 months ago #2005


  • Posts:8
  • Rube
  • Fresh Boarder
  • OFFLINE
Hi there.

Ive built a wimpy MP3 player into my website (using Flash) and have managed to get my own skin to work using skin machine. My problem now is that i cannot get buttons that i have designed to work. The explanation on the wimpy site is frankly rubbish and there is no Forum on the wimpyplayer.com site either.

Ive been at this for about 3 or 4 days now and tried everything i can think of, there is one thing that i still dont understand, here goes;

The script that you get given with 'wimpyloader' to put on your buttons is (eg on the stop button):

on (press) {
wimpyLoader.wimpy_stop();
}


This script is basically telling the movie clip called 'wimpyLoader' to activate the function defined as 'wimpy_stop();', this function in the 'wimpyLoader' movie clip is:

function wimpy_stop() {
targetMC.js_wimpy_stop();
}


This is where i start to get a little confused!

This line (correct me if im wrong) is telling another movie clip - one that IS present - to execute the command 'js_wimpy_stop();' is this a java script function that is talking to a file outside of the loader? (eg the wimpy.php or .swf files) or is it meant to execute a command within the targetMC movieclip? there is no further code with the final 'targetMC' movieclip. HELP!!

I have tried so many things now and this is the only thing left i can think of that looks slightly suspicious to me, im not a pro at this stuff but im also not clueless with it. Still tho - suggestions are ABSOLUTELY welcome!!!!

Thanks loads!!

Rube

(Had to put this smiley on my post - love it!!)
The topic has been locked.

Re: Help! Trying to create my own buttons for Wimpy and failing! Any1 else done 3 years, 12 months ago #2023


  • Posts:667
  • admin
  • Administrator
  • OFFLINE
You need to add some AS to your exisating flash site with the following:

http://www.wimpyplayer.com/resources/wimpyAVLoader.zip

That is a src fla that will show you how to use it in an existing site.
The topic has been locked.

Re: Help! Trying to create my own buttons for Wimpy and failing! Any1 else done it? 3 years, 12 months ago #2032


  • Posts:8
  • Rube
  • Fresh Boarder
  • OFFLINE
:-D :-D :-D

Many thanks mate!!!!!!!

Im there!

Only got one more issue now, i need the button script and the function code it calls for the 'eject button' (or playlist return-i think its called that-its the eject button in the skin machine) i cant find it in the functions and script section of the readme that is provided! If you could send me that then youre a legend!!! although i think that it may have to come from the wimpy people themselves!!

Thanks loads again mate!!

...
The topic has been locked.

Re: Help! Trying to create my own buttons for Wimpy and failing! Any1 else done 3 years, 12 months ago #2035


  • Posts:667
  • admin
  • Administrator
  • OFFLINE
I wasnt able to find that code either. I see how that could be an issue. What I did was create a custom skin (an SWF skin not an JPG skin) and just not include the eject button, as it did nothing for me. You can see my implementation of the skin here: http://www.gotgtek.com/cms/. Click on GTEK Player on the left module.
The topic has been locked.

Re: Help! Trying to create my own buttons for Wimpy and failing! Any1 else done it? 3 years, 12 months ago #2041


  • Posts:8
  • Rube
  • Fresh Boarder
  • OFFLINE
I see! You seem to have gotten around it nicely! Im definately gonna need in tho, ive got a selection of artists that i need to play music from and its the tidiest way BY FAR to have it in directories by artist. www.ubeats.com (my wimpy is located here, the site itself is still undergoing work). Im waiting on a reply from the ever-so-helpful (...) Mike from Wimpy with the code, if he gets back to me with it, i will be sure to give it to you as well!

Got one more question for ya (not about wimpy you'll be glad to hear!)

Im using the localConnection function in flash to get two swf files to talk to one another (i have a connection going across two frames on my site and also a connection within the same frame elsewhere). All the connections work fine with Safari and Firefox but i cant get it working properly with IE. This has to be due to the downgrade...i mean upgrade to IE-6. Any suggestions on what i need to do to get it working? It works VERY infrequently on only one button, and that will only SOMETIMES work!!

Once again, many many thanks for sticking with me on this!!

Rube
The topic has been locked.

Re: Help! Trying to create my own buttons for Wimpy and failing! Any1 else done it? 3 years, 12 months ago #2042


  • Posts:8
  • Rube
  • Fresh Boarder
  • OFFLINE
Forgot to mention that its IE on the PC (not able to test it on IE for mac anymore)

Thanks again

Rube
The topic has been locked.
Time to create page: 0.20 seconds