Solved

Where i can i get Horizontal scrollbar to rotate image sequence please help

Posted on 2008-10-21
9
450 Views
Last Modified: 2013-12-16
HI
Experts!
On Layer 1
from frame1- frame20 on each key frame i have one image. ( sequence of images when i run its act like a 3d object moving in 360 degree)

i need a horizontal scrollbar with a drager by which i can drag and go through the keyframe ( from 1 - 20) and view the images.

Is there is a possibility ??
Could you help me to find similar kind of script? or scrollbar??
0
Comment
Question by:skilleddesigner
9 Comments
 
LVL 18

Expert Comment

by:Pawel Witkowski
ID: 22774804
Maybe this will help ;) if not then sorry for bothering..

http://wilq32.blogspot.com
0
 
LVL 2

Author Comment

by:skilleddesigner
ID: 22774853
There is nothing!
Is that your website??
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 22775828
0
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 
LVL 18

Expert Comment

by:Pawel Witkowski
ID: 22779687
yes... I though that you will look on this page yhm... damn
0
 
LVL 2

Author Comment

by:skilleddesigner
ID: 22784401
i need a scrollbar in flash by which i can scroll through the keyframe
0
 
LVL 18

Expert Comment

by:Pawel Witkowski
ID: 22804245
then sry, but javascript is not related with your problem...;(
0
 
LVL 18

Accepted Solution

by:
Antonio Estrada earned 500 total points
ID: 23088850
How about this?

Here's a link to the *.fla file:

http://vulturous.110mb.com/eefiles/ScrollBarForFrameControl.fla

And here's the code:

<code>

Good Luck.

-V
stop();
 
buildScrollBar();
 
applyActions(ScrollBar.Loader.Bar,"dragAction");
applyActions(ScrollBar.Loader.Bar,"changeFrame");
applyActions(ScrollBar.ArrowLeft,"prevFrame");
applyActions(ScrollBar.ArrowRight,"nextFrame");
 
function applyActions(actionMc:MovieClip,actionType:String):Void {
	switch(actionType) {
		case "prevFrame":
			actionMc.onRelease = function() {
				if(_root._currentframe > 1) {
					this._parent.Loader.Bar._x -= this._parent.Loader.Bar._width;
					prevFrame();
				}
			}
			break;
		case "nextFrame":
			actionMc.onRelease = function() {
				if(_root._currentframe < _root._totalframes) {
					this._parent.Loader.Bar._x += this._parent.Loader.Bar._width;
					nextFrame();
				}
			}
			break;
		case "dragAction":
			actionMc.onPress = function() {
				this.pressed = true;
				startDrag(this,false,this._parent._x,this._parent._y,this._parent._parent.Background._width-this._width,this._parent._parent.Background._height-this._height-1);
			}
			actionMc.onRelease = actionMc.onReleaseOutside = function() {
				this.pressed = false;
				this.stopDrag();
			}
			break;
		case "changeFrame":
			actionMc.onEnterFrame = function() {
				if(this.pressed) {
					var totalWidth:Number = this._parent._parent.Background._width-this._width;
					var currentPos:Number = this._x;
					var newFrame:Number = Math.round((currentPos*_root._totalframes)/totalWidth);
					gotoAndStop(newFrame);
				}
			}
			break;
	}
}
 
function buildScrollBar():Void {
	var tempMc:MovieClip = new MovieClip();
	tempMc = ScrollBar.Loader.attachMovie("Bar","Bar",1);
}

Open in new window

0
 
LVL 2

Author Closing Comment

by:skilleddesigner
ID: 31508291
thanks dude
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
document.write() deleting all existing HTML 5 50
Multiflying 2 Input Text On a Table 7 31
jQuery Scroll To Top 5 38
Only allow one check box 17 25
Having worked on larger scale sites, we found out that you are bound to look at more scalable solutions to integrating widgets, code snippets or complete applications and mesh them into functional sites, in any given composition. To share some of…
I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question