Javascript function in Flash

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Danny Gopie

    #1

    Javascript function in Flash

    Hello, i have a flash menu, but i want to open a javascript popup. How can
    i use this function that i'll use for TML in flash?

    <SCRIPT language="javas cript">



    <!--
    //if (self != top) {top.location.h ref = self.location.h ref}
    function Pop550Picture(f name,breedte,ho ogte){
    var file = fname;

    PopItUp=window. open(file,
    'popup','width= 600,height=550, toolbar=no,loca tion=no,directo ries=no,status= n
    o,scrollbars=ye s,menubar=no,co pyhistory=no,re sizable=no');
    }

    //-->
    </SCRIPT>

    Danny

    --
    CYBERTAYLORS
    Prins Hendrikstraat 34
    2518 HT Den Haag
    070 3658099 (9 tot 5)
    06 28646758

    info@cybertaylo rs.com


  • Wired Earp

    #2
    Re: Javascript function in Flash

    Danny Gopie wrote:
    [color=blue]
    > Hello, i have a flash menu, but i want to open a javascript popup.
    > How can i use this function that i'll use for TML in flash?[/color]

    on ( release ) { // actionscript
    getURL ( "javascript:Pop 550Picture('hel lo',null,null); void false;" );
    }


    --
    Wired Earp
    Wunderbyte

    Comment

    Working...