iEntry 10th Anniversary Forum Rules Search
WebProWorld
Register FAQ Calendar Mark Forums Read
Flash Discussion Forum Flash design presents a limitless number of possibilities for your sites and designs. Discuss your Flash ideas, questions and issues here.

Share Thread: & Tags

Share Thread:

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-14-2004, 11:33 AM
WebProWorld New Member
 
Join Date: Sep 2004
Posts: 1
dmbsarah RepRank 0
Default Stop an actionscript

I'm in the process of making a game. My problem is this...

I have a program running that starts fish randomly swimming out from one side and a lure on a fishing line hanging from the top. This works fine, my fish and lure contact and disappear and add to the score. What doesn't work is when the player clicks on two buttons i have inside the scene with this fishing game going on. One button is to change bait and the other is to change the player. These are two seperate scenes. Basically the buttons clicks thru to the correct scene, but whatever part of the fishing program that was on while the button was clicked freezes. It's then overlapped in the changing lure or player scene.

Is there a script that stops an actionscript program? Or clears the screen? I am not a programmer, so it's difficult for me to write this stuff - any ideas?
Reply With Quote
  #2 (permalink)  
Old 09-17-2004, 10:13 AM
ITGProductions's Avatar
WebProWorld Member
 
Join Date: Mar 2004
Location: Southern New Hampshire
Posts: 43
ITGProductions RepRank 0
Default

The answer to your question would be: myMovieClip .stop()

FYI: check button state...

;}
__________________
"Back in school I found the only written truths in bathroom stalls and telephone booths" -- Ellis Paul

"Perhaps you were looking for the Mothership?"
www.flashmacromedia.com
Reply With Quote
Reply

  WebProWorld > Site Design > Flash Discussion Forum

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 05:57 PM.



Search Engine Optimization by vBSEO 3.3.0