ActionScript 2.0 :: Loadmovie And Target A Frame

Jul 17, 2009

I want to load a movie and have it start on a specific frame within that movie instead of starting on frame one. The code I have now is this:

stop();
loadMovieNum("mc2.swf", 2);

I want it to start on the frame label in the movie called "in" instead of on frame one. How the hell do I do this, I looked everywhere

View 1 Replies


Similar Posts:


ActionScript 2.0 :: CS3 Loadmovie Into Target Mc - Not Level?

Apr 5, 2009

got a file that contains scripting that creates and animates a carousel effect in a faux 3d space - it all works great on a mac and some pc's but on a lot of pc's it doesn't play nicely! i have added some script to carousel script so if the carousel item is clicked it rotates that item to the front and then loads the specified swf into level 1

pc's don't seem to recognise the alignment of the loaded swf and brings it in half cropped off the screen - appearing in the top left of the stage area.how do i tell the loaded swf to centre in the middle of the stage just like the rest of the elements in the movie? how to make the target mc sit at the highest level/depth - in other words above the carousel? this is my onclick script:

Code:
function released()
{
output.text = this.txt_label.text + " has been selected";[code].........

View 1 Replies

ActionScript 2.0 :: Target A Mc Properly After LoadMovie?

Apr 9, 2003

how to target a mc properly after loadMovie. I have a swf where an mc is copied 15 times (so a 4*4 grid is formed) like this:

Code:
Movieclip.prototype.duplicateMC = function(){
amount = 16
x = 1;
y = 0;

[code]....

This works fine. However, when I load it into another movie with loadMovie, it doesn't work anymore because of the _root that I use.
I thought that using _parent["copy"+i]._x += 50*x; would do the trick, but it doesn't.....

View 14 Replies

ActionScript 2.0 :: Loadmovie To Target Not Totally Working?

Mar 11, 2003

So I am tring to load a movie into a target. It is loading but all of the scripts are not working (some of the scripts are working). All the scripts work if I load the movie to a level instead of a target. But I need the movies to be in a target because of the motion that I want to apply to the loaded movie

View 1 Replies

ActionScript 2.0 :: LoadMovie In The Target _root.as. And The Url Is Dynamic

Nov 26, 2005

I want to loadMovie in the target _root.as. And the url is dynamic: _root.as.loadMovie(_root.link) Unfortunately the movie isn't loaded I tried to convert _root.link to string but nothing

View 13 Replies

ActionScript 2.0 :: Loading A Swf To Target By Using NamedMC.loadmovie

Apr 11, 2003

I have been loading an swf to target by using namedMC.loadmovie ("path+name", _levelN) altho I notice there is another method suggested here about using createEmptyMovieClip so it is all in script. Can anyone suggest a way of preloading all my separate swf files and then playing them at various specified points, like when the previous animation is finished/finishing. I have tried things like altering the _alpha and using namedMC.stop(); and namedMC.play(); but that aint working.

View 1 Replies

ActionScript 2.0 :: LoadMovie - Target A Specific Scene In The Load Movie Command?

Jul 9, 2002

I want to load a movie loadMovie ("target", _root....) and so on. My question is can you target a specific scene in the load movie command?? I have a movie with a button that loads a new movie into level 0 so it replaces the first movie. Now in the new movie I have a button that unloads the new movie and loads the previous one. But it starts it off at the veru beginning of the movie. I want it to pick up where the first button click took place.

View 2 Replies

ActionScript 2.0 :: Get This Function To Target MyClip_mc And Movethe Frame Head To Another Frame Label

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

ActionScript 2.0 :: Target Path - Go To Frame 2 When Click On Button On 1st Frame

May 25, 2009

there is a button on 1st frame. there is a movie clip on frame 2. I named the movie clip as "ball_mc" I want to go to frame 2 when I click on button on 1st frame. I know that the code "gotoAndPlay(2);" on button will work. But for some reasons, i want to try another way.... i tried several codes:

1. this.ball_mc.gotoAndPlay();
2. _level.ball_mc.gotoAndPlay();
3. _global.ball_mc.gotoAndPlay();
4. _root.ball_mc.gotoandPlay();

However these codes dun work. Is there other way to resolve this besides this code "gotoAndPlay(2)"?

View 1 Replies

ActionScript 2.0 :: LoadMovie "target" & Kirupa's Image Pan?

Nov 27, 2006

Description: HTML page containing MC1 and MC2. MC1 has container MC-C inside and MC2 has button with AS ... loadMovie ("MC3.swf", _root.MC1.MC-C") Problem: when I hit the button nothing happens When I assigned this script to a button inside MC1 (excludeing "MC1." from target value) than it works. Would anyone know how should my target value look like to achieve desired load into container within MC1?? conditions: (MCs 1,2,3 are in same folder, with correct instance names, have tryed few variations but no success)

Q2: Kirupa's Image Pan - is there any way how to integrate whole thing inside another MC without messing it up like me?? Cause I have noticed that it is fixed to "stage.width" and stage of the MC I wanted to plece it is a bit different.

View 2 Replies

ActionScript 2.0 :: LoadMovie Getting "Target Not Found"?

Jan 29, 2009

have a hard time seeing why the code isn't quite working:on frame 4 I have:

var mc:MovieClip = this.createEmptyMovieClip("mc", this.getNextHighestDepth());
var image:MovieClip = mc.createEmptyMovieClip("image", mc.getNextHighestDepth());
image.loadMovie("gallery1.swf");

[code].....

View 1 Replies

ActionScript 2.0 :: Go To Specify Frame When Using LoadMovie?

Aug 25, 2005

i have a problem, i want to go to frame 10 on movie.swf when using loadmovie,?oadMovie("movie.swf","movie_mc");

View 2 Replies

ActionScript 2.0 :: Loadmovie And Gotoandplay A Frame?

Feb 23, 2009

I have a created a menu and the pages are on a seperate swf file which is to be loaded onto the top of.

firstly i used this code but it still only went to frame 1 of the laoded movie:

on (release) {
loadMovie("a2.swf", 1);
_level1.gotoAndStop(15);
}

then i found this code. But i cant get it to work correctly. does it go on frame one of the movie or on the button instance?

[Code]...

View 1 Replies

ActionScript 2.0 :: Loadmovie - Goto Last Frame?

Apr 28, 2004

I have run into a snag! I cant target a specific frame after loading swf file.I m creating a continuous slideshow with five separate swfs (movie01.swf , movie02.swf... etc) which load sequentially into one empty movieclip (named - mainMCholder) on the root timeline I control the loaded swfs with 2 buttons next and previous.These buttons simply move up or down a frame (nextFrame/prevFrame) .if I load movie02. swf into my empty movieclip and I m on frame 1 (of 10) and choose to back up to the end of movie01.swf (which would be frame 10 of movie01.swf),I end up on frame 1 of movie01.swf. Unsure why I cant move to last frame of a loaded movie?

//This is the code I've used
loadMovie( movie01.swf, "mainMCholder");
mainMCholder.gotoAndPlay("lastframe");

View 2 Replies

ActionScript 2.0 :: LoadMovie Jump To Frame?

Nov 5, 2004

I know there's been a million "how do I load a movie and than jump to a specific frame" thead. Well all of those have been helpful :: HOWEVER I wouldn't be posting because I can't seem to get my script to run successfully First the background I have a nav. menu made up of seprate movies clips :: inside each movie clip is four buttons :: these buttons are shown using a rollOver, rollOut dealy

anyway when you click on one of the buttons it calls "student.swf" to load into an empty MC called content.I've tried everything :: What happens is the button will load the MC but will sit on the first frame and do nothing :: the movie clip "student.swf" is not that big so I doubt I'm waiting for it to load.

[Code]...

View 5 Replies

ActionScript 2.0 :: Loadmovie And Current Frame / Label

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

ActionScript 2.0 :: Goto A Specific Frame Using LoadMovie()

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

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

ActionScript 2.0 :: Direct LoadMovie To Start At Particular Frame

Oct 2, 2003

Is there any way to direct a loadmovie to start at a particular frame when you use loadMovieNum? I have an introduction frame i'd like users to avoid. I loaded the movie into 0 level so that it could function with all the processing speed. alone. However when the user returns to the main movie I'd like them to skip intro and go to frame 15.
on (release) {
loadMovieNum("introd.swf", 0);
}
Is it possible?

View 3 Replies

ActionScript 2.0 :: Direct A Loadmovie To Start At Particular Frame When Use LoadMovieNum?

Oct 2, 2003

Is there any way to direct a loadmovie to start at a particular frame when you use loadMovieNum?

I have an introduction frame i'd like users to avoid. I loaded the movie into 0 level so that it could function with all the processing speed. alone. however when the user returns to the main movie i'd like them to skip intro and go to frame 15.[code]...

View 3 Replies

ActionScript 2.0 :: [FMX] LoadMovie Pass Frame Label Variable?

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

ActionScript 2.0 :: Loadmovie Into A Container Specifying A Frame Label To Start

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

ActionScript 2.0 :: LoadMovie() Jump To Specific Frame (another Swf.file)

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

ActionScript 2.0 :: Load A Specific Frame Within A Movie Using 'loadmovie'

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

ActionScript 2.0 :: [FMX2K4Pro] LoadMovie To Specific Frame Label?

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

Professional :: Target Mc On A Certain Frame Within Another Mc?

Jun 14, 2010

I have a movie clip on my stage that has its own timeline with 7 frames, each a keyframe with different content. How would I target a movie clip that appears only on one of these frames within the parent clip?

I'm used to using dot syntax to target clips within clips (eg. parentClip.myClip.onRelease = function(){...), but when I try this with a clip that only appears on one of the frames in the parent clip it doesn't work. Do I need to address that frame specifically? How would I do this? I'm using AS2 in CS3 on a Mac.

View 2 Replies

ActionScript 2.0 :: Target A Frame On A MC?

Jul 9, 2007

my frame label contains a movie clip... when the playhead goes to the frame label "corporate", i want it to play the movie clip sitting on the frame label, but starting at frame 20 of the movie clip... have the following code but doesn't work and i can't understand why... i attached an example of what i have made...

Button Code
Code:
on (release) {

[code].....

View 3 Replies

ActionScript 1/2 :: Loadmovie Swf Into Flash - Plays The Frame On The Root 46 To 59 Non-stop

Apr 30, 2011

I did a MC called "bgproducts" on the root frame no:46 to 59 then stop(); and in this MC, you have an animation and stop at frame no :64 then stop(); in the frame 64, i have another an empty MC called "productsMC". when i do this code in bgproduct frame no 64 : productsMC.loadMovie("main.swf", ""); it plays the frame on the root 46 to 59 non-stop and nothing to loadmovie, and also the main.swf has a preoloader then frame 2 an load from xml file.

View 2 Replies

ActionScript 2.0 :: Loadmovie Command - Resets The Loaded SWF Back To Frame 1

Nov 19, 2003

I have this movie [URL] its for a mates building company ok here is my problem (i will explain it to the best of my abilites) i have 3 buttons which each load 1 seperate SWF into an empty movie clip eg. servicesbutton loads services.swf into contentsMC that is fine that is working fine my problem occurs when the loaded movie button is clicked on again... it resets the loaded SWF back to frame 1... how can i make the loadmove command abit more cleverer? like dont load the movie if its already loaded?

View 5 Replies

Target Inline Frame Using GetURL?

Aug 31, 2009

I am using a flash template with a _urls.txt file. I would like to change the code so I can display a target html page in an inline frame. My goal is to change the page content when a when a nav item is choosen without reloading the swf.I have tried several methods with no luck. What should I do to accomplish my goal?Here is the original code in the template.

on (rollOver) {
gotoAndPlay("s1");
}

[code].....

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved