View Single Post
  #1  
Old 02-10-2013, 07:30 AM
Nomad_P2P Nomad_P2P is offline
Currently on UN :>
Nomad_P2P's Avatar
Join Date: Oct 2005
Location: New Zealand
Posts: 81
Nomad_P2P will become famous soon enough
A tad stumped...

Hey guys,

I am currently working on a playlist as I progress through learning GS2. I am a bit stuck on one part. I am trying to figure out a simple method too have song links remembered by script, or something.

NPC Code:

function PlaylistSet_Button2.onAction() {
if ( PlaylistGUI_Window1.visible == true ) {
PlaylistGUI_TextList1_Scroll.visible = true;
PlaylistGUI_TextList1.visible = true;
temp.i = PlaylistGUI_TextList1.rowCount();
PlaylistGUI_TextList1.addRow( temp.i + 1, PlaylistSet_TextEdit1.text SPC "-" SPC PlaylistSet_TextEdit2.text );
PlaylistSet_Window1.destroy();
}



The song Link is in PlaylistSet_TextEdit3.text, I currently just have the above for adding songs too the list, so it shows them being there.

Any help would be much appreciated.
__________________
Reply With Quote