PDA

View Full Version : substitute _root in embedded swf



jayrich86
July 28th, 2007, 05:11 PM
How can i substitute _root and _parent in embeddd swfs. My swf plays fine on its own, but when i embed it into another swf, it doesn't function, i believe this is because of the _root parts of my actionscript, where the _root is the holder swf, and no longer the main timeline of the embedded swf. Please help!

jayrich86
July 28th, 2007, 05:23 PM
I tried this._lockroot= true, and this fixes the problem, but then it screws up another value,

http://napalmnorth.com/mav/mainsite/mainSite.html

the problem is in the portfolio page. I the videos wont load, when i use this._lockroot=true, the videos load, but the scroller doesn't work correctly.

jayrich86
July 28th, 2007, 09:05 PM
instead of the lockroot, i use _parent, and it works now. But its still running choppy as hell. Any ideas on why its running so choppy? here is the url:

http://napalmnorth.com/mav/mainsite/mainSite.html

any thoughts appreciated.

madhatter
August 30th, 2007, 12:09 PM
instead of the lockroot, i use _parent, and it works now. But its still running choppy as hell. Any ideas on why its running so choppy? here is the url:

http://napalmnorth.com/mav/mainsite/mainSite.html

any thoughts appreciated.


I dont know if this is going to help but I added this after the midframe and it worked like a charm:}

this._lockroot = false;