Turn SWF Flash file to Hyperlink

Posted on 2011-05-10
Last Modified: 2012-05-11
How can I take a .swf flash file that a marketing agency sent me to put up - and make it clickable?  I need to hyperlink it to another page and can't edit the .swf
Question by:ProdigyOne2k
    LVL 82

    Expert Comment

    by:Dave Baldwin
    So far as I can find in my research for one of my customers, the only way to do that is to embed it in the flash file.  When the swf is running, it owns that part of the screen and no clicking is recognized by the browser.  Some said it worked in one instance in one browser but all of the Googling I've done just comes up with the question and no other answer.
    LVL 29

    Expert Comment

    You can open in IFRAME or open in the new window check this movie as example
    LVL 19

    Expert Comment

    If you upload the swf here, and give the url you want the swf to link to, I'll attempt to decompile it, insert a link, then send it back to you.

    Most swfs can be decompiled if you have the software tools, but there are swfs that are encrypted and / or have the code obfuscated to prevent this.

    Do you want the whole area of the swf to be clickable ? Or just a particular element on the stage (i.e. a button of some kind) ?
    LVL 2

    Expert Comment

    As quizengine and Dave sai

    the best way is to implement the link inside the SWF itself.

    and to toeach you how to fish instead of giving you just one: "Use the software 'sothink SWF Decompiler' software to grab the FLA file and change it to a clickable movie.

    I can also do it for you if you want.

    LVL 29

    Expert Comment

    Another option you can create a HTML DIV element on top your SWF (overlay) and implement mouse event handler from JavaScript and propagate to SWF, otherwise open a parent page in IFRAME or new window.
    It’s not the best practice but at least you don’t need to change SWF file and decompiling binary file what is illegal for most commercial products.

    Author Comment

    Hello - I did find a solution but the answer was not here

    Here is the link for what I used - sorry for the slow responses on my end - I could not implement the link inside the SWF itself which of course is the best way
    LVL 29

    Accepted Solution

    That exactly what I decribe in the post 35749292

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    Suggested Solutions

    Title # Comments Views Activity
    Microsoft Edge 9 69
    Update field in order 21 93
    My mouse pointer arrow is malfunctioning 5 30
    firefox and saved loggins 5 45
    The last time I worked with Flash and Socket connections was in AS1. A recent project required flash connecting to a Socket, and sending receiving information - we figured it would be easy enough - we all know about the socket policy documents and c…
    I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
    The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
    Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now