Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Linking From An Embedded Movie To Main Timeline



Hello,
I am new to actionscript and can't seem to figure this one out. Ok, on the main timeline I have a button that when clicked, goes to the frame "movie". The movie is like a drop-down menu. When the drop-down menu completly folds down, a button appears. I want to be able to click the button on the drop-down menu and be able to go to the first frame of the main timeline.

Can anyone help me out? I would greatly appreciate it. You can download the flash 5 file that I am working on at www.geocities.com/iraq_spider/gotobegining.fla
Thankyou

- Michael



KirupaForum > Flash > Flash 8 (and earlier) > Flash 5
Posted on: 04-10-2004, 09:11 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Linking From An Embedded Movie To Main Timeline
Hello,
I am new to actionscript and can't seem to figure this one out. Ok, on the main timeline I have a button that when clicked, goes to the frame "movie". The movie is like a drop-down menu. When the drop-down menu completly folds down, a button appears. I want to be able to click the button on the drop-down menu and be able to go to the first frame of the main timeline.

Can anyone help me out? I would greatly appreciate it. You can download the flash 5 file that I am working on at www.geocities.com/iraq_spider/gotobegining.fla
Thankyou

- Michael

Linking From Movie To Main Timeline
I have just assembled a complex dropdown menu and turned it into a movie clip so I can drop it onto my main timeline of which consists of webpages assigned to individual frames.

What do I need to do to link from a button in my menu/movie to individual frames on the main timeline?

Thanks.

Making The Main Timeline Play From A Button Embedded In A Movie Clip
How does one make the main timeline play from a button embedded in a movieclip that is on the main timeline?

Linking To The Main Timeline From An External Movie Clip?
Hello,
Just a quick question. In a new project I'm using a lot of external movie clips and for the most past all the nav is in the main movie, but I have a need to call to a frame label on the main timeline from one of the external movie clips that's being called to. Can anyone help tell me how to link to this?

I thought I could just use the "/" or maybe "_level0" or "_root" but I can't figure it out exactly.

Thank you!!
Jason

Problem Referencing MAIN Timeline From Embedded SWF
Here is my problem.

I have a projector file on a cdrom.
The projector file has three scenes, INTRO, INDEX, and VIDEO INDEX.

At the begining of the cd-rom you are presented to watch a video or tour the cd-rom. the cd-rom loads a bunch of different .swf files according to what section you pick. this all works fine. When you choose to load the video at the prompt the button takes you to the INDEX VIDEO scene where the video is loaded into a dummyMC from an external .swf file.

Here is the problem, what I need to do is have the video unload, (or not if it doesnt matter that it is now inside the dummyMC) then after it is doen playing (at the last frame of that .swf) I need it to go back to the original cdrom/video prompt. So what I need the video.swf to do is go to a frame label in the INTRO scene on the main timeline of the projector. IS IT POSSIBLE to have the video.swf movie go to a frame label on the MAIN projector timeline??

if so what would be the code.

PLEASE help In dying here I have tried everything.


Thanks.

If you help I will personanlly mail you a home cooked cookie.

[CS3] AS2, Controlling Embedded Timelines From Main Timeline
If anyone can help with some hints, I would surely appreciate it.

I have a movie that demo's how a product works, and is going to be used for live, projected presentations. Each of my sequences are developed as single mc's on main timeline. It's easy enough from me to call a stop action using a controller located in each mc with the onRelease command.

some of my sequence mc's contain child mc's embedded ing them. I would like to know how to control all mc's, in all sequences, from main timeline. This doesn't seam like it should be that difficult, but for the life of me, everything I can think of, doesn't work.

Can anyone help?

TIA.
James

Navigating The Main Timeline From Embedded MovieClip
I somewhat new to Flash and am using CS3. Not sure why this isn't working. I have an animation that I want to play in between navigations. Here is the code that I am using. The first part is the code within the animation and the second chunck is what I have in the main timeline.

these are the errors i get:

1061: Call to a possibly undefined method gotoAndStop through a reference with static type flash.display:DisplayObjectContainer.







Attach Code

