Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Loadmovie And Define A Scene Or Frame ...



Hi all,

Can anyone help me, I want to load a new movie and jump straight to a specific scene or frame of that loaded movie.
I looked a bit around but I couldn't find a proper solutions.

running a bit on stress now, got a deadline that is approaching very fast, aargh

thanks in advance.



FlashKit > Flash Help > Flash MX
Posted on: 12-18-2004, 06:38 AM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Loadmovie And Define A Scene
Hi all,

Can anyone help me, I want to load a new movie and jump straight to a specific scene or frame of that loaded movie.
I looked a bit around but I couldn't find a proper solutions.

running a bit on stress now, got a deadline that is approaching very fast, aargh

thanks in advance.

LoadMovie To Certain Scene And Frame
Is it possible to load an external movie to particular scene and frame and then play it/show it when its time comes?
I am trying to load it sooner so that user doesn't have to wait for it if it is a large file.

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

LoadMovie, But Can't Really Define Question.
Sorry about the title but I really don't know what to put there since I'm not sure in which area my problem lies.

I'll try to explain it though (pardon my bad english):

I'm building a small site http://www.photoshop-designs.dk that is in its early stage.

The problem is in loading the content to the "screen" that you see at the site.

The idea is that once you push a button the screen is pulled to the top where it stops and the content is loaded. Once the content is finished loading, the screen (now with content) moves back into place.

I know about loading external SWFs but how do you control the actual "screen animation" so that it "pauses" the animation untill the external SWF is finished loading?

Hope you understand and hope you can help.

[F8] Trouble Using Variables To Define URL With LoadMovie
I'm trying to create a flash container where all the content is editable through a single text file. So far so good, the only hang up I am running into is passing my image paths into the loadMovie function

right now my code looks like this:

MainImg2.loadMovie("images/feature2.jpg","");

and it works

The problem arises if I want to swap "images/feature2.jpg" for a variable name that is defined outside the swf.

Does anyone know how to accomplish this? I am able to pass the image path / url into the variable- but am not able to get LoadMovie to recognize and use this variable to load the image

Any ideas?

Use External PHP Or TXT To Define A Variable Used By LoadMovie
Can I define a variable using external file PHP or TXT and use the loadMovie ActionScript. I want to use an external file to tell my main movie which SWF file to load and play. I thought it would be pretty simple but of course I may be completely crazy to think it is simple. I hope someone can take a look at my code and let me know if I am almost there or if this is much more complex than I think. Thank you much in advance.

Here is my AS:

stop();

dataLoad = new LoadVars();
dataLoad.onLoad = function () {
moviename = this.video
};
dataLoad.load("links.txt");

this.mc_movie.loadMovie("moviename");


Here is my txt:

video=movie.swf

Define And Lock Mc.loadmovie Position
Hello community
I have this question :
With this AS code :
_root.caption.image_mc.loadMovie("essaicomplex.swf ");
On each thumbnail gallery, by passing the mouse over a thumb It loads a SWF ( larger picture of the thumbnail) till now it is great.
BUT 1 : I can not fix the position of the movie
and 2 : the so called "swf-movie" moves together with my mouse.
I want it locked.
I turn around but do not find.
What do I have to modify ??

How To Define A New Fps (frame Rate)
How do you define a frame rate of an inside movie clip?
1. what is the script?
2. where to place the script?

Define To Play Number Of Frames From The Specified Frame In A Movie
For Example,
I have play from frame Number 40 to Frame number 50. At the same time it has to jump & play from frame 70 to 100.

I may use label for the frame number 40 & 70.

Right now what i have tried is put a action as stop at 50th frame and also 100th frame

_root.gotoAndPlay(40);
_root.gotoAndPlay(70);

It works only once and it stops at 50th frame itself, because i have given stop action at 50th frame...

Hope you understand my question,
Thanks, Bala

Targeting Frame Label In Scene From Movie Clip In Same Scene
Hey Pals,

I'm trying to target a frame label on the timeline of a scene from a movie clip within the same scene, using Flash MX 2004 Pro. The scene is ultimately used as a .swf to load as a page of a website. The frame label is called "miscOn", the scene is called "misc". The below code is attached to a button within the movie clip.

on (release) {
loadMovieNum("tajwebsite_main.swf",1);
gotoAndPlay(miscOn);

}


