here is my code.. i need to add link in .swf file what is the error in my code? <object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0' id='simplemovie1' ALIGN='' style="width: 187px; height: 69px"> <param name='movie' value='home_add/1-1.jpg'> <param name='quality' value=medium> <param name='bgcolor' value=#FFFFFF> <param name='wmode' value='transparent' /> <embed src='../home_add/1-1.jpg' quality=medium swliveconnect='true' bgcolor=#FFFFFF name='simplemovie1' align='' TYPE='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer'> </embed></OBJECT> HTML:
the swf file contains the link, basically you need to put gotoUrl() action into ur .fla before publishing it as an .swf . looking at the code you pasted it looks like you are embedding a jpeg file :S
so what i am developing is..in front end there is a advertise space now we have devloping user can upload there swf or jpg file from admin part..so when i advert is display then link is not come..something is wrong in my code
You'll need to distinguish between jpeg and swf to generate different type of code for each also, if you are getting people to upload their own adverts into your website and they are using swf files they will already contain the links, at least that is what's implied and expected.