A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: a href="#" onClick=window.open(Flash?)

  1. #1
    Registered User
    Join Date
    Mar 2008
    Posts
    0

    a href="#" onClick=window.open(Flash?)

    Is it possible to implement something like this using a button inside flash?

    <a href="#" onClick=window.open("http://www.thepcmanwebsite.com/online_casino/aff/gamclubaffslots.shtml","","menubar=0,resizable=1,s crollbars=1,status=0,titlebar=0,toolbar=0")>Club Slots</a>

  2. #2
    Owned By Code
    Join Date
    Feb 2001
    Posts
    151
    Best bet would be to make a function and then call that function from Flash.

    on on the HTML side you'd have something like

    function popWin(url){
    window.open(url,'WindowTitle','menubar=0,resizable =1,scrollbars=1,status=0,titlebar=0,toolbar=0';
    }

    Then in Flash on your button you'd want something like:

    myButton_mc.onRelease = function(){
    getURL("javascriptopWin('http://www.thepcmanwebsite.com/online_casino/aff/gamclubaffslots.shtml');");
    }

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center