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




LoadMovie And LoadMovieNum



Hi -

I am just beginning to learn AS. When I click on loadMovie, loadMovieNum shows up in the actions pane. Can't get rid of "Num" unless I go into Expert mode and delete Num. Is this the way it is suppose to work? I am working on a class lesson and it says loadMovie...not loadMovieNum.

Many Thx



FlashKit > Flash Help > Flash ActionScript
Posted on: 07-19-2003, 10:04 PM


View Complete Forum Thread with Replies

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

LoadMovie & LoadMovieNum
Hi I was just wondering what the difference is between loadMovie & loadMovieNum?

LoadMovie Vs. LoadMovieNum
can anyone explain the difference between these two?

I can only get the LoadMovieNum to work when calling external .swf files. Just curious why.

thanks in advance!

LoadMovie Vs. LoadMovieNum
Anyone ever have a problem with loadMovie (with the variables) vs. loadMovieNum (with levels)? I cannot get loadMovie to work. Is it possible my software has a bug or something? Or is it something I'm doing wrong? I just made two simple movies, trying to load one in the other and loadMovie (without the "Num") doesn't seem to work at all. Nothing happens. Thanks if you have any insight on this.

LoadMovie Vs. LoadMovieNum ?
Greets, fellow flashers,

I jumped into Flashing with version 5 here at work, and sometimes when opening old projects for modifying I see the load movie action written as loadMovie *or* loadMovieNum.

So, what's the difference between loadMovie and loadMovieNum?

Loadmovie And LoadmovieNum
what is the difference b/w loadmovie and loadmovieNum?

LoadMovie And LoadMovieNum
Hi all,

Just want to ask, how technically different is LoadMovie and LoadMovieNum?

Thanks.
Butch.

LoadMovie Vs LoadMovieNum
can someone explain to me what the difference between these two browser commands are and perhaps give an example?

thank you kindly

LoadMovie X LoadMovieNum
I've been trying to find out a solution for this problem for days...
I've produced a few games in flash, and now I'd like to have them all pasted into a bigger flash site. The games have references to their own _root directories, frame numbers and so on. So I've found three problems:

1. If I use loadMovie to load them into a container movie I can position them, but the references to _root won't work
2. If I use loadMovieNum the references to _root work just fine, but I can't position the movie anywhere else but the top left corner.
3. In both cases the objects I have outside the boundaries of my game - i.e. flying objects that were supposed to come into the visible area at some point - will appear at the bigger flash site. I can't find a way to restrict the imported swf to its original boundaries. I tried masking it with no success.

I have also tried to import the swf directly into my fla and use the linkage to call it from the library, but that doesn't work at all. It behaves like a sequence of frames, nothing else...

Does anyone have a solution for that? I've seen so many flash sites containing other movies, I am sure it can not be that difficult.

LoadMovie Vs LoadMovieNum
I did a search to find the specific answer to this but I didn't find it. I did, however, find a lot of useful information...so searching is certainly not a waste of time. Now my question is...are there any big advantages for using loadMovie over loadMovieNum? I find loadMovieNum much easier to use, although I have done both just so I could see the differences. I'd like to have the opinion of one of the Jedi Masters for they see and know all things Flash.

Loadmovie Loadmovienum
Hi

I have a movie that displays data from a mysql database via a php script this works fine.

I have to load this into another movie but my problem is if I use loadMovie I can place it into a previously occupied movie clip which all lines up nicely but we then have no output from the loaded movies textarea.

But if I use loadMovieNum it loads and works fine but with no control over
placement.

Ideally I need to use the latter replace one movie clip with another.

_root.placeholder_mc.loadMovie("linford_diary.swf" );//This loads the movie but the data that should be inside the textarea is not there.

loadMovieNum("linford_diary.swf",2); //This works.

Thanks for any help.

Loadmovie And LoadmovieNum
Alrite,

