How do you use a flash object as a link?

后端 未结 4 1444
悲哀的现实
悲哀的现实 2020-12-16 04:39

Is it possible to use a flash document embedded in HTML as a link?

I tried just wrapping the object element with an a like this:

         


        
4条回答
  •  盖世英雄少女心
    2020-12-16 04:50

    Though the object really should respond to being wrapped in an a href tag, you could open the swf in vim and just throw in an _root.onPress=function(){getURL("http://yes.no/");}; or if it's AS3, something like _root.addEventHandler(MouseEvent.PRESS, function (e:event) {getURL("http://yes.no/");}); But if editing the swf is your route, you'd likely have more success with a tool for the purpose.

提交回复
热议问题