# Locking path like locking root

**URL:** https://forum.kirupa.com/t/locking-path-like-locking-root/326465
**Category:** Uncategorized
**Created:** [December 16, 2011, 11:42am UTC](https://forum.kirupa.com/t/locking-path-like-locking-root/326465 "2011-12-16T11:42:48Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Claid](https://avatars.discourse-cdn.com/v4/letter/c/d26b3c/32.png) [@Claid](https://forum.kirupa.com/u/Claid)
#### Post date: [December 16, 2011, 11:42am UTC](https://forum.kirupa.com/t/locking-path-like-locking-root/326465/1 "2011-12-16T11:42:48Z")

</div>

lets say i have a file system like this:

Main.swf  
/myfolder/Sub.swf  
/myfolder/Sub.php

what if i need the Sub.swf to always find the native php file eather it gets loaded into main.swf or gets played from local folder and i can’t use full paths. is it possible to load  
Sub.swf into Main.swf and make sure that Sub.swf still thinks /myfolder/ as home?
