Loadmovie At Specific Frame Number
Can you load a movie and tell it to play from specific frame number?
Right now, I have... loadMovieNum ("loop.swf", 0);
Thank you in advance!
FlashKit > Flash Help > Flash ActionScript
Posted on: 02-27-2003, 03:08 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Using LoadMovie, How Can I Point To A Specific Frame Number?
I have a simple question. I want to load a specific frame from an external swf file, so that it doesn't start on the 1st frame by default. Any ideas of how to do this? I know about tell target, but it's not offered with Flash MX, and I assume with MX there is an easy solution to my problem. But it would be great to have some help!!!!!!!!!!!! Thx
[CS3] Go To Specific Frame Number In External Swf
I have a main file that calls in different swfs to load into a container. Each chapter has certain points we want to call from the menu in the main swf.
So I have been looking for examples of how to do this and I am a bit overwhelmed. I think it involves pre-loading the swf, but the code is confusing regarding what goes where.
Also to make a point this presentation will be running off a CD, not online so if that helps at all.
Here is what I tried at first, but obviously it didn't work seeing as I am here.
on (release) {
_root.container3a.loadMovie("chapter/chapter3.swf", "_root.container3a")
_root.container3a.gotoAndPlay(1461)
}
It goes to the first frame and plays from there. Any ideas would be appreciated. If you can include where the code should go that would be amazing. Main timeline vs what goes on the button.
Thanks in advance!!
Load Movie To Specific Frame Number
Hi
I want to load a movie specific frame
here is my code below which is not working, it plays from frame 1
on(release){
loadMovie("2006.swf","_root");
_root.gotoAndPlay(15);
}
any idea??
I Can't Load A .swf Movie Into An Specific Frame Number
Hello Guys.i knew in this forum and in action scriping anyway...i'm a designer and find this quite complicated, i have been reading for hour without, being able to fix my problem. I need to load a movie or swf into an specific file number from another movie.
Example.
My main file or the one i need to load at the specific frame number is called home.swf and the one that has the button to call that home.swf is called branding.swf. Now in that branding.swf i have a button that should call home.swf and go to the frame 16, but always goes to the frist frame of the home.swf...i know it has been explain many times but i can't just make it work.
Thanks so much for your future help...
Loading External Movie From Specific Frame Number
Hi all
i want to know how i can load an external movie from some specific frame , for example i have two movies
"main.swf" and "one.swf"
now i have one button place in "main.swf" i want that when a user click on button, it will load "one.swf" from its 10th frame
i hope that u understand my problem
take care
Load External Swf File At A Specific Frame Number
Hi guys i have a series of buttons with actions to load different swf files. I'm using this code:
on(release){
loadMovieNum("myExternalFile.swf",1);
}
to load files that start from the beginning. Now i want to load an external swf file to start at a specific frame number, can i use the same code? How do i specify my frame number? I still want to load the movie in the current window, you know replacing my current movie.
Thanks for the help.
Load External Swf File At A Specific Frame Number
Hi guys i have a series of buttons with actions to load different swf files. I'm using this code:
Code:
on(release)
{
loadMovieNum("myExternalFile.swf",1);
}
to load files that start from the beginning. Now i want to load an external swf file to start at a specific frame number, can i use the same code? How do i specify my frame number? I still want to load the movie in the current window, you know replacing my current movie.
Thanks for the help.
Linking To Specific Frame Number Or Label From An Html Page
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?
thanks!
LoadMovie And Specific Frame
hello
i know very basic actionscripting, and i have 0 programming skills (i use flash more for the animation aspect as i am a designer). it's been a long ride with this question, and i've searched everywhere for the answer including macromedia's support section, actionscript dictionary, and macromedia's own flash forum.
here is my quandry:
i have a slide show of 24 images which was started by my predecessor. the images (PNGs) were poorly optimized (if at all) and the final swf file is over 400K. i added a loader in the meantime since it is up on the company's website but it is still obviously a long wait on a 28 or 56K modem.
it was then suggested that i cut the file up into maybe 3-4 segments, and use the loadMovie command to load each successive movie into the swf. i experimented with just flat out loading the movie (all into level0) and it worked fine *except* (and herein lies the MAJOR problem) when the user clicks backwards through the loaded movies, file3 links to file2 but it goes to frame 1 of file2. it would be really nice if, when going backwards, file3(frame 1) went back to file2(frame 8).
i've gotten everything from"you need variables or maybe cookies" (which was described as "very complex") to several scripts typed out for me that just didn't seem to work. it was also mentioned that i would need to preload the segments because you can't jump to a frame which hasn't loaded yet (which makes a lot of sense) - but from an aesthetic point of view i'd like to keep the slideshow seamless, and not have a loading clip in between images. is there any advice/links/scripts/etc that you knowledgeable people could point me to? i would be forever in your debt.
thanking you very much in advance,
idarii
LoadMovie Into Specific Frame
anyone have any ideas on how to do a loadMovie (into an empty MC) and have it go immediately to a specific frame in that movie's timeline?
thanks, pdh
LoadMovie To A Specific Frame
I am sure that this has been asked a bunch of times before.
But how do you load a movie and have it go to a specific frame number or label in the timeline.
Loadmovie On Specific Frame
Once you extract my little zip file, open up the fla files so you can see what I'm talking about.
Basically, when you click on the button for "page 2" I would like the movie "top.swf" to load in the "barup" frame, and the "content.swf" to go to the "cubes" frame. That's all.
Any help would be appreciated!
Help Please LoadMovie Swf In Mc To Specific Frame
I'm desperate! I've read all the forums, searched the web and scanned through all of my books. But I can't seem to fix this problem.
I'd REALLY appreciate any help that anyone can give me. And I hope my explanation isn't too complicated (I'm not great at this stuff).
In Flash MX, I have a movie clip called fpo_mc, in my Index.fla file.
fpo_mc is the blank movie clip that my external ourpeople.swf file loads into.
I have two buttons in my index.fla file. One is called "our Promise" and the other is "Our People".
The Actionscript code for the "Our Promise" button works fine. It sends the playhead to a frame labled "bios", and then loads the ourpeople.swf in on its first frame (where it needs to be).
But the "Our People" button ALSO loads the ourpeople.swf on the first frame.
It's supposed to load it and go to the 16th frame (labled "bio1").
I've tried various codes, but nothing seems to work.
I can't figure out what I'm doing wrong.
Here are a few codes that I've tried:
on (release) {
_root.gotoAndPlay("bios");
_root.fpo_mc.loadMovie("ourpeople.swf");
_root.fpo_mc.gotoAndPlay("bio1");
}
on (release) {
_root.gotoAndPlay("bios");
loadMovieNum("", 1);
_root.fpo_mc.loadMovie("ourpeople.swf", 1);
_level1.fpo_mc.gotoAndPlay("16");
}
on (release) {
_root.gotoAndPlay("bios");
loadMovieNum("", 1);
_root.fpo_mc.loadMovie("ourpeople.swf");
_root.fpo_mc.gotoAndPlay("16");
}
I'm an actionscript dummy, btw.
Thanks in advance.
Pyrate
Loadmovie On A Specific Frame?
Hi there
I have a .loadmovie function on an swf. Let's call it main.swf.
On main.swf there is a "loader movie clip" called "contents" that loads other swf's. I'm just wondering if it's possible to modify the code below to load the new movie on a specific frame... Say frame 5?
Code:
on (release) {
contents.loadMovie("new.swf");
}
Thanks
LoadMovie And Go To Specific Frame
Need some help on loading a movie.
I want to load an external swf (which I can do), but just need to loadMovie (let say on _level2) and go to a specific frame (name) other than starting in beginning of movie.
(I have multiple btns and depending on what btn they click, it'll go to a specific frame of the loaded movie). This is what I have so far...
on (release){
loadMovie ("name.swf", 2);
}
Thanks!
LoadMovie To A Specific Frame
Hello.
Well, as a newbie, a tried and tried but don't seem to be able to get a movie to load into a specific MC and start playing from a specific frame there -- it always goes to the first..
Is there a way to loadMovie() without playing it and then use gotoAndPlay()?
Perhaps things are complicated by the fact that my first frame has a stop(); and I need to play the last?
Here is my "code" -- I'm attaching it to a back button in the main movie:
on (release) {
loadMovie("slide"+slide+".swf", "slide1");
activity=slide1.slide1_actual._totalframes;
slide1.slide1_actual.gotoAndPlay(activity);
}
THANKS for your input...
LoadMovie And Go To Specific Frame
Need some help on loading a movie.
I want to load an external swf (which I can do), but just need to loadMovie (let say on _level2) and go to a specific frame (name) other than starting in beginning of movie.
(I have multiple btns and depending on what btn they click, it'll go to a specific frame of the loaded movie). This is what I have so far...
on (release){
loadMovie ("name.swf", 2);
}
Thanks!
LoadMovie Specific Frame
I use the command loadMovie, can I tell my loaded swf file to start play at a specific frame????
how do I add code to do that?
right now I've got:
on (release) {
this.loadMovie("filename.swf");
}
Loadmovie On A Specific Frame...
Hi there
I have a .loadmovie function on an swf. Let's call it main.swf.
On main.swf there is a "loader movie clip" called "contents" that loads other swf's. I'm just wondering if it's possible to modify the code below to load the new movie on a specific frame... Say frame 5?
Code:
on (release) {
contents.loadMovie("new.swf");
}
Thanks
LoadMovie And Go To Specific Frame
Need some help on loading a movie.
I want to load an external swf (which I can do), but just need to loadMovie (let say on _level2) and go to a specific frame (name) other than starting in beginning of movie.
(I have multiple btns and depending on what btn they click, it'll go to a specific frame of the loaded movie). This is what I have so far...
on (release){
loadMovie ("name.swf", 2);
}
Thanks!
LoadMovie To A Specific Frame
Last edited by STELTH : 2003-07-04 at 11:47.
My bad, I think I might've posted this in the wrong section. Forgive me.
LoadMovie To A Specific Frame
Is there a way to load a movie and have the new loaded movie start on a specific frame?
For example: I have a movie clip, this movie clip has rollOvers and rollOuts (it's a part of my navigation), when I click on it, I want to loadMovieNum (or loadMovie) and have the new loaded movie to start on frame 65.
Is there a way to do this?
Thanks for any help.
LoadMovie To Specific Frame Problem
I'm using FLASH MX. I'm trying to load a series of movies for a
site and am not able to retrieve a particular frame going
back to a previously loaded movie.
First Movie is my Placeholder of Blank MovieClip
On Frame 1 on that movie it loads the first movie (A).
Then a button on that movie loads the second movie (B). Then a button on that movie loads the third movie (C). All works fine until I
decided I want to return to a previous movie and a particular frame on
that movie. For example C to B Frame 12.
On the Back button on Movie 3 is theAction script:
on (release) {
unloadMovieNum(1);
loadMovieNum("MovieC.swf", 1);
level1.gotoAndStop(12);
}
It loads the first frame of Movie B. What am I doing wrong? Any ideas or help would be immensely appreciated.
Loadmovie & GotoAndPlay Specific Frame -help
Here's a new spin on an old problem:
I am trying to load an external SWF and play from a certain frame: So far i have tried this
on (release) {
loadMovieNum ("header.swf", 0);
_level0.gotoAndPlay(3);
}
but obviously i can't place the loadmovie and gotoAndPlay in the same actionscript ---any suggestions?
Sadly i cannot make the external an MC OR use a blank frame 1 in the external SWF's timeline... into my third hour of frustration,
Matt.
LoadMovie & Goto Specific Frame - Help
Hi,
Is it possible using the loadMovie command, when loading a movie into a movie, to specify where in that movie to goto and stop?
for example, I have 5 buttons within my main movie, all load the same movie when click, however, i need the movie to goto a specified frame depending on which button was click... make sense,?
ie if button 1 is click the movie is loaded in and goes to frame 12,
button 3 is clicked and the movie is loaded and goes to frame 20, etc...
cheers for any info or help...
LoadMovie/UnloadMovie At Specific Frame
Hi All,
My site contains a "beta.swf" that has an action to unload itself and load "alpha.swf". My question is how do I set the actionscript in "beta.swf" to load frame 90 of Scene1 of "alpha.swf" considering this swf contains (2) scenes (preloader + scene1)?
My first atempt using code
Code:
loadMovie("alpha.swf", "_root.target");
played the preloader then played the entire movie before reaching movieclip instance "target". I need it to go directly to directly to "target".
This code doesn't work either, yet it should
Code:
loadMovie("alpha.swf", 90);
Any help would be great, thanx.
LoadMovie And Start On A Specific Frame
I am trying to load detail.swf and start on frame 6.
It will load but only start on frame1.
createEmptyMovieClip("container",4);
loadMovie("detail.swf", "container");
tellTarget ("_level4"){gotoAndPlay(6);
}
container._x = 0 ;
container._y = 0 ;
HELP: LoadMovie To A Specific Scene And Frame
i'm trying to use the loadMovie script to load another swf but to a specific scene and frame.
without the loadMovie script, it would be: gotoAndPlay ("scene", frame)
but logically, with the loadMovie script, it would be:
loadMovie ("file.swf", _root.gotoAndPlay("scene", frame))
but, that is not working. i was thinking it was because of the double parenthesis but i didn't know how to fix it since "[ ]" are used for something else.
anyone know how to fix or do this? thx for your help ppl
How To Specific The Target Frame Of LoadMovie
To all flasher~
On regarding to this tutorial from this website:
Preloader and Transition for Dynamic Files
http://www.kirupa.com/developer/mx/p...transition.htm
How do I target the frame of the loadMovie swf???
Please help!! THANKS
Hysterickin
LoadMovie-Loading To Specific Frame?
I am desperatly new to all of this, so try not to laugh too hard. I am sure when I get an answer I will feel even more foolish than I do posting the question, but here goes.
I have a page with an empty movie clip that is my target for loading many other external swf files. As recomended elswhere in the newbie forum I am doing this in place of one big swf file with many scenes.
My question is: is there an action script that will load a swf file and immediatly play from a specific frame.
For example my main nav page has an intro that I would like to skip when someone returns there from a subsequent page. I also have a demo reel with 3 tv spots on it and I would like to present people with the option of going to a specific tv spot.
I have tried:
on (release) {_root.MyMovieHolder.loadMovie("MyMovie.swf","MyScene","MyFrame");
}
and other variations, but the loaded movie always plays from frame one.
I have done a bit of searching through the forums and tuts with no result. I can only assume it is too simple a question.
Any help would be appreciated.
B.
LoadMovie() Frame Number?
what is the best way to load an external swf through a blank movie clip and call a specific frame here is what my AS looks like so far <on (release) {_root.blankmovieclip.loadMovie ("pictures.swf');} > i wrote it from memory so there may be some syntax errors but you get it, i just want to open frame 6 of pictures.swf with a button or fram 3 or 7...easy enough i bet
LoadMovie Frame Number?
Hi,
I have setup a movie to load another move into a holder when a button is clicked, that works fine, what i really need though is to have the button load the movie and go to a frame number/label in the loaded movie,
How can this be done?
Thanks.
Loadmovie Targeting Specific Label/frame
Hi,
I am trying to do the following:
I have a main.swf which I am loading a clip into "content.swf" - i want to load it and send it to a specific label on the "content.swf" timeline... Sending the unloaded clip a command (I am fine with preloaders and loadmovie commands)
eg Load movie "content.swf" into "main.swf" telling it to open at say a label "section_3"
Help much appreciated if this is possible
Taking The User To A Specific Frame In LoadMovie
I have an HTML page (lets call it PAGE 1) with an embedded SWF. Inside this embedded SWF are several frames, labeled with Stop actions as well.
In another HTML page, I have another embedded SWF with multiple buttons. Is it possible to have one of these buttons open the other HTML page (PAGE 1) AND go to one of the specific frames in the original SWF embedded in that page?
Thanks
Trying To Load A Specific Frame Within A Movie Using 'loadmovie'
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??
thanks
[FMX2K4Pro] LoadMovie To Specific Frame Label
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 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.
Phew. I guess those are my circumstances and I'm sorry if this is repetitive. Anyway, any help on this would be greatly appreciated. Thanks
LoadMovie Wont Go To Specific Movie Frame
hey there! i'm new in flash and already having BIG problems with loading movies and playing them not from the begining, but from a specific frame...how is that done ?!
so you can have an idea i have this code in the menu button:
on (release) {
_root.gotoAndPlay(2)
}
and in the main movie, on frame 2 i want to load a movie but start it in frame 5(!) , cause the animation it has before has already been used...is it possible to do? can anyone help me please ?
Trying To Load A Specific Frame Within A Movie Using 'loadmovie'
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??
thanks
[FMX2K4Pro] LoadMovie To Specific Frame Label
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 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.
Phew. I guess those are my circumstances and I'm sorry if this is repetitive. Anyway, any help on this would be greatly appreciated. Thanks
LoadMovie Wont Go To Specific Movie Frame
hey there! i'm new in flash and already having BIG problems with loading movies and playing them not from the begining, but from a specific frame...how is that done ?!
so you can have an idea i have this code in the menu button:
on (release) {
_root.gotoAndPlay(2)
}
and in the main movie, on frame 2 i want to load a movie but start it in frame 5(!) , cause the animation it has before has already been used...is it possible to do? can anyone help me please ?
[MX2004] LoadMovie Wont Go To Specific Movie Frame
hey there! i'm new in flash and already having BIG problems with loading movies and playing them not from the begining, but from a specific frame...how is that done ?!
so you can have an idea i have this code in the menu button:
on (release) {
_root.gotoAndPlay(2)
}
and in the main movie, on frame 2 i want to load a movie but start it in frame 5(!) , cause the animation it has before has already been used...is it possible to do? can anyone help me please ?
If Timeline Came From (specific Frame Of Any Scene), Go To (specific Frame)
Hi, I have thirteen scenes, each one has 2 frames, one with audio (loadSound) one without. What's the best way to tell flash when a user clicks on a nav button (which calls a scene) to go to the 1st or 2nd frame of the scene depending on if the previous scene was playing the 1st or 2nd frame?
Thanks in advance.
Specific Html Page Triggers Specific Frame Of The Flash Movie
I have been playing with flash and html and wonder if any of you have a bright idea on how to do this.
I have a flash movie, which I call from html but depending on which part of the html page I call it from I want to start it at a particular frame and not always from the beginning.
I have created a variable within the movie in action script and given it a different value for each of the frames I want to start the movie at, and want now to designate the value I give to that within html so that the movie “jumps” to the correct frame. Is this possible or am I totally crazy??
How To Load Specific Frame Of Specific Movie On Another Layer
Here's my setup:
Layer 0 = main movie
Layer 1 = navigation movie
Layer 2 = products.swf
Using a button located on Layer 1 (that contains navigation.swf), I need to load on Layer 2 the products.swf, and it needs to land on frame 54 of that movie.
I'm fairly illiterate r.e. ActionScript, so go gentle on me, please, LOL
Thanks!!!!!
Shared Object To Store A Unique Id Number Var And Frame Number Var
Hi, I am a complete novice to action script when it comes to objects. I know what I want to do is done with the shared object. Basically I want to create a tutorial that stores a cookie on the users’ machine with a unique id variable telling flash what frame the user was at last. When the user revisits it would prompt "continue where left off or start the tutorial over. I read the action script dictionary regarding the shared object, but being a designer I really need to visualize it before I can comprehend this.
Thanks,
Justin
Random Number In Specific Range.
I swear I've done this before (get a random number in a specific range, ie, a random number between 50 and 74), but I can't remember how to do it! It's driving me mad because i remember it as being extremely simple but i cant for the life of me come up with it. Help?
|