Sending Attached Movie To A Specific Frame
Hey, I have this line of script loading a mc from the library into the target mc on the main timeline.
target.attachMovie("bcaa", "inTarget", 85); stop();
I need to send the "bcaa" mc to a label "end_fade_in" & can't seem to figure it out.
Thanks, Tim
FlashKit > Flash Help > Flash ActionScript
Posted on: 10-15-2002, 09:52 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Sending Attached Movie To A Specific Frame
Hey,
I have this line of script loading a mc from the library into the target mc on the main timeline.
target.attachMovie("bcaa", "inTarget", 85);
stop();
I need to send the "bcaa" mc to a label "end_fade_in" & can't seem to figure it out.
Any help would be mucho appreciated,
Tim
Button Playing Specific Frame In Attached Movieclip
Hi: New to flash and really need help with this-
I've attached 2 movie clips with:
this.attachMovie("saltanswer", "f", 0, {_x:200, _y:200});
this.attachMovie("salt", "f", 1, {_x:200, _y:200});
I have a button within one of the attached movies (linkage is "salt") that I want to call to a frame within the other attached movie ("saltanswer"). Right now all I have is actionscript directly on the button:
on (release) {
gotoAndPlay ("saltanswer", "wrong1");
}
I get no errors but it just seems like the button doesn't know the path to the specific frame- right now the path is the linkage name, and the frame label I want it to go to.
anyone have any idea how to remedy this? I'm looking to finish this up ASAP so if anyone can help me that'd be great!
Happy holidays
Starting A Flash.exe From Director And Sending It To A Specific Frame
Hey all- Have a bit of a pickle here. I am working on a project where a game was developed in Director. From anywhere in the game they can click on a link for help. This will start up a flash.exe. That isn't a problem, but can I send a variable to tell the flash which frame to goto? I need to send the users to the help page relating to the page they are on in director.
In other words, how do I pass a variable between Director and a Flash projector on windows?
Any help would be deeply appreciated.
Thanks
cognizen
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!!!!!
Help Load A Movie (and Frame) On A Specific Frame In My Timeline
I need to Load a movie and go to a specific frame within that loaded movie.
I know how to do this "on press & release" commands but how do I get it to load when a certain frame is reached in my timeline.
Example. When finished preloading it plays frame 25. When it gets to frame 25 I wan't a movie to load and start on a certain frame.
If you need more info or I am not making myself clear, please let me know.
Thanks in advance.
Action Works Attached To A Button But Not When Attached To A Frame
can anyone tell me why the following button script works:
on (release) {
_root.welder.eyes.gotoAndPlay(2);
_root.welder.gotoAndPlay(2);
}
but this virtually identical script won't work in a frame (on the same timeline as the button):
_root.welder.eyes.gotoAndPlay(2);
_root.welder.gotoAndPlay(2);
i've been pulling my hair out all day over this. i can't think of an explanation as to why the second example wouldn't work. its baffling to me.
Sending A Variable To A Flash Movie - But The Movie Is In A Different HTML Frame
As the title suggests...
I have no problem passing variable from Dreamweaver into flash, if the movie is in the same frame as the action to send the variable.
However,
I now need to send a variable to a flash movie which is not in the same frame as where the command via java is coming from.
I thought that I could just refrence the movie in the other frame like this:
window.document.mainFrame.theMovie.SetVariable(wha tever)
this does not work....
any ideas?
mainFrame is the frame name of the framke holding the movie.
Specific Frame In Movie
I'm looking to link from a flash movie to another flash movies, via getURL(and I do want seperate HTML files and URL's) but I am looking to have the buttons link to a specific movie and a certain frame, different buttons will need to go to different frames of the same movie.
Is this possible with actionscript or some other method?
Trig One Movie To Play When Another Movie Enter Specific Frame?
[FLASH MX]
Very annoying problem. Why it is so I don’t know. Very short description of my problem:
What I want to do is to trig movie called “big” to start play when another movie that is playing on the stage is finished (or enter specific frame number).
1.Movie “little” enter (or cross) the frame 100
2.Movie “big” starts playing from label “port”
I don’t think that this is a big problem, but I can manage to put the right script. It said that “this script is only for button instances” or something like that.
Please help…
Regards,
STill
Sending To A Different Frame From Within A Movie Clip
I want to do something very simple, but it seems that Flash 4 can't do this. Please tell me that it can. All I want to do is this: I have a movie clip, and within that clip is a button. I want it so that when you click the button it goes to a frame outside of the movie clip, in the actual movie.
Here's a little drawing if you don't understand:
__________________________________________________ __
| | / |
_________________ ________________ |
| | | | |
| Regular movie | ------> | Movie Clip | |
| | | | |
----------------- ---------------- |
| |
| |
/ |
________________ |
| | I want it to go |
| Button | -----------------
| |
----------------
Loading A Specific Frame In Different Movie
i have 3 different swf files. flash1.swf, flash2.swf and flash3.swf. How can i make a button in flash1.swf that will load a frame 5 of scene 17 in flash2.swf? please help, thanks
Loading Movie To A Specific Frame
Hi,
I have a movie "first.swf" that provides a jumping off point for three other movies.
My Goal: When the user selects one of the three movies in the first.swf by clicking on a button, the first.swf is unloaded by the second.swf selected. When that second.swf finishes playing it automatically is unloaded by the return of the first.swf, but now at a specified frame.
My Trouble: Is the script placed at the end of the second.swf for the automatic reloading and navigation to a particular frame of the first.swf. So far the first.swf reloads perfectly, but it starts playing from frame number one, totally ignoring line 3.
Script placed in the last frame of the second.swf:
1. unloadMovieNum (0);
2. loadMovieNum ("first.swf", 0);
3. gotoAndStop (50);
All help will be greatly appreciated.
Corl
Tell Loaded Movie To Go To Specific Frame
Hope someone can help.
I am loading a movie into my main movie. I then want to tell that movie to go to a particular frame. I have tried this:
on (release) {
loadMovie ("../aspect/aspect_all.swf", "_parent.main_drop");
while (int(_parent.main_drop.getBytesTotal())>int(_paren t.main_drop.getBytesLoaded())) {
trace (getBytesLoaded);
}
tellTarget ("_parent.main_drop") {
gotoAndPlay ("three");
}
}
However, it doesn't work. It loads the movie fine, but ignores the specific frame command. On debug, it says target (_parent.main_drop) not found.
I am desperate to get this to work! Hope there is a brain out there that knows what's going on.
Thanks
Link Movie To A Specific Frame
I have my main movie (ex: main.swf) which has a multiple of scenes contained within it. In one of the scenes, I have a button that loads another separate movie (ex: contact.swf) over it. Once that movie is loaded, you can click on a button that will take you back to the main movie. My problem that I have is, when you click the button to go back to the main movie, it will start the main movie from frame 1, scene 1. I want to have it so when you click on the button, it will take you back to the main movie, but go to a specific frame in scene 1 and stop. Any help on this would be great. Thanks.
Load Specific Movie Frame
Hi!
I'm loading a "foto.swf" movie into target "zoom". This is working fine. ...but how can I tell it to load frame 54 of that same movie into "zoom"? otherwise it always loads the movie from the beginning, and I need it to show me frame 54, and not frame 1.
????????
Starting Movie At Specific Frame
here's the problem...
I have this movie which acts as my menu, when I click on it I want ti to load another page...when this new page loads up, I don't want the menu to go through it's loading sequence again, so I was wondering if I could gotoandstop at a certain frame once I load up a page.
Thanks in advance!
Load Movie - Go To Specific Frame
on (release) {
unloadMovieNum(0);
loadMovieNum("dst.swf", 0);
}
How can I get it so that I load a movie and it goes to a specific frame (ie label start)
Thanks
Toby
Opening A Movie @ Specific Frame
Hi,
Is there a way to open another movie using ActionScript at a certain frame?
Say I want to open movie2.swf @ frame 50.
I use "play movie movie2.swf" but I can't find a way to go to frame 50 :
Thanks in advance.
Attach Movie To Specific Frame
If I'm using attachMoive to place a movie clip on the stage.
And then I use attach movie to attach a another movie clip within the first movie. Is there a way to specify which frame I want to attach it on?
Loading A Specific Frame Of A Movie?
I have a website that is almost entirely in flash. I have separated each page of the site into it's own flash animation.
I'm wondering if it's possible to load a specific frame of an animation or does the loadMovie option just load the first frame of the movie?
In other words, in the about section of this website (about.swf) there is a button to view info about a book. The information about the book is in a separate animation that is in products.swf, Scene 3, frame 1.
Can a getURL action or LoadMovie action get the user to the products animation, scene 3, frame 1??
Hope I'm describing this correctly!
Thanks!
Zoe
Movie Loop On Specific Frame
I have a movie and it has layered fade-ins and fade-outs. When the movie loops it does not keep that continuous smooth transition because it loops after the last fade-out is finished then loops at the beginning of the first fade-in. Is there a way to ... have the movie loop on the 5th to last frame of the last fade-out to keep that contiuous flow with the beginning of the first of the movies fade-in? Thanks YAAAAAALL.
-B
Loading Movie To Specific Frame
I have split a file into three movies (because of size) which use back and forward buttons. Using the forward button from one to the next is not a problem because it starts at frame one, however, using the back button is a problem because it starts at frame one. Is there a way to tell it to load the movie and start at a specific frame label?
Load A Movie In A Specific Frame Different To First
PLEASE HELP - load movie and go to frame..
After not-sleeping 5 days I still can't figure out why this doesn't work..
loadMovieNum("oblikovanje.swf", 0);
_root.gotoAndPlay(2);
What I'm trying to do is just load another .swf from this (empty) swf with only this actionscript inside. It opens "oblikovanje.swf" but it never goses to frame 2. As I have put an empty frame and stop(); in the first frame of oblikovanje.swf it shows only blank page. I need this stop action becouse I preload all my swf-s earlyer.
Loading A Movie To A Specific Frame...
Is it possible to load a movie to a frame???
I'm making a website that loads movies into empty movie clips.
I want to know if I can tell a movie to load... and then go to a frame number... all with one command...
the code i'm using is this...
contents.loadMovie("movie.swf");
Is there any code that can load the movie and send it to a specific frame??? I don't think it is possible... but I know so little in the world of flash... so maybe it is...
Thanks for the help
- Mikey
Loading A Movie To A Specific Frame
Hi,
I would like to know if it is possible to load a movie using loadMovieNum, and then designateing it to go to a specific frame within the movie.
Kudos!
Loading A Movie To A Specific Frame
Hi,
I would like to know if it is possible to load a movie using loadMovieNum, and then designateing it to go to a specific frame within the movie.
Kudos!
Go To Specific Frame In A New Flash Movie?
Hi,
Is there a way to call a specific frame label in a flash movie from a different flash movie? Example. I'm at AAAA.com and I want to link to the "boots" page at
BBBB.com.
I'm using Flash MX 2004 but actionscript 1.
Thanks for any help.
Go To Specific Frame In A New Flash Movie?
Hi,
This may have a real simple answer but I am having no luck. Also, may be a newbie question as my skills are very limited...
Is there a way to call a specific frame label in a flash movie from a different flash movie? Example. I'm at website "AAAA.com" and I want to link to the "boots" page at different website "BBBB.com."
I'm using Flash MX 2004 but with actionscript 1. And... um... I'm still putting code on buttons.
Thanks for any help.
Go To A Specific Frame In Another Movie Clip
Hello
I want to go to a specific frame in another movie clip,
I've already try (but didn't work):
on (release) {
_root.doism.gotoAndStop("quatrodois");
}
I'm in movie clip "um" and
doism is the movie clip I want to go and
quatrodois is the label name inside of movie clip doism
In attach file inside of movie clip um in frame 4 is the button I want to action, there are examples of action I've already try
Sorry my english I hope someone can help me
Thanks
Help With Loading A Movie To A Specific Frame
Hi everyone,
This is my first post on FlashKit so I hope someone can help.
I am creating a board game for a client in Flash MX 2004, I can get the single player version to work flawlessly, but the problem occurs when I'm trying to make player 2 work.
Each player and the spinner associated with it is it's own movie clip. The board for the game is the main timeline. There are also independed animated movies for each space on the board that each player MC calls up depending on its position.
I can make the game switch back and forth between player 1 and 2 but the issue I keep running into is that when the switch occurs the movie clip for each player starts over at frame one.
The question is how do I store the current frame for each movie and have it recall that frame when the other players turn is done.
I thought of using a variable such as:
onframe = getProperty("MCname", _currentframe); MCname being the name of the movie clip.
But how do I recall that variable and make each player MC go back to the particular frame, which will change with each turn.
This is my final hurdle on this game so any help would be greatly appreciated.
Thanks in advance.
Mkorbar
Loading Movie W Specific Frame
Is it possible to load a movie telling in which frame you want it beggins from?
I have 3 buttons loading the same .swf, but I need that this .swf beggins in diferent positions ( frames ) deppending on which button you press.
- button 01 loads ex.swf starting play from frame 1
- button 02 loads ex.swf starting play from frame 20
- button 03 loads ex.swf starting play from frame 30
If you know this please tell me the code.
Tks a lot
Can't Go To Specific Frame In New Movie And Stop
Hi, I have an html page (ai_blue.html) with a movie (ai_blue.swf). I want ai_blue.swf to load ai_yellow.swf into level 10 (or any other level) and go to the frame labeled "trot". It always goes to the first frame though.
The code in ai_blue.swf is:
loadMovieNum("ai_yellow.swf", 10);
_level10.gotoAndStop(trot);
I've attached the files. I have scoured the forum but all my attempts only load ai_yellow.swf and start at the first frame rather than the one labeled "trot". Can someone please tell me what I am doing wrong?
Thanks,
El Greco
How To Start Swf Movie On Specific Frame?
I have a header swf that is slightly animated, and I want each page to load the file on a different frame.
I'm thinking perhaps if I edit the swf for each page, is there action script that can tell the movie to start at a specific frame?
Many thanks.
Test Movie From Specific Frame?
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 realise 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?
How Load Movie In Specific Frame
Hi
Help me please
Iwant load movie by another movie In specific Frame
EX
movie1
putton
On Realease
Load Movie2 Level 0 & GoToAndStop frame 30(movie2)
I mean load movie2 in movie1 in sam level0 or end movie1 and load movie2 in specific frame in same level0
How how write thise Code
please help me anyone
Test Movie From Specific Frame
Is there a way to test a movie (Control-Enter) starting at a certain frame? It is tedious sitting through the first two minutes of frames just to get to the work I want to view. I guess I could do that using multiple scenes, but I am told multiple scenes can cause longer downloads. Thanks.
Load Movie In A Specific Frame
Noobie here....Simple but I don't get it
I am loading an external movie and I want it to load an specific frame (start) of that movie right after loading.
I am using this
on (release) {
loadMovieNum("details.swf", 0);
}
I read about the _level so I added
on (release) {
loadMovieNum("revo details.swf", 0);
_level1.gotoAndPlay("start");
}
But the movie keeps on loading on the first frame, not on the "start" frame
Help here...
Regards!
Navigating To Specific Frame From One Movie To The Next
I am creating a virtual tour that has four sections. When the user gets to the end of the first section, the next button will take them to the beginning of the next movie. I could use getURL for this. But when they click the back button of the first page of the section two it needs to jump to frame 126 of section 1. not to the beginning of section 1.
I think I should use levels and targets as the solution, but not really clear on how to pull this one off.
You can take a gander at http://www.concordia.edu/html/virtua...ampus_tour.htm
to get an idea of where I'm going with this. The navigation at the bottom jumps to the different sections, but the next button at the end of each section currently loops back into itself.
Thanks!
Load Movie And Go To A Specific Frame
I'm newbie and stuck.
I'm trying to build a full flash site. I have movieA (main movie) that loads the rest of the movies (movieB, movieC, movieD...). MovieA is the menu. When I want to "come back" from this movies to the main movie, I need to move the header to a specific frame of movieA, diferent depending on the movie I have previously loaded:
movieA: loadmovie (movieB, movieC, movieD...)
from movieB: loadmovie movie A (frame2)
from movieC: loadmovie movie A (frame3)
from movieD: loadmovie movie A (frame4)
Is it possible or when you load a movie you can only start playing in frame 1? Any hint? Thank you
Loading Movie In A Specific Frame
Hi everybody, i need to load a movie into my container, i'm using this AS:
_root.createEmptyMovieClip("container", 1);
loadMovie("home.swf", "container");
container._x = 280 ;
container._y = 100 ;
it's work ok, but i need to load the movie on frame 3. Because on frame 1&2 i got a preloader.
Can somebody tell me how can i modify the AS above, to load the movie on frame 3.
Thanks!
Load A Movie To A SPECIFIC Frame
Hi all... im new in this forum and i hope to enjoy it.
Im having the following problem. Im trying to load a movie.swf, but i want this movie.swf to be loaded to a specific frame. I dont want it to load and start at the frame 1, i want it to be loaded and start at the framr 5.
Can u help me?
Thanks.
Specific Frame For Movie In New Window
hi everyone! just making my first steps in flash and i´ve gotta admit: it´s more difficult than i thought. the big obstacle? actionscript!
so, here´s what i´ve been trying to do (and of course, won´t work: otherwise, would i be here?):
in my main page there are several thumbs that are buttons for bigger images. since they are quite big, i wanted them to appear in a new window.
this new window is a slideshow-kind-of-thing, that contains every picture from those thumbs i mentioned. what i did:
publish the slideshow and place a "getURL" in the thumb:
on (release) {
getURL("arnes01 fotos.html", "_blank");
}
BUT! here´s the catch: i want the first thumbnail to open the html in frame 1 (the big version of that precise picture), and the second one to open that same html in frame 2... the version of the second picture. and so on, so on.
i don´t care if whoever is surfing the page keeps checking out the images in the slideshow window, but i want it to open the correct one when clicking the thumb.
i hope i´ve made it clear, my mother language is spanish (i´m in argentina) so... i apologize for my english.
i tried this thing:
on (release) {
getURL("arnes01 fotos.html", "_blank");
_root.gotoAndStop(1);
}
but it doesn´t work... is it because i´m using getURL instead of loadMovie? i´d like to use loadMovie, but how can i do it in a new window?! i´m such a newbie... thanx for the help! tutorials have been enlightening, kirupa!!
Load Movie In A Specific Frame
Noobie here....Simple but I don't get it
I am loading an external movie and I want it to load an specific frame (start) of that movie right after loading.
I am using this
on (release) {
loadMovieNum("details.swf", 0);
}
I read about the _level so I added
on (release) {
loadMovieNum("revo details.swf", 0);
_level1.gotoAndPlay("start");
}
But the movie keeps on loading on the first frame, not on the "start" frame
Help here...
Regards!
|