Positioning LoadMovieNum Object
Hi..
I have this problem where I should place the loaded video to a flash movie to a particular place. I have the line
loadMovieNum ("AnalogClock_4.swf", 1); and it works but it's located in the top-left corner.
How can I set the coordinates to that swf object?
thx
FlashKit > Flash Help > Flash Newbies
Posted on: 02-15-2006, 04:58 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Positioning Swf When LoadMovieNum?
Does anyone knows if its possible to decide the position of a movie when you load it into another movie with the command loadMovieNum???
Positioning Swf When LoadMovieNum?
Does anyone knows if its possible to decide the position of a movie when you load it into another movie with the command loadMovieNum???
Positioning A LoadMovieNum?
I've got two files the first one is a simple animation actionscript that checks for the screen resolution being used and is viewed at 100% by 100% and then I want that file to load in my main site...
when I use loadMovie and load it into a blank movie clip it acts all wierd my functions that make lines grow dissapear and all the buttons act as if they are not on the top depth because they change your cursor but nothing happens when clicked.
So I was wondering if use loadMovieNum and load the movie into a depth like say 30, how can I reposition the _x and _y values so it centers on the screen? when I refer to it as _level30._x it doesnt seem to work, is there any way?
otherwise, what the hell do you think is happening with loading it into a clip, I've never had that wierd problem.
[F8] Positioning A LoadMovieNum?
Hi,
Just want to position a external SWF using loadMovieNum.
Code on frame
Quote:
loadMovieNum("house_types.swf", 1);
Thanks in advance.
Positioning Of .swf After LoadMovieNum Into Level1
i have made a menu screen that loads .swf files into another level.
on (release) {
loadMovieNum ("eyescan2.swf", 1);
tellTarget (_root) {
gotoAndStop (movie);
}
}
i have a problem though...
when the .swf file loads in, it loads with the top left hand corner in the very top left hand corner of the screen.
i have tried setting it's property values, but when you load a .swf like this, it loses it's name, so the menu movie has no idea which .swf i am referring to!
I have used loadMovie ("eyescan.swf", movie) before, where it is loaded into a target. but if i use this method, i have to redo most of the scripting in the games i've made.
Is there any way i can use setProperty ("",_name, ), or soemthing like that?
Please help!!!!
Help With LoadMovieNum Positioning And Other External Swf Scripts
Hello everyone,
I'm working on a website in Flash 8, but I have encountered a problem.
I decided to cut down the file size [and hence the load time] by including some external swfs containing the various categories of the site. I had no problem making MC holders which load external data, but when I include the MC in my website itself I had some problems.
At first, I used the loadMovie script on the MC but that doesn't work, so I experimented with the loadMovieNum script, loading it into a level, which works, but now I have the movie positioned on the left corner instead of the MC loader box which I created.
Is there a way I can use loadMovieNum script, so that it can be perfectly positioned in the box I made?
Also, I tried out some behaviors on the box symbol, which when pressed or rolled over by the cursor, will load the external swf. The swf will load but you will need to position the centre of the box symbol to where you want the swf to appear. Is there a way I can use behaviours instead, but without the button-like events, so its loaded without anything causing it to load?
Please help! I've been killing my brain looking for a solution to this.
Thanks.
BTW: if anyone did happen to ask the same question as I am asking, and its mentioned on this forum, please send me a link to the thread. I might have no found it, I did check before.
Using LoadMovieNum Or LoadMovie & Positioning The Loaded Movie?
I'm trying to load a .swf into another flash file I am creating and have a couple questions.
Should I be using LoadMovieNum or LoadMovie?
Also, I am able to get the movie to load, but I want to position it so it is at _y=100. Can someone tell me how to do this?
Thank you!
Ralative Positioning A Flash Object
Hi there.
I'm having a problem with positioning a flash object in my site.
The flash object is sitting inside a div element with a relative position. The problem is the flash object is sometimes placed inside the div and sometimes align to the left end of the browser. I think it gut something to do with the swf file loading duration (maybe loaded after the page is already displayed.
You can see an example here:
http://ledesign.co.il/?q=he/node/36
comparing to this
http://ledesign.co.il/?q=en/node/33
Have someone experience this kind of troubles before ? Any ideas how to fix that issue ?
Browser Resize And Object Positioning
I'm currently attempting to make a function that repositions all my display objects on the screen anytime the user resizes the browser. At the moment I only have two objects created, a .FLV and a .PNG
I'm using BulkLoader for all my loading needs. My dilemma is this:
The .FLV repositions as intended perfectly when the browser is resized, but the .PNG will not reposition from it's original coordinates. I receive no errors when I debug. Any thoughts?
Code:
package port {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.net.*;
import br.com.stimuli.loading.*;
import caurina.transitions.*;
public class Portfolio extends MovieClip {
var loader : BulkLoader = new BulkLoader("main-site");
var bgVideo : Video = new Video(737, 600);
var rememberIcon : Bitmap = new Bitmap();
public function Portfolio() {
stage.align = StageAlign.TOP_LEFT;
stage.scaleMode = StageScaleMode.NO_SCALE;
this.stage.addEventListener(Event.RESIZE, resizeHandler);
loader.add("background.flv", {type:"video", pausedAtStart:true});
loader.add("iconRemember.png", {id:"remember"});
loader.addEventListener(BulkLoader.COMPLETE, allLoaded);
loader.start();
}
public function allLoaded(e:Event):void {
bgVideo.x = (stage.stageWidth / 2) - (bgVideo.width / 2);
bgVideo.y = (stage.stageHeight / 2) - (bgVideo.height / 2);
var bgNS:NetStream = loader.getNetStream("background.flv");
bgVideo.attachNetStream(bgNS);
bgVideo.smoothing = true;
addChild(bgVideo);
bgNS.resume();
var rememberIcon : Bitmap = loader.getBitmap("remember")
rememberIcon.x = (stage.stageWidth / 2) - (rememberIcon.width / 2);
rememberIcon.y = (stage.stageHeight / 2) - (rememberIcon.height / 2);
addChild(rememberIcon);
}
public function resizeHandler(event:Event):void {
bgVideo.x = (stage.stageWidth / 2) - (bgVideo.width / 2);
bgVideo.y = (stage.stageHeight / 2) - (bgVideo.height / 2);
rememberIcon.x = (stage.stageWidth / 2) - (rememberIcon.width / 2);
rememberIcon.y = (stage.stageHeight / 2) - (rememberIcon.height / 2);
}
}
}
Choosing The Point For Object Positioning?
Hello
In the property of each object, I can set the X and Y position.
This coordinate seems to be for the upper_left corner of the object.
Is it possible to apply the X and Y position to the bottom right corner (for example) ?
Thanks
gz
Intervals Using Relative Object Positioning?
Hey guys check this code out:
ActionScript Code:
function moveClip() { if (myClip_mc._x < 400) { // the _x value is less than 400, so increase _x by 1px, // and let setInterval execute this function again myClip_mc._x += 1; // move the clip 1 px to the right } else { // the _x value is greater than 400, // so stop the setInterval from executing anymore clearInterval(myInterval); } // end "if myClip_mc._x < 400" } // end moveClip()// do this when "myButton_btn" is clickedmyButton_btn.onPress = function() { // execute the "moveClip" function every 10 milliseconds myInterval = setInterval(moveClip, 5);} // end myButton_btn.onPress()
I was wondering, is there a way to change if (myClip_mc._x < 400) { to a relative position of myClip_mc.
I mean, i want myClip_mc to move 100px from it's current position everytime the button is clicked. Instead of only moving it
if it's x position is less than 400.
So it needs to somehow check it's current position everytime the button is clicked and then make it shift from that position.
I know this is a long winded way of doing it but i want it this way so i can use it for something different.
Any ideas?
Browser Resize And Object Positioning
I'm currently attempting to make a function that repositions all my display objects on the screen anytime the user resizes the browser. At the moment I only have two objects created, a .FLV and a .PNG
I'm using BulkLoader for all my loading needs. My dilemma is this:
The .FLV repositions as intended perfectly when the browser is resized, but the .PNG will not reposition from it's original coordinates. I receive no errors when I debug. Any thoughts?
Code:
package port {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.net.*;
import br.com.stimuli.loading.*;
import caurina.transitions.*;
public class Portfolio extends MovieClip {
var loader : BulkLoader = new BulkLoader("main-site");
var bgVideo : Video = new Video(737, 600);
var rememberIcon : Bitmap = new Bitmap();
public function Portfolio() {
stage.align = StageAlign.TOP_LEFT;
stage.scaleMode = StageScaleMode.NO_SCALE;
this.stage.addEventListener(Event.RESIZE, resizeHandler);
loader.add("background.flv", {type:"video", pausedAtStart:true});
loader.add("iconRemember.png", {id:"remember"});
loader.addEventListener(BulkLoader.COMPLETE, allLoaded);
loader.start();
}
public function allLoaded(e:Event):void {
bgVideo.x = (stage.stageWidth / 2) - (bgVideo.width / 2);
bgVideo.y = (stage.stageHeight / 2) - (bgVideo.height / 2);
var bgNS:NetStream = loader.getNetStream("background.flv");
bgVideo.attachNetStream(bgNS);
bgVideo.smoothing = true;
addChild(bgVideo);
bgNS.resume();
var rememberIcon : Bitmap = loader.getBitmap("remember")
rememberIcon.x = (stage.stageWidth / 2) - (rememberIcon.width / 2);
rememberIcon.y = (stage.stageHeight / 2) - (rememberIcon.height / 2);
addChild(rememberIcon);
}
public function resizeHandler(event:Event):void {
bgVideo.x = (stage.stageWidth / 2) - (bgVideo.width / 2);
bgVideo.y = (stage.stageHeight / 2) - (bgVideo.height / 2);
rememberIcon.x = (stage.stageWidth / 2) - (rememberIcon.width / 2);
rememberIcon.y = (stage.stageHeight / 2) - (rememberIcon.height / 2);
}
}
}
Stage Object Movie Positioning In Corner
hello,
does anyone have any advice on this. I am trying to make it so that when a fullscreen movie loads a movie clip is positioned in the top left corner of the full screen flash site.
This code is on the first frame of my flash movie.
It works when i resize the window but not when the movie loads for the first time in an existing window. meaning some poeple cannot see the menu bar .
does this code work on all browsers?
ActionScript Code:
fscommand("allowscale", "false");
Stage.scaleMode = "showALL";
Stage.originalWidth = Stage.Width;
Stage.originalHeight = Stage.Height;
Stage.scaleMode = "noScale";
Stage.getLeft = function() {
return -1*(this.width-this.originalWidth)/2;
};
Stage.getTop = function() {
return -1*(this.height-this.originalHeight)/2;
};
Stage.addListener(titleblocknav);
Stage.addListener(preloader);
titleblocknav.onResize = function() {
this._x = Stage.getLeft()+50;
this._y = Stage.getTop()+25;
};
preloader.onResize = function() {
this._x = Stage.getLeft()+330;
this._y = Stage.getTop()+48;
};
can anyone spot any mistakes?
Thanks
Michael
Positioning Objects, And Object Registration Coordinates.
Thanks for taking the time to read my query.
Here's my problem...
I import png's to my library, and align everything in place where I desire it to be on the mainstage. Next, I distribute each object to it's own respective layer - each object maintaining it's respective X and Y coordinates. I then create a new movie clip, cutting the objects and from the main-stage area, pasting them into the new movie clip. Once I setup my tweening, alpha level etc, I have a perfectly working movie clip that I then place in a single frame of the timeline on the mainstage area.
However, when I preview the animation, the movie clip inside the single frame of the main timeline is not positioned in the center of the stage, but elsewhere resulting in the movie being clipped.
Logically, it would make sense that the original alignment established in setting up the main stage would remain consistent when cut and pasted "in place" to a new movieclip, sadly that's not the case. Instead of the boundaries of the main stage remaining visible when editing a movie, they disappear and the positional coordinates of the content become subjective (or so it appears).
I really have no idea how to fully explain it, but it seems like flash wasn't designed to have things done in a logical manner, but adheres to a system that has become familiar over time, which requires the users to learn to adapt to that system. There seems to be virtually no documentation that I've been able to find that explains the details of "registration" in a clear and concise manner.
Any helps would be great appreciated.
Thanks.
Positioning An Object With The "info" Panel
Hey y'all!
I have a problem with positioning an object in the upper left corner (x=0 and y=0) of the stage.
When I do this using the "info" panel, the object, instead of going to the upper left corner of the stage, will place itself in the exact middle of the stage.
Does any one know why this is and how I can solve it? Is there a way to solve it using ActionScript?
Thanx,
Maurits
Positioning An Object With The "info" Panel
Hey y'all!
I have a problem with positioning an object in the upper left corner (x=0 and y=0) of the stage.
When I do this using the "info" panel, the object, instead of going to the upper left corner of the stage, will place itself in the exact middle of the stage.
Does any one know why this is and how I can solve it? Is there a way to solve it using ActionScript?
Thanx,
Maurits
Using GET In LoadMovieNum
Can someone tell me the correct syntax for load a movie with sending variable using GET or POST. Is this correct?
loadMovieNum ("movie.swf", 10, "GET");
LoadMovieNum - Help
Code:
on (release) {
loadMovieNum ("contact.swf", 1);
}
How can i change this code so it gives the movie an instance name and puts it in a certain place in my movie?
Loadmovienum?
Okay, so I have two swf files, one for my site layout and controls and the other for my background selector. I'm loading the background.swf file into my main swf file using this code:
loadMovie ("http://www.p-e-c-o.com/Pbackdrops.swf", MCholder);
All I'm doing is loading the swf file into a MC holder and then positioning the MC holder in a layer BELOW the other layers so that the backgrounds are behind my controls. BUT when it loads the swf background file it covers up everything as you can see here:
http://www.p-e-c-o.com/PIntro.htm
Thanks for the help....
LoadMovieNum Help
I created my site in flash and like the way it turned out. However, I wanted to break the site up into smaller swf files and use the LoadMovieNum action to load the separate movies. I set the "Home" button up like this for the main page
on (release) {
loadMovieNum ("/main.swf", 0);}
and for the other pages such as "News", I want them to load on level 1 so I did this
on (release) {
loadMovieNum ("/news.swf", 1);}
This works fine when I test the movie in flash, however, when I publish the main.swf movie into an html page, clicking on the buttons does nothing. What am I doing wrong?
LoadMovieNum
I have a loadMovieNum which loads onto level21 which is fine but when it loads the new swf the animation plays slow noticeable slow . There is no other animation playing in the main movie when this is loaded . The animation in _level20 is unloaded when _level21 is loaded . I cant seem to figue this out . And I cant have the animation look slow when it loads does anyone no what is going wrong .
LoadMovieNum (how X And Y?)
I have a button going to this frame that has this as:
stop ();
loadMovieNum ("news.swf", 1, _x=200, _y=205);
The swf loaded on top of the main movie just fine, but not where I want it. So I added the x and y and now it doesn't load at all.
So, how do I get this to load where I want it? I've been reading over Moocks' AS book (man that's heavy stuff) because I'm determined to learn. I'm just stuck right now.
Thanks in advance, RJ.
LoadMovieNum
I can't get the news.swf to position where I want it. The usr will get to the frame containing this as:
stop ();
loadMovieNum ("news.swf", 1); //the preceeding code displays the swf fine, just in the wrong position. I want it to be at: x=200 y=205.
I've tried this:
stop ();
loadMovieNum ("news.swf", 1);
['_x=200_y=205'];
and this:
stop ();
loadMovieNum ("news.swf", 1, _x=200, _y=205); //but neither work.
Just can't figure it out. I'm learning AS with moocks' and FOE's books because I'm tired of slow-loading, giant sites. But man, it's hard for me.
LoadMovienum
Hi,
How can I dissable the buttons in the _root movie when Im loading a movie into level 1.
I mean, when Im loading the movie in level 1 I can still see the mouse over effect when scroling abow the buttons in the _root movie.
Please help, any one.
dc
LoadmovieNum
I need to Load a movie with loadmovieNum then tell it to go to a specified frame... all in the (onRelease)
How would i do this??
thanx
LoadMovieNum
hey guys,
I know about loading movies into different levels, I have a site that loads the swf's into a MC. But now all my loading on each page doesn't work, someone told me I should put LoadMovieNum action on? what will that do? the example is at _
http://www.curious1.com
on buttons 03 and 04
thanks,
tom
Loadmovienum - New To This Plz Help
hi
thanks for reading my query
i am new to using loadmovie can u tell me
1. a movie - home is loaded at level1 of other movie - main
now if i want to refer to the variable pc contained in the loaded movie home through itself only do i need to use _level1.pc or can i just use pc
2.to make a preloader for the loaded movie do all varibale and movie clip references need to be precede by _level
like _level1.loader etc
3.is there anything more which needs to be learnt or kept in mind while using load movie
please help i will be really thankful for ur help
harnoor
LoadMovienum......?
Hi yall!
Here's the deal:
I've built my movie's naviagation. It's small and i want this to load quickly.
I want then to have the larger content load into this movie (with their own pre-loaders) when you click a button.
I think i can do this using the LoadMovie script. I have tried loading a movie into level 1 of my navigation movie... and it works . But it loaded into it at the top left of the movie.
Can i instruct it to load into a specific place on level 1 of the navigation movie? Give it x and y values maybe?
1. Can you tell me how to do this?
2. Is this the best way to get the desired effect i am after?
(BTW i am an actionscript novice and using MX in OSX)
Cheers!
GUI W/ LoadMovieNum
Greetings,
I'm working on a GUI program and I've run across a problem. Basically, the main menu is the initial .swf to be loaded. Then, the way I was thinking to create the sub-screens was to have each sub-screen be a separate .swf file loaded with the loadMovieNum function. However, some of the sub-screens require that other ones be finished before they are. So, I need to pass variables back and forth between the movies. This would be easy if I loaded them into different levels. However, I want each new sub-screen to "overwrite" then menu. So:
1. How can I pass a number of variables from screen to screen? Can this xfer be facilitated with a text file so that all screens would be able to access the pertinent informaion? What about an XML file?
2. Can an entire level be set to fade its alpha channel somehow? I would like to fade out the main menu when the sub-screen opens rather than just have it disappear and the new screen appear. I tried creating a for loop that would incrementally decrease the alpha channel of the objects on the main menu and a timer loop that would decrease that alpha by 10 every 100 milliseconds, but there was no visible effect.
Any help would be appreciated!
-- Dave
LoadMovieNum
Does anyone know how to load an external swf into exact coordinantes within the main movie using LoadMovieNum???
LoadMovieNum
Some flash guru person out there....HELP! I am creating my first real website.
Why when I program a button to
loadMovieNum ("currentissue.swf", 0);
thisworks but when I try and do
loadMovieNum ("currentissue.html", 0);
this doesn't work.
Anyone have any helpful hints in this area????
Your help is greatly appreciated.
Cheri
LoadMovieNum
I have two movies that I want my site to load in specific frames... "Trophy.swf" and "puzzle.swf"
loadMovieNum("trophy.swf", 1); works fine
but when I try to do the same for the other movie it doesnt work? what should the second loadMovieNum command look like?
LoadMovieNum
How in the world do you prototype loadMovieNum?? MovieClip.prototype.loadMovie works fine but i can't figure out the syntax for loadMovieNum (loadVariablesNum also). I've tred loadMovieNum.prototype, Object.prototype.loadMovieNum and just plain loadMovieNum.
If you have any insight it'd be greatly appreciated...
Code:
//example for loadMovie not loadMovieNum which is what i need
MovieClip.prototype.loadMovie_copy = MovieClip.prototype.loadMovie
MovieClip.prototype.loadMovie = function() {
trace("Origional loadMovie Called");
}
//this'll load the movie
this.loadMovie_copy("something.swf");
//call this and your movie won't be loaded
this.loadMovie("something.swf");
Thanks...
Help On Loadmovienum
first of all hello.. im new to this forum and i will introduce myself..
im 20 years old, i work as a web designer for an italian IT firm..
i have a problem..
in an empty movie clip, in the first frame, i entered the following actions..
loadmovienum (sound.swf' , 1)
imported it in the main stage.. gave it an instance name of sound (as the external swf i am importing includes a sound loop and spectrum analyzer..)and assigned the behavior of movie clip, and gave the movie clip the following actions..
onclipeven(load)
setproperty (_x "-100"):
i tried to load the swf as a target
so in the empty movie clip named sound iisntead of loadmovienum i entered
loadmovie(sound.swf "_root.mc"")
this usually allows u set the position of the imported external file in the main timeline withotu setting properties.. but.. still.. there is no way i can tell the imported swf to sit where i tell him too...
how the heck can i solve this problem!!
thank you in advance.
p.s.
the actions i wrote in this message were without hyphens, commas, etc... i wrote them in a hurry to give the idea.. they are not like that in flash, and also.. the sound plays, the movie loads.. but i cannot place the spectrum analyzer where i want.
LoadMovieNum
I have applied the following code to a button within an swf file to load a second movie, while keeping the original movie on-screen. The new movie (to be loaded9 is much smaller than the original. Can i manipulate the code to say where he new movie is to be placed within the old one.
loadMovieNum ("mmovie1.swf", 1);
thanking you all in advance, Mr.C
Loadmovienum?
Thanks for thinking....
I am not good with the loadmovienumber tried already but then I have absolutely nothing in the screen.
With loadmovie i have the chatbox (it is a php written chatbox) but as I said not working. When I enter direct the chat.swf it works but when I go to the movie.swf (where the chat must come up in the mc) I only have the picture but can not do any chat)
Can you give me a exampe of the loadmovienumber; (i am a old men)
this is what I have tried. But what the mean with the level I have no idea.
loadMovieNum(chat.swf, 2);
thanks
LoadMovieNum
How do I position an swf after it has been load using loadMovieNum???
LoadMovieNum (please Help)
I have three swfs.
one.swf
two.swf
three.swf
I would like to load three.swf into two.swf using loadMovieNum when a button in one.swf is clicked. Can this be done??
If so what is the code
Thanks in advance
LoadMovieNum
hi
i use flash mx.
i have 2 swf files :
main.swf
menu.swf
menu.swf is inside foler named " new folder "
i used this action to open the menu.swf:
loadMovieNum("newfolder/menu.swf",0);
but it doesn't work why ??
of course if they are in the same directory it will work:
loadMovieNum("menu.swf",0);
please tell the write way.
many thanks
LoadMovieNum & IE 6
I have a flash movie that loads a bunch of other movies depending on the variables they pass. This works in IE for Mac but doesn't work for IE 6 for Windows? Is this a pathing thing? Has anyone run into anything like this? I've been fighting this thing all day I would appreciate any help.
Why Not LoadMovieNum()
I've ever been listen that we shouldn't use loadMovieNum() and I never realized why is that so?
Can someone explain it to me? And whats the difference bettween(how the **** we write this.?) it and loadMovie()?
LoadMovieNum Help
i have a movie on level 0 that loads another swf into level 15...i want this movie to load another movie into level 0 and go to a certain label in another scene within this new movie...the movie gets loaded fine but doesnt go to the specified label and the movie in level 15 disappears...here is the code for the button...
on (release) {
loadMovieNum("best_practices.swf", 0);
_level0.gotoAndPlay("tennis game", "tennis start");
}
i cant seem to get this to work...any help would be appreciated...
LoadMovieNum
I have a start movie and five swf movies I am trying to load into the start movie...
I am getting this error and dont know what it means or what to do to fix this...
Scene=Scene 1, Layer=frameActions, Frame=1: Line 1: Wrong number of parameters; loadMovieNum requires between 2 and 3.
loadMovieNum("section_1.swf,1");
Scene=Scene 1, Layer=buttons, Frame=1: Line 1: Statement must appear within on handler
_level1.gotoAndPlay("on");
Scene=Scene 1, Layer=buttons, Frame=1: Line 2: Statement must appear within on handler
_level2.gotoAndPlay("off");
Scene=Scene 1, Layer=buttons, Frame=1: Line 3: Statement must appear within on handler
_level3.gotoAndPlay("off");
Scene=Scene 1, Layer=buttons, Frame=1: Line 4: Statement must appear within on handler
_level4.gotoAndPlay("off");
Scene=Scene 1, Layer=buttons, Frame=1: Line 5: Statement must appear within on handler
_level1.gotoAndPlay("off");
Scene=Scene 1, Layer=buttons, Frame=1: Line 1: Statement must appear within on handler
_level1.gotoAndPlay("off");
Scene=Scene 1, Layer=buttons, Frame=1: Line 2: Statement must appear within on handler
_level2.gotoAndPlay("on");
Scene=Scene 1, Layer=buttons, Frame=1: Line 3: Statement must appear within on handler
_level3.gotoAndPlay("off");
Scene=Scene 1, Layer=buttons, Frame=1: Line 4: Statement must appear within on handler
_level4.gotoAndPlay("off");
Scene=Scene 1, Layer=buttons, Frame=1: Line 5: Statement must appear within on handler
_level1.gotoAndPlay("off");
Scene=Scene 1, Layer=buttons, Frame=1: Line 1: Statement must appear within on handler
_level1.gotoAndPlay("off");
Scene=Scene 1, Layer=buttons, Frame=1: Line 2: Statement must appear within on handler
_level2.gotoAndPlay("off");
Scene=Scene 1, Layer=buttons, Frame=1: Line 3: Statement must appear within on handler
_level3.gotoAndPlay("on");
Scene=Scene 1, Layer=buttons, Frame=1: Line 4: Statement must appear within on handler
_level4.gotoAndPlay("off");
Scene=Scene 1, Layer=buttons, Frame=1: Line 5: Statement must appear within on handler
_level1.gotoAndPlay("off");
Scene=Scene 1, Layer=buttons, Frame=1: Line 1: Statement must appear within on handler
_level1.gotoAndPlay("off");
Scene=Scene 1, Layer=buttons, Frame=1: Line 2: Statement must appear within on handler
_level2.gotoAndPlay("off");
Scene=Scene 1, Layer=buttons, Frame=1: Line 3: Statement must appear within on handler
_level3.gotoAndPlay("off");
Scene=Scene 1, Layer=buttons, Frame=1: Line 4: Statement must appear within on handler
_level4.gotoAndPlay("on");
Scene=Scene 1, Layer=buttons, Frame=1: Line 5: Statement must appear within on handler
_level1.gotoAndPlay("off");
Scene=Scene 1, Layer=buttons, Frame=1: Line 1: Statement must appear within on handler
_level1.gotoAndPlay("off");
Scene=Scene 1, Layer=buttons, Frame=1: Line 2: Statement must appear within on handler
_level2.gotoAndPlay("off");
Scene=Scene 1, Layer=buttons, Frame=1: Line 3: Statement must appear within on handler
_level3.gotoAndPlay("off");
Scene=Scene 1, Layer=buttons, Frame=1: Line 4: Statement must appear within on handler
_level4.gotoAndPlay("off");
Scene=Scene 1, Layer=buttons, Frame=1: Line 5: Statement must appear within on handler
_level1.gotoAndPlay("on");
Scene=Scene 1, Layer=frameActions, Frame=2: Line 1: Wrong number of parameters; loadMovieNum requires between 2 and 3.
loadMovieNum("section_2.swf,2");
Scene=Scene 1, Layer=frameActions, Frame=3: Line 1: Wrong number of parameters; loadMovieNum requires between 2 and 3.
loadMovieNum("section_3.swf,3");
Scene=Scene 1, Layer=frameActions, Frame=4: Line 1: Wrong number of parameters; loadMovieNum requires between 2 and 3.
loadMovieNum("section_4.swf,4");
Scene=Scene 1, Layer=frameActions, Frame=5: Line 1: Wrong number of parameters; loadMovieNum requires between 2 and 3.
loadMovieNum("section_5.swf,5");
I have uploaded the start.fla, and the five other movies...
to my site..
http://www.sonic.net/~iharper/Flash/
could someone look at them to see what I am doing wrong
LoadMovieNum
hi,
I loaded a movie via loadmovienum in a MC(at level1).
Even if i position the MC on level0, the loaded movie isn't positioned. It is always on x: 0 y: 0 .
How should you position a loaded movie ?
thx
kGP
Loadmovienum Help
Hi
frame 1
loadMovieNum("livro.swf",5);
frame2
_root.total = _level5.getBytesTotal();
_root.loaded = _level5.getBytesLoaded();
frame3
gotoandplay(2);
the output of that is:
total = 0
loaded = NaN
could anybody show me where is my mistake? I am tring to build a preloader, but i canīt get the bytes loaded and the total bytes of the swf that i am loading...
Help With Loadmovienum
k, this should be easy.
on (release) {
loadMovieNum("News.swf", 2);
}
it loads great but how do i specify where it loads, like x,y position?
thanks for any help
LoadmovieNum
ok i want to load this movie
on (release) {
LoadMovieNum("st.swf", 0);
}
but i want it to start at the "Scene 5" wat do i do..
i tried gotoAndPlay but it doesnt work..
any help would be great.
cheers
|