-
Can anybody assist me with a AS2 coding problem?
I am quite new to flash and trying to learn Action script is a challenge!
24-7.PNG
Can anybody help me with something I am trying to set up if you see the attached picture I am attempting set up a small network radio and have 4 different players on offer and five different stations the listener needs to select the player first THEN select the station of their choice.
The player will pop up after player and station buttons are selected
Due to the number of players and stations there are twenty different playlist URL addresses.
Could anybody help me as to the best way to achieve what I want to do and also help me with the action script?
The Action script needs to be in AS2
Many thanks
-
Senior Member
hi-
I would use XML..
keep/store the user choices after each pick:
playerChoice = "";
stationChoice = "";
you can then use this to load either by name or path the correct (xml) play list perhaps?
actually I guess I should ask are the playlistss YOURS? or being pulled from somewhere else?
-
Originally Posted by whispers
hi-
I would use XML..
keep/store the user choices after each pick:
playerChoice = "";
stationChoice = "";
you can then use this to load either by name or path the correct (xml) play list perhaps?
actually I guess I should ask are the playlistss YOURS? or being pulled from somewhere else?
Thank you for replying to my question the playlists are 'Ours' with the proper licences to transmit,
Just one thing how would I code the button in flash to read the xml file?
I have to say I thought this would be easy when I first started as if you have 4 types of player and minimum 5 stations at the beginning that's 20 different combinations !! aghhhhh.
Many thanks
Last edited by kijkij; 07-17-2013 at 05:31 AM.
-
Senior Member
there is a link in my footer that explains how to load & parse xml data/file..
without seeing the 'play list' what it looks like.. or whatever.. its hard to give more direction at this point.
do you make your own? any format? loaded from? locally? the net somewhere?
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
|