as3 xml lightwindow!

Out of context: Reply #8

  • Started
  • Last post
  • 10 Responses
  • wwfc0

    is this how this last two lines should look?
    don't know if i have just confused myself more here?

    function p_click(me:MouseEvent)
    {
    var sp:Sprite = me.target as Sprite;
    var s_no:Number = parseInt(sp.name.slice(8,10));
    var url = " javascript: mylightWindow.activateWindow ({ all, the, bunch, of, parameters, reuired, by, the, script}) "
    var request:URLRequest = new URLRequest(url_list[s_no]), url_target_list[s_no]);
    navigateToURL(new URLRequest(url_list[s_no]), url_target_list[s_no]);
    }

View thread