[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 565
  • Last Modified:

loadMovie (Flash) inside Director will not work!

Hi,

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!

Thanks,

Andy
0
RE-MEDIA
Asked:
RE-MEDIA
1 Solution
 
MediaMacrosCommented:
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.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

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

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