Solved

How do i reload the same movie as if it is starting from scratch?

Posted on 2007-11-28
5
180 Views
Last Modified: 2010-04-03
Hello.  I have a flash movie i'm creating with lots of actionscript that talks to a php/mysql script.
there is only one frame in the movie but different buttons change their text and _x and _y points based on user input.....what i need though is for after a user selects a button to do something, i need the movie to basically "reload" or start out from scratch again, as if it were being reloaded into the browser again.  it seems as if just going and playing the first frame again isn't putting things back in place and changing the text of the buttons as they are originally in the movie...also based on user input, some of the buttons become "enabled" and "disabled", which is normal...but just going back to the first frame and playing again, the buttons don't go back to their original position and enabled status.  anyone have the answer for this?

thank you!
0
Comment
Question by:linuxrox
  • 3
  • 2
5 Comments
 
LVL 37

Accepted Solution

by:
CyanBlue earned 500 total points
ID: 20379930
You could try this and see if that does the job for you...

loadMovieNum("youfFile.swf", 0);

CyanBlue
0
 

Author Comment

by:linuxrox
ID: 20379938
I will try that!
thanks!
0
 
LVL 37

Expert Comment

by:CyanBlue
ID: 20382469
Did that work for you???

CyanBlue
0
 

Author Comment

by:linuxrox
ID: 20382492
yep thanks!
0
 
LVL 37

Expert Comment

by:CyanBlue
ID: 20382601
Good to hear...  :)

CyanBlue
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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…
I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.

920 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

17 Experts available now in Live!

Get 1:1 Help Now