SmarterNewMedia
Member
Posted 3 years ago #
I am trying to add a small flash.swf to a widget, but can't get it to work. The swf is hosted on my server.
I tried linking to the .swf file, and creating a html, so it is clickable. I just can't get it.
Do I need to use a text widget, and with what code?
How about a php widget, and with what code.
I want it to be "clickable"
All the plugins I have found allow posting to the body, but I need posting to the widget.
Thanks
i think you can use just text widget but there place html code responsible for showing the flash animation.
correct code you have for example here
http://www.tizag.com/flashTutorial/flashhtmlcode.php
(don't place opening and closing tags of <html> and <body>)
SmarterNewMedia
Member
Posted 3 years ago #
Thanks,
But can I make it Clickable?
i am not sure but rather not. 'being clickable' must be defined inside of flash animation
SmarterNewMedia
Member
Posted 3 years ago #
I was able to make a small area above and below the flash object (.swf) in the widget 'clickable' by inserting this line:
<a href="http://mysite.com/"target="_top"> title="<span class="blck">Click Here</span>">
Just above and just below the `<object>' code
I added the text 'click here' so people would hopefully know they have to click there, and not the image.
It's not perfect, but works.
Does anyone know of a better way? (i.e. get the whole object to be clickable)?