ssacks
08-02-2006, 10:10 PM
If I make a JSFL file with this in it and run it using Run Command..., it works:
fl.getDocumentDOM().addNewText({left:10, top:10, right: 100, bottom:30}); fl.getDocumentDOM().setTextString("Hello World");
If I make a WindowSWF panel with the same thing in it, wrapped in MMExecute, it doesn't:
MMExecute("fl.getDocumentDOM().addNewText({left:10, top:10, right: 100, bottom:30})"); MMExecute("fl.getDocumentDOM().setTextString(\"Hello World\")");
It will addNewRectangle, it will addNewOval, etc. It WILL NOT addNewText no matter what I do, no matter how many ways I tried it.
This looks totally broken to me. Can anyone verify it?
fl.getDocumentDOM().addNewText({left:10, top:10, right: 100, bottom:30}); fl.getDocumentDOM().setTextString("Hello World");
If I make a WindowSWF panel with the same thing in it, wrapped in MMExecute, it doesn't:
MMExecute("fl.getDocumentDOM().addNewText({left:10, top:10, right: 100, bottom:30})"); MMExecute("fl.getDocumentDOM().setTextString(\"Hello World\")");
It will addNewRectangle, it will addNewOval, etc. It WILL NOT addNewText no matter what I do, no matter how many ways I tried it.
This looks totally broken to me. Can anyone verify it?