ActionScript 2.0 :: Flash 8 - Linking To A Specific Frame In A Movie Clip
Aug 4, 2008
I am trying to animate this piece with frames.
Basically, I have adrop down menu, which contains about 20 buttons. Each button is set to _root.Keys_MC.gotoAndPlay("frame label"); a specific from within the Keys_MC which is on the main timeline.
The problem is, no matter which one I click, it always links me to the first frame of that movie clip.
This loads a new movie clip of a simple slideshow which has 7 frames. You can click through these frames with left and right buttons.
I no longer need the left and right buttons. I need a group of 7 buttons sitting under the "Recent Projects" link which each link to a different frame of the recentProjectsBody_mc movie clip.
I assume I need to load this movie clip before I link to a frame within it. But then how do I link to a specific frame within that movie clip?
Trying to create a link from an html page to the contact section of a flash website. I understand how to link to a specific frame by creating an anchor over the target frame, but it only works if its in a single movie. The problem is that the section I want to target is on a deeply nested movie which the main movie loads such as
Code: loadMovieNum("images/topback.swf", 8);
Instead of the html code looking like this "index.html#contact" for a single movie what would a nested link code look like?
I have been doing really well figuring everything out up until now.[code]How it stands, what is this link pointing to? Can I make it target a specific frame in a specific movie clip?And if someone would be so kind and explain what this is saying in 3rd grader terms.
I wanted to know how to link Button within a movie clip linking to Frame Label?I am using Action-script 3.0
I am trying to use the following AS inside the movie clip from where i want to go to the other frame labeled as advt_sms but i am not able to go to that page [code]...
I wanted to know how to link Button within a movie clip linking to Frame Label?I am using Action-script 3.0
I am trying to use the following AS inside the movie clip from where i want to go to the other frame labeled as advt_sms but i am not able to go to that page[code]...
I have been researching this for hours and cannot seem to find an answer anywhere. Right now I am linking one flash file or .swf file within my main flash site using a button.So in my main flash site, I connect to this .swf file by using...
This works perfect but the .swf file starts at the first frame. Is it possible to a jump to specific frame within that .swf file so it doesn't start on the first frame?
I have 2 SWF's:SWF1 = AS2 SWF2 = AS3I need to link from SWF2 to frame 10 of SWF1. Is this posible?If not, is it posible doing this with html/javascript? With the <a> tag?
I have a movie clip which, when closed, should send you to a specific frame on the main timeline... I have used frame labels on the main timeline... Here is a bit of my code so far:
I have reviewed and applied this wonderfull explanation contained in the post thread response from Mr. Catbert303 "linking to specific frame number or label from an html page" about the javascript and actionscript code combination wich allows the swf movie to force-jump into specific framelabel or framenumber and it also works perfectly whenever i go from the link "back to swf" on my plain html page to the movie content page (also html). But i need my swf movie content page to start playing from cero whenever it is played from start and not begining always at the specifyed frame in the actionscript code:
if (frame != "") { gotoAndPlay(frame); }
I have tried everything within the "if" & "else" conditionals and i can't get the swf movie content page to start playing from frame 1 everytime it is called up, but instead it looks like it reads the actionscript code described above and always takes you to the specifyed framelabel, not playing it from the start. I have a hunch i'm missing something extra on my actionscript code wich must determine if the swf file is to jump to the specified frame or start playing from cero, because if i remove the above AS2 code from frame 1, it then starts playing from cero normally like it should but won't jump to the specifyed frame when also needed from the HTML page.
I'm having a problem in linking sub menu buttons to specific frames in that html pageYou can follow the sample site to better understand.f these submenu buttons to [URL]
Anyone knows if there's a way of calling an specific frame or movieclip from a loaded xml file? I have some xml text loaded to my flash site and i want to have a link in this text that when clicked loads a comment form that is in a different frame in the timeline. I've been looking and googling and i havent found any solution to this.
I'm having a problem in linking sub menu buttons to specific frames in that html page. You can follow the sample site to better understand. [URL] If you click on "Films" a submenu appears. I want all of these submenu buttons to link to [URL] but each go to a specific frame label in the .swf located within [URL]. For example:[URL]("equipment" frame label within .swf) or [URL]("tips and tricks" frame label within .swf)
i have created a navigation bar for my website and i need to add a url to the movie clip, it has roll over and roll out but when i put the url on it cuts out the roll over and roll outs.. what do i do?
im using the coding...
on (rollOver) {_root.home.gotoAndPlay(2) } on (rollOut) {_root.home.gotoAndPlay(1) }
i need to change the colour of a graphic in a specific movie in a specific frame. if i have a movie clip instance-named "sidetext" thats 15 frames long, and i want a graphic in the movie, called "letterp" to change to one of four colours that i want it to randomly at frame 10 and stay that colour uintil frame 15, how can i do this?
Scene1->MovieClip1->Image1(as a button)Scene1->MovieClip2->MovieClip3->MovieClip4->frame1Now I want to call frame1 from Img1 have a parent Scene1 common.How can I do this.I have tried
I'm sure I am missing something. I have created a scrollpane instance "Buttons_sp" and set the source in the properties panel to "SantaThumbs_mc" Set the symbol linkage property to Export for Actionscript and used the default assigned class name for the SantaThumbs_mc. On my main timeline I have another clip LargeSantas_mc that I want to access specific frames on when a button in the scrollpane is clicked.
The button listeners are on an actions layer in the SantasThumbs_mc and at this point I have only one button with active code so I know that the code is being seen when I test the movie, which it seems to be.
I want to "Test Movie" to get a feel for what my animation looks like as a SWF file but I want to test it from a specific frame. My reason for this is that normally if I go to Test movie, I have to watch my entire animation from the start when really, I might want to test it only to see if a certain part works. And I do realize there is the "play" option in the timeline using Enter but that doesn't have the same effect as Test movie.
Is there any way of testing a movie from a specific frame?
I am building a flash image gallery which calls on xml to load the images and captions - so far so good... My problem is that I want the top node to tell the flash movie to go to a specific frame...
A movie clip called "Symbol_4" contains all of the navigation and frames of my movie.inside of Symbol_4 is a MC called "bottom scroller" which contains "imgbar" which contains "bar" which has a bunch of buttons in it.I want those buttons to link to different frames in the main "Symbol_4" MC.
I've tried putting code on a button like this
Quote:
on (release) { tellTarget (this._parent._parent._parent) { }
[code]....
There are no errors in any of this code, but nothing seems to work?!
I need to load an external movie file into the root of my main movie, so it replaces the main movie, and when it loads, it loads at a specific frame (or label)of that newly loaded movie.
Explanation: My main movie, lets call it "Main.swf", has a button which is part of a drop down (tree) list. When you click on the button, I want to load my second movie called "bearings.swf", and to immediately go to frame #2 of the "bearings.swf" movie.
I have a flash intro on my site and i would like to create a cookie so that if you have already seen it it takes to a specific frame in the movie is this possible?
how to get a movie clip to loop a specific number of times in Flash? I know how to stop a movie clip from looping by using the this.stop (); command by placing the command in a separate Action Script layer, in a keyframe, inside of the movie clip's timeline. This allows the movie clip to play through once and then stop. But I need for the movie clip to loop more than once, maybe 2 or 3 times, and then go back to the main timeline.
Also, is it possible to place a pause (I'm guessing, maybe by using a timer of some type?) between the loops, so that the movie will pause a couple of seconds before it loops again and then stop? Please note I do not need the movie clip to stop when there's an event like a rollover or anything. I just need it to play a couple of times, pause between plays and then stop and go back to the main timeline.
Does anyone know how to get a movie clip to loop a specific number of times in Flash? I know how to stop a movie clip from looping by using the this.stop (); command by placing the command in a separate Action Script layer, in a keyframe, inside of the movie clip's timeline. This allows the movie clip to play through once and then stop. But I need for the movie clip to loop more than once, maybe 2 or 3 times, and then go back to the main timeline.
Also, is it possible to place a pause (I'm guessing, maybe by using a timer of some type?) between the loops, so that the movie will pause a couple of seconds before it loops again and then stop? Please note I do not need the movie clip to stop when there's an event like a rollover or anything. I just need it to play a couple of times, pause between plays and then stop and go back to the main timeline.
I have a swf that uses the following code to go to different sections in a movie timeline:
Code: //This is the script for the main tab menu. contents.stop(); numberOfTabs = 8;
[Code]....
So basically if someone clicked on the tab with an instance name of tab6 it would take you to frame 6 in the movie clip with the instance name of "contents". What I want to do is be able to have a button (that is on a different swf) when clicked would go to this swf and then would go to the frame inside the movie with the instance name of "contents", (so for example you click on the button and it goes to frame 6 in the movie clip) but how to write the AS to tell the button to go to that specific frame inside the movie clip.
I am wondering how/if I can link to an external URL within a movie clip. It is easy to create a link that functions within my site, but I am having trouble linking to an independent site.
.I've downloaded a template, which I'm modifying to get working the way I want. You can see how far I've got by going to URL... My question is regarding the 'About' page, where on the right hand side you'll see a pull down menu, with two images on it. The first (says Myrtletown Films) loads and links correctly - The second doesn't link correctly.I'm almost certain its a coding linking issue - As if I were to load the same movieclip as the first one (only telling it to load image2, it loads fine - but then wont link to a separate location).Ok, its starting to get confusing; so here's the FLA. When you open the FLA don't go looking around for bits and pieces. Everything you need will be in the 'action_ content' movie clip. You will find both instances of the images (which are labelled 'Previous_Work_Item_1a' etc)[code]The first image is linked to page '6', the second image (which is failing to load) is linked to page '7'. What's confusing is that Previous_Work_Item2a/b/c are just duplicates of Previous_Work_Item_1a/b/c