Adobe Flash Question:
Download Questions PDF

Which of the following is the correct way to create an alert box using getURL and JavaScript?

Answer:

A. getURL = function ("javascript:alert("Hello World"));
B. getURL(alert,"Hello World:");
C. getURL(javascript (alert,'Hello World'););
D. getURL("javascript:alert('Hello World:');");

Download Adobe Flash Interview Questions And Answers PDF

Previous QuestionNext Question
Which of the following is the best reason for using the getURL command, instead of the fscommand, when communicating with the host application?What will be the result of the following line of ActionScript?