Solved

loader component double click quandry

Posted on 2006-12-01
1
241 Views
Last Modified: 2008-02-01
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
Comment
Question by:dirklance
1 Comment
 
LVL 6

Accepted Solution

by:
ArulPrasad1 earned 125 total points
ID: 18058774
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
There are times in your Flash CS4 application when you want more than a simple pointer or a hand, and it's hard to find an ideal walk-through to tell you what to do.  I spent a few days recently learning my way around making custom cursors in Flash,…
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now