A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: New problem

  1. #1
    Junior Member
    Join Date
    Feb 2003
    Posts
    4

    New problem

    Thanks a lot! You hit the nail on the head. Unfortunately I have a new problem. Can anyone tell me why this doesn't work:

    getURL("javascript:window.open(" http:/donaldson.netfirms.com/main.html ","width="850",height="550",scrollable="yes")" );

    I get this error when I publish:

    Scene=Scene 1, Layer=Layer 24, Frame=254: Line 2: ')' or ',' expected
    getURL("javascript:window.open(" http:/donaldson.netfirms.com/main.html ","width="850",height="550",scrollable="yes")" );

    Any help--much appreciated.
    Thanks again everyone.

  2. #2
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    Your use of so many double quotes!
    Try...
    code:

    getURL("javascript:window.open('http:/donaldson.netfirms.com/main.html','width=850,height=550,scrollable=yes'); ");



    ...And by the way no space between java & script as it comes out here on the board.
    While you're at it, check this to set and generate the code for your popups...

    http://www.flash-db.com/PopUp/

  3. #3
    Junior Member
    Join Date
    Feb 2003
    Posts
    4

    Thanks a lot!

    Thanks OldNewbie. The code you gave me didn't work, but the link to the pop-up generator worked. I used it and bookmarked it. Thanks! You're awesome.

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