Using Flash with Thickbox

Discussion in 'Graphics & Multimedia' started by blasians, Mar 4, 2007.

  1. #1
    Hi...

    I am a n00b and was wondering if there was way to trigger the popularly useful thickbox (javascript to display a lightbox-style HTML page) from a link embedded in a Flash movie? I have a website that is all Flash and want to display thickbox formatted HTML content from a text hyperlink in the movie using actionscript.

    Here's an example of how the hyperlink is formatted in HTML:

    <a href="ajaxLogin.htm?height=100&width=250" class="thickbox" title="Please Sign In">login</a

    Is there an action script equivalent to the above?

    If possible, can anyone point me in the right direction or give an example of the code:

    The thickbox script can be found at:

    http://jquery.com/demo/thickbox/

    Thanks
     
    blasians, Mar 4, 2007 IP
  2. elbootio

    elbootio Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    If you're using the latest version of jquery & thickbox, then this would also work as an HTML tag.

    <a href="javascript:tb_show('Please Sign In', 'ajaxLogin.htm?height=100&width=250', false);"></a>

    I'm not very familiar with flash, but I think that you could use what's in the href as action script to open the window that you're looking for.
     
    elbootio, May 1, 2008 IP