I am a beginner level developer in front-end web dev. I am trying to use yml:swf like this:
getAudio.php:
<yml:swf src="http://krati.mydictionaryapi.com/images/images/speaker.swf" height="17" width="20" minversion="9.0.124" flashvars="<?echo "$audio";?>" >
</yml:swf>
I tried using yml:a tag to include the yml:swf with a call to a script.
<yml:a insert="myaudio" params="getAudio.php">
<img src="http://krati.mydictionaryapi.com/images/images/sound_btn.png" width="20px;" height="20px;"/>
</yml:a>
1. I only get this error : "Please get the latest Adobe Flash Player...." when I click on the yml:a.
2. Also, since I want to show an image for speaker button , and when user clicks on it, I want to load the swf file. So, I do not want the speaker button highlighted. Can I set css attributes on yml:a to do that?
3. Is it possible to pass the php variable for flashVars, as I am doing it? I will get the audio from my global vars which I will set in another script.
by
0 Replies