ActionScript 2.0 :: Load External SWF - Goto Specific Frame?
Apr 15, 2006
I am loading an external movie with buttons... I would like the loaded movie to goto a specific frame. This is the code to load the new movie
Code:
on (release) {
loadMovie("movies/1.swf", "display");
}
I did search (external swf frame) but nothing came up with what I needed
View 5 Replies
Similar Posts:
Sep 9, 2009
I'm making a training video and right now I have a container swf that loads external swf's In the container swf there is about 3 frames in the beginning and on the fourth frame you choose the section you want to go to next. The sections are just external swf's. To load the section / external swf I'm using:
[Code]...
View 0 Replies
Aug 1, 2010
i want to make an presentation,, for which.. at frame i click a button on frame 9 it goes to frame 10 and plays.. like my script on frame 10 is below
this.createEmptyMovieClip("coalzoom",5);
coalzoom._x = 80;
coalzoom._y = 60;
coalzoom.onEnterFrame = spaceLoad;
function spaceLoad()
[Code]....
and when i click another button to go frame 1 from the same page at 10,, placed beside the loading external swf ,, it goes,, but the loaded external swf file is not going ,, or the external file not cleaning,, not removing. here is the CS3 flash sources,, and outputs [URL]
View 1 Replies
Jun 24, 2005
im trying to do is load an external swf file into a "base" file but play a certain frame number or label in the external file.I have a file called base.swf file which is level0In base.swf i have nothing but 1 frame with the following AS code:loadMovie("top.swf", 2);This works fine and loads and plays top.swf, but how can i load top.swf and play a certain frame label or number as soon as its loaded. Ive tried the following which does work but i hope it kinda explains what i want to do.
loadMovieNum("top.swf", 2);
tellTarget (_level2) {
gotoAndPlay("MyFrameLabel");
[code].....
View 10 Replies
May 21, 2003
hey there I posted several strings before and no response
I want to load a specific frame of external.swf into a main.swf
View 4 Replies
Dec 18, 2009
Is it possible to load an external swf movie and make it go to a specific frame to play or stop.[code]...
View 4 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
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
Mar 18, 2009
i have, i have a problem with my code.i have a mc (button) that when you click on it should go to a specific frame (the option clicked) and then charge a movie.the button (mc) ist created by a duplicatemoviehere is the code
PHP Code:
stop();import caurina.transitions.Tweener;//_global.addTween= function(){ Tweener.addTween( arguments[0], arguments[1] ); }Stage.scaleMode "noScale";
[code].....
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
Nov 7, 2007
The title of my main file is "Gabriel96.fla". Inside this file I have a movie clip called "home movie". Inside this movie clip i have a button called "Symbol 32". Once this button gets clicked, I'd like it to go to frame "joe" which is inside a movie clip called "porrtfolio", which inside a separate file called "portfolio55.swf".
View 4 Replies
May 14, 2010
I have a time line with 2 frames only. On frame 1 I have a Movie Clip that contains a gallery and its called "gal1" on frame 2 I have another Movie clip called "gal2". Now I have 2 buttons to call each of these galleries which this code in them[code]...
But when I am in gal1 and I want to click on the second botton to call gal2 with the same exact code attached to button2, it doesn't work!
View 5 Replies
Oct 21, 2011
I have created a flash with five movie clips. I want when I press each of them to go and play specific frames on the main timeline? How can I do that?
View 1 Replies
May 7, 2011
I need to make a function (inside Flash) that will let a swf find out what date it is (each time it is loaded from a server) and then - according to the date - display a frame designated to that date. Optionally, I could have the swf load another swf based on the date.Originally I had planned to make some php wrap-around that would do the loading of different swf's for me - but this is not an option since the swf may soon be uploaded to a server that I cannot feed with php-documents (I don't get access for that - swf only!)So now I must find a way to do this within the swf. But as of right now I am clueless.
One thing I did learn during my googling the past many hours is that the "Date class" in Actionscript is risky - in that it 'reads' what date the end user has on his/her machine. So in the event that some user has the date misconfigured that will screw up what my swf will display.Therefore I am hoping that I could somehow do a variation of php's "echo date" and get the date from the server - but inside Flash. And then have that bit of data call for a certain frame/scene/loaded swf.
View 6 Replies
Sep 12, 2006
I am loading a external swf into a MC "m_loader" but i want to go to a specific marker within the external .swf (Marker "m1q1"), i can load the .SWF fine but how do i go to specific place currently using the following AS.
[Code]...
View 1 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 2, 2011
I have an swf with a menu button that loads an external swf on(release) {loadMovie("Unit-Type.swf",_root.MC_UnitTypes);}When that menu movie is loaded I want to be able to click a button and have it go to a certain frame in the root movie and close itself. I have this code but it's not workingon(release){_root.gotoAndPlay(25);}
View 1 Replies
Feb 2, 2011
I have an swf with a menu button that loads an external swf: on(release) {loadMovie("Unit-Type.swf",_root.MC_UnitTypes);} When that menu movie is loaded I want to be able to click a button and have it go to a certain frame in the root movie and close itself. I have this code but it's not working: on(release){_root.gotoAndPlay(25);}
View 5 Replies
May 24, 2010
I am starting to use as3 and I'm with problems. What I wanted to do is: I have a movieclip and I want to load another movie clip inside the main one. That part I can do and I use this code:
Code:
var carregador:Loader = new Loader();
var arquivo tring = "main.swf";
var requisicao:URLRequest = new URLRequest(arquivo);
carregador.x = 150;
carregador.y = 150;
carregador.load(requisicao);
this.addChild(carregador);
Now I want to have a button on the main movieclip with an action to send the loaded movie clip (main.swf) to frame 50. How can I do that?
I tried:
Code:
myBtn1.addEventListener(MouseEvent.MOUSE_UP, qualquer, false, 0, true);
function qualquer(MouseEvent) {
MovieClip(root).carregador.gotoAndStop(50);
}
View 3 Replies
Dec 6, 2007
I have a main flash file that I load various external swf files into. On the first frame of the timeline, there is an intro swf loaded that basically welcoming the viewer to the site. What I want to do is have this load, play and unload and then go to frame two of the timeline where the main home section of the flash site is located.One my first frame on the timeline I have:loadMovieNum("/IntroMovie.swf",1);stop();n the external IntroMovie, I have unloadMovie (1); so the movie will play and then unload itself. What I can't figure out is how to get the timeline to go to the next frame once this movie is finished playing and has unloadedIf I don't put the stop in there, it simply skips this movie and goes to the next frame on the timeline and loads the home movie swf file.Is there a way to use some sort of if statement, that if the movie is unloaded, goto the next frame, sort of like this:if(code to verify if movie is unloaded);gotoAndStop(2);
View 4 Replies
May 13, 2010
I am looking to load an external swf as an intro to a project I am working on. I want the external swf to trigger the main timeline to goto frame 3 when completed. What is the best way to achieve this?
View 2 Replies
Nov 9, 2009
I made a flash website and had one page load an external swf.
In this external .swf are thumbnails that link to another page (frame) all within the external swf. when you go to these pages there is a 'back' link which links back to the main external swf frame.
My problem is this: let's say i click a thumbnail in the external swf and it goes to the respective thumbnail page, and then i dont click the 'back' button but instead click another link of the main flash website - then i go back to the page that loads the external swf and instead of going to the main frame of the external swf it stays at the page i was previously on.
How do I get the link on the main flash website which loads the external .swf to always load on the first frame of the external swf?[code]...
View 2 Replies
Sep 13, 2009
I have two flash files, say a.swf and b.swf.a.swf is the main swf file, embedded in an HTML page for a webpage. There is a preloader in a.swf too. In b.swf, when I click a specific button I need to load a.swf, but not from the preloader, from the content. To be precise, the content starts from Frame 24 of a.swf (obviously Preloader ends in Frame 23). I believe, the frame 24 has to be loaded in a.swf when I click the button in b.swf.
View 2 Replies
Jun 29, 2011
I've got another little hitch that I've come accross in the project that I'm currently assembling. From time to time I need to load swf files at specific frames & seem to have hit a brick wall.
[code]...
It loads the right swf, but at frame 1, when I want tp load it at frame 18
View 22 Replies
Dec 11, 2009
I am new to working with code and flash...I want to load a swf and go to a specific frame, what code do I use.
View 1 Replies
Apr 20, 2009
I have a main movie which loads various external SWF's. What I would like to achieve is that when returning to the main movie (using URLRequest & Loader class) that the main movie starts at specific frame.[code]I believe that the way global variables work in AS3 is very different. Is it true that I need to achieve this via an external class ?
View 5 Replies
Oct 1, 2009
Using AS3 how can you load an external swf file at a specific frame of the newly loaded swf file.Using the AS3 loader class I have no problem loading an external image or swf movie onto the stage.But what I want to do is when the swf is loaded, go to the second frame (labeled "two") of that loaded swf.
For example, My main movie "main.swf" is blank.My external movie "loadMe.swf" has a circle on frame one and a square on frame 2.On the main movie (main.swf) is a button and when you click on it I want the square on frame two of "loadMe.swf" to appear.
View 5 Replies
Sep 24, 2009
I'm made a dropdown menu and i have resolved the navigation for the main buttons, but i have problems with the menu sub buttons , my question is: After the movie is loaded, how can i make the sub button go to specific frame. This is the script:
[Code]...
View 4 Replies
Nov 9, 2009
I made a flash website and had one page load an external swf.
In this external .swf are thumbnails that link to another page (frame) all within the external swf. when you go to these pages there is a 'back' link which links back to the main external swf frame.
My problem is this: let's say i click a thumbnail in the external swf and it goes to the respective thumbnail page, and then i dont click the 'back' button but instead click another link of the main flash website - then i go back to the page that loads the external swf and instead of going to the main frame of the external swf it stays at the page i was previously on.
How do I get the link on the main flash website which loads the external .swf to always load on the first frame of the external swf?
This is my code for the page that loads the external .swf
var request:URLRequest = new URLRequest("branding.swf");
var loader:Loader = new Loader();
loader.load(request);
loader.x = 0;
[Code]....
View 4 Replies
Oct 21, 2004
What is the best way to target a specific frame from an exterally loaded swf?
View 3 Replies