Go Back   CodingForums.com > :: Client side development > Flash & ActionScript

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 04-19-2003, 09:31 PM   PM User | #1
murphyz
Regular Coder

 
Join Date: Jun 2002
Location: London
Posts: 220
Thanks: 0
Thanked 0 Times in 0 Posts
murphyz is an unknown quantity at this point
Flash - dynamic images

I have created a radio in Flash that streams mp3s. The songs are updated weekly and, as they are called simply track1 - track10 in flash I just need to upload songs of the same titles to write over them on a weekly basis.

When the songs are playing the album cover is shown as a background to the radio, and this changes for each song. At the moment the backgrounds are images stored in the library of flash but I would like to make them similar to the mp3s, in that Flash just calls the image out of the directory instead of out of it's memory.

Any suggestions on how this could be done?

Example of the radio can be seen here:
http://www.cowandchicken.plus.com/radio/stevieradio.htm - will probably not be great with a slow connection.

Mxx
__________________
"Imagination is more important than knowledge" A. Einstein's 'Twin Paradox'
murphyz is offline   Reply With Quote
Old 04-20-2003, 03:23 AM   PM User | #2
Mhtml
Senior Coder

 
Mhtml's Avatar
 
Join Date: Jun 2002
Location: Sydney, Australia
Posts: 3,531
Thanks: 0
Thanked 1 Time in 1 Post
Mhtml is an unknown quantity at this point
Text file with song name and corresponding image, then do a loadvars in action script.

I can't remember the syntax coz it's been a while since I have used flash .. should start again soon me thinks.

But anyways one you get the variables it's really easy to do..

Text file should be in format:

track01 = "images/somebands_image.gif"
track02 = "images/anotherbands_image.gif"

etc..

OR, do you mean that you want it to load track_01.gif like you do with the mp3s?

You can do loadmovie or loadclip for that I think... buh I'll have to open flash up in a few mins.
__________________
Omnis mico antequam dominus Spookster!
Mhtml is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:17 AM.


Advertisement
Log in to turn off these ads.