sending commands from Flash script (fla)


#1

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.


#2

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.


#3

Flash can call javascript functions. From javascript you should be able to emit mel. I guess that should work. :wink:

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


#4

I found after asked question and sharing if useful for some1

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


#5

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.