Been doing some reading on the loadmovie and loadmovieNum and i have to admit I am still confused on the difference, seems that they work the same to me, except one defines a level and the other doesnt. Can some one break down the difference between the two and which is better to use, and lastly when is the best time to use one or the other.

If there is a link you think explains the 2 that is fine also.

Thanks a bunch.

LoadMovieNum V LoadMovie
Hi

If I have two separate swf,s loaded I can access both of them from the main timeline with "example _level1.first.text = _level2.second.text;".

Can the same type of thing be achieved with swf,s loaded into a target clip ??? instead of a level.

Thanks for any help.

[F8] LoadMovie Or LoadMovieNum
Hello
I am Loading a movie on to _level1 of my main movie and scripting between the _level0 and _level1 movie.

If I use loadMovie I have to firstly use attachMovie to attach a holder movie with a clip with an instance of HolderMC onto _level1 then load the movie on to that holder:

Way One

Code:
attachMovie("SwfHolderMC",SwfHolderMC",1);
var Lvl1Movie = this["SwfHolderMC"];
loadMovie("localmovieinsamerootfolder.swf", Lvl1Movie.HolderMC);


If I do this I can use the code: _level0.myVar = 1 & Selection.setFocus(_root.myrootObject); from the _level1 movie but I struggle to setVars on _level1 from _level0 as I cant see any way as the external loaded movie has no reference or instance name.

if I use
Way 2

Code:
loadMovieNum("localmovieinsamerootfolder.swf", 1)

This way seemed perfect I can set _level1.myLvl1Var = 2; and _level1.gotoAndPlay(4);
but then the code Selection.setFocus(_root.myrootObject); no longer worked.

localmovieinsamerootfolder.swf has to be loaded from root directory so surely no allowdomain() stuff is needed? How do I use Selection.setFocus(_root.myrootObject); code if I go with way 2

Many thanks in advance

.mini

LoadMovieNum ->LoadMovie Together
Is any reason why I wouldn't be able to use LoadMovieNum and LoadMovie in the same project?

The main menu loads the course(with LoadMovieNum) into layer 1.

The course (now in layer 1) loads exercises (using loadMovie) - by attaching them to a moviclip.

When the course runs by itself, the exercises load just fine using loadMovie.

But when the course is called by the menu (with LoadMovieNum), the exercises will not load (with loadMovie). There is nothing that shows.

Any help would be appreciated.
Thank you,
Julia

3 SWF LoadMovie & LoadMovieNum
I am making a web site that the main window has 3 buttons, each button is to load a SWF file.

When I tried the loadMovie method the the first SWF only appears, the other two buttons does not load their SWF file.

However when I tried the loadMovieNum, all of the SWFs appear ok, but I cannot click on the buttons in side every SWF, while the buttons were working with the loadMovie method.

Any help Please

LoadMovie() & LoadMovieNum()
I have a problem with a album i am making online which requires uses a simple statement:

ActionScript Code:
imageholder.loadMovie("photos/"+_root.photo+this._name+".jpg");
Which doesnt work when its online... i think its a problem with the server but im not sure because when its offline it works fine. Maybe its a problem with the server or something? Is there a setting i can change to make it work?
Any help is appreciated.

Using LoadMovie Or LoadMovieNum...
When using LoadMovie or loadMovieNum to load an .swf: Is there a way to go to a specific frame# or frame label inside the loaded file?

LoadMovie And LoadMovieNum
Hi,

Ok, first ill explain what im trying to do; Im trying to load .swf files with the names "1.swf,2.swf, etc..." which will be loaded in to container movieclips with the names con1,con2 -> con5. They are randomly generated and there is some code to do a nice roll over effect. The problem is that it loads the .swf clip fine, but the rollover effects dont get attatched. Is this because ive mis-understood how loadMovie(); works ? or are you supposed to use loadMovieNum to load in to a specific level and then work it from there. I have tried both solutions, and i either get the containers with the effect, or just the images without the effect. Here is the code i have so far:



PHP Code:



var number_of_images = 9;
var speed = 5;
var alpha_standard = 50;
for (n=0; n<=5; n++) {
    eval("con"+n).movienum = Math.ceil(Math.random()*number_of_images);
    loadMovie("/images/portfolio/"+eval("con"+n).movienum+".swf", "con"+n);
    eval("con"+n)._y = 44;
    eval("con"+n)._alpha = alpha_standard;
    eval("con"+n).onRollOut = function() {
        this.rollover = false;
        trace(this.rollover);
    };
    eval("con"+n).onRollOver = function() {
        this.rollover = true;
        trace(this.rollover);
    };
    con1.onEnterFrame = function() {
        if (this.rollover == false) {
            /*
              -- alpha fading -- 
            */
            this.alpdiff = (this._alpha-alpha_standard);
            this.ualpdiff = this.alpdiff/speed;
            this._alpha -= this.ualpdiff;
            /*
               -- width fading --
            */
            this.normwidth = 76;
            this.newwidth = this.normwidth+((this.normwidth/100)*20);
            this.wdiff = (this._width-this.normwidth);
            this.uwdiff = this.wdiff/speed;
            this._width -= this.uwdiff;
            /*
               -- height Fading --
            */
            this.normheight = 62;
            this.newheight = this.normheight+((this.normheight/100)*20);
            this.hdiff = (this._height-this.normheight);
            this.uhdiff = this.hdiff/speed;
            this._height -= this.uhdiff;
        } else {
            /*
               -- alpha fading -- 
            */
            this.alpdiff = (100-this._alpha);
            this.ualpdiff = this.alpdiff/speed;
            this._alpha += this.ualpdiff;
            /*
               -- width fading --
            */
            this.normwidth = 76;
            this.newwidth = this.normwidth+((this.normwidth/100)*20);
            this.wdiff = (this.newwidth-this._width);
            this.uwdiff = this.wdiff/speed;
            this._width += this.uwdiff;
            /*
               -- height Fading --
            */
            this.normheight = 62;
            this.newheight = this.normheight+((this.normheight/100)*20);
            this.hdiff = (this.newheight-this._height);
            this.uhdiff = this.hdiff/speed;
            this._height += this.uhdiff;
        }
    };
}

con1._x = 50;
con2._x = 181;
con3._x = 312;
con4._x = 443;
con5._x = 574; 




Thanks in advance to anyone who replys

-Matt "Deviant" Lloyd

LoadMovie Vs LoadMovieNum , Again :(
Hello

I thought I understood this but I now realise that I am confused. I am trying to load movies into a host blank movie clip. I can do it OK but I got a little distracted about all the target and level options ....


1) What is the difference between

loadMovie( "some_movie_to_load " , "emptymovieclipholder");

and

empty_movieclip_holder.loadMovie("some_movie_to_lo ad" , 0);

Both of the above work in my situation, maybe there isn't a difference.



2) Why can I not have this ..

