Solved

LoadMovie

Posted on 2003-11-20
5
440 Views
Last Modified: 2010-04-03
Dear Experts,

 I am currently using loadmovie() to show a jpg image in my project. I have 4 buttons in my project. Each button loads a jpg file into the movie. My problem is that for some reason I have to click on the button twice to get it to load the new jpg. When I click the first time the original jpg disappears. When I click again, the new jpg loads. What am I doing wrong?

AJ
0
Comment
Question by:aj10101
5 Comments
 
LVL 1

Expert Comment

by:text_problems
ID: 9791536
post your code
0
 
LVL 39

Accepted Solution

by:
blue-genie earned 500 total points
ID: 9795451
Hi, where are you loading your jpegs into?

if you want to load into an empty movieclip (in this case with instance name called "holder");

on (press) {
      loadMovie("goblin.jpg","holder");
}
0
 

Expert Comment

by:tutsamewasa
ID: 9796406
on (press) {
    unloadMovie "original.jpg");
    loadMovieNum ("newjpg");
}


this will do in one click.
or if can show your code it will be of more help.
0
 

Author Comment

by:aj10101
ID: 9798393
Thanks  blue-genie,

Worked like a charm!

AJ
0
 
LVL 39

Expert Comment

by:blue-genie
ID: 9808804
:-) good stuff.

blu
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article describes a solution to a problem of subloading one movie into another when they have different SWF versions. Sometime back, I was working on an ActionScript project while I came across an interesting fact which I would like to share…
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
The goal of the tutorial is to teach the user how to how to record live broadcast.
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.

840 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