|
-
theSWEEN
Media player skin help please
Hello,
Ive been fiddling around with making my own media player skin, so i had a look at Brets explained skin (nice1 Bret)and messed around with that, then took the ired skin and modified that.. only problem is, my buttons dont work and I dont understand the second paragraph (which I think is the source of the dilema(see below)). Can anyone help me with this issue please? Do I need to upload all my files for you to see?
width = limit(width,250,250);
height = limit(height,250,250);
pl_item_up = new flash.display.BitmapData(width-29,16,false,0x200000);
pl_item_up.fillRect(new flash.geom.Rectangle(0,0,width-29,1),0x400000);
pl_item_down = pl_item_up.clone();
pl_item_over = pl_item_up.clone();
pl_item_up.fillRect(new flash.geom.Rectangle(0,1,width-29,14),0x300000);
pl_item_down.fillRect(new flash.geom.Rectangle(0,1,width-29,14),0x500000);
pl_item_over.fillRect(new flash.geom.Rectangle(0,1,width-29,14),0x600000);
setUnderlayImage(0,0,'underlay');
setDisplay(12,80,width-24,height-225);
setTimer(240,18,'_sans',11,0x9f9f9f,true,true);
setFD(15,height-58,10,40,2,0xfebd9c);
setPauseButton(170,height-243,'pause','pausedn','pauseover');
setPlayButton(107,height-246,'play','playdn','playover');
setStopButton(77,height-243,'stop','stop','stopover');
setPrevButton(49,height-243,'prev','prev','prevover');
setNextButton(141,height-243,'next','next','nextover');
hslider = new flash.display.BitmapData(width-21,1,false,0x600000);
tdrag = new flash.display.BitmapData(16,16,true,0);
tdrag.fillRect(new flash.geom.Rectangle(6,8,4,1),0xffea763b);
box(12,height-181,width-11,height-179,0,100,true);
setTimelineSlider(14,height-180,'',0,0,1,hslider,0,0,width-21,tdrag);
setVolumeSlider(206,height-215,'',0,0,1,'',0,2,36,'drag');
box(12,238,width-12,108,0,100,true);
setListDisplay
(5,3,null,null,null,null,0,0,248,pl_item_up,pl_ite m_down,pl_item_over,'_sa
ns',9,0xfebd9c,true,'left',width-15,108,null,2,0,-36,'drag');
timeline.swapDepths(10);
pl_dsp.swapDepths(20);
-
KoolMoves Moderator
this section:
Code:
pl_item_up = new flash.display.BitmapData(width-29,16,false,0x200000);
pl_item_up.fillRect(new flash.geom.Rectangle(0,0,width-29,1),0x400000);
pl_item_down = pl_item_up.clone();
pl_item_over = pl_item_up.clone();
pl_item_up.fillRect(new flash.geom.Rectangle(0,1,width-29,14),0x300000);
pl_item_down.fillRect(new flash.geom.Rectangle(0,1,width-29,14),0x500000);
pl_item_over.fillRect(new flash.geom.Rectangle(0,1,width-29,14),0x600000);
Just creates the playlist graphics rather than loading them. Should have no effect on your play/pause type buttons.
-
theSWEEN
Forgot to say, thanks mate, I eventually sorted my player out.. its looking coool!! I might add it to the koolexchange.
Thnaks again
Steve
-
KoolMoves Moderator
Looking forward to seeing it.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|