empty_movieclip_holder.loadMovieNum("some_movie_to _load", 0);



Thank you kindly for any help.

LoadMovie Vs. LoadMovieNum
Hi there people!

Never in school or in somewhere else somebody has explained to me the difference between loadMovie and loadMovieNum.

Can somebody explin it to me? (i'm trying to learn some AS and to use it better...)

LoadMovie And LoadmovieNum HELP
Loadmovie does not show when uploaded to the IIS or other webservers, but works on the local folder during the development procedures, help me to solve it please.

LoadMovie Vs. LoadMovieNum
Whats the difference between loadMovie() and loadMovieNum()?

LoadMovie And LoadMovieNum
Hi,

Ok, first ill explain what im trying to do; Im trying to load .swf files with the names "1.swf,2.swf, etc..." which will be loaded in to container movieclips with the names con1,con2 -> con5. They are randomly generated and there is some code to do a nice roll over effect. The problem is that it loads the .swf clip fine, but the rollover effects dont get attatched. Is this because ive mis-understood how loadMovie(); works ? or are you supposed to use loadMovieNum to load in to a specific level and then work it from there. I have tried both solutions, and i either get the containers with the effect, or just the images without the effect. Here is the code i have so far:



PHP Code:



var number_of_images = 9;
var speed = 5;
var alpha_standard = 50;
for (n=0; n<=5; n++) {
    eval("con"+n).movienum = Math.ceil(Math.random()*number_of_images);
    loadMovie("/images/portfolio/"+eval("con"+n).movienum+".swf", "con"+n);
    eval("con"+n)._y = 44;
    eval("con"+n)._alpha = alpha_standard;
    eval("con"+n).onRollOut = function() {
        this.rollover = false;
        trace(this.rollover);
    };
    eval("con"+n).onRollOver = function() {
        this.rollover = true;
        trace(this.rollover);
    };
    con1.onEnterFrame = function() {
        if (this.rollover == false) {
            /*
              -- alpha fading -- 
            */
            this.alpdiff = (this._alpha-alpha_standard);
            this.ualpdiff = this.alpdiff/speed;
            this._alpha -= this.ualpdiff;
            /*
               -- width fading --
            */
            this.normwidth = 76;
            this.newwidth = this.normwidth+((this.normwidth/100)*20);
            this.wdiff = (this._width-this.normwidth);
            this.uwdiff = this.wdiff/speed;
            this._width -= this.uwdiff;
            /*
               -- height Fading --
            */
            this.normheight = 62;
            this.newheight = this.normheight+((this.normheight/100)*20);
            this.hdiff = (this._height-this.normheight);
            this.uhdiff = this.hdiff/speed;
            this._height -= this.uhdiff;
        } else {
            /*
               -- alpha fading -- 
            */
            this.alpdiff = (100-this._alpha);
            this.ualpdiff = this.alpdiff/speed;
            this._alpha += this.ualpdiff;
            /*
               -- width fading --
            */
            this.normwidth = 76;
            this.newwidth = this.normwidth+((this.normwidth/100)*20);
            this.wdiff = (this.newwidth-this._width);
            this.uwdiff = this.wdiff/speed;
            this._width += this.uwdiff;
            /*
               -- height Fading --
            */
            this.normheight = 62;
            this.newheight = this.normheight+((this.normheight/100)*20);
            this.hdiff = (this.newheight-this._height);
            this.uhdiff = this.hdiff/speed;
            this._height += this.uhdiff;
        }
    };
}

con1._x = 50;
con2._x = 181;
con3._x = 312;
con4._x = 443;
con5._x = 574; 




Thanks in advance to anyone who replys

-Matt "Deviant" Lloyd

LoadMovie Vs LoadMovieNum , Again :(
Hello

I thought I understood this but I now realise that I am confused. I am trying to load movies into a host blank movie clip. I can do it OK but I got a little distracted about all the target and level options ....


1) What is the difference between

loadMovie( "some_movie_to_load " , "emptymovieclipholder");

and

empty_movieclip_holder.loadMovie("some_movie_to_lo ad" , 0);

Both of the above work in my situation, maybe there isn't a difference.



2) Why can I not have this ..

