Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8381319
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T16:40:25+00:00 2026-06-09T16:40:25+00:00

It is possible to add link to flash object? I have tried do this

  • 0

It is possible to add link to flash object? I have tried do this by two ways but it still do not work:

First try:

html

<div class="main_image" data-href="some link">
<object type="application/x-shockwave-flash" data="<?=$this->baseUrl('/resources/flash/banner_cs5.swf');?>" 
    width="708" height="255" id="content_flash" style="visibility: visible; ">
    <param name="wmode" value="transparent">
</object>
</div>

javascript

$('.main_image').click(function() {
    window.location.href($(this).attr('data-href'));
});

Second try:

html

<div class="main_image" data-href="some link">
  <a href="some link" style="display:block;width: 100%;height:100%;z-index:10;">
    <object type="application/x-shockwave-flash" data="<?=$this->baseUrl('/resources/flash/banner_cs5.swf');?>" 
        width="708" height="255" id="content_flash" style="visibility: visible; ">
        <param name="wmode" value="transparent">
    </object>
  </a>
</div>

So both do not work. How can I do it? Any help would be appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T16:40:26+00:00Added an answer on June 9, 2026 at 4:40 pm

    you can add link inside of your flash,
    click event on flash element is catched by flash itself so it wont be delegated to html, so basicly you cant catch it, as far as i know

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is it possible to add a form to an email newsletter? I have tried
I don't want to add a link to a svg (which is not possible
If i have img element id = myimg. Is posible to add link to
Is it possible to add to PHP objects on the fly? Say I have
Is it possible to add a type of link on a webpage that will
I need to add a link button control to dropdown list item.is it possible
is it possible to add html-content inside a link_to helper in HAML? i tried
First of all, I have a complicated requirement! and Im not sure it will
is it possible to add a link in google's datatable? http://code.google.com/apis/chart/interactive/docs/reference.html#DataTable , http://code.google.com/apis/chart/interactive/docs/examples.html#table_example
$('#main a:not([href*=#])')... Whats the right way (or is it even possible) ti add another

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.