Thanks!

Stu

Target Frame In Scene From Movie In Same Scene
I know this is probably really basic, but I'm stuck here. Here's what I want to do: I have Movie1 on a layer in Scene1, and Movie2 on another layer in Scene1. In Movie1 is a button that, when pressed, goes to a particular Frame in Movie2. How do I do this!? Thanks!

Buttons Going To Scene 1 Instead Of Frame In Current Scene
Looks like I've got another problem...!!

In scene 3 of my file I've got four mcs working as a menu (with buttons inside them). When I test just the scene on it's own and the mcs use the "on(release)" command to do gotoAndPlay(2), it doesn't do it unless I put in a tellTarget (_level0 or _root).

When I test the entire movie, clicking the buttons just goes straight back to frame 1, scene 1...!!

What am I doing wrong? Is it the target path that the mc opens?
It's driving me mad... and this is my second post today!

I've tried gotoAndPlay("Scene 3", 2) but it still goes back to scene1. Help!!

Thanks again for any advice

Script On Button To Play Scene/clip From Frame To Frame
I there an action script that will allow the user to click a button and it will only play a section of the movie? Such as so many frames of a scene (like frames 20-176) or of a movie clip?

Thanks
ryan

Flash Button In One Frame Goes To Movie Scene In Other Frame
Hey whats fellow flashers. Im sure this is a no brainer for you smarties, but its driving me crazy...I'm working on a site that has a flash movie menu in the one frame and the main movie in another frame. I need to be able to click on the buttons in the menu (top) frame and have them go to a certain location in the flash movie which is in the bottom frame. If I use the Get URL action, it lets me specify the frame, but not the label (location). If any of you guys have ideas or need me to explain further, please reply. Thanks.

? About Jumping From A Frame In A Clip To A Frame In The Main Scene
Hello. I have a question. I have a question about jumping from a frame in a movie clip to a frame in the main scene. In my main scene, I have a "stop" action in frame one. In this frame, I have a movie clip that is 100 frames long. On the 100th frame of that movie clip, I want to jump to the 5th frame of the main scene. This is the actionscript that I tried, but it didn't work:

this.gotoAndPlay(5)
//This is the code that I placed in the 100th frame of my movie clip, but it doesn't seem to work.

What am I doing incorrectly? Thanks in advance for any advice! (I am using Flash 5)

Define A "static" Varible For GetBytesLoaded On Certain Frame
i want to define a varible for loadedbytes on frame1.

like: loadedbytes=getBytesLoaded

but as more bytes are getting loaded the varible's value increases..

i want the varible to stick with the value it gets on frame1.

do anyone know how to do?

LoadMovie Scene-to-scene
I always sort of hate working with scenes but the project I'm doing could make good use of them.
I want to load an external swf into a target MC on scene one.
Later I want the same loaded movie to be available on scene two.
Is there a way to ensure that it will already be loaded or will I have to put another instance of the target MC and load the external swf all over again?

LoadMovie To Certain Scene?
I have two swf files both with about 5 scenes. I want a button from file2.swf to loadMovie file1.swf and goto Scene4. Can this be done?

Go To A Certain Scene In (loadmovie)
How do u load a movie and play scene 2 or scene 3 depending on the a users' choice? Normally when you load a movie it starts on scene 1.

is there any such thing as loadMovie("movie1.swf".scene3)?
or is there any other way?

Loadmovie Going To A Particular Scene
Hi there

Is it possible to use the loadMovie command to load a movie and go to a particular scene?

I basically have a repeat page button and want to avoid showing the first scene which is a preloader..

Thanks

Chucky!!

LoadMovie Scene
How can you loadMovieNum("main.swf", 0); and load a specific scene within the movie main.swf? Thanks!

LoadMovie And Start It From Scene X
Hello World,

i post this again because I´ve receipt no answer wich fix my prblems.
I have a problem which drives me really crazy!!!

I have an MC and from this MC I want to start(Button) an other MC(.swf). This should be in _level0. I try different things but nothing works really.
I try it with
on (release) {
loadMovie("mymovie.swf", 0);
_root.gotoAndPlay ("Scene X", 1);
}
Please help me before i get totaly mad!!!

Thanks a lot

Bazucca

LoadMovie And Play It From Scene X?
Hello Folks and Friends,