empty_movieclip_holder.loadMovieNum("some_movie_to _load", 0);



Thank you kindly for any help.

LoadMovie Vs LoadMovieNum
Hi !

I'm stumped because in MX I'm trying to load several swf's into my main page's movie clip using "loadMovie" command . All is loading well with most of the swf's but some of the swf's will only load partially or they don't work unless I use the "loadMovieNum" command, in which case I can't place them properly in the movie clip where I want them.
The two that are like that are different in that they have an "attachMovie" command in their respective script. Could it be that these types of MC's can only be used with the "loadmovieNum" command? I have taken care of the linkage in both MC's. just wondering if anybody has seen this problem before.
thank you

on (release) {
loadMovie ("timeline.swf","theClip");
}

LoadMovienum And LoadMovie -- Differtence
What is the difference between loadMovienum and loadMovie (both are methods
(?) with both I can load movies into a certain level)??????????????

Same problem with loadVariables and loadVariablesnum (Overall- What's the
use of loading a variable into a cerain level);

Difference Between LoadMovie And LoadMovieNum
hi
can any one tell whats the difference between loadMovie and loadMovieNum
and similarly between UnloadMovie and UnLoadMovieNum.

adnan

Comparing Loadmovie Vs Loadmovienum
Should these be the same?


loadmovienum("tween.swf",1);

