Defining Position Of Loaded Movie
I'm trying to define the position of the movie that i load. When i use the setproperties function , it loads the movie to the correct coordinates but it shifts the view of the flash movie to equal the X position of the movie. EXAMPLE: Load a 50x50 movie in a 100x100 at x=-25y=-25. Instead of showing me 100x100 at x=0 and the loaded movie at the right coordinates it will show me 100x100 movie starting at x=-25 position. ANY ANSWERS?? - If this is too confusing, just tell me how to load a movie at a set position.
THANKS
EMAANO
FlashKit > Flash Help > Flash ActionScript
Posted on: 03-01-2002, 03:37 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Loaded Movie Xy Position
Hi,
can i change the x and y positions of a loadedMovie onto level 1 without too much bother ?
Cheers
JugLugs
Loaded Movie Position
Hi,
Does anyone know if it's possible to control the position of a loaded movie other than moving it around its own scene?
Thanking you please!
jasinio
Position A Loaded Movie
I'm loading a movie using loadMovie(), but I can't control the coordiantes of where it is at. It always shows in the bottom-right corner. I have a blank mc called empty, and a button with the code:
Code:
on (release) {
empty._x=200;
empty._y=275;
empty.loadMovie("music.swf")}
What is wrong?
Possible To Position Loaded Movie?
Hi,
loadMovieNum("REtemplateFlash/2.swf", 10);
Obviously, this code loads '2.swf' to Level 10.
But is it possible to postion '2.swf' exactly where I want it by adding x, y coordinates? How would I do that? I've been searching for the answer for hours.
thanks so much [I know it's probably a dumb question for this forum, but I do have Flash 8 pro]
Can You Position A Loaded Movie?
I did
ActionScript Code:
loadMovieNum("blah.swf", 2);
can i position that movie?
like
ActionScript Code:
_level2._y = "100"
or something?
thanks!
Position Loaded Movie
..has this been asked before...
is this possible?
Code:
menu_holder.loadMovie("menu.swf");
menu_holder._x = Math.round((Stage.width/2)-(menu_holder._width/2));
menu_holder._y = Math.round((Stage.height/2)-(menu_holder._height/2));
//
//------------------------------------------- Tell it that when ever the borwser is resized to move this box so that it stays in the same spot.
menu_holder.onResize = function() {
menu_holder._x = Math.round((Stage.width/2)-(menu_holder._width/2));
menu_holder._y = Math.round((Stage.height/2)-(menu_holder._height/2));
};
Stage.addListener(box2);
menu_holder.onResize();
thx,
m.
Can You Position A Loaded Movie?
I did
ActionScript Code:
loadMovieNum("blah.swf", 2);
can i position that movie?
like
ActionScript Code:
_level2._y = "100"
or something?
thanks!
Going Mad, Setting Position 4 Loaded Movie
hiya,
am trying to import a .swf file into my movie,
and have got that bit working, but cannot seem to
get the bit that sets the x and y position to work.
i have looked at the tutoirial for this and still cant
seem to figure it out. the syntax seems a little different in mx too.
my code looks like this
loadMovieNum("test_movie.swf"), 1;
setProperty ("_level1", -x, "300");
setProperty ("_level1", -y, "300");
i have tried puttinh in and taking out the various _ and things' but cant get it to work? what am i mising?
going in sane
thanks thanks thanks
Control Of The Loaded Movie's Position
Let's suppose I have two movies.
The one is red.swf, and the other is blue.swf.
The size of the documents is the same(550 * 400) each other in width and height.
When the first movie is shown in a webpage, the page is all
red.
A few seconds later after the red.swf is loaded, the blue.swf would be loading because there is the next action in the 30th frame.
loadMovieNum("blue.swf", 1);
Then, the screen would be changed into all blue.
I want to control the position of the blue.swf, for example,
the X position is -250, and the Y position is 0, then
only the left half of the screen would be blue and the right
half still remain in red.
I can do this with movieClip, because we can control the position of the movieClip which is in the just loaded movie.
But what I want to do is to control the position of the blue.swf it self when it is loading.
Do you have any Ideas for this?
Position Of Movie Clip Loaded - Newbie
In Flash MX. I have an empty movie clip whose instance is "window". In the first frame, I have placed an action that states: window.loadMovie("images.swf");
When previewed, it works. I would like however for the loaded movie to fit in the middle of this empty clip. The clip's dimensions are: 500X400 pixels.
Can someone help me figure this out? I know the clip loads at 0,0 in the empty clip, can you modify the insertion point?
Many thanks,
Luke
Changing Position Of Movie Loaded With LoadMovieNum?
Hey i have a preloader that randomly loads a bg pic using loadMovieNum, but it currently puts the top left corner of the movie in the dead center of the main swf. Can someone tell me how i can move that to the top left (0,0) so the image fits in the frame?
Thanks!
Can A Loaded Swf Affect The Frame Position Of Main Movie ?
edit.....SORTED...AT LAST...here's the problem fixer...if anyone else has this problem of testing between a movie on their pc and an external swf on another domain...
System.security.allowInsecureDomain( "www.mysite.com" );
drop this in frame one...hey presto...
thanks all for your help....
the bungra
Hello everyone.....first time at this.
Here's the thing.
I have a main movie...(it's a music player...works from loading ext swfs..)
What I need to do is make the loaded swf affect the frame position of my main movie..the reason ?
When you click on a button it fires up an ext swf (song sample) and moves the frame position on the main movie to show the name of the track.....
The ext swfs will (if you leave them to play) load up the next swf....but this is not changing the name of the track...because I can't work it out.....
Thanks for your time all....
p.s. I have tried using the connection class...but to no avail as yet....
ta.
[MX] Defining Vars In Loaded External Flash File
Hey guys,
Just wondering if this actually works or not. Im writing some code and it doesnt seem to be working but other codes do work (like gotoAndPlay).
Sample code:
_root._level3.header = "2dgraphics";
Any help is appreciated!
Cheers
Defining/Re-defining Variable Value Based On Button Press?
I've got 50 buttons, each with an instance name of Example_1 thru Example_50.
I have a variable x whose value I would like to redefine based on the button pressed; i.e. Example_1 pressed, x = 1, Example_2 pressed x = 2, and so on.
Is there a way to do this that is more graceful than a button action for each button instance?
Thanks
Defining The Movie Edges
I apologize if this is ridiculously simple to answer; I created a movie that works fine in Flash Player, but in the browser window, the "edge" of the movie is not eliminated, i.e., if I move an object on or off stage, the object is not masked to the stage. I've tried searching on this but am getting lots of off-topic material and nothing that addresses this. Is there a way I can define exactly what is on screen and what is off?
Thanks
Defining The Center Point Of Your Movie
I have a movie that is 760 X 100. How do I define the center point? I want to be able to determine if the mouse is "x" amount to the left of the center point or "x" amount to the right of the center point, and the same thing with the y values(top and bottom).
Can anyone assist?
Thanks.
Defining Coordinates Of External Movie
hi,
i 've called a movie in my file but how to define coordinates??
like if i want to call it on x="400" and y="300"
i ve used:
loadMovieNum("my_movie.swf", 1);
thanks
Defining Start And End Of A Movie Clip
Hi,
For some time, I began to look to Flash with different eyes - I'm more a "Frontpage guy" with raw HTML, etc. ( my ranking in Flash is -1 )
Well, i found in the net a banner that types the text we want and stops. Meanwhile, I made in the project a movie clip with an image - it starts with alpha zero to alpha 100% - a very simple thing.
Now, I want it to run when the text reaches the end. How do I do it?
I include it in a new layer - result: it keeps running without showing the type text ( it's logical ).
Can someone give me a hand?
Regards,
Kepler
Reset Movie Clip X-position & Y-position Back To Original
Is there a command to reset x-position, y-position and rotation all at once...like reset command?...or would I have to find the original x-positions and y-positions to all elements and hardcode that back....EEEK!!
Many Thanks
Andrea
Defining Movie Clip Names At Runtime
Hello,
I'm trying to optermise the code commented out below into the code not commented, but it is currently not working. Is it possible to optermise the clip using the method im trying?
Code:
var mx = _xmouse;
var my = _ymouse;
var i = 0.6;
/*csfollow1._x += ( mx - csfollow1._x) * .06;
csfollow2._x += ( mx - csfollow2._x) * .07;
csfollow3._x += ( mx - csfollow3._x) * .08;
csfollow4._x += ( mx - csfollow4._x) * .09;
csfollow5._x += ( mx - csfollow5._x) * .1;
csfollow1._y += ( my - csfollow1._y) * .06;
csfollow2._y += ( my - csfollow2._y) * .07;
csfollow3._y += ( my - csfollow3._y) * .08;
csfollow4._y += ( my - csfollow4._y) * .09;
csfollow5._y += ( my - csfollow5._y) * .1;*/
while (i < 1) {
var current = "csfollow" +i;
current._x += ( mx - current._x) * i;
current._y += ( my - current._y) * i;
i+= .01;
}
Thanks
Problem Defining Masked Movie Boundaries.
Ok here is a link to the actual .fla file.
http://www.bradstrickland.com/cannon_game6.zip
The actionscript code is in frame five / ActionScript layer "Which is the top layer in the timeline".
My problem is this I have a empty movie clip called "mv_targetgrid" that is masked by a smaller movie clip "mv_gamemask".
"mv_targetgrid" is moved behind "mv_gamemask" and what I'm trying to do that the when the edges of "mv_targetgrid" meet the edges of "mv_gamemask" the movement function is halted.
Don't know if the is relevant but I thought it might help:
"mv_targetgrid" is then populated by a attachMovie script with one of three target movies.
target1_mv, target2_mv or target3_mv.
Someone was kind enough to point me in a direction with this code:
this code is in the actionscript layer in frame 5 at the bottom.
Code:
if (_root.mv_targetgrid._x>=_root.mv_gamemask._x) {
//stop
} else if (_root.mv_targetgrid._x+_root.mv_targetgrid._width<=_root.mv_gamemask._x+_root.mv_gamemask._width) {
//stop
}
if (_root.mv_targetgrid._y>=mv_gamemask._y) {
//stop
} else if (_root.mv_targetgrid._y+_root.mv_targetgrid._height<=_root.mv_gamemask._y+_root.mv_gamemask._height) {
//stop
}
and I can't seem to get it to work. It was suggested that the movies were not aligned to coordinates 0,0 "upperleft" Neither were, So I move both to 0,0 to get the script to work. It didn't. I think that the problem is that I don't understand how use it with my code.
I have questions about the //stop comments. What should I place there to stop?
The "mv_targetgrid" movie is moved by the below code.
This may be to much info but I thought more info is better that to little.
Code:
//these are the arrow controls for moving the target
//Begin cannon aiming code!
_root.btn_arrow_left.onPress = function() {
down = true;
smoothMove(mv_targetgrid, "_x", down, 10);
};
_root.btn_arrow_left.onRelease = function() {
down = false;
smoothMove(mv_targetgrid, "_x", down);
};
_root.btn_arrow_right.onPress = function() {
down = true;
smoothMove(mv_targetgrid, "_x", down, -10);
};
_root.btn_arrow_right.onRelease = function() {
down = false;
smoothMove(mv_targetgrid, "_x", down);
};
_root.btn_arrow_top.onPress = function() {
down = true;
smoothMove(mv_targetgrid, "_y", down, 10);
};
_root.btn_arrow_top.onRelease = function() {
down = false;
smoothMove(mv_targetgrid, "_y", down);
};
_root.btn_arrow_bottom.onPress = function() {
down = true;
smoothMove(mv_targetgrid, "_y", down, -10);
};
_root.btn_arrow_bottom.onRelease = function() {
down = false;
smoothMove(mv_targetgrid, "_y", down);
};
function smoothMove(mc, dir, down, inc) {
if (down) {
mc.onEnterFrame = function() {
mc[dir] += inc;
};
}
if (down == false) {
mc.onEnterFrame = null;
}
}
Defining Variables For Buttons For Next Movie To Load
Hi!
I´m planning to make a magazine in Flash, and I would have to load several pages of it in order. But I´d like to put the buttons forward and previous on the main movie and make then load each page in a container.
Is there a way to set variables for each page so the main movie "knows" what movie is loaded at the moment and what page it has to load next.
Mouse X Position To Control Movie Position?
Hi, my understanding of actionscript is very basic and I'd like some help with writing a very simple script. Basically the x position of the mouse should control the play position of a movie. Do I need something like an event handler (I'm not sure exactly what these do, but I've seen similar scripts that seem to use them).
Defining Dynamically Generated Movie Clip Mouse Events
i'm pretty new to flash, have been up and down tutorial sites for hours and hours and hours over the last week, and i just can't figure it out.
i'm trying to create a dynamic slide show (multiple variables such as jpg images, number of images in the gallery, size of images, etc loaded from an external txt file) with thumbnails and a main movie clip to load images into. i'd like to be able to define onPress, onRelease, onRollOver and onRollOut events for each dynamically generated thumbnail movie clip so i can fade the thumbnails in/out when a user moves their mouse over the thumbnail movie clips and load the appropriate image into the viewer when a user selects a thumbnail.
i set up my initial movie clip:
_root.attachMovie("thumbNailMC", "thumb0", 1);
_root.thumb0.thumbNum = 0;
_root.thumb0.enabled = true;
setProperty(_root.thumb0, _alpha, 50);
and make new movie clips depending upon how many images are in the gallery:
for (i = 1; i < totalImages; i++) {
_root.thumb0.duplicateMovieClip( "thumb" + i, i + 1);
}
for (i = 0; i < totalImages; i++) {
setProperty(_root["thumb" + i], _alpha, 50);
_root["thumb" + i].enabled = true;
setProperty(_root["thumb" + i], _visible, true);
//set variable for which thumbnail you're on
_root["thumb" + i].thumbNum = i;
//load thumbnail image
myMCL.loadClip("photos/thumb" + i + ".jpg", _root["thumb" + i]);
}
i would like to get the thumbnails to have an onPress event which loads the accompanying image into the main movie clip (hence the .thumbNum variable which i was thinking i could pass on to the movie clip loader
i've been able to assign values to variables using the following syntax:
setProperty(_root["thumb" + i], _x, startingXPos + (imageWidth + thumbnailSpacing) * i);
and have thoroughly tested my results. but i have yet to be able to modify any event functions/methods. flash hasn't thrown me any errors for the following syntax when placed in a for loop:
_root["thumb" + i].onPress = function() {
trace("onPress");
}
but it also doesn't seem to respond by actually producing an onPress event. i'm not sure if i'm doing something wrong with paths, scope, inheritance, methods, syntax or what. or maybe too much coffee and not enought sleep. any help would be GREATLY appreciated for this newbie.
How To Position A Loaded Swf?
I have encoded a video into a swf file with Flix. The encoded video is 276 x 300. I am loading it into my main flash movie (376 x 448) and would like to position it in the center.
How can specify this swf's position when loaded?
Thanks!
Position Of Loaded MC
My site, has a index.swf with an empty MC positioned on the left hand side,
My buttons load various different swf files into the empty mc called "loader"
works great as all the swf files fit exactly into the index.swf (as I made sure they were all the same size.
now however I would like to load some other (games) swfs which are a bit smaller, they load fine into the main index.swf but because they are smaller, they are not centered on the loader...
Is there a way to load them centrally into the "loader" MC?
Hope you understand....
How Do I Position A .swf Loaded Externally
Hi, I'm loading some external .swf movies into my main movie as menu items. It's all working great except that I can't seem to be able to position them without using an empty container. Is there any way of loadin an external .swf movie and giving it it's x y position without using containers?
How To Position Externally Loaded Swf?
I'm putting together a porfolio site of my video and DVD work, and since the images and video clips are pretty big, I am trying to load each one seperately with the loadMovie command.
The only way I can get the images to load in the appropriate place is by making the swf identical dimensions and adjusting the placement within it, so that when it loads into the main site, it is in the proper place.
My questions are: Does this make the exported swf bigger for each image? Is there a way to place it using actionscript so that I can make each image/video swf exaclty the dimansions of the pic/video?
My current script is:
on (press) {
loadMovieNum("IIT.swf",1);
}
Thanks,
Sara
Set X,Y Position For Loaded SWF File
I'm sure this question has been asked before, but I have been reading the forum and get seem to find the answer. (Yes I looked at the AS2 dictionary before I posted.) I'm trying to load an external SWF into my stage. I have entered X,Y, coordinates, but the external SWF loads at 0,0 I have attached the code I was trying. Any help would be appreciated. This code is on the button, should it be on the timeline? Thanks!
Attach Code
on (release) {
unloadMovie(1);
loadMovie("photos.swf", 2);
_level2._x=209;
_level2._y=454;
Position Of Loaded Jpg (Problem)
Last edited by manuk : 2002-09-14 at 12:26.
hi every one....
this is my problem:
i have a mc that is duplicated "N" times.
each copy of the mc load a jpg.
this works fine.
the problem is that flash allways load a jpg at rigth-bottom, not centered. does anyone knows some few lines of code to correct this problem (maybe, to center the jpg once it s loaded)
you could see the problem clearly here:
http://www.foto-grafica.org
How Can I Set The Position Of An External .SWF Loaded In A _level ?
Hi my friends,
I have a problem positioning an external .swf movie that contains scrolling text in another movie clip.
In the movie clip that I wanna place the external .swf there is a button that calls the .swf I've put this code but don't work.
Do you know how I can set the position of this .swf in the _level1 ???
on (release) {
loadMovie ("history.swf", 1);
_level1._x =+100.0;
_level1._y =+200.0;
}
NOTE:I've tried already the "trick" with the blank MovieClip than the _level1 but the text don't scroll.
I'm talking about Flash 5 Actionscript
Thanks, VAG.
How Can I Position An Externally Loaded .swf, Level 3?
I am loading an external .swf (level 3) while keeping the current .swf in the backgound. It works fine, but I need to move it up about 50 pixels. How do I set the exact position in the action script? All the suggestions I have seen on the forum don't seem to work for me and I can't find it in the manuals. I am not using onClipEvent, I am using loadMovieNum, script below. My stage is 800 x 400 pixels. I've been told that the .swf file need to fully load before giving the x y coordinates. I haven't been able to do this. I don't want it to visibly load, then jump on the page. I've tried these 3 scripts.
1. This first one is on the site now, and works, but I need to reposition it.
-----------------------------
loadMovieNum ("http://www.pageworksdesign.net/flash/portfolioMenu.swf", 3);
stop ();
2. I tried the next two, after suggestions from Macromedia forum.
------------------------------
loadMovieNum ("http://www.pageworksdesign.net/flash/portfolioMenu.swf", 3);
stop ();
_level3._x = 50;
_level3._y = 50;
3.
---------------------------------
loadMovieNum ("http://www.pageworksdesign.net/flash/portfolioMenu.swf", 3);
_level3._x = 50;
_level3._y = 50;
stop ();
-------------------------------------
Thanks,
Laurie
Position Of Loaded External .swf Movies
Hello,
i have a Flash Movie with 5 buttons. When a button is pressed an external .swf is loaded to an empty MC on level 3. When i click another button, another external .swf is loaded to the same empty MC and the last one replacing the last .swf. How to do this? I only know to load .swf to a level or to an empty MC as target not both.
And one more thing: what will be the position of the loaded .swf in the main Movie? How can i position or center the loaded .swf in the main movie?
Thanks,
Miguel
Change X, Y Position Of Loaded MC In Parent?
I am currently resizing a portion of my site and now I have to recenter about 60 clips. Is there a way to use a line of code in my parent clip to offset the x,y position by 20 pixels?
So if I have all the clips load to Level 8 would I be able to have a script in frame 1 that tells the mc to move to proper position?
Thanking you in advance.
Setting Position Of Loaded Swfs
I'm using the loadMovie command and rather than setting the child stage as the same dimensions as the mother stage to keep the loaded swf from showing up in the upper left hand corner, I'm trying to use the set X and Y position. That however doesn't seem to be working. Does anyone know how to position the loaded child swf to a specific location in the mother swf without having the stage size the same in both swfs? hope that made sense. Any help would be greatly appreciated!
Position An Externally Loaded Jpeg?
Hi,
I load a jpeg into a target mc.I re-usethis mc to load various jpegs.
NewsImage.loadMovie("news/" + TargetImage);
where target image is the name of a jpeg.
is there a way to position the jpeg after it loads? I want to center them in a window but they are different sizes.
I could do this with an external swf by putting code in it, but how with a jpeg?
thanks
mark
[Help Needed] How To Position A Loaded .swf In A Frame
hello. newbie here.
i wanna ask how to position a .swf into a position that i want.
i just know to use loadmovienum("url", 1);
and the .swf do loaded but its loaded onto position that i didnt want. anyone can help me ? so i can set x and y position for it.. or do u guys hav any suggestion besides x and y way of positioning. thankss a lot
Help With Mouse Position Inside Loaded SWF
Hi all,
I have a BIG swf project I've been working on for a while now its over 2k lines and everything works great (Thank You Very Much). However... I am now trying to take my app and load it into another swf as a wrapper but the problem is a recently added functionality that use keystrokes in conjunction with the mouse position. If I load my app at x=0 y=0 everything is fine. But if it is loaded into the wrapper at point x=75 and y=55 all of my (event.stageY and event.stageX) and other mouse points are off by 75,55.
Does anyone know of a way I can offset the stageY and stageX from within my wrapper swf so I don't have to go searching through the huge loaded swf file for any mouse references?
Thanks,
Mike
SWF Externally Loaded. Control Of Level X Y Position
Hello.
This is my first ever thread so go easy on me please.
I am trying to load an external swf into a level, The swf thta i am dealing with has actionscripted movement controls within it that respond to buttons within that swf.
My problem is that if I load the swf into a empty movie clip the actionscript on the buttons ceases to work. If i load it into level one the buttons work fine but the swf is in the top left corner as it should be.
Does anyone know how to make the actionscript work from within the targeted movie, or alternatively position the x and y coordinated of the level that i am loading the swf onto.
If that makes sense. thanks.
[AS2][CS3] How To Tween The Position Of Dynamically Loaded Movieclips
Hello guys,
I have a flash project where different movie clips are loaded dynamically according to the data retrieved from an XML file. And they are positioned one after the other as if they were in a menu. Inside those movieclips there is a button that when it's triggered unloads the movieclip so it disappears from the menu/list. Apart from that, I would like the rest of the attached movie clips to tween and move upwards, so the list keeps its form. I'm finding quite difficult figuring out this function. Any help would be kindly appreciated. I'm copying the code I'm using :
Code:
var numOfItems: Number;
var i: Number;
var xml:XML = new XML();
xml.ignoreWhite = true;
var home:MovieClip = this;
xml.onLoad = function()
{
var nodes = this.firstChild.childNodes;
numOfItems = nodes.length;
for(i=0;i<numOfItems; i ++)
{
trace ("oink"+i);
var t = home.attachMovie("itemline_mc","itemline_mc"+i,i+10, {_x:-310 , _y:((i+1)*20)-180});
t.itemlineproduct.text = nodes[i].attributes.product;
t.itemlinequantity.text = nodes[i].attributes.quantity;
t.itemlineproductprice.text = nodes[i].attributes.price;
t.deleteitem.onPress = function () { unloadMovie (this._parent);
};
}
xml.load("list.xml");
stop();
Thank you very much for your help
Setting The Position Of An Externally Loaded SWF File?
Ok so I’m making some progress in my Actionscript (well more like I’m finding code snippits) but I’m a little short on the mark.
I have a main SWF movie file that is loading in a child movie at various points on the timeline. When I push a button my movie jumps to a key frame and the file is loaded and plays. The code is blow:
Code:
stop ();
homeBttn.addEventListener(MouseEvent.CLICK, toFrame("home"));
sermonBttn.addEventListener(MouseEvent.CLICK, toFrame("sermon"));
pastorBttn.addEventListener(MouseEvent.CLICK, toFrame("pastor"));
historyBttn.addEventListener(MouseEvent.CLICK, toFrame("history"));
bibleBttn.addEventListener(MouseEvent.CLICK, toFrame("bible"));
calBttn.addEventListener(MouseEvent.CLICK, toFrame("cal"));
contactBttn.addEventListener(MouseEvent.CLICK, toFrame("contact"));
//Function to handle jumping to frame by frame lable
function toFrame(frameLable : String ) : Function{
var handler : Function = function( event : MouseEvent ) : void{
gotoAndPlay(frameLable);
}
return handler;
}
var myLoader:Loader = new Loader(); addChild(myLoader); var url:URLRequest = new URLRequest("doorsopen.swf");
Then at the key frames that I jump to I call:
Code:
myLoader.load(url);
My only problem is I can’t position the loaded movie in x, y, or z positioning I like. I want to make sure that it’s loaded above some elements of my movie and blow others.
Any assistance?
Thank,
Steven
Using Actionscript To Position A Dynamically Loaded Swf File Behind An Exsisting Mc O
Hi all,
I'm trying to get a dynamically loaded swf to load into an empty mc behind a particular mc on the stage. I used actionscript to create an empty movie clip using the createEmptyMovieClip command. But, how can i get it to create it, then load the external .swf into it behind a exsisting mc on the stage? Is this possible?
thank you,
Aaron
Check Playhead Position Of Dynamically Loaded Movieclip
I have received a swf containing a movie that should be used as intromovie.
So i want to load this movie into my site dynamically.
For users not wanting to see it there is a skip intro taking him or her to the starting page.
But now i want for users who watch the intromovie to take them to the starting page automatically after the movie has finished.
The problem is i don't know when the movie is finished.
Is there a way to check when the playhead has reached the end of a movieclip (dynamically loaded)? Or is there some other way to acomplish this?
Thanks for your help!
Jim
Using Actionscript To Position A Dynamically Loaded Swf File Behind An Exsisting Mc
Hi all,
I'm trying to get a dynamically loaded swf to load into an empty mc behind a particular mc on the stage. I used actionscript to create an empty movie clip using the createEmptyMovieClip command. But, how can i get it to create it, then load the external .swf into it behind a exsisting mc on the stage? Is this possible?
thank you,
Aaron
Using Actionscript To Position A Dynamically Loaded Swf File Behind An Exsisting Mc O
Hi all,
I'm trying to get a dynamically loaded swf to load into an empty mc behind a particular mc on the stage. I used actionscript to create an empty movie clip using the createEmptyMovieClip command. But, how can i get it to create it, then load the external .swf into it behind a exsisting mc on the stage? Is this possible?
thank you,
Aaron
Using Actionscript To Position A Dynamically Loaded Swf File Behind An Exsisting Mc O
Hi all,
I'm trying to get a dynamically loaded swf to load into an empty mc behind a particular mc on the stage. I used actionscript to create an empty movie clip using the createEmptyMovieClip command. But, how can i get it to create it, then load the external .swf into it behind a exsisting mc on the stage? Is this possible?
thank you,
Aaron
Using Actionscript To Position A Dynamically Loaded Swf File Behind An Exsisting Mc
Hi all,
I'm trying to get a dynamically loaded swf to load into an empty mc behind a particular mc on the stage. I used actionscript to create an empty movie clip using the createEmptyMovieClip command. But, how can i get it to create it, then load the external .swf into it behind a exsisting mc on the stage? Is this possible?
thank you,
Aaron
|