ActionScript 3.0 :: Slider To Control Main Timeline?

Sep 9, 2009

What code would I need to take the Slider Component and have it control the Main timeline? I have created a presentation with audio embedded and images coming up and moving as the person is talking about it. I need a way to scrub back and forth down the timeline.

View 28 Replies


Similar Posts:


ActionScript 2.0 :: Slider To Control Timeline?

Dec 6, 2005

what I have completed already is a slider button that can be clicked on and moved left and right and have inserted my movie into flash. What action script is needed to apply to the slider button so it can forward and reverse my flash movie.I could find any tutorials on this basic dynamic movie player effect.

View 9 Replies

ActionScript 2.0 :: Slider To Control Timeline

Sep 16, 2008

I've been able to do most things by finding something similar and adapting, but this one is just not working for me and I know it's got to be easy. I'm working in Flash CS3 and actionscript 2.0 but willing to switch to actionscript 3.0 if it's easier. So this is what I'm trying to do: I've got 15 images on a single layer, keyframes 1-15. I want to build a slider bar that controls the movement from one image to the next. I tried doing the slider bars tutorial [URL] and I can do the tutorial correctly, but i can't figure out how to adapt it to scroll through the keyframes.

Also, for now there are 15 images but there could be as many as 72.

Do I need to put stops in each keyframe as well?

View 6 Replies

ActionScript 3.0 :: SWF Player With Slider Component For Timeline Control?

Oct 29, 2009

I am working on adding playback controls. So far, I've been able to achieve a working slider component that scrubs the external swf's timeline. However, it is faulty and the slider thumb doesn't follow move with the timeline of the swf-it just remains still. What I mean by faulty is that sometimes the slider scrubs the swf timeline and sometimes it fails with this error:

TypeError: Error #1009: Cannot access a property or method of a null object reference.
at swfPlayerMain/sliderDrag()
at flash.events::EventDispatcher/dispatchEventFunction()

[code].....

View 3 Replies

ActionScript 3.0 :: Use Slider To Control Timeline Of Tweened Animation?

Oct 22, 2008

I have 3 pictures and animated it using motion tween asusual.Now, I want to create a slider so that user can drag alongforward and backward so that the tweened animation movesaccordingly. Eg the whole motion ends in 10 secIf user drag slider to far right it goes to 10 sec frame andif it position to middle the movie go to 5th sec. etc.How to do this to associate the slider to frames ?

View 5 Replies

ActionScript 3.0 :: SWF Player With Slider Component Timeline Control

Oct 29, 2009

I've created a SWF Player that loads external swfs from an XML playlist. I am working on adding playback controls. So far, I've been able to achieve a working slider component that scrubs the external swf's timeline. However, it is faulty and the slider thumb doesn't follow move with the timeline of the swf-it just remains still. What I mean by faulty is that sometimes the slider scrubs the swf timeline and sometimes it fails with this error:

[Code]...

View 4 Replies

Actionscript 2.0 :: Slider Code On Main Timeline Moving Movie Clip

Sep 7, 2010

onClipEvent (load) {
MinX = 0;
MaxX = 200;
this._x=100;
FRAME = _root.p1;
}
[Code]...

p1 is the instance of the movie which I am trying to move with slider. When I apply above code on the handle of the slider with instance name 'handle' everything works perfect. Slider moves and so do the movie. Now instead when I bring the same code to the main timeline to do the same, onClipEvent does not work, it gives error. So I replaced it with the code written below. Now I can move the handle but movie is not moving.

[Code]...

View 1 Replies

ActionScript 1/2 :: Control A Mc Timeline From The Main Timeline?

Aug 30, 2009

On my main timeline, I load a mc from the library with:

text_content.attachMovie("text_content", "text_content", 10);
There is a marker inside this mc called "news". I need a script in the main timeline that will gotoandStop "news" within the "text_content" mc.I have tried, amongst others

[code].....

View 4 Replies

Professional :: Control Swf From Main Timeline?

Jul 13, 2006

i know i've done this before! i have a swf. 4 labels. a stopat frame 1. i embedd this into my main timeline. i have 4 butons inan MC in my main project, going to specific labels in my maintimeline, where i have the following code, attempting to load theswf and jump to that label:

this.container_shell.loadMovie("interact01.swf");
interact_shellb.gotoAndStop("label1");

its not working. the swf loads, but i can't jump to thelabel

View 5 Replies

Variables Within Movieclips That Control Main Timeline?

Aug 26, 2009