and

_level1.loadMovie ("tween.swf");


I *thought* they ought to be but in my testing I got otherwise.

(_level0==_root is _a_ movie is it not? And level1 too??)

My reason for all this is as follows:

I thought I'd load tween.swf into level 1. It plays once. Back to frame 1 which is empty and has stop().

Therefore, _level0 is shown.

Anyways, can some expert set me straight?

Muchas appreciatus.

Mark

Diff Between LoadMovie And LoadMovieNum?
What's the difference? Why when I click on loadMovie in the Actions panel it inserts loadMovieNum? Why is there no information in the Flash help for loadMovieNum? (Flash 5)

LoadMovie And LoadMovieNum Questions
Hello,

usually i use this code to load a .swf file to a MC:

content.loadMovie("file.swf");

I have 4 questions:

1. How to unload the movie?

2. Is it better for performance to unload the .swf file when i will not use it anymore?

3. Instead of loading the .swf file to a MC i want to load it to a new level, such as level1. What should be the code for that?

I tryied: _level1.loadMovie("file.swf");

It didn't work...should i use loadMovieNum? What is the difference between this command and loadMovie?

4. How to unload the .swf from the level?

Thanks,
Miguel

Loadmovie / Loadmovienum / Won´t Play
Hi there,
I´ve got another problem:
I load an external swf into a mc with loadmovie(). It loads, but it doesn´t play visually. Internally it plays, as I can see from trace results in the output window.

If I use the loadmovienum command, it works just fine. But I´d like to use the loadmovie() as I never feel comfortable working with levels...

Any tips?

LoadMovie Vs. LoadMovieNum.....what's The Difference?
loadMovie vs. loadMovieNum.....what's the difference?
Three quick questions:
First of all, what's the difference between the loadMovie and loadMovieNum actions?


I was also wondering:
I know that you can load PHP server-side script and others using the loadVarsNum action. How do you do this? And is that the most logical/effecient way to load PHP? If it helps, I'm making a form in Flash (altering a source file). It just dosen't seem to want to load...help!

Different Effects Using LoadMovie And LoadMovieNum
Hi,

I've made a full flash website. Now that it's almost finished, I wanted to split the site into the design and the actual content, because the content needs to be changed from time to time.
Now I know how to load in external swf, but something strange happens :-s.
I've got an empy movieclip on a layer and I load my external movie with loadMovie("web_inhoud.swf", "contentWebsite"). This external movie also has a preloader which works fine.
I test the website with the flashplayer in flash, this works fine (external swf is loaded and interacting). But when I test it in flash with a simulated download (to test the preloaders), the external movie doesn't load. I thought maybe it was flash, so I uploaded the 2 files on the webspace, but still it didn't work.
Strange enough, when I use loadMovieNum("web_inhoud.swf", 3). It works how it's supposed to. It loads with preloader.
Problem is that I need to use loadMovie into my target because I have some objects in my design that need to be on top of the content and this isn't possible with loadMovieNum apparantly.

What can be the cause of this effect? I'm using flash mx 2004 (flash player 6, actionscript 1.0).

->> eurofit flash site
->> test flash site for preloading content

If anyone could help, I would appreciate it.

Grtz,
Spirit Wolf

Loadmovie Vs Loadmovienum Question.
I have successfully set up a "main.swf" movie that contains only a simple little 1px x 1px blank movie clip.
I have one instance of this clip at the x=0, y=0 point on my "content" layer of frame one and my actionscript for that frame calls my "intro.swf" movie into the movie clip. In that movie, I have buttons that link to other frames in my _parent movie -- "main.swf". And from frame 5 to frame 10, I have "top.swf" imported into "top" instance of the blank movie clip, and various other swfs called into "content" instance just below that. From frame 11 to 20, I have "top2.swf" in place of "top.swf."

