• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 571
  • Last Modified:

loadMovie (Flash) inside Director will not work!


I'm desperately in need of some help with Director and Flash, specifically trying to use "loadMovie" to load external SWFs into a master SWF file, all contained inside Director.

I have a fairly simple Flash SWF that is going to be loaded into my Director project. The SWF uses LoadMovie to load in additional SWFs to itself. The whole thing is going to be web-delivered and will therefore be output as a Shockwave DCR and all file locations will be HTTP-based.

I have a problem whereby loadMovie will not work when the SWF is used inside Director. Other people have said that it will work if I link to the external SWF file instead of doing a Standard Import. This is true, in part. In fact, it DOES work if I link the SWF as an external file and point to it's file-system location. However, this is no use to me as it does NOT work if I point to the http-based location, which of course I have to do, since it's going to be a web-delivered app.

Basically, the only options in terms of importing the 'master' SWF file are to do a linked import using the HTTP location of the file, or do a full Standard Import into the cast... but neither of these seem to allow me to use loadMovie. The only time loadMovie will work is by doing a linked import and pointing to the physical file location, but this is the only option that is not possible for me!

I'm an advanced developer, so I have no problems setting/changing between relative and absolute file paths as much as necessary, so is there a solution to this problem?

Help would be much appreciated!


1 Solution
Its having problems due to preloading or because of Flash security. Try linking the source file to the same HTTP location then see if that allows the other file too.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now