Load Movie In Place
Hi! i have to load an external movie, but it load in the stage in a place that i dont want, i wanted more to the left and down... i can´t modify the external movie because is omplex so i want to give the load movie instructions to make the movie appears in an specificate place with actions script. Thanks for your help!
FlashKit > Flash Help > Flash MX
Posted on: 07-17-2003, 02:58 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
How To Load A Movie To Specific Place?
Hello - I am a Flash 5 user. What I'm trying to do is to load a separate Menu movie into my 'home' movie. The Menu movie is about 80 wide by 225 long. I want it to load into the upper right corner of the Home movie, which is 550 pix long and 390 wide. For various reasons I want to load it there in the current dimensions, rather than expanding the Menu movie to 550 px and moving the Menu MC to its right corner. Make sense? Is there anyway to load a movie into another and specify the coordinates/place you want it to load to in the lower movie? Thanks for any help -
jon cook
Play A Movie In Reverse Than Load A New Movie In It's Place
I have an index.fla that is opening an external nav.fla.
From the nav.fla I call back to the index.fla --> on(release) play the _root backwards.
THAT WORKS GREAT!
::inside my nav.fla::
**************************************
this.home_mc.onRollOver = function () {
home_mc.gotoAndPlay(2);
}
this.home_mc.onRelease = function():Void{
_root.onEnterFrame = playBackwards;
}
function playBackwards():Void{
this.gotoAndStop(this._currentframe - 1);
}
**************************************
HOWEVER, what I'd like to do after it unloads (plays reverse to frame 1) is load another movie in it's place (the movie corresponding to the button you just pressed)
i've tried this:
:inside my nav.fla::
**************************************
this.home_mc.onRollOver = function () {
home_mc.gotoAndPlay(2);
}
this.home_mc.onRelease = function():Void{
_root.onEnterFrame = playBackwards;
loadMovieNum("about.swf", 0);
}
function playBackwards():Void{
this.gotoAndStop(this._currentframe - 1);
}
**************************************
however it stops the reverse and just loads the new movie (about.swf).
Any Ideas? Thanks in advance!
here are the index , about and nav fla's.
LOAD MOVIE IN LEVEL 2 AND SPECIFIC PLACE
Please help me !!
I have to load one movie (that have a drag lens effect) This effect of lens only works if the movie is load in a another level.
I have to place this movie in a specific place of the main movie . How can I do it .
I allready try to load into a empty movieclip located in the pleace that I want . But because is in the level (0) the Drag Lens effect does not works
HELP PLEASE !!!!!!!!!!!!!!!!!!!!
See you
Ricardo
How Can I Load An Image To This Specific Place In My Movie.
How can I load an image to this specific place in my movie.
Code:
_root.navigation.main.map.mapPicture
Here is some extra information about the image:
Code:
name = mahio005.jpg
path = /content/images/maps/mahio/mahio005.jpg
Width = 1674.0
Height = 450.0
X = -480.4
Y = -224.9
[F8] How To Load A Movie A Specifik Place In Another Movie?
Don't have much experience with scripting!!
I have a movie - my website - consisting of 7 scenes.
In the first scene I want a little animation I've made to appear in the left bottom corner. I think I found out how I can get my mainmovie to load the animation, but how do I tell it exactly WHERE to appear??
If there's a tutorial some where or an easier way to solve my problem, I'm listening!!
For Info: the animation I've made, is consisting of a movieclip with som video implemented.
Tnx!
Janne
How To Load A Movie Clip When An Picture Is Moved In A Specific Place On The Stage?
Hi!
I have an image that I can move on the screen and I want it to fade out and also play a movie clip when it gets in the point I want.
Next is the code I used n some ifs but they don't work. I tryed through them to load the movie, but no nada! Nothing happens! Does anyone knows how to do this?
___________________________________________
The code (img is a movie clip containing the image):
with (img) {
initx = _x;
inity = _y;
top = _y-600;
bottom = _y+600;
left = _x-600;
right = _x+600;
}
img.onPress = function() {
startDrag(img, false, left, top, right, bottom);
if (img._x==-117 & img._y==-104) {
this.enter_mc.gotoAndStop("on");
}
}
img.onRelease = function() {
stopDrag();
if (img._x==-117 & img._y==-104) {
this.enter_mc.gotoAndPlay("on");
}
}
How To Load Data From One Place To Other Place
Hello Friends
Can any one help me how to move Some files Such as .JPEG,.MP3,.Swf Files from one directpry to the other directory by Renaming
Throug Flash as a Front end
Plz let me know soon
Paste In Place Between Movie Clips Is Not In Place Re The Stage
Hi,
I realize that pasting in place between movie clips is referening the registration point in each separate movie clip and that is why they don't align to the stage properly. So is there any way to turn this off?
Can I make my shapes align to the document stage size no matter what movie clip I'm in? Also, can the paste in place be made to paste in place always relative to the stage?
Thanks,
Stan
How To Load An External Swf In A Certain Place....
hey for example i create a rectangle how can i load an external swf inside of it........the real questoin is how to looad an external swf like if it was a picture or something so that i can put it in the place that i want
Load Xml Pieces In There Place
Hi ALL!
Im trying to figure out how to get my xml in its locations as maped in the jpg below. Ive read alot about xml and actionscripting but Im just not positive how to get it in its locations.
Do I load it in a text field apon its instance name? I need some help.
Im a graphic artist and code isnt my specialty. Any help would be really apreciated. Even willing to trade mediums.
Thanks
Using A Place Holder To Load Outside Files
Okay I have a new all flash site coming out soon, and i wanted to know if anyone has a way to create a place holder, that will call out on the database to load a certain swf file. Basically i have this main index and at the bottom i want a separate swf file (radio bar)
to be preloaded and finally loaded into the main movie clip scene. I just want to know how to do this, I haven't really seen anything like this in the tutorials, so any help is appreciated, thanks
Simp
How To Load External Swf In The Exact Place?
Hi, (Flash MX 2004)
just new to this forum but I guess I will get hooked to it.
I bought a template website and I understand pretty much all of the AS by now that they use. But I would like to decrease the file size so I wanted to load things externally. Here's a layout:
Main Timeline:
page1
movieclips of all kinds plus a thumbnail scrollbar to load some other
movieclips inside page1.
page2
page3
page4
code on the buttons inside the thumbnail scrollbar:
on (rollOver) {
gotoAndPlay(2);
}
on (rollOut) {
gotoAndPlay(11);
}
on (release) {
_parent._parent._parent._parent.pic.gotoAndStop("q 3");
}
I get what they mean, no problem (although I don't quite understand this _parent thing but it will have to do with the hierarchy for sure)
"q3" is a frame lable refering to frame 3 from the MC with instance name "pic". So far I got it..
But should I adapt this code to load an external swf from the button or should I add some code on the frame labled "q3" in order my MC that I want to load externally here?
And how do I get it on the right place?
Should I unload the MC also to see the next one when pressing another button on the scrollbar?
What would be the most flexible solution?
My knowledge of AS isn't very high but I can always try.
who can help me out?
cheers,
EL Davido.
Load Image And URL To Place On Button From XML?
Is this possible?
I am doing a site that needs to be easily updateable, and therefore it loads external images that can be replaced.
3 buttons each load an image which correspond to a slide which moves up onRollOver, and down onRollOut. I know these images can be loaded from an xml file, but can a URL be loaded aswell and assigned to the onRelease function of the button?
Script:
ActionScript Code:
stop();
main.loadMovie("mainslide.swf");
btn_slide1.btn_slide1_img.loadMovie("img/btn1.jpg")
btn_slide2.btn_slide2_img.loadMovie("img/btn2.jpg")
btn_slide3.btn_slide3_img.loadMovie("img/btn3.jpg")
slide_mc.slide1.loadMovie("img/img1.jpg")
slide_mc.slide2.loadMovie("img/img2.jpg")
slide_mc.slide3.loadMovie("img/img3.jpg")
slide_mc.slide1._y = 450
slide_mc.slide2._y = 450
slide_mc.slide3._y = 450
btn_slide1.onRollOver = function() {
this.gotoAndPlay(2);
tweenSlide(slide_mc.slide1, mx.transitions.easing.Strong.easeOut, slide_mc.slide1._y, 0);
slide_mc.slide1.swapDepths(100);
};
btn_slide1.onRollOut = function() {
this.gotoAndPlay(this._totalframes-this._currentframe+1);
tweenSlide(slide_mc.slide1, mx.transitions.easing.Strong.easeIn, slide_mc.slide1._y, 450);
};
btn_slide2.onRollOver = function() {
this.gotoAndPlay(2);
slide_mc.slide2.swapDepths(100);
tweenSlide(slide_mc.slide2, mx.transitions.easing.Strong.easeOut, slide_mc.slide2._y, 0);
};
btn_slide2.onRollOut = function() {
this.gotoAndPlay(this._totalframes-this._currentframe+1);
tweenSlide(slide_mc.slide2, mx.transitions.easing.Strong.easeIn, slide_mc.slide2._y, 450);
};
btn_slide3.onRollOver = function() {
this.gotoAndPlay(2);
slide_mc.slide3.swapDepths(100);
tweenSlide(slide_mc.slide3, mx.transitions.easing.Strong.easeOut, slide_mc.slide3._y, 0);
};
btn_slide3.onRollOut = function() {
this.gotoAndPlay(this._totalframes-this._currentframe+1);
tweenSlide(slide_mc.slide3, mx.transitions.easing.Strong.easeIn, slide_mc.slide3._y, 450);
};
btn_slide1.onRelease = function() {
getURL("http://www.kirupa.com", "_blank");
};
btn_slide2.onRelease = function() {
getURL("http://www.kirupa.com", "_blank");
};
btn_slide3.onRelease = function() {
getURL("http://www.kirupa.com", "_blank");
};
function tweenSlide(mc, easeType, by, ey) {
var begin = by;
var end = ey;
var time = 20;
slideTween = new mx.transitions.Tween(mc, "_y", easeType, begin, end, time);
}
Hope you can help me out
On Click Continue To End Of Current Swf Then Load New Swf In Its Place ?
Ok. Here is what I am looking to do. I want to have a background template that NEVER changes and has a menu that is part of the background that also NEVER changes. I am wondering if there is a script that would load an swf on top of the background, wait for the user to click a link on the menu, then continue playing the current swf after which the clicked link would load a new swf in its place. I have been trying to fiure this out on my own for way too long! Thanks a lot for your help and for even taking the time to read thus far.
External Swfs Load In Wrong Place
Hi yerr. so i use loadMovie(); to load an external swf to a movie clip that already exists in my main movie. I put this movie clip in the place that I want the swf to load, but when the swf loads it loads below and too the right of where I want it! How do I solve this?
Load Images Via XML And Place On Stage Horizontally.
Alright folks. A while back I got some help with making a movie clip draggable. I've got that working without any issues. However, I'm loading in some images via XML.
Each of these images will be placed within the draggable movieclip called imagecontainer_mc. I want to create a large horizontal image with each one placed next to each other. The user can drag through them instead of scrolling horizontally.
Here's an example of how the site will look with static images.
http://www.defiancevisual.com/flashtest01.swf
I've got the XML in my flash document, and I've got loops that trace the image location and widths back to me.
http://www.defiancevisual.com/gallery/ is my XML.
I'm stuck when it comes to image placement. I think my approach to creating a movie clip and tossing an image in it all within imagecontainer_mc isn't working. Could anyone point me in the right direction?
Code:
#include "lmc_tween.as"
//Make the stage fluid
Stage.align = 'TL';
Stage.scaleMode = 'noScale';
//Initialize image container
imagecontainer_mc._x = 0;
imagecontainer_mc._y = 0;
//imagecontainer_mc._y = ((Stage.height / 2) - (imagecontainer_mc._height / 2));
//Initialize menu items
logo_mc._y = 0;
logo_mc._x = 0;
navigation_mc._x = Stage.width - navigation_mc._width;
navigation_mc._y = 0;
music_mc._x = Stage.width - music_mc._width;
music_mc._y = Stage.height - music_mc._height;
tagline_mc._x = 0;
tagline_mc._y = Stage.height - tagline_mc._height;
//Place the items accordingly on resize
sizeListener = new Object();
sizeListener.onResize = function() {
imagecontainer_mc.tween("_y", ((Stage.height / 2) - (imagecontainer_mc._height / 2)), 1, "easeInOutExpo");
navigation_mc._x = Stage.width - navigation_mc._width;
music_mc._x = Stage.width - music_mc._width;
music_mc._y = Stage.height - music_mc._height;
tagline_mc._y = Stage.height - tagline_mc._height;
};
Stage.addListener(sizeListener);
//Set the variables of the drag physics
decel = .8;
ratio = .5;
padding = 100; //in pixels
var dragX:Number;
var dragY:Number;
//Keep the horizontal drag within the bounds of the stage
MovieClip.prototype.checkBounds = function () {
if (this._x <= Stage.width - imagecontainer_mc._width - (Stage.width - padding)) {
this._x = Stage.width - imagecontainer_mc._width - (Stage.width - padding);
}
if (this._x >= 0 + (Stage.width-padding)) {
this._x = 0 + (Stage.width-padding);
}
if (this._y >= Stage.height - padding) {
this._y = Stage.height - padding;
}
if (this._y <= 0 - (imagecontainer_mc._height - padding)) {
this._y = 0 - (imagecontainer_mc._height - padding);
}
};
imagecontainer_mc.onEnterFrame = function () {
if (!drag) {
this._x += xspeed *= decel;
this._y += yspeed *= decel;
} else {
x = this._x;
this._x = this._parent._xmouse - dragX;
y = this._y;
this._y = this._parent._ymouse - dragY;
}
this.checkBounds ();
};
imagecontainer_mc.onPress = function () {
dragX = this._xmouse;
dragY = this._ymouse;
drag = true;
};
imagecontainer_mc.onRelease = imagecontainer_mc.onReleaseOutside = function () {
drag = false;
xspeed = (this._x - x) * ratio;
yspeed = (this._y - y) * ratio;
this.checkBounds ();
};
oldx = _root._xmouse;
oldy = _root._ymouse;
function loadXML(loaded) {
if (loaded) {
albumsNode = this.firstChild.childNodes;
albumtotal = albumsNode.length;
albums = [];
//initialize p
p = 0;
for (a=0; a<albumtotal; a++) {
albums[a] = this.firstChild.childNodes[a].attributes.title;
//trace(albums[a]);
imagesNode = this.firstChild.childNodes[a].childNodes;
imagestotal = imagesNode.length;
imageurl = [];
imagewidth = [];
for (i=0; i<imagestotal; i++) {
imageurl[i] = this.firstChild.childNodes[a].childNodes[i].attributes.url;
imagewidth[i] = this.firstChild.childNodes[a].childNodes[i].attributes.width;
//trace(imagewidth[i]);
image();
}
}
} else {
trace("There was an error loading the file.");
}
}
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load("http://www.defiancevisual.com/gallery/");
function image() {
if (loaded == filesize) {
picturemcname = "image_mc" + i;
picture = imagecontainer_mc.createEmptyMovieClip(picturemcname, i);
picture.loadMovie(imageurl[i]);
//p = number(imagewidth[i]) * -1;
p = p + number(imagewidth[i]);
trace(p);
imagecontainer_mc.picturemcname._x = p;
}
}
Am I approaching this wrong?
External Swfs Load In Wrong Place
Hi yerr. so i use loadMovie(); to load an external swf to a movie clip that already exists in my main movie. I put this movie clip in the place that I want the swf to load, but when the swf loads it loads below and too the right of where I want it! How do I solve this?
How To Place A Movie?
when i load a movie into my main swf usin(loadMovie), how i can load it to the position that i want to????
and in this code loadMovie(...,depth) what is the depth for??
Place, Rotate And Check If The Place Is Free
hi,
I want develope a mini game like:
www.medienanfall.de/mix.swf
most important thing is in this game to place the elements in a free space so I have to check if the place is free or full. another problem is if I found a free place for the card I have the possibilty to rotate the card but only if the places on left,right,top or bottom are free. I believe this is the most diffulcult thing in my application.
I hope I could explain it with my terrible english.
I am looking for some tuts or inspirations. could somebody tell me
where I can find somthing similar?
Best Way To Place Movie Clip?
Hello,
I have a flash movie which contains a movie clip, lets call it 'animate1'.
When the user clicks a button, I want to place a copy of this movie clip at X,Y. (where x,y will be whatever coords are in variables).
Is there a nice way to dupe the movie clip, give it instance name and place at x,y?
Thanks
How To Place The Loaded Movie....
How can I place a loaded movie inside a movieclip using the load movie comand. It loads but even when I move the movie clip around the movie still loads in the upper left corner....?
Movie Clip Place ?
I have movieclip (menu),so I need to place it to the center of my page.
I saw thread "Movie Clip positioning" .so there was a sample for "how to place MC to the center of STAGE" by CyanB. I need the same but "place MC to the center of the PAGE,html page, it must be like in resizeble window.
Hope u understand what i meen
Thanks in advance
How Do I Remove A Movie And Put One In The Same Place?
I have searched the forums on this and read a few tips, but as a newbie I am still no nearer to getting it right!
I've managed to play my scene, and get a movie to play in the correct place within the scene, (external swf triggered from hit point on timeline)
but I cannot seem to get rid of this movie and replace it with another movie placed in the identical same place on the scene, I'm using a button, and when pressed, it brings up the next movie, but it looks smaller and it's not in the correct place and the first movie is still there.
ps movie to me means SWF files.
Please help
Thanks in advance.
Jim
Help My Flash Movie Goes All Over The Place
In the main movie several separate movie are loaded.
When the main movie is loaded and when you go to the portfolio section, you can choose graphic design for instance. At that stage a new movie is downloaded on top of the main movie. When a user clicks on one of the button at the bottom to go to another scene in the main movie (during the download of the second movie) the main movie goes beserk. The playhed goes through the whole movie, ignoring all stops.
Is there someone who can help me with this problem. You can check out my site at www.artvaark-design.com
Putting Movie In Place
bn = "_root.tri" add n;
duplicateMovieClip ("_root.tri", bn, n);
setProperty (bn, _x, Number(getproperty(_root.John.Henry, _x))+250);
setProperty (bn, _y, Number(getproperty(_root.John.Henry, _y))+250);
n = Number(n)+1;
set (bn add ":n", n);
This is pretty much straight from the duplicatemovieclip example in flash 5. Only the variables have changed.
What I have is a movie instance traveling on a motion guide (John.Henry) that I extract _x & _y from to put the other movie clip on. And all it does right now is follow the motion guide as if it were designed inside the original instance.
What I need it to do is get the x,y and paste the movie in those coordinates, and let it play til it dies and continue on.
What am I doing wrong here. Or what else can I be doing?
thanks,
Martin
I don't suffer from insanity.
I enjoy every minute of it.
Sliding Movie Clips From One Place To Another
Greetings,
Could anyone help? I would like to to drag one movie clip from one location to another location on the stage. For example, a card game. When I press a button, I would like to drag a movie clip of a card and drag it to another location on the stage. This action would look like someone is dealing a card.
I was thinking of having two movie clips. One would be a movie clip with a graphic of a card. The other on would be a movie clip with just a border. This one is a place holder.
Then, when someone press a button, it would slide one movie clip until it is on the second movie clip location. I am looking for the code.
Thank you very much.
Problem, With Movie Loading Into Right Place
ok I hae gotten the movie to load on top of another movie, just fine, but here is wat happens, the movie clip that is loaded on top is never where I put the blank movie clip, it is always up and to the left, any idea's???
Late
Raster
How Do I Place A Movie Into Another As A Menu Item?
So, I did a tutorial which allows me to create a drop down submenu but when placing it (by importing)it crates a layer in the timeline and when I play the menu it goes hop wild all over the place, looping itself repeatedly. How can I get this import movie to behave in a pre-existing movie? Many thanks, budgee
Jumping From Movie To Specific Place In Another
My main FLA file contains the scenes: news, clients, process, projects and contacts. on the "projects" scene I have a sweet scroller (Joshual Weitzman's) that contains various html links out to various project pages. I want to keep them as separate FLA files so that they can be worked on and uploaded independently. This also allows them to be loaded only when requested.
Here is the question: I have links on the general "projects" page go out to the specific project page. I have figured out how to open it in either a new window or in the same window. The way to do I depends on the following:
I ether need a close window command in the new window (which I cant figure out), or be able to go "back" to a specific place in the previous flash movie. Ideally, I would like to have the buttons be consistent in the specific project window. IE, take you directly to the "news" page, the "projects" page or any other part of the original movie. AS you can expect, it always takes you back to the beginning of the first movie file.
Here is an example of where I am on the project: http://www.em-arc.com/index2.html (note: only the "AllPro Landscaping" link is functional prom the "projects" page)
Any thoughts are appreciated. Keep in mind, I'm a newbie. Thanks!
Scott
Returning To A Specific Place In A Movie
Is there a way to go back to a Flash page at the same point it was left at? I want to go to an another Flash page - of my own making - from a getURL link on the Flash page and when they go back end up at the same place in the originating Flash page - loaded submovie within that movie. Would this be a 'senddata' on the first side and then the Flash 'back' button would use that data?
Help Please? Movie Reloads - I Loose My Place
Please Help, I keep going in circles but no solution.
I have made a menu in falsh that is embeded in a template that was used to generate the web pages for a site. The menu simulates great in Flash, but in a server, when a page is selected in the menu, the new page is loaded, (which is what I desired), but the flash movie also gets reloaded and thus the variable I passed indicating what frame should advance to is ignored and the menu displays same as the first option.
I have been reading about passing variables using javascript to flash, but it seems that these are ignored as the new page loads.
Can someone shine any light on what I am doing wrong, and how to do it right?
Also, I would like to have some links at the bottom of the htm page for navigation. When those are selected, and the new page is loaded, I would like for the menu to indicate the page being viewed, so I am trying to also pass the variable to flash using javascript, but again, the menu keeps showing the frames as if the variable was not passed.
Your help is much appreciated!
What To Use In Place Of _root. When A Movie Is Loaded In Another
I have several movies that use _root. such as:
_root.createEmptyMovieClip
or
_root._xmouse+dragOffsetx;
I need to load these clips into another movie. Those movies' _root. is no longer _root.
What can I use in the place of _root. in these cases?
I tried to path to these files but it didn't work:
example:
_root.myMovieClip._xmouse+dragOffsetx;
?
Thanks
Help - My Movie's In The Wrong Place On The Stage
I've just spent 8 hrs on my first flash website and the whole thing seems to have suddenly moved to the right of the stage and when I test the scene, I can only see the left hand side of it...
I'm sure it's a really stupid thing I've done, but it's driving me mad as I can't find anything about it on the help anywhere - can anyone tell me if I can reposition it?
Many thanks,
Carole
Random Clips In A Movie In A Set Place
I’m using flash mx to make this.
I have made the following movie and I wanted the 4 movie clips inside to display randomly (snail, worm, hot air balloon and airplane)
Here’s a link to the swf file if this helps visualise it better.
I was using a script suggested by someone on the site, but I realised that it wouldn’t work in the way I wanted as it just pulled the clips from the library and didn’t put them in the right place within the movie.
I wanted the clips to appear randomly at different time but at set places on the screen.
Can you think of any way I can do this?
Help Getting URL And Returning To The Last Place In Flash Movie
Hello,
I am working with a flash template. On one page, I inserted a button that successfully uses getURL. But when hit "back", it returns you to the flash home page instead of the page where the button is. How can I fix this? Thanks in advance.
cklass
Go To Different Place In Timeline Movie On Rollover
I'm using Flash MX and the project I have, loops continuously and I need the viewer to be able to rollover the swf and have it go to a specific point in the timeline and stop there. Once the viewer moves off of the swf I need it to continue the loop where it left off. However if the viewer rolls over then clicks it would stay at that point in the timeline instead of going to the loop. Right now I have it working with (on release) but that isn't the ideal way we would like it to work. I have attached the .fla so people can view what I've done to this point. Thans
Making A Movie Stay In Place
i'm using basic button stuff to make an animation occur during a mouse over, is there a way to make the animation stay in place after the mouse is no longer over the button? in other words, the keep the animation from returning to frame one? any help would be appreciated.
Randomly Place A Movie Clip ; Help Please.
I can't get this array to select my MovieClips and put them on the stage.
If I use the commented code it works to place one MC but I would like it to select MCs randomly and place them on the stage. I have the linkage set up but I keep getting errors. Can someone help me?
//var logo:logo_four;
var insMc1:MovieClip = new logo_four();
var insMc2:MovieClip = new logo_one();
var insMc3:MovieClip = new logo_two();
var logo:Array = [insMc1, insMc2, insMc3];
for(var i:Number = 0; i < 6; i++)
{
logo = new logo[Math.floor(Math.random() * logo.length)];
//logo = new logo_four();
//addChild(logo);
}
Can You Place Buttons In A Movie Clip
Hi,
I'm making a slightly complex website in Flash 8 and I put my entire menu bar into a movie clip to make it easier to animate (it opens & closes). However, I'm having trouble getting the buttons in the movie clip to work. Is there a way to put working buttons in a movie clip? I added the actionscript onto its own layer in the following format:
god_btn.onRollOver = function(){
arrow1_mc._visible = true;
}
god_btn.onRollOut = function(){
arrow1_mc._visible = false;
}
I gave the button an instance name of god_btn. What am I doing wrong?
Pick And Place Movie Clip
Hi y'all. I'm a complete beginer at flash and was wondering if i could get some help.
I'm designing a simple game in cs3 with actionscript 2.0 and i would like to get a second movie clip trailing my "hero" but only when it passes over it (or collects it), and again drop it when the hero comes in contact with another movie clip.
I can get an object to trail, but thats as far as i've got. i cant think how to only trail once the object has been collected by the "hero".
code (from a web example) - this is placed in the actions file of the trailing object;
onClipEvent(enterFrame){
diffx = _root.herod._x - this._x ;
diffy = _root.herod._y - this._y ;
_x += diffx/5 ;
_y += diffy/5 ;
}
this is placed in the player action file "herod"
diffx = _root._xspeed - this._x ;
diffy = _root._yspeed - this._y ;
_x += diffx/5 ;
_y += diffy/5 ;
i have played around with setting boolean statements and hit tests but to no avail, as i'm not sure which statements should be in which clip action file.
Any help would be hugely apriciated.
Thanks for looking....
.swf File In The Right Place In The Movie Window?
I've made a 3d sphere( globe) animation in swift3d and it's now in .swf format but how can i put it in my intro on the right place? How can i get it in there ( with import it's going to the wrong place) But if i have to put all the frames in the right place i'll be busy for years.
Do you know a faster way and how i can put it in the right place in the window?
thnx MZZL Chooku
X Y Value To Place An External Movie In To Scene..
I'm having problems setting my external movie load inside the Scene i've put this:
Code:
loadMovie("folio.swf", _root.contents);
to load movie but i need to put this small 200 x 185 movie in to 600 x 500 very upperhand side.
i've tried to use the x and y values but it didn't worked at all
I'm dumb at actionscripts.
any suggestion ? thanks.
How To Place Movie Clip In The Top Like In Www.marxmedia.net
Hi guys ,maybe a stupid question,but im trying to learn :(
how to place movie clip in the top like in http://www.marxmedia.net
but i want to place an external clip which is called for example menu.swf///
???
Anyone?
p.s. i have a movie clip which is called cover=>and it stays in the middle of a full browsed flash page...
so i want to put another movie clip(external) in the top of the page.
|