parent.gotoAndStop(parent.nextSection);



var nextSection:String;

homeButton.addEventListener(MouseEvent.CLICK, homeClick);

function homeClick(evt:MouseEvent): void
{
nextSection = "home"
boxAnim_mc.play();
}

Select A Frame To Preview In An Embedded MC On The Main Timeline.
Dear ASorg chums n whutnot:


I have a constant problem having to do with embedded MC's that contain an animation. When I go back to a higher MC, or the main timeline, what I see is frame one of that movie clip, which can often be apparently nothing (say, I have the alpha set to 0 for example). I have a design-on-the-fly style, and it makes my style tedious. Is there a way to change the frame that you are previewing in a movie clip when you're viewing it from a step above?


Thanks,
Nate

Linking From A MC To Main Timeline?
Just wondering if any one had a quick bit of script that enables you to click a link that is in a Movie Clip and so that it goes to and plays a frame in the main timeline??

Iv got the normal script: on (release){
gotoAndPlay(1);
}

do I need to add _root. ??

Linking From A MC To Main Timeline?
Just wondering if any one had a quick bit of script that enables you to click a link that is in a Movie Clip and so that it goes to and plays a frame in the main timeline??

Iv got the normal script: on (release){
gotoAndPlay(1);
}

do I need to add _root. ??

Linking To The Main Timeline From An External Loaded Swf
Hi everybody!

I have a projector that loads an external swf file. Here's my code:

loadMovieNum("057.swf",1);

The thing is that when the external file is loaded, I need to control a movie clip placed in the main timeline of the .exe projector.

Because the file is nested into the projector, I thought that I could link to it using _root, but it didn't worked:

_root.mymovieclip.gotoAndPlay(2);

Is it possible to do this?
Is it a path problem?
What am I doing wrong?

Thanks a lot!

Loading A Movie From A Movie On Main Timeline, To A Specific Frame On Main Time Line
I need help loading a movie from a button in a movie on the main timeline. To a specific frame on the main timeline.
i.e. I have a navigation movie, in it is a load of buttons. I want to load separate movies to a blank movie on a specific frame on the main timeline.
I guess I am having target problems, I can load the movie in the main timeline, but not the frame i want it or the the blank movie in that frame.

Linking To A Variable On Main Timeline From Inside Clip?
I guess the title says it all, but if I have a frame script that's a couple levels in (inside 2 movie clips), how can I link to a variable on the main timeline?

On the frame inside the clips is just a simple "var mainvariable = 3;"
But the Dynamic text field named "mainvariable" resides on the main timeline.

I can't really figure out how I'd use a _root or anything to get there. I'm sure I'm missing something obvious. Can you help?

Thanks!

Drop Down Menus Linking Back To Main Timeline
right . . . . i have been crying over my keyboard now for a couple of days trying to find out how to do probably the most simple thing in the world . . . !!!
I have set up as per this site the drop down menu, so i have a movie file with several buttons nested in it, and this this little movie file sits in my main timeline . . . . . but for the life of me i cannot link the buttons to jump along the main timeline which the movie sits in . . . . ?
Please help as the tears are now rolling down my nose, over my chin, and dripping into my keyboard . . . . who wants to be a flash animator anyhow?
leigh.

Linking A Button Inside A Movieclip To The Main Timeline?
On the main timeline I have a frame labeled "contact" How do I link a button that is nested inside a movieclip to the main timeline?

Linking External Sfw File In Main Timeline Lebel
Hi

I am using flashmx 2004. I am creating a presentation where the main (suppose "main.swf" )movie has seven "lebels" on the timeline. I am require to link to external swf files for each lebel which I can do by using the button script :

on (release) {
loadMovieNum("externalmovie1.swf", 0);

}

Now when I want to return back form the "externalmovie1.swf" to a lebel say "contents" of "main.swf" movie time line I am geting problem.

Can I get some help please what should be the code to link to "contents" lebel of main.swf

Thanks for your help
Deep

