Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

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

loader component double click quandry

greetings,

i'm using the loader component to load external swf's into my main movie via content_loader.loadMovie("myMovie"). my problem is i have to click the button twice in order for the new movie to show up.  it looks like the first time i click it its unloading the current movie and the second time its actually executing the loadMovie code.

button code:
on(release){
      content_loader.loadMovie("building.swf","POST");
}

how can i unload the movie and load another in one click?

http://winstonchurchillcondominiums.com/new

thanks,
0
dirklance
Asked:
dirklance
1 Solution
 
ArulPrasad1Commented:
if you are using loader component, use loader.load, not loadMovie.


check out how to use the loader component here: http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00003738.html
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