Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 07-31-2004, 05:04 AM   #1
defmars
Registered User
 
Join Date: Jun 2004
Posts: 39
Talking can you hear me now ?

Hey, I want to use a few mp3 samples for my flash website, but if I directly put the samples inside the movie then obviously the size of the file gets pretty big
I'm thinking of linking my sample and having in my domain, so the user only have to download the one he wants to listen to, but I do not know the art of linkage, and I'm also wandering if any weez kid outthere has a better way to do it, a slim fast solution for a fat bastard.
defmars is offline   Reply With Quote
Old 08-01-2004, 11:02 PM   #2
snapple
member
 
snapple's Avatar
 
Join Date: Feb 2002
Location: London
Posts: 2,442
Default

To be honest, the best way (and simplist) would be to use a getURL function in your flash movie and load the song to a different directory on your domain - or just cut the song up and load it in seperately in the file using the attachSound function:

ActionScript Code:
mySound = new Sound(); mySound.attachSound("name_of_your_attached_clip");

Regards snapple
snapple is offline   Reply With Quote
Reply


Thread Tools
Display Modes 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 Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:08 AM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.