Question 1.:
I have it set up that instance "top" of my blank movie clip calls "top.swf" for frames 5 through 10 of main.swf. This is an animated navigation bar. If I were to click a button in this bar that takes me to, say, frame 8, I have no problem. However, if I click a button that takes me to frame 5, the swf plays over again from the beginning. How can I fix that?

Frame 11 through 20 have a series of slideshows. The only difference detween each show is the XML fils called fom the actionscripting. How can I set it up so a button in "top2.swf" goes to a specific frame in my new "slideshow.swf?"

Any help is appreciated.

LoadMovie, LoadMovieNum Question
hello forum people,

i loaded an external swf with loadMovie, but when it loaded, the image that was also to be loaded with it, i believe, was being loaded into a lower level???. so, i tried loadMovieNum out of curiosity and targeted a specific level just to see what would happen and it worked, the swf with the image was then loaded correctly.

the external swf i am loading is a gallery of images that use xml to load each image into a container clip called holderMC. i then have this swf loading into another fla into a container clip called container.

so, i was wondering if anyone could explain to me what exactly was going on. Why was the image not being loaded correctly into the containerMC inside the external swf with loadMovie, but then worked with loadMovieNum??

i'm sorry if that was a confusing explanation, but thanks for any explanations you might have.

LoadMovie LoadMovieNum _x_Y Help Me Please
I have a very VERY similar problem. I have waited and waied for someone to answer me on a lot of other flash AS2.0 boards.....and no reply..Now, I know I am not the best or the worse but dear god people..... I also went out and bought 300$ or more worth of coding and AS2.0 book and none really apply to my prob. I want to do hmmm. load a movie...sorry for the attitute but I am about to throw my computer and my self across the table. I am a math and science freak and love this stuff yet with flash 8 pro things are all screwed up...not flash not java not any language exactly it seems to be kind of emerging into a hybrid and that is cool if I could follow. LMAO

I have a main timeline...withe menu...sliding menu in a movie clip.....
I have tried all options and some work kind of


I want a movie to load next to the right of my menu...so put it in a MC and then tell it what its X,Y, coordinates are...right doesn't work and if it should it isn't..... this is my last resort...this work is due tomorrow and my other coworkers are either sick, have the day off and or one got fired so I am screwed...completely............!

I knwo it is short notice but I will be checking this forum day and night...PLEASE help a poor lost soul. lol Thanks for reading this.

ps. I ahve tried putting the code onto the buttons, inside the menu where the buttons are on the frame, and insiude the _root timeline.....eeeek. I am going crosseyed......lol trying for roll over pics to pop up and if clicked to have a movie of the the button contents to load into the place of the mc. .... I hope that made sence. Bye. ;0) n *hugs*

What Is The Difference Between LoadMovie And LoadMovieNum
I've used both of these trying to solve my problem and nothing is working.

I am loading a movie into a movie. the movie being loaded into the other has controls on it that cause it to play forward and backwards. when it loads it's not supposed to do anything until the user rolls over one of the buttons. it just plays ... and it doesnt respond to any of the buttons.

when i use LoadMovie i have to change the _x and _y position of the mc, which is fine bu the movie plays and doesnt respond as described above

when i use LoadMovieNum the movie moves to a different _x and _y position but doesnt load the external file at all.

in both instances i've tried changing the level from 0 to 1 as suggested in the LoadMovie tutorial by kirupa on this site.

i don't know how to fix this so if someone could help me i would greatly appreciate it

thanks

LoadMovie Vs LoadMovieNum -> What Is The Differe
Hi, what is the difference between loadMovie and loadMovieNum ?



sorry for my english

LoadMovie, LoadMovieNum Question
i was wondering if someone could explain something to me. i am loading an external swf with loadMovie. the external swf that i'm loading is a portfolio of images. the images in the portfolio are loaded into a container clip by xml within this external swf.

