getURL syntax error

I am new to flash, and have some actionscript code that gives me an error message when it compiles.  My code is:

on (rollOver) {
      gotoAndPlay(2);
}
on (rollOut) {
      gotoAndPlay(11);
}
on(release) {
      getURL("http://147.202.34.39/members/index.html");
}

and when I run it, I get the message

Symbol=w22, Layer=Layer 6, Frame=20: Line 1: Wrong number of parameters; getURL requires between 1 and 3.
     getURL();

I can't see the problem - maybe it's obvious to someone here ?
KevinAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

nishasrilankanCommented:
Use the movie Explorer...there might be hidden coding, because here the error message says the error is in the Line one and you know in the code you given...getURL is not in the Frame 1
0
blue-genieCommented:
it says, "Wrong number of parameters"

your getURL wants another parameter. ie.

getURL("http://147.202.34.39/members/index.html", "_blank");

specify a target for it to open in. your options include, _parent, _self - can't think of the others.
0
nishasrilankanCommented:
there must be a blank getURL..ie:getURL();....
check the w22 symbol's, 6th layers...20th Frame...that should be there..
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

KevinAuthor Commented:
OK I am learning thanks to your help.  I tested around and see that the code I pasted here was OK.  As you say there is an empty getURL() statement somewhere.  But when I look at symbol 22 (movie clip) Layer 6 Frame 20 - there is no actionscript that comes up.  Is there any way (like a global editor kind of thing) to see all the actionscript in a flash file so that I can find this bugger ?
0
nishasrilankanCommented:
If you are using Flash MX use Movie Explorer

Window >> Other Panels >> Movie Eplorer or (Alt+F3)

From there select the Actions and you will be able to find all the actions
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
blue-genieCommented:
alternatively post your fla, i'm sure nish can spot it for u quickly.
0
KevinAuthor Commented:
Found the little bugger.  Thanks very much for your assistance.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Adobe Flash

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.