View Full Version : sending commands from Flash script (fla)


butCherHeLL
05 May 2005, 06:09 PM
how can I post mel commands within a flash script ? in fla ? (compiles as swf )
it should be good to do flash UI based tutorials and send commands to maya.
thanks

with mozilla netview window plugin. we can send mel commands with html pure scripts.

it should be good to load a swf file instead of html. (for tutorial pages for internet window for ma maya).
or swf files plugged into html files.

chalbers
05 May 2005, 10:23 PM
You have to find a way to send commands to a socket in Flash. I don't know how to though. In Maya you can open a port to receive these commands using commanPort.

how can I post mel commands within a flash script ? in fla ? (compiles as swf )
it should be good to do flash UI based tutorials and send commands to maya.
thanks

with mozilla netview window plugin. we can send mel commands with html pure scripts.

it should be good to load a swf file instead of html. (for tutorial pages for internet window for ma maya).
or swf files plugged into html files.

claforte
05 May 2005, 12:37 AM
Flash can call javascript functions. From javascript you should be able to emit mel. I guess that should work. ;-)

Christian Laforte
Maya API Consultant
http://www.feelingsoftware.com

butCherHeLL
05 May 2005, 09:01 PM
I found after asked question and sharing if useful for some1


on (press) {
getURL("mel://CreateNURBSSphere;");
}

CGTalk Moderation
05 May 2005, 09:01 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.


1