Thank you for the prompt response. The workaround is to delay signaling of the display object trait until the scrollRect property has had a chance to propagate. This appears to be the example posted.
I tried this SWFElementProxy workaround and it worked great accept for one huge problem... The first time it plays at the correct size however the second time I play the media it does not show up at all?
I store all media elements in a vector that is referenced by index set by either by a timer or the user. When indexed the media is set it is like so...
mediaPlayerSprite.media = mediaCollection.contents[index].media.
I used the debugger and it appears the SWFElementProxy is still in the vector so I am puzzled a to why it is not displaying? I have yet to figure out why it does not dispaly? I need a way to filter the methods in SWFElementProxy when the media is unloaded or re-loaded.
I worked on that for an hour or so... I ended up taking the proxy out and using a hidden MediaPlayerSprite which I load and then unload prior to loading into the main media player. It is such a bad hack I had to go wash my hands when I was done.
I am not able to reproduce the issue that you mentioned with the workaround. How are you playing the SWF the second time? Are you using a different code that the one in the example? If yes, do you mind sharing the code with us, please