Drop Down Menus Linking Back To Main Timeline
right . . . . i have been crying over my keyboard now for a couple of days trying to find out how to do probably the most simple thing in the world . . . !!!
I have set up as per this site the drop down menu, so i have a movie file with several buttons nested in it, and this this little movie file sits in my main timeline . . . . . but for the life of me i cannot link the buttons to jump along the main timeline which the movie sits in . . . . ?
Please help as the tears are now rolling down my nose, over my chin, and dripping into my keyboard . . . . who wants to be a flash animator anyhow?
leigh.

Linking From External Swf In Mc To Specific Frame Of Mc On The Main Timeline
Hi all!

I hope, somebody can help me with that:

I have a movieclip on the main timeline that is called "scene". In that MC I load an external swf ("text") into an empty MC called "container". The swf "text" has a button that unloads movie from the empty MC.

Now I would like to jump to a specific frame called "goaway" in the MC "scene". What code do I need for the button to go directly to the frame in the MC?

This is how I call the swf in the MC "scene":

stop();
createEmptyMovieClip("container", 1);
loadMovie("day11blase1.swf", "container");
container._x = 0;
container._y = 0;

To unload the Movie I used

on (release) {
unloadMovie("container");
gotoandstop("goaway");
}

which obviously did not work...

Can anybody help?

Thanks!
Monika

Controlling A Movie Clip's Timeline Separately From Main Timeline
I've got a problem here that I've been trying to figure out for a while now, and it seems like it should be way easier than this. Here's what I've got:

I'm trying to make a neato little flash swf with lots of buttons that you can push and another little movie clip will show some little animation.

I thought I could get this done pretty simply by making a bunch of buttons, giving them an over, down, hit, sound, etc. and then having one single movie clip do all of the animations, but cleverly use stop(); and gotoandplay();

I have tried a few different ways, searched through the help & tutorials, looked all over forums on the internets, and I still can't get this to work. The main timeline is really just 1 frame, and its only purpose is to just hold all of the buttons. I have given all of the buttons instance names (ending with _btn). There is a separate layer in the main timeline for the actionscript alone, and was hoping to put all of the gotoandplay commands there. The code that I am trying to use in that frame is:


Code:
this.WV_btn.onRelease = function(){this.productzmovie_mc.gotoAndPlay(2);
};
The productzmovie_mc has a command to stop(); in the first frame, and I am trying to get a button to skip to the next frame to get it going. I put a stop(); on the last frame of that animation so that it won't run through the whole thing on the first button press. If I remove that stop(); on the first frame, the whole animation just runs whenever I test it and the button has no effect.

I thought this would be way simpler than making 25 separate movie clips and hiding them or spawning them. Does anyone know what I could be doing wrong here? This seems like a pretty simple operation, and I am probably screwing up some mundane detail (I always do that). Be gentle, I am trying to learn Flash and I am a bigtime n00b. I can post the .fla if you need to see it, but it's pretty simple so far, just lots of buttons.

Thanks!

Control Main Timeline With Movie Clip In Main Movie,,
I could really need your help on this.

http://www.flashkit.com/board/showth...hreadid=465355

Loading Movie Into Main Timeline From Movie Clip Within Main Movie
Hi there,

I'm having major difficulties loading external SWF's into my main movie. The button actions are in a movie clip within the main movie. I've used the following AS to load in my external SWF files on higher levels:-

mybutton_bn.onRelease {
loadMovieNum("two.swf",1);
unloadMovieNum(2);
unloadMovieNum(3);
unloadMovieNum(4);
unloadMovieNum(5);
}

Similarly, my external text files are not loading!

myLoadVars = new LoadVars();
myLoadVars.onLoad = function() {
my_txt.htmlText = myLoadVars.myHTMLdata;
}
myLoadVars.load("textfile.txt");


All works fine until I upload to the server. It's really driving my around the bend. Any suggestions will be gratefully received.

Many thanks

Q.

ActionScript Differences Between Main Timeline And Movie Timeline?
Hello,

Could someone explain the difference if Action Script is on the main timeline or in a movie clips time line which is on the main timeline?

I guess I mean is with regards to referring to other items or movie clips or external scripts etc.