the problem is, when the swf loads with loadMovie the first image doesn't load. if i use loadMovieNum and load it into a level it loads fine.

i was wondering if someone could explain what's going on. i can't see where the problem is. i thought there might be a problem with the path to the container clip within the external swf and tried different paths, but so far, i haven't figured it out. is it still a path problem?
so, what is loadMovieNum doing besides loading it into a specific level that loadMovie is failing to do? it would seem like it is a path problem, but i can't pinpoint where.

any explanations or confirmations would be great. thanks.

Levels And LoadMovie/ LoadMovieNum
hi there !

i wrote a little application in flash. it has more than 500 lines of code and it uses one class written by me. it works fine, without any problems till i use it without using levels. many objects in my code are referred to _root and i haven't predicted that i will have put my actual swf ( 500+ lines of code ) to higher level than _level0.

i had created a new swf and i inkoved my swf ( 500+) by using loadMovieNum("myCode.swf",5); . it doesn't work properly, because code in this swf tries to refer to _root, which means it tries to refer to _level0, not to _level5.. .. so .. can anybody give me advise how could i cope with this problem. .. i hope i won't must change every _root to _level5 and then it will be less flexible solution.

i also tried to use loadMovie: myMC.loadMovie("myCode.swf");
but in this case i must refer to my objects in loaded swf, using the name of movieClip where it looks like: myMC.objectInLoadedSwf ... so ... this solution also doesn't suit me.

greetz .. i'll be very obliged for any helpful advise

ps. i'm here first time ... HELLO ! nice to meet you ! this is very nice place

LoadMovieNum Vs Plain Old LoadMovie?
is there a difference between these two? i don't notice anything different as i use them, i generally code in expert mode but when i'm in basic mode and select loadMovie it seems to default to loadMovieNum. anyone have some insight on this? thanks...

chris

LoadMovie Vs LoadMovieNum -> What Is The Difference ?
Hi, what is the difference between loadMovie and loadMovieNum ?



sorry for my english

MX Issue- With LoadMovie() Or LoadMovieNum Swf Placement
Hello Flashers,

I have been writing script for a couple of years now, and am pretty much self taught. I have been able to figure out most problems I run into, but have recently realized that I am trouble with a rather basic problem.

I need to figure out how to define the _x and _y of a swf that is loaded into my main swf. I have been using ClipName.loadMovie("name.swf",_level) and trying to use the registration point of the loading clip to no avail. Also the same thing with loadMovieNum(). I have tried to have the root load it with x and y coords, but still no luck.

Please help a frustrated intermediate scripter with a newb question.

Thanks
Tony

LoadMovie Vs LoadMovieNum Preloader Problem.
I've been using the snazzy preloader for a while now, but now I've come to a fork in the road, and it's forking got me baffled. The most annoying thing is I'm sure it's just a basic targetting problem.

The preloader works fine if the external .swf is loaded in by LoadMovieNum, but I tried placing it in on a lower layer in my main movie, hence the LoadMovie (into an empty MC container).

Could some kind soul have a looksee at the .fla and see what it is that I can't?

Loadmovie & Loadmovienum Position Question?
below content copy from
http://www.actionscript.org/forums/s....php3?p=665839

reason i am using CS3 , but the script 2.0 so i post 2 area,
hope more professionals can view it


__________________________________________________ _______________
hello, Scott_Euser, Noct,

I am so happy to receive reply from you both.

I have tried all the script you both post
_________________________________________
Test edition: Flash CS3

for Scott_Euser - like this?~
* a Empty Clip named "holder", _x = 0 ; _y=0;

Code:
var my_array:Array = new Array ("swf0.swf", "swf1.swf", "swf2.swf");

