Groups | Blog | Home
all groups > flash (macromedia) > march 2007 >

flash (macromedia) : Flash 8: Change "Test Movie" Working Directory


MicahM
3/2/2007 8:07:17 PM
I just posted this with Google Groups but it doesn't appear to be showing up on
the adobe forums, I apologize for those that see this twice.

How do I change the working directory that flash uses when I do Test Movie
(ctrl-enter)?

Directory Layout:

project
..index.html
..source
....some.fla
..images
....some.png
..flash
....some.swf

project/index.html embeds project/flash/some.swf. project/flash/ some.swf
loads project/images/some.png. I want to be able to use Flash 8's Test Movie
feature but when I do it looks for the image at project/flash/images/some.png
which doesn't exist. How can I tell Flash to pretend it's running in project/
instead of project/flash/?
MicahM
3/5/2007 6:57:57 PM
Nickels55
3/5/2007 7:40:25 PM
It seems a simple solution would be to temporarily put images in the "wrong"
folders that the flash test movie is using. When your done and publish put them
back where they belong. I must be missing something.
MicahM
3/5/2007 10:36:20 PM
The project is too large and has too many people working on it to move files
around between author-time and run-time. We are just starting the project now
so there are only a few SWFs and images but the final project will likely have
hundreds of SWF files and even more images. Because of this, it is unrealistic
for us to just drop all the SWF files in the top level of the project (where
index.html will reside) as that directory would be too disorganized to work
with.

Note: In this project SWFs dynamicly load other SWFs at runtime based on a
relative path to the project root directory (where index.html is).
MicahM
3/6/2007 6:21:15 PM
Daily bump. Still can't figure out how to do it after messing with the flash
player and flash debugger. The only option I have found that is even close to
do-able is to have a "test" SWF in the project directory that does a loadMovie
of the flash app I want to test. Then I can put them both into a Flash 8
Project file and use the "Test Project" option to test the individual SWF.
MicahM
3/7/2007 5:14:30 PM
AddThis Social Bookmark Button