View Full Version : menu control
Skribble
August 13th, 2004, 10:26 PM
hey guys i have a couple of questions.
i have a menu that controls my movie right, i was wondering how i could make a little sliding bar like on a media player. where u slide it to a certain spot and it goes to a certain spot in the movie.
also i would like to know how i could get my menu to stay throughout my whole movie?
wizard
August 13th, 2004, 10:48 PM
...also i would like to know how i could get my menu to stay throughout my whole movie?Put it in its own layer and just add a bunch of frames (F5) so that it matches up to the highest number of frames you have... I don't know if that made sense? :h:
von_dragon
August 14th, 2004, 01:54 AM
isn't there a component that does exactly that. its in the component window in flash.
Skribble
August 14th, 2004, 05:47 AM
nah thats for media that is loaded into the movie. as for keeping it on the movie. it wont work coz i have different scenes. and if u have it open during scenes then it jumps back down below the movie
von_dragon
August 14th, 2004, 11:48 AM
oh ok cuz i was tryin to get it to work myself!
Prophet
August 14th, 2004, 07:26 PM
hows about taking the _x position of your slider and relating it to the frames of your movie....
say your movie has 100 frames, and your slider moves from 50 to 250
on (press) {
_root.slider.startDrag(1,50,250,250,250)
}
on(release){
_root.slider.stopDrag()
_root.movie.gotoAndPlay((_root.slider._x-50)/2)
}wer the slider is a movie clip with one frame, in which is the button with the above code on...
Prophet.
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.