Solved

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

Posted on 2007-11-28
5
186 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

This is intended to introduce all collision detection principles in flash, their strengths, weaknesses and workarounds. The main method for Collision Detection in flash is using hitTestObject. But unless you'll be pushing rectangular shapes without …
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…
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 how to record live broadcast.

627 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