i have a Problem which looks very simple but for me probably it´s to big.
I have a .swf and from this i want to load an other .swf in _level0 and start to play from scene x.

I really tried a lot of things but nothing works.
Please help me FLASHGURUS.
My code

on (release) {
loadMovie ("myMovie.swf", "0");
gotoAndPlay ("Scene x", 1);
}

I can send the fla´s if needed!!

Thanks a lot
Bazucca

Load Scene 2 When Using LoadMovie
I would like to load a new movie from my current movie using the loadMovie action, however, I want to load Scene 2. How is this done?

Targeting A Scene In LoadMovie
wondering if anyone knows the simple way to target a scene when loading a swf.

LoadMovie...Can Target Be In Different Scene?
Hi,
I am trying to load a file named "portfolio7.swf" into a different scene. The receiving scene is named "porfolio" and the movie clip instance I tageted is named "window".
I seem to be getting confused between levels and targets. Here is the non working code:

on (release) {
loadMovie("portfolio7.swf", "_root.porfolio.window");
gotoAndStop("Portfolio", 1);
}

Any advice would be much appreciated! Thanks in advance.

nick

Advancing To A Scene Using LoadMovie
I am trying to find out if there is a way to advance to a scene in a movie when using loadMovie.

example:

in the first movie you can click a button that will load the second movie (this works fine). what i need to happen from the second movie is this: when you click on either button1, button2, or button3, you will revert back to the first movie but be looking at the button1 scene, or button2 scene, or button3 scene.

any help is appreciated,

jasonc

Why Is LOADMOVIE Not Working In SCENE ?
Hi,

I'm making a popup jukebox tab to play MP3s while user is surfing various pages. I'm authoring the popup tab jukebox in its own scene called TAB.

For some strange reason I can't get LOADMOVIE to work in that new scene.

I've followed the same procedure that I always have, ie.
1. Making a Movie Clip called "Empty",
2. placing "Empty" movie clip Instance on stage (within this TAB scene) where I want the LOADMOVIE (in this case frame 5), and
3. then adding the action scripting to the button that I want to activate the MP3's as follows:


on (release) {
gotoAndPlay(5);
loadMovie("letter.swf","EmptyInst");

}

Why is this not working? If I create the same actionscripting etc in a separate file (level 0), everything works fine, but it doesn't work when I create it in a new "Scene".

Thanks in advance for anyone who can help me here!!!!

m108







Ê
Reply
ÊÊÊ
Quote
ÊÊÊ
Top
ÊÊÊ
Bottom
ÊÊÊ

Why Is LOADMOVIE Not Working In New SCENE ?
Hi,

I'm making a popup jukebox tab to play MP3s while user is surfing various pages. I'm authoring the popup tab jukebox in its own scene called TAB.

For some strange reason I can't get LOADMOVIE to work in that new scene.

I've followed the same procedure that I always have, ie.
1. Making a Movie Clip called "Empty",
2. placing "Empty" movie clip Instance on stage (within this TAB scene) where I want the LOADMOVIE (in this case frame 5), and
3. then adding the action scripting to the button that I want to activate the MP3's as follows:


on (release) {
gotoAndPlay(5);
loadMovie("letter.swf","EmptyInst");

}

Why is this not working? If I create the same actionscripting etc in a separate file (level 0), everything works fine, but it doesn't work when I create it in a new "Scene".

Thanks in advance for anyone who can help me here!!!!

m108

LoadMovie, Then Go To Specific Scene
Hello...

I'm trying to target a scene in a movie that loads on layer 2. The movie has four scenes, one is called "snapshots".

Here's my code:

on (release) {
loadMovieNum("media.swf", 2);
_level2.gotoAndPlay("snapshots", 1);
}


I don't get an error message, and when the button is released, it does load the movie, only it doesn't go to the scene I want it to go to.

Can someone help me tweak my code to get it to work the way I want it to?

Thanks,
Ansia

[fmx] LoadMovie/scene Problem
Howdy,

I've got a script that once a button is clicked it loads an external SWF on level 0. However, I need to go to a specific scene in the SWF. I've searched the usual ie Flash Kit with no luck!

Here's what I've got

on (release) {
loadMovieNum("CRM_1.swf", 0, "GET");
}

What script do I need to add and where?

Many thanks

[fmx] LoadMovie/scene Problem
Howdy,

