Adobe Flash Question:

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

Adobe Flash Interview Question
Adobe Flash Interview Question

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:');");


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?