I built my website on the main timeline with a fade in animation...stop(on the page) and a fade out animation. At the end of this fade out animation i would like it to call upon a variable to know what page to go to next.I am trying to tell my main timeline to gotoAndPlay a frame based off of a variable within a movieclip(about_mc this movieclip contains another movieclip which acts like a button(factsheet_mc)) that i have set in my main timeline.I set the variable with:

var buttonFrame; in the first frame of the main timeline

then within my movieclip i have another movieclip which tells my main timeline to play the out fade and remember a variable:

this.onRelease = function(){ --------"this" meaning the movieclip factsheet_mc------------ [code]........

View 1 Replies

ActionScript 2.0 :: Control Mc By Main Timeline Position?

Oct 2, 2009

I have a mc with thumbnail images ('thumbs_mc'). Within 'thumbs_mc,' I have mc instances that change alpha on rollon and rollout. When clicked, these mc instances also control the main timeline. That's all good and working fine.Now, however, I want something over each thumbnail to indicate which of them is currently active. (I thought about using the same mc for both the mouseover and current marker, but it's problematic since rolling off the mc sets the alpha to 0, destroying the current marker.)

So I figured that I could use another mc (one instance is 'mark_red_btn') and just control its visibility, based upon the where the playhead is in the main timeline.This is what I have in the first frame of the mc that contains the thumbs the mouseovers and the current markers:

mark_red_btn._visible=false;
if (_root._currentframe == "red") {
mark_red_btn._visible = true;
};

Unfortunately, it is not working. The mc 'mark_red_btn' stays invisible even when the main timeline is on the frame labeled 'red.'

View 9 Replies

Movie Clip Control Main Timeline?

Dec 22, 2009

I am simply trying to tell my main timeline to go to the next frame when a movie clip reaches the end of its timeline (using AS3). Here is what I have which does not work.

Code:
MovieClip(root).gotoAndPlay(nextFrame);

View 2 Replies

CS5 :: Float Window To Control Main Timeline In It?

Jul 29, 2011

I'm an ActionScript noob so I'll try as best I can to explain what I need to do. I have a project where I need to have a floating window that controls a main timeline. The idea is to have a floating window that can be seen only by the operator. This window would control the main timeline or content on a separate screen viewable to the audience. So I'll be using a dual monitor setup. The controller window would have about 40 buttons on it that would turn items on or off on the main timeline. This seems like a relatively simple thing to do but being the noob that I am I'm not sure how to go about it. I essentially need one flash file, the controller, to talk to the other one, the content.

View 3 Replies

ActionScript 2.0 :: Nested MC Control Main Timeline MC?

Dec 1, 2011

actionScript 2.0
flash mx4 pro

here is a description of the flash movie.I have a map of the world on the main timeline that is a movie. The map is compiled of buttons that navigate the main timeline to named frames. -Ex. If you click Africa from the world map you are taken to the �Africa� named frame on the main timeline. This works perfectly.At the Africa named frame on the main timeline I have replaced the world map with a large map of just Africa. This large Africa map is a movieclip instance that has script on it to be draggable. This works perfectly.

The Africa map contains little movieclips that blink. I would like the little blinking movieclips to control the alpha of a movieclip (when rolled over/off) that is on the main stage and timeline.

View 4 Replies

ActionScript 3.0 :: Access A Control In The Main Timeline?

Nov 18, 2009

I need to access variable that lies on the main timeline first frame from a action script inside a movieclip that is inside a movieclip.

View 2 Replies

ActionScript 3.0 :: Control Main Timeline From Loaded Swf

Aug 24, 2010

I'm using a textfield for debug information.I'm loading an swf on the main timeline and I'm showing the status in the debug textfield.[code]I'm loading a png file in the loaded swf. , I'm trying to show the status of the png file as I showed the status of the swf.[code]I can't control the main swf from inside the loaded swf. Even gotoAndStop or calling a function doesn't work.Do I need to add something when I load the swf, saying it's a MovieClip or something?URL...

View 3 Replies

ActionScript 2.0 :: External Swf To Control Main Timeline?

Feb 9, 2009

I apologise because I know this has been covered but none of the code I've found seems to have sorted my problem.On my main timeline (_level0 right?) I have the following code:

var loader:MovieClipLoader = new MovieClipLoader();
this.createEmptyMovieClip("container2",2);
container2._x=28

[code]......

View 9 Replies

ActionScript 3.0 :: Control Main Timeline Using Localconnect

Jul 15, 2011

I need to control the main timeline in one swf with several external swfs on enterframe..In other words.I have several html pages with one common header witch contains a swf.. I want to control the timeline of this file (just pointing to a specific frame ) with help of external swf files that tells the main movie where to go when the page loads. eg html_1 to frame1.. html_2 to frame2..

View 8 Replies

ActionScript 2.0 :: Button Control Over Main / Sub Timeline

