Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently November 15th, 2024, 8:47 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: PlaySound to a web link audio file
PostPosted: September 29th, 2007, 5:12 pm 
Offline

Joined: January 23rd, 2006, 6:23 am
Posts: 23
Location: Hollywood
I'm making a Flash SWF file for a website. The SWF will have several dozen buttons that each stop all sounds and then play an individual song when clicked. But the SWF file is ending up being over 100MB.

I was able to reduce the SWF file to 60kB by playing the website link of the audio files instead of actually embedding the songs into the SWF file. The problem is the linked songs play back okay in the Preview Publication, but they don't play after actual publication.

Here's the line of script I'm using to play sound:

PlaySound("http://www.the_website_name.com/songs/song_name.mp3")

Does anyone know what I'm doing wrong?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group