Flash Advisor logo
:: Desktop Shortcut
:: Flash Help
Advice from Experts

Closed Thread
Results 1 to 2 of 2
  1. #1

    Default Detect Frame Movie clip in

    More often than not, I like to use telltarget().
    And I can get the movie to stop whatsoever at frames.

    Sometimes, I want to use if else statements if the movie clip is at 1 frame or another.

    How can I detect the frame a movieclip is at?

  2. # ADS
    Join Date
    Always
    Posts
    Many
     
  3. #2
    Join Date
    May 2004
    Location
    U.S.A.
    Posts
    2,890

    Default

    Hi,

    Movieclips have a _currentframe property...

    _root.onMouseDown=function(){
    myFrame=_root.mcName._currentframe;
    trace(myFrame);
    }
    A mind once stretched by a new idea never regains its original dimensions.
    - Oliver Wendell Holmes

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Actionscript in a movie clip
    By jettlandcharles in forum General Flash
    Replies: 1
    Last Post: 03-22-2006, 12:42 AM
  2. Replies: 1
    Last Post: 09-03-2005, 07:13 PM
  3. movie clip help!!!
    By sahaj in forum Newbies
    Replies: 1
    Last Post: 05-10-2005, 01:08 PM
  4. Replies: 1
    Last Post: 12-15-2004, 11:05 PM
  5. load movie to a particular frame. Possible??
    By bib1 in forum Flash Scripting
    Replies: 1
    Last Post: 05-22-2004, 10:02 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Sponsors
Create Speaking Characters for your website and Flash movies. 15 Day Free Trial