To try and clarify what i'm going on about....

I have a form that uses a php script. The form.swf is brought into my main movie with 'loadmovie' action script.

When the form.swf is run on its own it works. When someone enters the info and hits 'send' the form gets what it needs from the php script and then goes to a 'sucsess' frame. Great.

But..

When the form.swf is run from within my main movie and someone hits 'send' the form goes to my 'fail' frame (even though it is sending the email), the php script is returning a 'fail - invalid email entered' message to the flash form (the email was valid though!!).

Because the form.swf works on its own I'm guessing that, when loaded into the main movie, i need to add something to make it talk to the php properly.

The odd thing is that it must be talking to the php as it is sending the email!!! So why is the php sending back a 'fail' and not a 'success'.

It could be that the form.swf is just not getting a response from the php and so it going to the fail frame. In which case, if my form movie is within my main movie what do i add to the php (or action script) to receive the info to the nested movie.

I cant work it out.

Thanks soooo much for your help.

Julian

Play Movie In Timeline But Keep Main Timeline In Place
Hello,

Scenerio: You are at frame 1 of the timeline and it's stopped, you hit a button and it jumps you to frame 20 and then at frame 20 a movie clip plays.

Question. Can I have that movie play for however long I want (let's say it's a 100 frame movie) BUT have my main timeline still sit on frame 20? And then when the movie is done playing it goes to frame 21 of the main time line? Currently I have to make my main timeline be the same length as any movie I have in it, and so my main timeline ends up being an absurdly long.

