samira_2118 Posted October 6, 2008 Share Posted October 6, 2008 hihow can i click on flash object to do sth in html code?i use div tage but it dosent work i put it on div but it just wok on mouseover event.please help me Link to comment Share on other sites More sharing options...
Synook Posted October 6, 2008 Share Posted October 6, 2008 What do you mean by "do something"?Usually all behaviors can be coded in the Flash file. Link to comment Share on other sites More sharing options...
samira_2118 Posted October 6, 2008 Author Share Posted October 6, 2008 <div onClick="roll()"><!----> <object width="257" height="263"> <param name="movie" value="images/2.swf" /> <param name="quality" value="high" /> <embed src="images/2.swf" quality="high" type="application/x-shockwave-flash" width="257" height="263"></embed> </object><!----> </div> onclick it's not working Link to comment Share on other sites More sharing options...
Sirleon Posted October 6, 2008 Share Posted October 6, 2008 I dont think that Onclick will work on a flash file, just on image files.. im not sure, but i dont think so!But u can make the link conection in the flash codes when u make the flash. Link to comment Share on other sites More sharing options...
Synook Posted October 8, 2008 Share Posted October 8, 2008 What does roll() do? Link to comment Share on other sites More sharing options...
Ingolme Posted October 8, 2008 Share Posted October 8, 2008 Javascript events are not registered on <object> or <iframe> elements.You'll have to make flash detect the clicking event. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.