Solved

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

Posted on 2007-11-28
5
181 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
Recently, I was asked to recommend a tracking system to be implemented on a clients website. As the entire site was built on flash, my first thought was to suggest custom built tracking system. However, our company at that point of time didn't h…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
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.

770 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