This content has been marked as final.
Show 4 replies
-
1. Re: Embedding sound in swf
SujitG Apr 7, 2008 3:02 AM (in response to paulmason411)Hi,
You can embed sound files in SWF using the Embed meta tag. Please visit the URL below for more details on how to embed sound files in a SWF.
http://livedocs.adobe.com/flex/3/html/embed_4.html#183608
Hope this helps. -
2. Re: Embedding sound in swf
paulmason411 Apr 8, 2008 6:27 PM (in response to SujitG)That seems to work. The only problem is that I don't want to work with .mxml file type. Is there a way to import mxml functionality into an .as file? I want to develop with .as so that it can be portable to flash.
Thanks again. -
3. Re: Embedding sound in swf
SujitG Apr 11, 2008 2:11 AM (in response to paulmason411)Hi,
The same code will work in .as file also. Please try using the same code in an .as file. Let us know if you have problems doing the same in .as file
Hope this helps -
4. Re: Embedding sound in swf
paulmason411 Apr 15, 2008 10:18 PM (in response to SujitG)Thanks Sujit,
I got it working. I think I my problem was that I wasn't importing the right files. I used the code from here: http://livedocs.adobe.com/flex/3/html/help.html?content=Working_with_Sound_05.html
Thanks again.

