Opening Jquery Colorbox from button inside flash

Posted on 2009-04-29
Last Modified: 2013-11-11
How do I open a ColorBox iframe ( when a user clicks on a flashbutton in my .swf? I have seen examples using thickbox and lightbox but can't find any using Colorbox.Can anyone help?
Question by:ShopSetup
    LVL 6

    Accepted Solution

    You can try to call this function :
    function menu() {
    &nbsp;$('<a />').colorbox({fixedWidth:"widthpx", fixedHeight:"heightpx",
    iframe:true, href:"yourPage.php", bgOpacity:0, open:true}); return false;
    Resource :

    Author Comment

    Ok, so if I have understood correctly all I have to dois call this javascript function using getURL("javascript:menu();"); ?
    Not sure whether its AS2 or AS3, how do I call the function when user presses the button if its AS3?

    Author Comment

    Implemented the geturl and the javascript function provided. After modifying the function, deleted the last part "return false;" it worked.
    Thanks a bunch for support.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Training Course: Adobe Dreamweaver CC 2015

    Adobe Dreamweaver Creative Cloud is used by web designers and front-end developers and allows you to visualize your site in real-time as you code. This course covers exam objectives for the Adobe Certified Associate (ACA) certification.

    Introduction Got endorsements from your clients?  Great!  There is almost nothing better than word-of-mouth advertising.  But how can you do that on the internet?  Sure you can make a page for endorsement quotations and list them all, but who is …
    Introduction JSON is an acronym for JavaScript Object Notation.  It is a text-string data transport mechanism, capable of representing simple or complex data structures in a consistent and easy-to-read manner.  Similar in concept to XML, but more e…
    In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
    The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.

    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

    14 Experts available now in Live!

    Get 1:1 Help Now