Just a general answer will help - which action scripts would I be looking to use (I'm using Flash 8 Pro)?

Thanks

Movie Clip Timeline Vs. Main Timeline
Ok, i have made a movie clip in Swift 3d and have imported it into Flash MX. Now it is in the first frame as flash will place it there and what i would like to have happen is to tell frame 1 that when the movie clip's timeline ends and stops(frame 90) to then move the parent timeline to continue with stuff
If any one reads this please help or refer me to a MX book that is worth the valuble time we think we have!
Mike

Movie Symbol Timeline & The Main Timeline
Hi guys,

There is the frame in my main timeline which has a movie symbol and when the timeline heads reaches & stops at this frame & start playing the movie symbol timeline, i want that when the timeline head reaches at the end frame of the movie symbol timeline, it should take me to the any frame number/label of the main timeline i want.

I tried adding the action to the end frame of the movie symbol to take me to a different frame of the main timeline but it doesn't do anything. It remains at the same frame of the main timeline.

Is there any way out?

Regards, Rohit

Help With Pop Up Menu (Sub Menu Buttons) Linking To Frame On Main Timeline
Hi,
I really need help with my flash project. I've created a pop up menu by having 4 buttons on the main timeline which I made into a movie clip which has an instance name of menu_mc. Inside that movie clip I have my sub menu created and the menu works great. My only problem is that I can't seem to link the submenu buttons to the frames created on the main timeline. I've tried all the action script I can think of. One example I am using is

menu_mc.contact_btn.onfiltered= function() {
gotoAndStop("Scene 1", "contact");
}

This is where I am trying to link the Contact Button (which is a submenu button of the About button) to the contact frame which is located on the main timeline. Please help me if you can. Thanks.

Embedded Sound Problem Using Preloader To Main Movie?
I currently have a site which requires a preloader, and also an embedded sound clip within the main movie????

problem is the main movie works fine as stand alone, with a little actionscript on the first frame of the main timeline to create a new sound object and then load the embedded mp3 clip in there, but when i use the preloader, the sound drops out.

anyone got any ideas about this problem?????

check out both of the files at:-

http://www.biznuge.co.uk/kennelliott/loader.html - with the preloader!

http://www.biznuge.co.uk/kennelliott/design2_4.swf - and without!!!


BAFFLED!!!?!?!!?!?!?

How To Call The Main Movie From An Embedded Movie
Hi,

I would like to tell the main movie to go to the nextScene() from inside another movie. I know that gotoAndPlay() can be used for objects such as a embedded movie (something like _root.*name*.gotoAndPlay() )

I want to do the reverse, I want to tell the main movie to play from inside an object. How do I do this? What do you refer the main movie as? Can you give the main movie a name and associate that with *name*.gotoAndPlay() ?

Thanks.

How Do I Code For A Movie Clip With A Button In It Embedded In The Main Scene?
This should be easy for any one who designs websites in flash.

I have a movie clip embedded in my main timeline that appears after an animation sequence happens. In this movie clip is button that changes color when you rollover it and links to an email address. Pretty simple.

I am not sure how to correctly code the actionscript for this. So far, when you rollover the movie clip and try to click the button, the whole movie clip flashes.

How do I tell flash to point to the button embedded in the movie clip?

You can see the god awful mess I've created online at:

http://www.espavoproductions.com/flash_site.swf

Look at the CONTACT button to see what I am talking about.

Please help. I would be so very grateful.

-Stephanie

Control The Play On The Main Timeline From Within A Loaded Movie (not A Movie Clip)?
Question... I have a movie (main movie) that loads another movie (movie 2) automatically. Movie 2 contains a button that loads yet another movie (movie3). Now I’m having trouble with this next part... When movie3 loads I want "main movie" to stop where it’s at in the timeline and stop all other loaded movies until the user clicks another button where upon movie 3 will go away and "main movie" will resume. Movie 2 is like the paper clip guy in Word and movie 3 is my help movie. Therefore, it can be accessed at any point during the main movie and I don’t want to use a goTo command to jump to a frame label or scene. Does anyone have any idea how to control the play on the main timeline from within a loaded movie (not a movie clip)?

Addressing The Main Movie Timeline From A Movie Loaded Via LoadMovie.
I have a clip on the main time line of a host movie that I would like to make visible when the second frame of the swf to be loaded, containing an embedded video movie clip loads.

I have this code on the video clip in the movie to be loaded:

code: onClipEvent (load) {
_root.witch_mc._visible=true;

}

Which I had hoped would have addressed the main timeline of the host movie where the targeted clip was – but no joy.

Any help please?

Buttons Within Movies Linking To Main Movie
Ok. I have a scene in which I have placed a ScrollPane that loades an "exported for actionscripting" movie. Due to lack of room in the scene, I placed buttons into the exported movie so that they would scroll through the movie/ScrollPane when called for in the published movie. Yet, when I gave the buttons in the exported movie action scripts, they do not work. I placed a simple "on release, goto and play ("main", 46)" *(not actuall code, just so you know what command I'm trying to do)* but when I publish the movie and click on the buttons, the movie in the ScrollPane just starts over.

How do I write the code to make the buttons in the exported movie (showing in the ScrollPane) link to the main scene?



Any help would be appreciated, thank you.

Help Linking Gallery Movie To Main Menu
Hello. I modified a file for a masked picture gallery found in flashkit (picture gallery 4) and it seems to work fine. I want the gallery to work for background pictures. Example: when I click the services button, I want the background to swap.

I took off the buttons in the main scene of this gallery file, but I don't know how to use the buttons in my menu instead. I made my gallery into a movie, and my menu into another movie. Both are located in Scene one.

My services button actionscript is like follows to go into the services section with no background picture:

on (release) {
_root.gotoAndStop("mergers");
}

The button in the gallery file is:

on (rollOver)
{ num = 2;
}

on (release) {
if (link != num)
{
pages.gotoAndStop(num);
mask.gotoAndPlay(1);
link = num;
_root.gotoAndStop("mergers");
}

I copied that into my button's actions but it is not working. How should I link it? The instance name of my menu movie is MCmenu. The instance name of my gallery movie is MCgallery.

Thanks guys! Here's the gallery file

Controlling Movie From Main Timeline
okay, here's the plot:

I've got a movieclip of an airplane.
The whole clip is the plane retracting and putting out the landing. Now The first part until frame 10 is retract.
I need to make the movie play the 1st 10 frames and then stop. The gear is up then. If the gear has to go down, It needs to play frame 11 till 20 and stop on 20.
This has to be done from the main stage, or another object like a button.

I tried tell target, but that wont work or maybe I didnt get it right.

(or should I go to the newbies forum)

Placing A Movie On The Main Timeline
I'm creating an interface with a video screen and scrolling buttons to choose what movie you want to play.
What I can't figure out is how to make the buttons load the movie in the main timeline. When it pops up, it's loaded into the timeline of the movie clip I created for the scrolling buttons.

This is the code I placed on my button:

on (press) {
this.createEmptyMovieClip("mc",1);
mc.loadMovie("movie.swf");
this.onLoad = function() {
setProperty("mc", _x, -137.8);
setProperty("mc", _y, -6.3);
};
stop();
_root.onEnterFrame = function() {
if (_root.mc._currentframe == mc._totalframes) {
mc.unloadMovie();
}
};
}
Any help would be appreciated.
[Edited by willi-jay on 09-04-2002 at 07:33 AM]

Movie Clips And Main Timeline
When scrolling through the main timeline, I am only able to view the
first frame of each movie clip I've inserted (my layers are made up of
movie clips with no other objects in the main timeline). These views
change with each keyframe, but leave me with an inaccurate
representation of what is happening as I drag the slider across the timeline. I am able to view the outline of
the shape in the movie by clicking the view outline box next to the
lock, but this still does not show me what is going on in the movie
frame by frame. Is this normal, and can it be
changed?

Also, if I want to export only part of the movie for test, is this
possible?

Any help would be most appreciated.

Interaction Between A Movie And The Main-timeline
Hi! This is for Flash MX 2004: Can anyone figure out the actionscripting that could apply to the following example?:

I've got two frames in the main-timeline.
The first one is labelled "ONE", the second one "TWO".
The first frame contains a movieclip (instance name: "MC"); the second one contains a simple Bitmap. I've got one button inside "MC" (instance name: "BTN").

THE ULTIMATE QUESTION:
How can I tell "BTN" to go to frame two in the main-timeline "on release"?

Movie Clips On Main Timeline
HI! I'm using Flash MX and I'm not very good at it. So I would appreciate your help! Anyway, I'm making a movie w/ no interactivity and I want to put a series of movie clips on the main time line, each to play after the previous movie clip is done. The only way I can make it work is to put the movie clips in keyframes and then allow all all the frames for the movie to play. My movie is way too long and I know there has to be a better way! I'm trying to figure out the action to assign to the keyframe that will play the movie clip within that one frame and when it's done, go on to the next movie clip. Is that possible?

Thanks to anyone who can help!

See Movie Clips In The Main Timeline?
Is it possible to view the position of elements in the main timeline that are held within a movie clip. For example all elements must be at frame one in order to see the movie content. If A space was given in the movie clip, we would not be able to see the position of elements, hope all this makes sense, but is it possible.

I have navigational buttons held within a movie clip. The buttons come with a animation, and start at frame three in the movieclip, except I need to position this acurately with the rest of my design, but dont have a visual for this.

Hopefully someone can explain.

Trev

Movie Clips On Main Timeline
HI! I'm using Flash MX and I'm not very good at it. So I would appreciate your help! Anyway, I'm making a movie w/ no interactivity and I want to put a series of movie clips on the main time line, each to play after the previous movie clip is done. The only way I can make it work is to put the movie clips in keyframes and then allow all all the frames for the movie to play. My movie is way too long and I know there has to be a better way! I'm trying to figure out the action to assign to the keyframe that will play the movie clip within that one frame and when it's done, go on to the next movie clip. Is that possible?

Thanks to anyone who can help!

Controlling Main Movie Timeline Via A Movie Clip
hi all,

i need some help figuring this out. i created a bunch of frame labels for my main movie timeline to layout the sections of my website (i.e., "home", "news","gallery", etc.). now, i am able to "jump" to the different sections of the site when i clicked on the buttons that i have on the main movie. for example, i assigned the the following codes to the "news" button to go to that section:

on (release) {
gotoAndStop("news");
}

here's the problem: i have also created a short animated movie clip at the beginning of the main movie timeline that, once the animation is done playing, a button appears that allows user to click and enter the site. with the same line of code above assigned to the button (with the "news" word changed to "home" for home page), when clicked, it only goes back to the beginning of the animation instead of the home page section?!

please help! thank you!

michael

Button Inside Movie... Movie Is On Main Timeline
Hey all, I have this question that a lot of people have asked, but I never found an answer to this question.

I have a button, and that button is inside a movie clip, and this movie clip is on my main timeline. How can I reach the button?

Thanks and kind regards...

Somberlain

Button In Movie Clip Linking To Main Scene.
Howdy howdy. I'm working on a flash project and I want the buttons in one movie clip to link to frame 5 of scene 1. (So I have scene 1, a movie clip with the buttons in it and I want one of those buttons to make scene one skip to frame 5) So far it just goes to frame 5 of that movie clip, and when I named "Scene 1" inside the "Scene" box it didn't do anything. I tried searching the forum prior to posting this but I got 50000 results the first time and 35000 the second time, and I didn't feel like browsing through all of those hoping to find the answer to this question. (The first 2 pages of each search didn't contain anything I found to be helpfull) Any help would be greatly appreciated! (I'm using Flash 5) Thanks -NoodlyGod

Movie, Main Scene Actionscript Linking Hell
Im geting realyt agrovated my Flash mx at the momant!
I have 3 links in a movie clip linking to another part of my scene "gotoAndPlay(frame number)", BUT the dumb flash links it to that frame um,ber inside the movie clip.
Can anyone rid me of my headache and help me on how to get it to link to a frame outside the movie clip


Oh yeh, and is it possible to make a dynamic txtbox link to a frame if yoiu add the "on(release)" action?

Thanx

Linking One Movie Clip To Another, Via The Main Time Line.
basically i have inserted a button into a movie clip(1) and want the button to take me to the movie clip (mp3-radio) and stop on frame mp3- radio inside this mc. This needs to work with both mouse and key press. at the moment it only works with the key press for some reason. does anyone know why? also it does not stop on the mp3-radio frame even tho there are stop actions in place.

on (release, keyPress "<Enter>") {
_root.mp3-radiomc.gotoAndStop("mp3-radio");
}

this is the code i have in place.

also the movie clip(1) works with mouse release but not with key presses, any ideas on why that would be?

thanks very much for any help in advance.
hugo.

Can I Preload A Movie Clip That Is On Main Timeline?
Ive seen this done, and now I need to do it. I want to do a percentage preloader for a movie clip. I think my nesting is wrong. Here is the script as it is not working. If anyone knows how to do this, you will be helping me save the world. The crap below might be totally off. Feel free to bust on me.

cmov is the MC I want to load.

total = 250;
download = int(_root.cmov.getBytesLoaded() /1000);
if (download>=total) {
tellTarget ("_root.cmov") {
gotoAndPlay (2);
}
} else {
play ();
}

Can I Target The Main Timeline From A Loaded Movie?
So...I load a swf into the main timeline. How can I target the main movie when the loaded swf is finished? Is this possible...and if so how do I do it?

Thanks.

Controlling The Main Timeline From Within A Movie Clip
Hey folks

I think I have a fairly simple problem.

I have a movie clip placed on the main timeline with a button inside of it. All I want to do is assign an action to the button that tells the main timeline to move on to the next scene. However I am obviously messing something up because the best I can do is tell the main timeline to go to a specific frame within the first scene using

on (release) {
_root.gotoAndPlay(50);
}



but can't get it to go to the next scene using

on (release) {
_root.gotoAndPlay("Scene 2", 1);
}


Any ideas peeps? Any help much appreciated

Playing The Main Timeline From An Loaded Movie.....?
Hi all, I have a simple question, In the main Scene in a frame I have a action:

Stop
Load Movie ("graficooo.swf", "porttarget2")

After, the movie open and play... but in the end I need to put a action that unload the movie
(Stop // Unload Movie ("../porttarget2")
and play the timeline of the scene..... What is the correctelly action ???

Thankx

Loffi

Copyright © 2005-08 www.BigResource.com, All rights reserved