matbury
03-13-2008, 01:20 PM
Here's one for you -
In Flash you can get to higher (nested) levels with 'parent', in PHP you can use '../'. How can I pass a relative path into Flash from PHP. Obviously '../' won't work - I even tried it!
Normally, if you want to load something you use a path like 'http://yourserver.com/swfLocation/assets/xml/example.xml' or a relative path like 'assets/xml/example.xml'. But supposing the file you want has to be accessed from a parent directory.
Can you do this with a relative path?
In Flash you can get to higher (nested) levels with 'parent', in PHP you can use '../'. How can I pass a relative path into Flash from PHP. Obviously '../' won't work - I even tried it!
Normally, if you want to load something you use a path like 'http://yourserver.com/swfLocation/assets/xml/example.xml' or a relative path like 'assets/xml/example.xml'. But supposing the file you want has to be accessed from a parent directory.
Can you do this with a relative path?