all groups > flash actionscript > february 2004 >
You're in the

flash actionscript

group:

flashserver/XMLsocket actionscript


flashserver/XMLsocket actionscript IRISH_HYPE
2/2/2004 4:50:44 PM
flash actionscript:
hi, this is probably very simple. I am using cycling74's MAX/MSP to send messages to flash to control videos with commands like play, stop FF, RW etc.

At the moment I can get flash to recive messages which appear in a text box through a XMLsocket.

what I'm looking for flash to read this tex box (which can be set to any message, as i'm broadcasting it from MAX/MSP) and use this information to control the videos.

I've tried a little scripting but i'm useless at it lol.

what i understadn so far is i'm setting varibles to thes messages
starting with something like

set message = ();

as there is no starting message

then something like

set message = (play);

i tried this and used
trace(message);

to see how it appears

and this was the message i got:
**Error** Symbol=msgbox, layer=Layer 1, frame=1:Line 1: Syntax error.
set message = ();

**Error** Symbol=msgbox, layer=Layer 1, frame=1:Line 2: ')' expected
set message = (play;);

the message box is in a movie symbol, so i think i need to put this information somewhere in the script.


any help would be great, a few scripts if possable, if there is something i haven't explain please ask,

I'm using Flash MX Pro 04, on a G5 under OS 10.3

cheers,
Shane



Total ActionScript Errors: 2 Reported Errors: 2



Re:flashserver/XMLsocket actionscript IRISH_HYPE
2/2/2004 8:29:44 PM
no ideas huh,
Shane

AddThis Social Bookmark Button