ActionScript 2.0 :: LoadMovie To Specific Frame Label?
Dec 14, 2004
I know. This topic has been addressed several times in various posts. And I've read and tried all of them, however nothing seems to work. I'm not sure if due to the circumstances...I'll explain.
I have made 2 files: main.swf and products.swf. A button in main.swf has the following code:
on (release){
_root.loadMovie("products.swf");
}
This works great, but what I really want to do is go to frame label "Range" in products.swf. A note of explanation: I'm not trying to load products.swf into a container movieclip, I want to replace main.swf with products.swf and go to Range label.
View 2 Replies
Similar Posts:
Dec 14, 2004
Okay, I know. This topic has been addressed several times in various posts. And I've read and tried all of them, however nothing seems to work. I'm not sure if due to the ircumstances...I'll explain.I have made 2 files: main.swf and products.swf. A button in main.swf has the following code:
on (release){
_root.loadMovie("products.swf");
}
This works great, but what I really want to do is go to frame label "Range" in products.swf. A note of explanation: I'm not trying to load products.swf into a container movieclip, I want to replace main.swf with products.swf and go to Range label.
View 2 Replies
Aug 22, 2009
I tried this code but doesnt work properly, anyone has a solution? i need to load different swfs in the same MC depending on the frame, i have placed the simple loadmovie code in each frame with the different swfs and it works but i would prefer to keep the code in 1 frame. This would be even better if using labels instead of frames.
[Code]..
View 3 Replies
Sep 29, 2004
Basically this script works just fine and loads the appropriate movie. The transistion exit frame also works correctly. What I am trying to do is load the movie site_services.swf and jump to frame label "database" after the preloader. I was attempting to use _root.contents.FLabel = "database"; to set the variable.
on (release) {
if (_root.currMovie == undefined) {
_root.currMovie = "site_services";
[Code]....
View 2 Replies
Jan 5, 2006
After i look in kirupa foruns(and others) i found lots of information about how to load a movie into a container, making that the movie starts in a specific frame label.
I have 2 movies, the fist one "main.swf" contains the "container", the 2nd "teste.swf" contain the frames labeled like "F1", "F2" "F3" "F4" and "F5".
View 2 Replies
Aug 6, 2009
if its possible, via AS3, to create a frame label in a movieclip on a specific frame.
Obviously I can do it by manually by setting up labels on the timeline within the target movieclip, but I would rather use an array so I can loop through it, creating a label name on a the specific frame each time?
so for example I would end up with:
myLabelOne on frame 10
myLabelTwo on frame 25
myLabelThree on frame 115
etc
View 3 Replies
Nov 1, 2004
I am loading a swf into an empty MC with this code:
on(release) {
loadMovie("movie.swf", _root.container);
}
what I want to do is also go to a specific frame or frame label in that loaded movie. I thought I could do it by adding something like this:
_root.containter.gotoAndPlay("frame");
View 9 Replies
Jun 3, 2011
Is there a way to get the frame label on a specific frame, without it being the current frame?
I've tried accessing it through:
this.scenes[0].labels but it doesn't allow me to check a specific point on the timeline.
View 2 Replies
Mar 13, 2004
Anyway, I'm using loadMovie() and then trying to go to a specific frame within it:
[Code]...
When I replace "currentFrame" with a number, say 10, it doesn't work either. This should be so simple but I just don't get it.
View 3 Replies
Jun 19, 2007
My problem is :
A.swf : 5 frame (ie, page1, page2, page3, page4, page5)
B.swf : 2 frame (ie, page6, page7)
When click on back button in the page6(B.swf), wish to jump back to page5(A.swf) instead of page1 as normally
Script using :
back_btn.onRelease = function() {
loadMovie("A.swf",0);
};
B.swf jump to A.swf, but go to frame 5 instead of frame 1 in A.swf.
What should i do for the script to achieve what i mentioned above?
View 5 Replies
Jan 21, 2004
is there a way with the loadmovie function that you can load a specific frame within the movie instead of starting at frame1?
what ive been using is:-
on (release) {
loadMovie("mymovie.swf", 1);
}
but this starts 'mymovie' at frame1, is there a way to get it to load the movie and start at frame 20?
View 1 Replies
Mar 16, 2009
I'm having a problem trying to call an specific label or frame in a secondary MC.
-There is a main time line (120 frames) with an Intro animation stop in frame 103.
-There is 2 buttons in frame 103 (b1,b2). On release this buttons play 104 and stop in the last frame of the main time line (120).
-In the frame 120 these 2 buttons fade and an MC called navmenu and an empty mc (to load external flash) appear
-MC navmenu is the main menu with 6 frames, one for each button.
I'm trying that when I click on b1, it play 104 go to the end of the main time line, and call frame 3 on navmenu MC, plus load movie on empty MC.[code]...
View 6 Replies
Dec 24, 2009
I'm trying to access a specific frame label in an externally loaded swf. I have the external swf loading, but I'm not sure how to access the specific frame label after release. This is an example of the code on my external swf timeline:
[Code]....
View 3 Replies
Feb 25, 2008
I know this sounds confusing but it's really a simple question. You can follow my site to better understand. [URL]
If you click on "Films" a submenu appears. I want all of these submenu buttons to link to (u-stu.com/films.html) but each go to a specific frame label in the .swf located within [URL]
[URL]
View 2 Replies
Jun 10, 2009
I am using Flash CS3, Actionscript 2.
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.
View 4 Replies
Oct 4, 2010
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.
View 3 Replies
Oct 14, 2002
Is it possible to link to a specific part of my flash movie from an html page. Is there any way to link to a frame number or label? The site is html based, but the intro/home page is flash. I don't want users to have to see the intro every time they go back to the home page from somewhere else within the site. Is there something that I can append to my link on my html page to make it go to a specific frame in the swf?
View 3 Replies
Aug 22, 2009
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]
View 1 Replies
Aug 22, 2009
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)
View 1 Replies
Jul 14, 2009
I have a .swf menu with 20 or so links. Each link opens up a new html page that in turn embeds the same swf menu. All I want is to simply have the html tell the swf to gotoAndStop a specific frame label that really just 'highlights' that particular button, so the user knows where they are. that's it... used to be able to do this with fsCommand, or so i thought.
View 9 Replies
Feb 29, 2012
Is it possible to change a frame label within a gotoAndStop('label') with the parameters in a function?I'm playing around with updating code as I learn more and more techniques, and at the moment the code is a basic click-a-button to select the object shape, and on press the button disappears:
// Change the object into a circle.
circle_btn.addEventListener(MouseEvent.CLICK,function(){changeShape_fun(circle_btn,circle);});
// Change the object into a square.
square_btn.addEventListener(MouseEvent.CLICK,function(){changeShape_fun(square_btn,square);});
[code]....
However I can't/don't seem to know how to change a frame label through function parameters, or if what I'm trying to do is even possible.Also to note, while I'm all ears for any more efficient ways of doing what I'm trying to do, I would still like to know how/if you can change frame labels through function parmeters.
View 1 Replies
Jun 23, 2009
My question is in bold and underlined in the AS below. How can I have a loadMovie command that loads the swf depending on the label name?
AS:
Code:
var menuArray:Array = [{mc:p1, name:"Hardin & Luckett (Marana)", label:"HardinLuckett" },
{mc:p2, name:"Dove Valley", label:"DoveValley" },
{mc:p3, name:"RESUME", label:"resume" },
[code]....
View 0 Replies
Mar 31, 2006
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?
View 2 Replies
Sep 15, 2010
how do i export specific frames not all frame. ex: if flash has 1 to 200 frames. here i want to export 51 to 150 frames as a movie. if there is any command or plugin to export movie like this.
View 0 Replies
Dec 3, 2009
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.
View 3 Replies
Sep 21, 2009
Basically once my animation loads I want to pull in an external SWF at a specific frame, basically like the "home page" swf that will display first. Underneath that I will have "About Us, Contact, etc..." and those will each load an external SWF into my movie clip. My movieclip right now is called mcHolder. Here is the code I am currently using for the buttons:
Code:
//About Us Button
function test2(evt:Event):void{
[code].....
View 1 Replies
Feb 18, 2005
I have a sliding menu, and need to loadMovies when specific clips are in specific positions.
For gallery, for example, the code I'm using is:
if (xTargetSLI = 350){
loadMovie ("gallery.swf", 1);
}
But with that code, gallery.swf loads by itself, regardless of the position of SLI.
View 7 Replies
Jun 11, 2006
is there an action script code that enables the timeline to automatically enter a frame label on entering a certain frame.
View 1 Replies
Aug 30, 2007
I'm trying to get this function to target myClip_mc and movethe frame head to another frame label.
var counter:Number = 1;
//textBeGone
invisible_btn.onRelease = function(){
counter++;
if(counter % 2 = true) {
[code].....
View 2 Replies
Mar 11, 2011
is it possible automatically name frame label with instance name of item in frame.
View 2 Replies