Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Flash navigation help needed

Status
Not open for further replies.

braddoubleu

Technical User
May 8, 2007
1
US
I am creating a control toolbar (play, pause, rewind and fast forward) for an embedded flash movie in Director. I am able to get the movie to pause and resume where it left off using the script below, however, I am not able to jump around within the movie.

Upon inspection in the Object Inspector, my flash (swf - shockwave) movie has 4650 _totalframes and also has a _currentframe value. I am able to capture the _currentframe
by using sprite(1)._currentframe but i am unclear how to say jump 100 frames ahead or back.
Code:
property pToggle

on beginSprite me
  pToggle=TRUE
end

on mouseUp me
  if pToggle=TRUE then
    sprite(1).stop()
    pToggle=FALSE
  else
    pToggle=TRUE
    sprite(1).play()
  end if
end

Any assistance is greatly appreciate. Thank you.

Brad
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top