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


Similar Posts:


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 3.0 :: Control The Property Of An Object In Main Stage From A Loaded Swf Timeline

Oct 11, 2010

i have a UILoader that loads an image from an xml list when you click its thumbnail ( in its thumbnails mc on mainstage aswell) thing is, i have another UILoader on the layer above that loads in a swf ( a slideshow that fades in and out the pictures when they change to the next, with all the coding on frame 1, frame 2 only has a stop and some code for when the mouse is idle for 5 secs it goes back to frame 1) so when you go to "portraits" it takes you to frame "x" where the slideshow ( loaded external swf ) starts playing automaticly right, if i click any thumbnail the slideshow goes to frame 2 ( wich is perfect and the mouse idle thing i wanted works great ) the ONLY THING IS

after the slideshow runs by default for the first time ( i enter the category portraits ) and i click any thumbnail ( moving slideshow swf to frame 2 enabling mouse idle event ) and the mouse is idle ( so it does the event and starts playing the slideshow again ( goes back to frame 1 ) ) I CANT MAKE THE UILOADER OF THE THUMBS IMAGE TO DISSAPPEAR!

View 5 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 :: 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

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 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 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

ActionScript 2.0 :: Control Dynamic Content From Main Timeline?

May 31, 2007

can you control/access the timeline of a dynamically loaded swf? If so how?

if I use this code:

Code:
loadMovie("a.swf", "contentLoader");

how can I access the timeline of "a.swf" from the main timeline of my flash movie?

View 5 Replies

ActionScript 2.0 :: Control Volume For Sound On Main Timeline?

Feb 14, 2008

I have a few sounds on my main timeline for syncing to an animation. Does anyone know what code I would use to mute the sound on the main timeline?

FYI...I will not be using linking from the library for this project, the sound WILL be on the main timeline.

Here is some code which does nothing and traces undefined...so as you can see...I'm not sure where to go with this. I've placed a mute button in my file, but I need help on knowing how to control the audio.[code]...

View 3 Replies

ActionScript 3.0 :: Load Movie Clip And Control From Main Timeline?

Jun 30, 2010

Trying to load a movie clip into another movie clip and control the loaded clip timeline from main stage.

Code:

var myLoader:Loader = new Loader();
addChild(myLoader);
var url:URLRequest = new URLRequest("Transcription-RNAChain.swf");

[code]....

The movie appears to load, as it appears on the stage, but it throws the following error in the debugger on frame 1:

TypeError: Error #1009: Cannot access a property or method of a null object reference.

Additionally, I'm getting neither the result of function loadingError or function finishedLoadingFunction.

View 3 Replies

ActionScript 3.0 :: Control Multiple External Swfs From Main Timeline?

Jun 26, 2011

I've been trying to combine the features of two tutorials I found, one that deals with controlling external swf's from the main timeline and the other that explains how to load and unload multiple external swf's. I'd like to be able to load and unload multiple external swf's, and control these swf's buttons from the main timeline

I asked this same question on the forum of the site where I found these tutorials, and receive only one reply saying that "it shouldn't be hard to do." but they did not elaborate any further. This left me think that I was missing something very obvious and I've spent too much time now trying to work what it is now. I understand pretty much how both pieces of code work, but just can't work out how to combine them.[code]...

View 16 Replies

ActionScript 3.0 :: Main Timeline Control - GotoAndPlay Specific Frame

Oct 15, 2009

I want a button which is on an externally loaded swf to tell a movieclip on my main swf to gotoand play a specific frame. Is this possible and how would I do it?

View 0 Replies







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