Ask a Question related to Macromedia Flash Actionscript, Design and Development.
-
IRISH_HYPE #1
simple output message to variable question
sounds simple enough, i want to turn traced output messages into variables, but
is there a way to read the output of one layer from a different layer.
i'm using the flash server on the below script
/*
flash frontend - simple flash gui for Max/MSP
(c) 2002 - 2003 Olaf Matthes <olaf.matthes@gmx.de>
[url]http://www.akustische-kunst.org/maxmsp/[/url]
*/
fscommand("allowscale", false);
fscommand("fullscreen", false);
function pdsendvars (symbol, value) {
fudi = symbol + " " + value + ";"
pd.send(fudi);
}
server = "localhost";
port = 31337;
pd = new XMLSocket();
pd.connect(server, port);
pd.onConnect = onPDconnect;
pd.onClose = onPDclose;
pd.onData = onPDdata;
function onPDconnect (success) {
if (success) {
msg = "Connected to "+server+" on port "+port;
} else {
msg = "There has been an error connecting to "+server+" on port "+port;
txt = "Error: Max is not listening on port 31337: Error in connection.";
//getURL('javascript:alert("' + txt + '");');
}
}
function onPDclose () {
msg = "Lost connection to "+server+" on port "+port;
//getURL('javascript:alert("Error: PD is not listening on port 31337: Lost
connection.");');
}
/* receive data from flashserver */
function onPDdata(doc) {
msg = doc;
trace (msg)
}
from (msg) i simply want to set variables, but i keep on getting errors,
Any Ideas?
Cheers,
Shane
IRISH_HYPE Guest
-
Need Simple Answer to Simple Contribute/Firefox question
Hello all; I've tried the Adobe help in CS3, tech support, phone support, this forum, other forums, Mozilla, and nowhere can I get a straight... -
Output a query into simple Javascript
Hi I have a query the results of which I'd like to use in Javascript to form the items in a dynamic menu.... eg i run query with results..... -
Output Error message...Bug?
ftp://ftp.courierprinting.net Thanks Bob. I just don't have a clue then what is going on. I have CS3.01 and XP Pro SP1 with all critical updates... -
Simple question: query string variable and more
Hi, newbie question ahead: suppose i have two html-formatted documents with appropriately coded <?php ?> areas. a typical query is this:... -
Simple variable question.
"John" wrote: Change the link: <A HREF="http://emonster/kwaBerea.asp?link=Berea">Berea</A> Then examine: Request.QueryString("link").Item ...



Reply With Quote