for (q=0;q<my_array.length;q++){
var loadListener:Object = new Object();
loadListener.onLoadInit = function(target_mc:MovieClip):Void {
holder["mc"+q]._x =100;};

var mcLoader:MovieClipLoader = new MovieClipLoader();
mcLoader.addListener(loadListener);

holder.createEmptyMovieClip("mc"+q, this.getNextHighestDepth());
mcLoader.loadClip(my_array[q], holder["mc"+q]);
}

// result is swf2.swf will only be loaded
// position fail
for Noct - like this?~

Code:
var loadListener:Object = new Object();
loadListener.onLoadInit = function(target_mc:MovieClip):Void {
target_mc._x = 30;
target_mc._y = 30;
};
var mcLoader:MovieClipLoader = new MovieClipLoader();
mcLoader.addListener(loadListener);
this.createEmptyMovieClip("holderClip", this.getNextHighestDepth());
mcLoader.loadClip("swf0.swf", holderClip);

// the clip holder will not be used in the above script?~.
// able position
for In_night(Me) - like this~
* a Empty Clip named "holder", _x = 0 ; _y=0;

Code:
loadMovie("swf0.swf",holder);
holder._x = 40;
holder._y = 50;
__________________________________________________ ___________

the 3 scripts are all cannot load the dynamic action in actionscript.
1) can i use "loadMovie()" instead of "loadMovieNum()"
- the external movie can be resize
- changed the position
- the action in external movie can be loaded in internal movie

maybe the answer in first is yes / no

if no, any method to insteal of what i say
also i have done an example with "loadMovieNum()"

Code:
loadMovieNum("swf0.swf",1);
loadMovieNum("swf1.swf",2);
loadMovieNum("swf2.swf",3);
this.onEnterFrame = function(){
_level1._x = 30;_level1._y = 30;
_level1._xscale=30;_level1._yscale=30;
_level2._x = 180;_level2._y = 120;
_level2._xscale=30;_level2._yscale=30;
_level3._x = 270;_level3._y = 230;
_level3._xscale=30;_level3._yscale=30;
}
hope any expert can give me opinions

sometime i am thinking "loadMovie is the same , is it the bugs in A. FLASH CS3???"

welcome to upload examples
or modify my examples

Loadmovie Works, Loadmovienum Doesn't
onClipEvent (load){
loadMovieNum("knut_kersse1.jpg", 1);
}
This works when attached to a MC.
Can I adjust the script and load the image from the main timeline?
something like:
_root.empty_mc.loadMovieNum("knut_kersse1.jpg", 1);
?

LoadMovie Vs LoadMovieNum Preloader Problem.
I've been using the snazzy preloader for a while now, but now I've come to a fork in the road, and it's forking got me baffled. The most annoying thing is I'm sure it's just a basic targetting problem.

The preloader works fine if the external .swf is loaded in by LoadMovieNum, but I tried placing it in on a lower layer in my main movie, hence the LoadMovie (into an empty MC container).

Could some kind soul have a looksee at the .fla and see what it is that I can't?

LoadMovie Vs LoadMovieNum Revisited...weird
Ok, I have read through the loadMovie vs loadMovieNum threads here, and haven't seen this particular problem...
I am trying to create a site that has a nice spot for banner ads. Done.
The banner ads will randomly rotate. Done.

The main site calls up several external swf's. 2 of the 3 load just fine.
The third-my display box for the banner ads-will load ok if I use loadMovieNum. But it loads in the wrong place, of course. So I would prefer to use loadMovie, so I can point the external swf at a specific target. When I do this, the content of my external swf does not show up.

The loadMovie and loadMovieNum functions are referencing the same exact external swf. It works with one, but not the other. What the h@#$?!?!?

Any thoughts, or do you want to see the fla's?

Chris

(many thanks to the many people on this forum who have answered my questions without even knowing about it....)

Loadmovie Works, Loadmovienum Doesn't
onClipEvent (load){
loadMovieNum("knut_kersse1.jpg", 1);
}
This works when attached to a MC.
Can I adjust the script and load the image from the main timeline?
something like:
_root.empty_mc.loadMovieNum("knut_kersse1.jpg", 1);
?

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