Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 07-25-2007, 07:12 AM   #1
dunno98
Noobie
 
Join Date: Jul 2007
Posts: 13
Default Movie in a button loop while I click

How to I stop the movie to loop again once I click on the button?
Help needed.
Thks everybody
dunno98 is offline   Reply With Quote
Old 07-25-2007, 07:23 AM   #2
Paul Ferrie
Scottish and mad fer it!!
 
Paul Ferrie's Avatar
 
Join Date: Jun 2002
Location: uk/scotland/glasgow
Posts: 3,606
Default

ActionScript Code:
on(press){ stop() }
__________________
.:To me AS is like LEGO, Only for the big Kids :.
- InnovativeDesigns - Scotflash - About me
Paul Ferrie is offline   Reply With Quote
Old 07-25-2007, 07:29 AM   #3
dunno98
Noobie
 
Join Date: Jul 2007
Posts: 13
Default

the movie is embedded into a button symbol,
When i do a

stop();

nothing happen,
It still loop again.
If i do a

movie.stop();

it will says
1120: Access of undefined property movie.
dunno98 is offline   Reply With Quote
Old 07-25-2007, 07:37 AM   #4
Paul Ferrie
Scottish and mad fer it!!
 
Paul Ferrie's Avatar
 
Join Date: Jun 2002
Location: uk/scotland/glasgow
Posts: 3,606
Default

In the last frame of your movie put stop()
That will stop it from looping
__________________
.:To me AS is like LEGO, Only for the big Kids :.
- InnovativeDesigns - Scotflash - About me
Paul Ferrie is offline   Reply With Quote
Old 07-25-2007, 07:40 AM   #5
dunno98
Noobie
 
Join Date: Jul 2007
Posts: 13
Default

The MC will not reach the last frame when a click event occurs
and when a click do occurs the MC will be interrupted and plays from the begining again.

So i guess adding a stop will not help, but i'll still give it a try.
Thks
dunno98 is offline   Reply With Quote
Old 07-25-2007, 07:41 AM   #6
Paul Ferrie
Scottish and mad fer it!!
 
Paul Ferrie's Avatar
 
Join Date: Jun 2002
Location: uk/scotland/glasgow
Posts: 3,606
Default

Can you post the fla?
__________________
.:To me AS is like LEGO, Only for the big Kids :.
- InnovativeDesigns - Scotflash - About me
Paul Ferrie is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
call a scene form a movie clip > button sudhan ActionScript 2.0 1 02-09-2007 02:01 PM
show movie after click button dapim ActionScript 1.0 (and below) 0 05-04-2006 05:55 PM
Getting movie to accept both keypress & button click delux ActionScript 2.0 2 10-04-2004 08:11 PM
Loop movie button The Prince ActionScript 2.0 0 07-30-2004 07:24 PM
assigning many actions to many movie clips at the click of a button milohound Simple Stuff (Newbies) 5 01-28-2002 08:37 AM


All times are GMT. The time now is 11:58 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.