I've got a script that once a button is clicked it loads an external SWF on level 0. However, I need to go to a specific scene in the SWF. I've searched the usual ie Flash Kit with no luck!

Here's what I've got

on (release) {
loadMovieNum("CRM_1.swf", 0, "GET");
}

What script do I need to add and where?

Many thanks

LoadMovie Function To A Scene Within A Movie
I have an "intro" movie with buttons that need to point to to specific frames in another flash movie that correspond to the links. I can't figure out how to link to anything except the beginning of the movie.

Is There A Way To Load A Scene Of A Movie Using LoadMovie?
is there a way using the loadMovie command to load a specific scene of a movie?

WWhy Is LOADMOVIE Not Working In New SCENE ?
Hi,

I'm making a popup jukebox tab to play MP3s while user is surfing various pages. I'm authoring the popup tab jukebox in its own scene called TAB.

For some strange reason I can't get LOADMOVIE to work in that new scene.

I've followed the same procedure that I always have, ie.
1. Making a Movie Clip called "Empty",
2. placing "Empty" movie clip Instance on stage (within this TAB scene) where I want the LOADMOVIE (in this case frame 5), and
3. then adding the action scripting to the button that I want to activate the MP3's as follows:


on (release) {
gotoAndPlay(5);
loadMovie("letter.swf","EmptyInst");

}

Why is this not working? If I create the same actionscripting etc in a separate file (level 0), everything works fine, but it doesn't work when I create it in a new "Scene".

Thanks in advance for anyone who can help me here!!!!

m108

Phantom Scene - LoadMovie UnLoadMovie
Hi - I'm having problems with loadMovie and unLoadMovie...

I have a main movie in level 0 with all my navigation. I load up different .swf files into the bottom part of the screen as the main content.

The .swf I'm loading used to be in scene 1 that was meant to run before scene 2. Both scenes started playing at the same time when I ran loadMovie. Also they don't unload when the rest of the .swf unloads - I'm left with these relics from a phantom scene.

So I then cut the frames out of scene 1, deleted it and pasted them into scene 2.

Both scenes still play when loaded - even though the phantom scene doesn't exist any more!

I thought that maybe the memory of these old scenes was stuck in file somewhere, so I've created a .swf file and copied the frames across from my original to try and delete this phantom scene.

Didn't work.

I've now deleted frames from the origianl scene 1 out of the library, but they always appear when playing the movie externally.

Do I need an exorcist?

All the best

PB

PS - the same thing happens when I load another .swf file into

PSS I'm using the loadMovie unloadMovie A/S and I've also used loadMovieNum. Most parts of the scene get loaded in and wiped out fine, but not the phantom part.

LoadMovie Then Unload And Goto Next Scene
Hello,

I have a project that is setup like a slide show. It is all dynamically loaded. Scene01 has a pic and audio explaining the pic. When the audio is done on to Scene02 which is slide 2 and so on for 20 scenes.

Now slide1 (scene01) has changed to an animation, an swf. My Question is how do I get the scene01 anim/swf to tell the parent when done go to the next frame or scene?

I can loadMovie and watch it play. I just don't know how to tell the main timeline that the loaded swf is done and the main movie can go to the next frame or scene.

Thanks in advance!

LoadMovie(swf) And Goto Specific Scene
Hi guys!

Have bit of a prob with flash I know someone out there be able help(. . .Please!)

Creating a projector within flash where I load in separate swfs, using this code:


on (release) {
loadMovieNum("1_droe_MAIN.swf", 0);
}


Prob is 1_droe_MAIN.swf has 2 scenes;
Scene 1: intro
Scene 2: main

when I load in this swf I want it to go to scene 2: main and not play the intro again.

Can anyone tell me what code I need to add to get this to work? (really appreciate it!)


Thanks

How To Loadmovie And Play Scene Or Framelabel?
Hi,
I am a newbie and I have 3 .fla files (part 1,2&3) which contains 7 scenes in each file. There is a user interaction at the end of the each scene asking user to click "next" "Back" to continue. Each scene will have voice over synced with animation.

how load different movie with specific scene? When I click "back" button of part2.fla/scene 8 it should call part1.fla/scene7

I have already in this forum that using scenes is a bad idea..is there any way of making this work using frame label?? that is...
call movie (*.swf) and play frame label????

