Flash CS3 - Flash CS4

Free tutorials and scripts for all.
Actionscript 3.0

Detecting on what frame my MC has stopped

This is a discussion on Detecting on what frame my MC has stopped within the HELP free utilities forums, part of the Flash CS3 eng category; Hi there, i was wondering how can you detect on what frame an MC has stopped? For example i have ...


Go Back   Forum Flash CS3 Flash CS4 > English Forums > Flash CS3 eng > HELP free utilities

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 16-07-08, 02:27
s3ns3's Avatar
Junior Member
 
Join Date: Jul 2008
Location: Lithuania, Kaunas
Posts: 1
Rep Power: 0
s3ns3 is on a distinguished road
Question Detecting on what frame my MC has stopped

Hi there,
i was wondering how can you detect on what frame an MC has stopped?
For example i have an MC, and i want to check if it has stopped in the middle of the time line, and then to play the MC, or leave it stopped.

f1 is my button's instance name, and it loads text NR. 1, also, it brings down the background for it. I have other buttons, which i also use to load text, and if the background has not been dropped, it also has to be done, but if it's already there, then i don't need to repeat the dropping animation.

Code:
f1.onPress = function() {
if(the frame in txt_bg mc is not the one with background){
    txt_bg.gotoAndPlay(1);}
}
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

Tags
actionscript, frames

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
Forum Jump

Similar Threads

Thread Thread Starter Forum Replies Last Post
Actionscript 3 Apertura frame interno AS3 maxino93 Actionscript 3.0 base 4 19-10-08 16:27
need help. how to go to next frame after the animation? wen_jie Actionscript 3.0 newbies 5 16-10-08 22:52
Actionscript 3 listener per frame menhir Actionscript 3.0 base 2 07-10-08 11:41
Flash CS3 Detecting a camera disconnect emsee advanced Actionscript 3.0 1 22-07-08 04:19
flash+frame..?! teonji CSS | HTML 19 22-07-08 02:30


All times are GMT. The time now is 19:43.


Powered by vBulletin versione 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC4
Forum SiteMap


FlepStudio
by Filippo Lughi
P.IVA 03605860406