As2 Sound problem - sounds don't play in As3 interface

Closed Posted Apr 14, 2010 Paid on delivery
Closed Paid on delivery

I am using SWF Tools via the command line to create SWFs from wordlists. It will create the individual AS2 SWFs with the word and sound file perfectly, but when you load these SWFs into the AS3 flashcard application I am using, the words show up but the sounds do not play.

Anybody who has used SWFC a lot could help me with this, hopefully a quick fix.

I need to adjust this code so that the sound play inside of AS3 swfs and not just AS2 interfaces. Here is the code I am using to create SWFs for the SWFC compiler from [url removed, login to view]

here is my code, which is used in a larger BAT file to generate the files

lash filename="!spanishwordy!.swf" version=8

.font Brady filename="C:\Users\Stace\Desktop\learnado\audio\[url removed, login to view]"

.textshape helloworld2 font=Brady text="!spanishaccent!"

.filled filled_helloworld outline=helloworld2 fill=white line=3 color=blue

.sound audio "\Users\Me\Desktop\learnado\audio\wavs\!spanishword!.wav"

.stop audio

.action:

snd = new Sound^(^);

[url removed, login to view]^("audio"^);

.end

.frame 1

.action:

[url removed, login to view]^(^);

stop^(^);

.end

ActionScript

Project ID: #660989

About the project

Remote project Active May 15, 2010