Please help! Thanks.

Frame By Frame LoadMovie Function?
I past the last 30 minutes reading post's about external .swf, and jpeg's. Using the LoadMovie function:

i know so far You can load an external movie(swf) into your webpage in 2 ways - into a level and into a target. When loading into a target, you have an mc (movieclip) on your stage with an instance name. Then you need to give a button an action.

If i have a movie with for example 4 frames in layer 1 and a lot of layers for the design and stuff -

each frame of layer 1 have their own JPEG

each frame on layer 2 - have a button , that if the user click it, a
text appears in a box.

layer 3 - the list box

______________________________________

So if i have a JPG on frame 1 , how i can do that the next external jpeg or swf open in a place on frame 2, and no in the same frame?

Each JPG have a their own button, so i need that all the external jpgs were in differents frames...

That is possible? Or what i need to do whit this!

Please any help, suggestion, anything!

Thanks!

Using LoadMovie To Replace Existing Clip In Scene
Hi, I am going off the following information from the ActionScrip Dictionary:


Quote:




Example
The following loadMovie statement is attached to a navigation button labeled Products. There is an invisible movie clip on the Stage with the instance name dropZone. The loadMovie action uses this movie clip as the target parameter to load the products in the SWF file, into the correct position on the Stage.

on(release) {
loadMovie("products.swf",_root.dropZone);
}




I am trying to embed a SitePal vhost into a specific spot of my movie. I made a movie clip called "SitePalClip" and placed it where I want the SitePal to show up. In the ActionScript, I have the following:


Code:
loadMovie("http://www.urltoclip.com", _root.SitePalClip);
But this is still showing the original clip I made as a placeholder. Any pointers as to what I'm doing wrong?

Loadmovie Trigger Main Movie To Next Scene ?
Hi

I've imported my animations into a single projector using loadmovie.

When the external animations finish playing how do i get the main projector to recognise that the animation has finished and move onto the next scene ?

Thanks
David

Play Next Frame In The Current Scene Then Go To Play Other Scene
Hello !! Everybody

I'm minny. I'm the new one who use flash ^_^

I don't know how to write this action scirpt about to play next scene -_-

How can i do ??? In the scene 1, when push the button (that it is menu), i want it play next frame in the current scene and then it go to play in the frame 1 in other scene. I have 5 menu, Each menu in their scene. How can i write this script ???

Help me please...eeee
Thank you :-)

From One Frame Of Mc In A Scene To Another Frame Of Another Mc In Another Scene
I have a fla with 2 scenes."intro" and "main".Also have 2 mcs in each scene with the instance names "introMc" and "mainMc".
What I want to happen is when the timeline of "mainMc" reaches the frame...lets say 20, and action to send to frame 10 of "introMc" of previous scene (intro)


Thnx
chris

Frame And Scene
1ºquestion How i can move scene to scene?? i just know the code (nextscene).

2º question using FrontPage and Flash how can i make a flash button go to specific frame.

Next Frame And Another Scene?
what are the comand if i want to go to the next frame?
and what is if i want to go to another scene?
10X
peleg

Going To Specific Scene In A Movie, That's Loaded By LoadMovie(...) Won't Work..?
Hi,

I've loaded a movie into another via the 'loadMovie'-Command:

loadMovie ( "test.swf", "aha");


I've got a button in the movie that calls the loaded movie:

on (release) {
aha.gotoAndStop("three", 2);
}

means, I wan to go to scene "three" framenumber 2 in my loaded movie, but it won't work...
Is it impossible to go to a specific scene in a loaded movie..?

(By the way: aha.gotoAndStop(12); works...)


Thanks for fast answers...
TOBI

Jump To A MC Frame From Different Scene
Hello,
I have a movie clip with a button, clicking on it goes to another scene.
When in the other scene, i want to be able to click another button and go back to the original scene and have the movie clip be at the frame where I left it, or any other that I specify.

Thanks in advance.

GotoAndPlay Scene & Frame
Hi

I need to set an action on a button that loads a new movie and sets that movie to play the specific scene on specified frame.

eg; load movie 1, and play scene 3, frame 12

when I follow the prompts given by the actions panel I get errors???

any ideas - this cant be too hard but it got me ;-(

Copyright © 2005-08 www.BigResource.com, All rights reserved