ActionScript 1/2 :: Load Movie From Library?
May 30, 2009
is it possible to load a mc from the library on to the stage with specific coordinates, without uning a mc to load it in to? Simply something like this:
load the menuMc on the stage at x = 200 and y = 300;
i called the identifier menuMcAs
View 28 Replies
Similar Posts:
Dec 13, 2009
I am trying to load a movieclip from the library to another movie clip( when the first movieclip is loaded), I have written this code, but for one part I am stuck
I don't know what type of event should I use?by the way I am pretty new to action script , so it even maybe a totally wrong way of doing so
stop();
var holder:MovieClip = new MovieClip();
stage.addChild( holder );
if(currentFrame == totalFrames)
[Code].....
View 2 Replies
Mar 1, 2010
So the question is - can I use loadMovie(); to load movie clip in a container from library not external swf? If I can, how should I do it, but if not - how can I still load it then?
View 7 Replies
Aug 3, 2009
I have a Movieclip with a base name called 'movie_main' and class name as 'Main_mc'I am trying to load the movie from the library into a contanier that also loads in a tooltip.The container is called 'holder'this is the script I am working withvar movie_main:Main_mc = Main_mc();holder.addChild(movie_main);problem is when it loads in other parts of my menu are missed placed.Question:is this the correct script I should use?? Is there issues with loading in more than 1 movieclip into one contanier?
View 7 Replies
Nov 3, 2006
I would like to load a skin directly into my main movie so that I can attach it's pieces to create pages and such. But the problem is once you load a movie It doesn't let you access the objects in the library.
View 2 Replies
Jun 7, 2010
I'm creating a site and when a particular button in the navigation is clicked I want to load the corresponding "page" movie clip onto the stage and remove any other "page" that is currently loaded. I would also like to have a nice alpha fade between them. I've been searching around and can't find anything. I know this is simple like I need a loader container and I need to export for ActionScript the movie clips I want to load into the container.
View 8 Replies
Nov 28, 2010
I know that to add a blue circle movie clip from the library the code would be:
var newCircle:BlueCircle = new BlueCircle(); this.addChild(newCircle); In my application I have several different movie clips (circles, squares, rectangles etc). Is there any way to make the "BlueCircle" part a variable? For example...
var theShape= BlueCircle;
var newShape:theShape = new theShape();
this.addChild(newShape);
haha. Even as I write that I know it's really wrong.
View 2 Replies
Feb 11, 2010
How would i go about loading a variable into a movie clip and have it pull different graphics from my library at different spots in the main timeline?
View 12 Replies
Apr 12, 2007
I have 5 different MovieClips in the library, and a main movieclip on stage.
I must load the MCS from the library randonly on the main MC from time to time. How can I do it?
View 1 Replies
Oct 20, 2004
I want to load a random movie clip from the library to an empty clip on the stage called (bg_graphics). the clips in the library are called (green, blue, yellow).
View 5 Replies
Jul 13, 2009
I am trying to load, unload and load again the same movie clip from library.
View 7 Replies
Jul 13, 2009
I am trying to load, unload and load again the same movie clip from library. How could i do it?
View 2 Replies
Aug 3, 2009
I have a Movieclip with a base name called 'movie_main' and class name as 'Main_mc'
I am trying to load the movie from the library into a contanier that also loads in a tooltip. The container is called 'holder'
View 1 Replies
Aug 3, 2009
I have a Movieclip with a base name called 'movie_main' and class name as 'Main_mc' I am trying to load the movie from the library into a contanier that also loads in a tooltip. The container is called 'holder' this is the script I am working with
[Code]...
View 3 Replies
Jul 6, 2009
i am trying to load a swf from my library... i already gave it the linkage name of:"1". But still cant load it to my moviclip container called:mc_area_1 This same container is inside another movie clip called: mc_movies_areas
here is the code that i am using:
Code:
_root.mc_movies_area.mc_area_1.attachMovie("1","n1",_root.mc_movies_area.getNextHighestDepth());
View 9 Replies
Feb 25, 2004
i'm having this weird pb i don't understand, could someone help me? i'm driving crazy here..what i do is load a movie from a movie but the 2nd movie load a variable. when i test the 2nd movie, it loads its variable and displays it as wanted, but when i load it from the 1st movie, the 2nd movie loads but seem not to load anymore its variable..
[Code]...
View 11 Replies
Feb 20, 2009
Im trying to load random from the library 10 mc's. Which is not a problem.
But once the loaded movie finishes playing would like to unload it and to load another random another movie and so on.
View 4 Replies
May 10, 2009
I'm trying to load png images from library. My code is:
Code:
var deactiveShow_mc:deactiveShow_id = new deactiveShow_id(0,0);
trace(deactiveShow_mc);
addChild(deactiveShow_mc);
deactiveShow_mc.x=goster_btn.x;
[code]....
this code gives following error:
Code:
1067: Implicit coercion of a value of type deactiveShow_id to an unrelated type flash.display:DisplayObject.
I tried this.addChild(deactiveShow_mc) and addChild(MovieClip(deactiveShow_mc) and addChild(BitmapData(deactiveShow_mc) but it gives various errors. How can I fix this?
View 6 Replies
May 30, 2009
can load an external jpg into a movie clip which is in the library?The reason I am asking is because I have a transition between loading images and the transition has several instances of one movie clip being used for different tweens.
The problem is that when the image loads, all instances have to be in frame 1 otherwise the jpg won't load into them and because I am using tweens the instances are on all different frame numbers.
I want to be able to load the jpg into this movie clip but in the library so it updates all of the instances of this movie clip on the stage and further down the timeline.
View 1 Replies
Dec 20, 2010
Can i load an external swf to the library?
I do not want to load the swf to a movieclip that is on the stage.
I would like to load a bunch of swf files to the library and later on bring them to the stage.
View 3 Replies
Apr 21, 2009
Im trying to figure out how to load an mc from the library with a button. the button is working but not the ease..[code]
View 2 Replies
May 10, 2010
I've figured out dynamically loading an external FLV, but I'd like to be able to do it from my library.
View 1 Replies
Jan 2, 2011
I have a swf that I load into another swf and add to a Sprite from the library. The Sprite is enabled for drag/drop so I can move the loaded swf and that part works fine . On the imported swf is a scrollbar it no longer works. I
[Code]...
View 9 Replies
May 31, 2011
I have 2 SWF, one of them (let's call it Resources.swf), that contains several symbols (most of them MovieClips) on its library, but, none of them are added into the stage ( the timeline contains only one empty frame),and then, the other swf (Main.swf), where I need to import some of the symbols from the other SWF.I have been looking around, and searching, but all the info that I saw, and tried, imports the symbols from the stage/timeline using things like:[code]If not,do I have modify my Resources.swf to work this out or do I have other alternatives?
View 3 Replies
Jun 12, 2009
I have a symbol in a .swf's library, with a linkage name of "Pana". The Pana symbol is just a 100 frame animation that I would like to have timeline control over in Flex. So how can I load the .swf and then add the Pana symbol to the display list and control it's timeline?
View 2 Replies
Sep 17, 2009
I just want to ask if is it possible to load a movieclip from the library using the Loader class together with the URLRequest and then use gotoAndPlay method?
Do i need to use the String?
View 3 Replies
Dec 17, 2009
I'm creating a little movie player. i have 3 buttons on stage that when clicked i want to load a movie clip from the library into my "container" MC already on stage. basically i want it so when i click on a button it changes the first and only array item to the one i want to load. therefore replacing the existing one. (so there is only one in the container at a time).[code]...
View 9 Replies
Dec 18, 2009
How can we dynamically load a image in as2.0 from library
View 1 Replies
Sep 17, 2009
I just want to ask if is it possible to load a movieclip from the library using the Loader class together with the URLRequest and then use gotoAndPlay method?
View 2 Replies
Dec 31, 2007
I'm trying to load a movieclip into a "movieclipholder" in the Flash project. I don't want any external SWF's, everything is put together in the same project. And that's where my problem starts. I have got no idea how to load one movieclip from the library into another movieclip. Is it possible? I feel it should be.
View 5 Replies