Don't have time to look at the code, but AVM1 swfs are always sandboxed, so you can't access them from Flex2. Other folks have created proxy swfs in Flash 8 that listen to the Flex2 swf via local connection and call the original swf's code.
________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Bjorn Schultheiss Sent: Tuesday, March 13, 2007 11:59 PM To: [email protected] Subject: [flexcoders] Remote AVM1 swfs not able to execute code? Hi, I have a flex app that loads in avm1 swf assets and displays them as thumbnails. In these thumbnails we also wish to be able to control their timeline, ie, stop and start. The current setup is this. "domainA" Flex 2 RIA "domainB" Flash 8 player "domainB" Flash 8< assets we load in the "flash 8 player" into the "flex 2 ria" via Loader, and then pass a reference to the "flash 8< assets" url from the "flex 2 ria" to the "flash 8 player" via localconnection. The "flash 8 player" then loads the "flash 8< assets" in through MovieClipLoader. (disclaimer, This actually works, when everything is on domainA). When "domainA flex 2 RIA" loads in "domainB flash 8 player" i get Sandbox errors. If i set the Loader's.loaderContext.securityDomain to currentDomain i do not get the errors, Except NONE OF THE CODE ON "FLASH 8 PLAYER" EXECUTES. I need to get the "flash 8 player" init code to execute. please help. I have supplied example code. http://jupiter.qdc.net.au/domainstest/main.html <http://jupiter.qdc.net.au/domainstest/main.html> right click for view source regards, Bjorn