Jul 1, 2004

I have 2 scene, using button to swap in between file. If the button is in maintime line i can swap in between but my button is inside a movieclip in scene_1. After I click it reload the scene_1 and my script on button is:
on (release) {
nextScene();
}
Is it using
_root or
this.(dot)
.

View 6 Replies

ActionScript 2.0 :: Control External Swf From Main Timeline?

Oct 26, 2005

I have a external SWF loading into a target on my main swf. Is there a way to control the timeline from the loaded movie from the main timeline. So , control B timeline from A. I've tried mcholder.gotoAndPlay (2); but it won't work. Also, how can I get the mumbers of frames from the external swf into the main timeline. Will a global variable work?

View 1 Replies

ActionScript 3.0 :: Control The Main Timeline From Within A Movieclip?

May 20, 2009

How can I access the main timeline from inside a MovieClip. In short words I would like to be able to move the main timeline from a MovieClip, for instance if I have a MovieClip called myMc and I want the main timeline to gotoAndStop in frame (3) when myMc is done paying.

View 2 Replies

ActionScript 3.0 :: Control Main Timeline From Loaded Swf?

Nov 2, 2010

i have a simple swf called site.swf that loads a menu with UILoader called menu.swf, from menu i'm able to navigateToURL but i also need that it goes to frame 50 in menu.swf..

View 2 Replies

ActionScript 2.0 :: Button Control Over Main/sub Timeline?

Jul 1, 2004

i hav 2 scene, using button to swap in between file.if the button is in maintime line i can swap in betweenbut my button is inside a movieclip in scene_1. After i click it reload the scene_1,and my script on button is

on (release) {
nextScene();
}

[code].....

View 5 Replies

Control MovieClip Inside Button From Main Timeline

Aug 13, 2011

I have a movieclip inside the OVER on a button, right now I have an animation that causes the button's brightness increases from 0 to 10 over 24 frames and then come stops because of a stop (). I now intend to add an animation after stop () which gets the button's brightness goes back to 0 again when you no longer hold the mouse over the button. I would therefore like to make some kind of mouseOut event that allows Movieclip go to the next frame. I have tried to insert a target path but it seems that it can't reach the movie clip inside the button.

View 1 Replies

ActionScript 3.0 :: Control Main Timeline With Class File?

Jan 13, 2009

I have a menu btn that is created via an external class. I want to move the main timeline of my flash file to a frame label but I'm having a hard time referencing the main timeline via my external class code.

How do I control the timeline via this external class.

View 3 Replies

As2 :: Control Mc Button Based On Main Timeline Position?

Oct 2, 2009

I have a thumbs_mc with thumbnail images. Within thumbs_mc, I have a transparent overlay_mc that functions as a button. Mouse over the overlay_mc and the alpha chages so there is a tint over that particular thumbnailWhen overlay_mc is clicked, the main timeline goes to a particular frame label.What I need to do is have the position of the playhead on the main timeline also determine the alpha of the overlay_mc so the viewer knows which thumbnail is playing.

View 1 Replies

ActionScript 3.0 :: Using A Mc To Control The Main Timeline With Multiple Scenes?

Jul 19, 2010

I have a main timeline that has 27 different scenes. I have a movie clip that is an "on call" navigation menu for the main timeline. I can call the menu once, and it will go to the first place I want it to go. However, I cannot seem to figure out how to get it to go away to be able to call it again. I get the "must be child of caller" error. how to get rid of it each time I use it?

View 2 Replies

ActionScript 3.0 :: Button On Main Timeline Control Movieclip?

Oct 16, 2010

I have a stop on my main timeline. At the stop I have a movieclip play. In the movieclip I will have a video play. After the video plays I have a button for the user to continue play until the end of the movieclip. Once the movieclip is done I want to resume back to a specific frame in my main timeline.

View 3 Replies

ActionScript 3.0 :: Control Main Timeline From A Button In A Movieclip?

Feb 7, 2011

I am trying to do a simple thing in theory. In my main timeline I have a series of images with frame labels for each. In a movieclip (with its own labels) below the images, I have two panels of butttons that flop back and forth (to save space). The idea is to simply have the maintime play the frame specified by the corresponding button in the movieclip. [code]...

View 1 Replies

ActionScript 2.0 :: Flash MX : Can External MC's Control Main Timeline

Nov 2, 2005

can a movie clip which is loaded from an external source control the main timeline? For example I have a set of buttons contained within a movie clip which is loaded externally onto my main timeline...can those buttons direct the swf to a specific frame on the main timeline? Also...is there any way to load an external movie clip into a specific LAYER rather than Level?

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved