Improve company productivity with a Business Account.Sign Up

x
?
Solved

loader component double click quandry

Posted on 2006-12-01
1
Medium Priority
?
270 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 500 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

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

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

I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
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.

595 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