PDA

View Full Version : alert message


lol0
04-27-2001, 02:43 PM
Is it posible to call a alert message from the flash ?

Thanks

Strok
04-27-2001, 04:00 PM
This one works for sure(but not for NS4x):

onClipEvent (enterFrame) {
if (yourVariable != 1*yourVariable) {
getURL ("javascript: window.alert(\"This is a message alert\")");
yourVariable = 0;
}
}


OR

(it doesnt work for me for some reasons)
And I have seen this example in an "actionscript reference gude" by using a FSCommand:
--------------------------
HTML
--------------------------
<script language="JavaScript">
<!--
function theMovie_DoFSCommand(command, args) {
if (command == "messagebox") {
alert(args);
}
}
// -->
</script>
----------------------------
FLASH
----------------------------
on (release) {
fscommand ("messagebox", "This is a message box invoked fromwithin Flash.");
}

[Edited by Strok on 04-27-2001 at 11:17 AM]

dvelez1985
03-30-2006, 02:56 PM
how do you get that same alert message but without using a script. say for example instead of putting the message inside the flash file put it in the url.

Flash Gordon
04-03-2006, 04:44 AM
how do you get that same alert message but without using a script. say for example instead of putting the message inside the flash file put it in the url.
What? :confused: