| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
lala
Join Date: Feb 2002
Location: on the road
Posts: 2,859
|
i have posted this on the jsfl list as well, but still awaiting response.
Well I think I might have discovered a little problem with this command. Let me explain first. I need to poll from a windowsSWF what object(s) on the stage is selected at any given point so I can extract the actionscript from it. Thus using setInterval I call a function to do that in a jsfl file. Obviously I need to c how many objects are selected at any given point so I use the following line var doc = fl.getDocumentDOM(); if(doc.selection.length==1) all straight fwd there, the side effect is this, when accessing an the selection array I seem to be losing the values of any properties being set in the properties pane for symbols (x,y,width,height and instance name). to reproduce: create an fla on the firstframe place this code: this.onEnterFrame = function(){ MMExecute("fl.getDocumentDOM().selection"); } publish to the windowsSWF folder. open ur new pane create a symbol on the stage and try to change any of those abovementioned properties. this has not been sorted in 7.2 TIA johan |
|
|
|
|
|
#2 |
|
lala
Join Date: Feb 2002
Location: on the road
Posts: 2,859
|
this was confirmed by MM to be a bug.
|
|
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|