ActionScript 2.0 :: Load Swf Movie Into Mc "container" On Main Movie?
Feb 22, 2003
i have following problem i load swf movie into mc "container" on main movie. i made rectangle, changed into mc, gave it instance name "block"
when i use the container.setMask(block) line this results in the movie playing but no mask what do i do wrong this time ?
View 2 Replies
Similar Posts:
Jan 11, 2004
I have a problem with buttons and transitions and it is similar to a problem I had a couple of days ago that I posted and that was sorted out. I have two buttons onstage (they're inside a movie clip) inside the movie, on the button one I have the following
[Code]....
I have similar code on button two and this does indeed make the buttons move into place as required. My problem is this, I need to load in external swf files into an empty movie clip on the main stage called container. These External SWF files have transitions and this is where my problem is. If I place a normal button on the stage it works but not if the button is inside a movie clip and has actions applied as above. The code next is what I have believe should also be placed on the button to make swf transition one load in.
[Code]....
View 4 Replies
Dec 23, 2004
I want to load six seperate .swf's into the main movie while the main movie loads too. So in simpler words, i want to be able to load all of the swf's the same time i am loading the main swf.
View 2 Replies
May 28, 2002
I'm trying to do a demo with a fastforward button and a rewind button that will go to the next scene and previous scene...however, due to the format that my predecessor created used...I'm stuck with alot of scenes. The navbar (ff and rewind buttons) is in a .swf file called main. The actual demo is in demo3.swf. I created a loader scene to redirect to the correct scene (when ff and rewind are hit), but I'm not sure how to pass the variables needed from the main movie.
View 4 Replies
Oct 1, 2003
I have a movie. In it are some buttons and a dynamic text field. When I press the buttons is should load text from a database into the dynamic text field. If I run the movie by itself (ie. not by LoadMovie()-ing it into a different movie) the dynamic text field gets filled with text and all is well and good. However, when I use LoadMovie() to load this very same movie into my main movie, the buttons no longer work; the text field stays empty.
[Code]...
View 9 Replies
Dec 30, 2008
I have attached two pictures. Basically I am making a website. The main navigation loads in external swf's through a container movie. For this I have used this tutorial : [URL]. What I want to do is- when you rollover the navigation bar, be it the text or the coloured block- I want it to scroll down and reveal the 'sub navigation'. (pic2) It's like a drop down menu but kind of the other way around. Then, when you either rolloff of the navigation bar or click on a menu button, it slides back up to its original state. (Pic1). I have played around and only managed a sloppy version which doesn't work very well, especially when you resize. I think a simple answer to this is if I could get my buttons to work inside a movie clip. I had tried this but then the swfs wouldn't load properly.
View 3 Replies
Mar 19, 2005
how to load an external swf into an empty container using loadMovie() - from an XML menu
or, if that is not possible, than to target a specific frame to start playing instead.
View 3 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
Oct 27, 2010
how to load an external SWF in an empty movie clip in AS3?
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 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
Jan 6, 2009
I have a main SWF with an empty MC holder and all of the main navigation button on actions. When the buttons are clicked it then loads an external SWF into the empty MC. I am having trouble telling the button to load the movie once and then stop loading if someone clicks on the link again. I want to prevent someone from double clicking to cause the animation to blink. *rapidly click on "home" to see what I mean.
[URL]
All of my button actions look like:
home_btn.onRelease = function(){
loadMovie("images/6661_home.swf", _root.dropzone);
}
I have read numerous threads but for some reason can't find a fix for this.
View 5 Replies
Mar 16, 2011
How do you load an external .swf into a movie clip and have the loaded .swf fill the shape of the "container" movie Clip?Is this possible(It would be resizing the external .swf)...
View 1 Replies
Aug 1, 2005
is there a way to load a movie into a container from an array menu..
newmenu= new Array();
newmenu[0]="About";
n = new Array();
[Code]....
View 1 Replies
Sep 22, 2009
I have a .swf file with tool tips and dynamic colors on movie clips that I want to load into another movie.
s_1800.onRollOver = function (){myTooltip.content = "Office #: 1800"+newline+"SF: 0";var colorful = new Color ("_root.s_1800");colorful.setRGB(0xb5282c);myTooltip.showTooltip();}s_1800.onRollOut = function (){myTooltip.hideTooltip();}
[Code]....
View 1 Replies
Apr 2, 2009
I am pulling double duty with this question as it serves two purposes. I am developing a total flash controlled ad system for myself, but also need to use the same theory for a project for work.
Concept: I have a main movie (ad rotator system) that I then want to randomly load other swf's (individual ads) into this main swf after a set period of time. The random load I got set no problem. The problem I am having is to get it to move to the new Frame label of the main movie which then loads the smaller swfs. I am using the LoadMovie with nInterval time delay command in flash to load the movies.
[Code]....
View 5 Replies
Nov 24, 2005
I am targeting a a movie clip. The problem is that all the syntax I have found for targetting clips looks like this: _root.sample_mc.sample2.mc. etc. The problem is, my target clip is in an swf that I've loaded into a container clip from my main timeline. So, essentially, I have a home.swf that loads menu.swf into a container called 'location'. In menu.swf, I have an MC called center, which contains the MC I am targetting called 'target'.
View 2 Replies
May 27, 2011
I have the following to load swf files in my main movie. The first swf files that loads has a movie FLV file in it. When I unload that swf file, with the below, the swf seems to get removed, but the audio of that flv keeps playing. What do I have to do, to completely remove that swf file.
private function loadNewSection(e:ProjectEvent):void
{
while ( content_mc.loaderClip.numChildren > 0 ) {
content_mc.loaderClip.removeChildAt(0);
[Code].....
View 3 Replies
Feb 21, 2012
I want to load the image gallery into my main movie.I have tried using the Loader component so that I can place the gallery in the middle of the main movie but the gallery just doesn't load correctly! I want it to load inside the Loader box in the middle of the page but it kicks the images out to the edge of the main movie.I suspect I need to edit the AS of the gallery.fla to specify the width of the SWF gallery inside the Loader, so I can send that to you via email - can't post it here cos its too long.
View 6 Replies
Jan 30, 2003
when i load a swf file into main movie.I get no animation from swf.... it's like frozen. But the swf itself works fine.
View 8 Replies
Feb 18, 2004
_root.loadMovie(_root.gamename, _root.game); ... that is the code im using to load a movie into an empty mc on the main .swf This code is in a movie that is also loaded from an empty mc in my main .swf 'gamename' is defined in the _root movie and 'game' is the instance of the empty mc where I want it to load. However, when the swf loads, it just loads at 0,0 in my main .swf and not where the instance of game is located.
View 2 Replies
Jan 27, 2010
Using an AS2 Carousel type menu with XML powered icons - and I'm trying to use the icons to load URLs within the main movie - in other words, load SWFs into the movie as opposed to external links. Someone here (thirdCherry) was kind enough provide this for internal loading targeting a movieClip:
//on release function
function released()
{
getURL(this._parent.url);
[code]....
View 1 Replies
Sep 20, 2010
I am trying to load external swf files in a main movie.I have created 3 different movies. Main movie is named "Container". Another 2 movies are named "movie1.swf" and "movie2.swf".Main movie "Container" is having some navigation buttons and template sort of thing in it. On the lowest layer in main movie I have created an empty movie clip in which I am trying to load "movie1.swf".Now problem is when I load "movie1.swf" instead of loading the external movie in target mc, it clears all the contents in main movie.
View 3 Replies
Aug 5, 2004
I have an all flash site that i'm making to learn flash MX 2004. I'm loading external swf's into a main page to make it all flow and easy for the browser to chew. i got a page that uses tellTarget to start rollovers and advance a movie. here's the script for one of the buttons...
Code:
on (rollOver) {
tellTarget ("/swift"){
gotoAndplay (2);[code]....
that works perfectly but when i load it into the main movie... it won't work...how to _root.,_parent, or this. is to make it work.
View 1 Replies
Aug 17, 2004
in my external swf i have this code in the last frame:[code]so its looping through some animation over and over but when i load that swf into my main movie it wont loop, it plays the entire timeline over again, what am i doing wrong?
View 5 Replies
Mar 2, 2003
loading external mac x menu into my main movie. My main movie contains emty mc named "container" to load external.swf's and another emty MC named "menu" to load external "menu.swf" the problem i have once i load menu.swf into a level of my main.swf then the menu functions won't work at all.
View 4 Replies
May 29, 2003
I am trying to create a starfield effect. I have gone through the tutorials here and elsewhere and come so far. I am attaching the fla file along with the code. The motion as you can see is jerky. Cant figure out what am i doing wrong. Another thing. I am trying to load this swf into a main movie using the following script:
[Code]...
View 4 Replies
Mar 19, 2010
Im trying to load a movie using a button. I just want the button, when hit, to load an external .swf file inside the movie clip playing.
In AS1, (I never did learn AS2) this is what the button command said
on (release) {
loadMovieNum(�About.swf�, 0);
}
So how would this translate into AS3?
View 1 Replies
Aug 17, 2004
ok, in my external swf i have this code in the last frame:
gotoAndPlay('cloudstart');
here is my loadmovie code:
_root.load.loadMovie("logo.swf");
so its looping through some animation over and over but when i load that swf into my main movie it wont loop, it plays the entire timeline over again, what am i doing wrong?
View 5 Replies
Jun 30, 2010
Trying to load a movie clip into another movie clip and control the loaded clip timeline from main stage.
Code:
var myLoader:Loader = new Loader();
addChild(myLoader);
var url:URLRequest = new URLRequest("Transcription-RNAChain.swf");
[code]....
The movie appears to load, as it appears on the stage, but it throws the following error in the debugger on frame 1:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
Additionally, I'm getting neither the result of function loadingError or function finishedLoadingFunction.
View 3 Replies
Aug 5, 2009
I load external swf file into main movie. and i give that child a name page0 there is a bit of code.
[Code]....
so after its loaded i want to insert some text into external swf using main movie. i managed to remove external swf, like this ActionScript Code: holder_mc0.removeChild(holder_mc0.getChildByName("pages0")); but i wonder how to insert text into that swf. i don't understand how hierarchy works, when you addChild, what name should i use for my external files. for example ActionScript Code: holder_mc0. ?????? .mainTemplate.tContent.text = "TEXT"
View 6 Replies