Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Loading Internal Swfs



This may be a stupid question, but I made a website www.adenosinemusic.com that loads external swfs when hovered over a button that shows what the button is. It is different than just a hover caption. The problem is that since it loads the external files, it can lag a little bit even though they are small files. I've looked on this forum and others, but couldn't really find anything. Also, do you have any other advice regarding the site? Thanks, - Ian ismith5602@yahoo.com



KirupaForum > Flash > Flash 8 (and earlier) > Flash MX
Posted on: 09-28-2004, 02:50 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Loading Internal Swfs
This may be a stupid question, but I made a website www.adenosinemusic.com that loads external swfs when hovered over a button that shows what the button is. It is different than just a hover caption. The problem is that since it loads the external files, it can lag a little bit even though they are small files. I've looked on this forum and others, but couldn't really find anything. Also, do you have any other advice regarding the site? Thanks,

- Ian

ismith5602@yahoo.com

Internal Swfs In One Movie
hi everyone
l exprienced this tutorial http://www.kirupa.com/developer/mx2004/transitions.htm

good but not external swf l want internal all in one movie

so site will be good loking
otherwise yes it be light to be loaded but effects will gone away

please help

Loading Internal MCs
ok this might be a stupid question but i just can't seem to figure it out, as simple as it might sound...

i have made a lot of movie clips that load other movie clips exteranlly, but i want to do the exact same thing, only this time the movie clip that i want to load is in the same flash file. i tried using the same script:

content.loadMovie("otherMovie.swf");

only instead of using the file name, using the MC name inside Flash but this didn't work.

please help, thanks

Josh

Internal Loading
on most FLASH website when u click a link it loads that section ONLY im making somthing like that for my friend but i dont know how to load only a section at a time and it takes foreve for the whole thing to load any help or any links? thanks

[F8] Loading Internal MC Help
Hi,

I've designed a credits screen for a project with a button to close it (this part works!). However, I cannot seem to sort out the AS syntax to load the credits mc from a button in the root of the main timeline.

I know this is probably simple, and something I've done in the past, but I've forgotten. I'm using Flash CS3, but using AS 2.0 only.

Any suggestions welcome.

Thanks.

Loading An Internal .jpg
This is probably a dumb question, but it is something I haven't done yet and can't seem to find in the help.

Is there a way to attach an internal (in the library) .jpg file to a movieclip in a similar fashion to attachMovie?

I have tried using attachMovie after giving the jpg file linkage names, but it wasn't a success.


There are a few reason I want to do that. The scope of this project expanded and instead of maybe 100 40x40 icons there will now be more like thousands of icons.

Also, when I convert a .jpg to a symbol, flash 'sharpens' the image somehow and I don't like that. I prefer the 'softer' look of the original jpg. I also would prefer to not have 1000 or so tiny external jpg files. It would be a portability issue and leads to runtime issues if the server is slow in responding.

Internal Loading
ok....i'm more into designing and my scripting is bad....so i'm a newbie when it comes to scripting...

so i was wondering if someone could help me out....

i want to be able to load another movie within another movie..
i've heard of it before..but i can't find any tutes on it..

Loading Internal MC's With AttachMovie
I have placed an empty movie clip (holder) on a labeled frame (show) on my time line. I have beeen trying to use "attachMovie" to attach 20 internal MC's.

The idea is that everytime you enter frame (show) the empty MC (holder) would play 1 of the 20 internal clips (Q_01, Q_02, Q_03... Q_20). The one that is played is determined my the value of varialble (currentQ). So if (currentQ)=3 then when you enter frame (show) empty MC (holder) would play inernal MC Q_03.


here is the code I am using:

holder.attachMovie(currentQ, "my_mc", 0);

Loading An Internal Movieclip?
loadMovie () calls up an external .swf file

is there any way to just have an empty clip on the main stage and have it load a movie clip inside of it that's not an external file?

I just want to load a movie clip from my library into the empty movie clip.

Is this possible?

Loading External Jpgs Into Internal MC
I want to be able to load an external image, such as a jpg or gif into an internal flash 'pop up' window when the user presses a button. I've found a tutorial for creating the pop up window, but I don't know how to have each button load a different external image into the pop up depending on the button pressed, and I don't want to bog down my file size by including all the images in the library.

Here is the link for the tutorial. Can anyone tell me how to load in an external jpg using this technique or is there a better way?

Many thanks in advance.

Loading Dynamic Image Into Internal Pop Up
so im creating this "pop up" inside flash that loads on Press an image from the directory.
i have some horisontal and some vertical images all same size let's say,
when its horizontal i check and use rotation to rotate it 90 deg.

this works but it also rotates the image i'm loading....
any ideas of how to do this right?

i don't know if this code will really make a difference but here it is:

ActionScript Code:
loader_MC.onRelease = function() { // this is the clip where i loaded a preview
    var demoImg = "images/f_"+number+"demo.jpg" //the image to pop up
    trace("demoImg "+ demoImg);
    if(number == 3 || number == 6 || number ==  7 || number ==  9){// images to rotate
        _parent.popup1.loader._rotation = -90;
    }
    _parent.popup1._visible = true;
    _parent.popup1.overlay_btn.useHandCursor = false;
    _parent.popup1.loader.container.loadMovie(demoImg);
    _parent.popup1.loader.onPress = function(){
        _parent.popup1._visible = false;
        if(_parent.popup1.loader._rotation == -90) { //setting it back to normal rotation
            _parent.popup1.loader._rotation = 0;
        }
    }
}

Loading A Movie As An Internal Popup
I am developing a new site and when someone clicks on a photo for a gallery an internal movie popup that contains the info or photo gallaries. So then someone can scroll through them and when they are done close it. All of this happens without the main stage changing. For example; www.2advanced.com when you click on their contracts a movie popups showing the project and you can select images to display, when you're done you can just click a button that closes it. Anyone know how?

Loading Internal MC With A Vertical Menu
Hi can someone help me with this. I have a Vertical Menu with multiple children.
for example I've name my first child connURL10. What I want to do is to link up the test MC that I created to this.container onRelease. Where do I add the onRelease action in order to work. Below is what I have now it loads the test MC auto.

_root.connURL10 = this.container.attachMovie("test","test",1,"");

can someone help me please.

Best Regards

Loading Internal Movie Clip?
OK, Im trying to figure out how to load an internal movie clip? I am familar with loading a .swf by using:
on (release) {
loadMovieNum ("xxxx.swf", 1);
}

But what if you have the movie saved in your library and want to load it through a button on your main movie clip? Hope im making sense

Thanks!

Loading SWFs Into FLAs And Making The SWFs Transparent HELP
I have a set of buttons inside a movieclip, inside a movie clip (if that makes sense).

When the buttons are clicked I need them to load a content .swf file into frame 2 at at specified position (x=20, y=140)

I also need the .swf being loaded in to have a transparent background.

How can I achieve this?

I cannot include the .fla files for your perusal because the KirupaForum uploader can't upload bigger than 2mb and my zip file is 5.28mb or something like that.

Loading SWFs Into FLAs And Making The SWFs Transparent HELP
I have a set of buttons inside a movieclip, inside a movie clip (if that makes sense).

When the buttons are clicked I need them to load a content .swf file into frame 2 at at specified position (x=20, y=140)

I also need the .swf being loaded in to have a transparent background.

How can I achieve this?

I cannot include the .fla files for your perusal because the KirupaForum uploader can't upload bigger than 2mb and my zip file is 5.28mb or something like that.

Loading External Swfs Into Externally Loaded Swfs.
ive got some buttons on my main timeline that im using to load external swfs into an empty mc. the buttons are coded with the following:

on(release){
if(_root.currMovie == undefined){
_root.currMovie = "1";
emptyMC1.loadMovie("1.swf);
} else if (_root.currMovie != "1") {
if (emptyMC1._currentframe >=
emptyMC1.midframe) {
_root.currMovie = "1";
emptyMC1.play();
}
}
}


1.swf also has some buttons that load external swfs into a second empty mc. those buttons are coded with the following:

on(release){
if(this.currMovie == undefined){
this.currMovie = "2";
emptyMC2.loadMovie("2.swf");
} else if (this.currMovie != "2") {
if (emptyMC2._currentframe >=
emptyMC2.midframe) {
this.currMovie = "2";
emptyMC2.play();
}
}
}


1.swf loads into emptyMC1 ok, and 2.swf loads into emptyMC2 ok.

when i press any of the buttons on the main timeline, the outro animation of 1.swf plays correctly, but the outro animation of 2.swf does not. is there a way to the buttons so that the emptyMC's unload sequentially?

Loading Internal Movies Into Other Movie Clips
Once a external swf has been loaded into a movie clip is it possible for it to be loaded from one movie clip into another?

here's the scenario: lets say I'm loading asset A (swf) into movieclip "AA" in my main movie. Once asset A is loaded I then need to load asset B into movieclip "BB" within asset A meaning that asset A must be loaded first. I need to be able to load asset B into the main movie before asset A is finished loading and am wondering if it is somehow possible to first load asset B into another movie clip called placeholder and then load asset B from placeholder into "BB" within asset A once asset A has been loaded.

Internal Object Loading Xml And Calling Another Function Afterwards - PLEASE HELP
I have a MC object set up basically like this:

#initclip
function myMC (){
//variables for the mc
}

myMC.prototype.initialize = function (){
this.getXML();
}

myMC.prototype.getXML = function (){
myXML = new XML ();
myXML.onLoad = this.parseXML;
myXML.load ("http://myURL.php");
myXML.ignorewhite = true;
}

myMC.prototype.parseXML = function (success){
if (success){
this.anotherFunction();
}else{
trace ("Error loading XML");
}
}

myMC.prototype.anotherFunction = function (){
//code i am trying to get to execute after the xml has loaded
}
Object.registerClass ("myMC", myMC);
#endinitclip

I HAVE ALSO ATTACHED A TESTER MOVIE WITH THE XML TO SEE FURTHER WHAT I HAVE DONE AND AM DOING.

I am calling myMC.initialize () from the root time line. It hits that function, calls the getXML function and hits the parseXML function fine! My problem is that I cannot get the 'anotherFunction' function to execute upon the successful load of the XML from the parseXML function.

Any suggestions as to why this is doing what its doing.

One thing i did get to work is that in the parseXML function I can call up like this... _root.myMC.anotherFunction() and it works. But I don't want to do this. 1) its sloppy 2) i can't guarantee the MC will always be at _root and called myMC. So this restricts me way too much.

PLEASE HELP!!!
Derek Neely
derek@mediaflux.com

Loading/Unloading Internal MovieClip Instances?
Is that even possible?

I'm creating an optional menu bar that should be loaded when a button is pressed.

currently, the menu bar is a movie clip instance on stage, my question is, can you write script to load and unload the movie clip instance?

I'm aware that you can load existing movies from an external swf file into another, but I'm finding it hard to work that way, I cant set the location of the menu without creating all this extra space on the external file to position it, plus I cant seem to manage to unload the movie once its on.

does anyone know how to make a movie clip instance dragable?

Thanks!

Loading Internal MCs Inside Scroll Pane ?
help - im having an issue thats prolly easy to resolve - im just a dummy and dont know (yet)...

i have a thumbnail_mc inside of a scroll pane (named myScrollPane - which is on the stage and main timeline). thumbnail_mc consists of about 50 buttons.


when user presses a button, i would like an external SWF to load - like BJ_identitytheft_SWF

AND i want to load

the subtitles that i have transcribed (the external swf's are all videos i produced)

so when user presses button, i want to the external SWF movie to load and the text captioning to load - in the same place as the thumbnail_mc.

i would like the captioning to replace the thumbnail_mc as the movie is playing and when the movie is done, i want the thumbnail_mc to return.

so i thought it would be a simple action on the button to also load the captioning, but its not working.

the subtitles-captions are all scrolling dynmaic text boxes inside a movie clip - ie
BJ_email_text_mc consists of a dynamic text box with a scroll bar that would display the words of the BJ_email_SWF that is also being called with the button.


this is the action on BJthumbnail button #1 - which is name BJnameThNbutton


on (press){
_root.logoHolder_mc.loadMovie("Exported SWFs/BJ/BJ_identitytheft_SWF.swf");}

on (release) {
tellTarget(this._parent.BJ_companion_text_mc){
gotoAndPlay(1);}
}


this is the error i get:
Target not found: Target="undefined" Base="_level0.myScrollpane.spContentHolder"

this has something to do with my scroll pane i guess ?
why would the button let me refer to somehting outside the scroll pane - to load the movie - but to load an internal MC its giving me this error ??

basically - i need to know how to, and/or why i cant, call an internal movie clip

i have also tried this :

first i put this script on the first frame action of the main timeline, and then i tried it on the first frame action of the thumbnail_mc

BJnameThNbutton.onRelease = function(){
BJ_name_text_mc.gotoAndPlay();}

neither of them work.

so i have this function on a frame action, and the usual loadmovie action on the button.

all of my subtitle texts are internal movie clips. i can get it to work if i make them all external like my movie SWFs, but i didnt want to have to do that and im sure that there's got to be a way to get these to load internally.

ellare

Kirupa XML News Ticker: Internal MC Loading?>?
Hi, the XML news ticker tutorial is fantastic! However, I would like some of the links to load external MC's internally in my flash movie rather than URLS. How would I go about doing this or is it even possible??

http://www.kirupa.com/developer/mx2004/newsticker.htm

THX.

Loading Internal Image Into Dynamic Textbox
Hey guys,

I'm having a little trouble loading an INTERNAL image into a dynamic text box. It works fine while loading an EXTERNAL image, such as the following:


Code:
strTxt = "<img src='gorilla.jpg'>";
out.htmlText = strTxt; //out is the dynamic text box name
How do I get it so that it'll load an image within the flash scene?
I tried
Code:
strTxt = "<img src='_root.gorilla'>";
but that doesn't work, neither does the 'gorilla' without the '_root.' I gave the image an ID name of "gorilla". The image is in the main directory, where the dynamic text box is. Anyone have an idea?

Thanks,
Matt

Urgent: Loading Internal Movies To Stage?
in a very similar way to loading external swf using "loadmovie" to an existing empty movie instance, is it possible to load internal movies/images i.e from library??

basically i want to produce a projector and use it without having to worry about external files and paths etc. i'm creating an application and it needs to be one single exe file.

is there is any way to merge the exteranl swf files or as my first question load them internally in the fla???

please advise and many thanks in anticipation

Loading Internal MCs Inside Scroll Pane ?
help - im having an issue thats prolly easy to resolve - im just a dummy and dont know (yet)...

i have a thumbnail_mc inside of a scroll pane (named myScrollPane - which is on the stage and main timeline). thumbnail_mc consists of about 50 buttons.


when user presses a button, i would like an external SWF to load - like BJ_identitytheft_SWF

AND i want to load

the subtitles that i have transcribed (the external swf's are all videos i produced)

so when user presses button, i want to the external SWF movie to load and the text captioning to load - in the same place as the thumbnail_mc.

i would like the captioning to replace the thumbnail_mc as the movie is playing and when the movie is done, i want the thumbnail_mc to return.

so i thought it would be a simple action on the button to also load the captioning, but its not working.

the subtitles-captions are all scrolling dynmaic text boxes inside a movie clip - ie
BJ_email_text_mc consists of a dynamic text box with a scroll bar that would display the words of the BJ_email_SWF that is also being called with the button.


this is the action on BJthumbnail button #1 - which is name BJnameThNbutton


on (press){
_root.logoHolder_mc.loadMovie("Exported SWFs/BJ/BJ_identitytheft_SWF.swf");}

on (release) {
tellTarget(this._parent.BJ_companion_text_mc){
gotoAndPlay(1);}
}


this is the error i get:
Target not found: Target="undefined" Base="_level0.myScrollpane.spContentHolder"

this has something to do with my scroll pane i guess ?
why would the button let me refer to somehting outside the scroll pane - to load the movie - but to load an internal MC its giving me this error ??

basically - i need to know how to, and/or why i cant, call an internal movie clip

i have also tried this :

first i put this script on the first frame action of the main timeline, and then i tried it on the first frame action of the thumbnail_mc

BJnameThNbutton.onRelease = function(){
BJ_name_text_mc.gotoAndPlay();}

neither of them work.

so i have this function on a frame action, and the usual loadmovie action on the button.

all of my subtitle texts are internal movie clips. i can get it to work if i make them all external like my movie SWFs, but i didnt want to have to do that and im sure that there's got to be a way to get these to load internally.

ellare

Loading Swfs Into Swfs: Undesireable Result
Situation:
I am using one swf to import other swfs dynamically based on user input (menu with buttons that are dynamically configured once the SWF has loaded).

I built the framework/base (I will refer to this as mainframe.swf) movie in Flash, I then built the populating SWFS in Swish Max (they will be called ad.swf).

When I load the swish max movies into the flash, they show up in the right location and everything, but if the imported movie (ad.swf) has items/shapes that over hang the bounds of the movie, the show up in the framework swf.

and example can be seen here, the issue is in the second ad (CFP):
https://fieldnet3.massmutual.com/fnm...ig002-temp.xml

I want to restrict the visible area of the loaded movie to the original movie that is it populating ( I replace a content holder.swf with ad.swf using a loadMovie). In the movie I am loading int the framework, I have created a white mask to block anything outside of the grey box. This just proves to obscure the buttons, title etc. in the mainframe.swf

The buttons are loaded dynamically as movie clips and I have assigned them to a level 10 levels above the movieclip that holds the ads, this doesn't seem to make them take precedence....

Any one have any ideas on how I can make the movie clip on the edges or make the buttons raise up?

Code availabe as needed.

Allen

Loading/Unloading - Swfs Inside Of Swfs
Here we go...

---------------------------------------------
I have a main.swf.

Main.swf contains 4 buttons(about, portfolio, contact, clients).

These for buttons call in external swfs(ex. portfolio.swf) into an empty movie clip on the main.swf stage.

inside portfolio.swf are three more buttons(print, web, logos)

When you click on one of these buttons they need to call in another external swf(web.swf) and also remove itself(portfolio.swf)
---------------------------------------------

That is where I run into my problem.


this is the code i am using for the original buttons on the main.swf:


Code:
function initMovieLoad(path) {
movieToBeLoaded = path;
if(!initializedExternalMovies) {
initializedExternalMovies = true;
loadNewMovie();
} else {
target.gotoAndPlay('midpoint');
}
}

_global.loadNewMovie = function() {
target.unloadMovie();
target.loadMovie(movieToBeLoaded);
target._y=-130;
target._x= -160;
}


var mc:MovieClip = this.createEmptyMovieClip('target', this.getNextHighestDepth());

initMovieLoad('intro.swf');

this.homeBTN.onRelease = function() {
initMovieLoad('home.swf');
}

this.aboutBTN.onRelease = function() {
initMovieLoad('about.swf');
}

this.portfolioBTN.onRelease = function() {
initMovieLoad('portfolio.swf');
}

this.clientsBTN.onRelease = function() {
initMovieLoad('clients.swf');
}

this.contactBTN.onRelease = function() {
initMovieLoad('contact.swf');
}


I thought I could just place this code inside the portfolio.swf and boom, everything would be set. but it didnt work.

I need to know how to call from the main.swf that web button inside of the portfolio.swf to bring in the web.swf



Any ideas would help at this point. THX

Loading An Internal Movie Clip Into A Specific Layer
I think I might have asked a similar question before - but this is very specific, so I'll ask away.

How would I load a movieclip within my main swf, into say Layer2 - and have any actionscript that specifies level2, affect that movie clip?

at the moment, i have a number of external swfs that are loaded into layer2 by a loadmovie scipt. and these can be reset to their first frame by a scipt I have on another button.
I would like to have these all as internal movie clip instead of external swfs (it will bring the overall size DOWN. currently each clip has to have helvetica and hiragino, a full japanese font, loaded - bringing them all into the main movie means only once - knocking 20-25k off per clip) and still be able to affect them by specifying level2. (ie. bringing in a second clip, overwrites the first one - and telling level2 to go to frame 1 makes whatever clip is visible return to frame 1)(I would prefer to keep it specifying level 2, which is general, than having to individualy specify each clip - as there's about 15 of them, which may grow in the future as I increase the content)

I've tried everything under my capabilities and i've been tearing my hair out. So some advice would be fantastic. thanks in advance

Loading And Playing Internal Movie Clips Randomly
Hi!!! Does anyone out there know how to get movie clips to play randomly? Here's what I want to do:

I have four movie clips already created and I want to make it so that when someone visits the page and accesses it for the first time, one of the four is randomly selected and plays (I also want to be able to tell it what frame of the movie clip to go to)!

I know some genius out there has the answer! Help!!!

Loading Other Swfs From Loaded Swfs
Flash - 8 : Above is an example of what I would like to do/have done. I've gotten as far as loading the "loaded.swf" into the "start.swf" but my problem is I'd love to use that little loading action I made earlier without copying and pasting into the new movie the same actions for a different link. So, how do I load "loaded2.swf" into "loaded.swf" via the link in "loaded.swf"?

If you need anything just ask, also, any help is useful.

Thanks

Loading Multiple Swfs And Xmls Started Before Finished Loading
Hi,

I have a encounter a problem regarding loading of the swfs and xmls files.
A preloader is done for these items. However it started playing before everything (swfs and xmls files) is loaded.

I have an array to contains all the files to be loaded. Using this array, i checked and see if the items are all loaded. If loaded, they will jump to the ready frame.

Anyone have any idea what is wrong??

Thanks.

Loading Swfs Into Swfs...
this may be a silly question but i've tried a few different things and i seem to be stuck... i was wondering what the proper action and/or path was for loading a swf into another swf in the same dreamweaver document... i have buttons on the left and an empty movie clip on the right and i'm trying to make the buttons on(release) load the little movie clips into the empty mc... they are separate flash files in one dreamweaver document...

any help would be much appreciated...

Loading AS3 Swfs Into AS2 Swfs?
I have some ActionScript 2.0 swfs that I (now that we have AS3) would like to load ActionScript 3.0 swfs into.


Code:
fscommand("fullscreen", "true");


function firstRun() {
firstRunSO = SharedObject.getLocal("firstRun");
if (firstRunSO.data.firstRun == undefined) {
trace("This is the first time the program has run");
System.showSettings(1);
firstRunSO.data.firstRun = false;
success = firstRunSO.flush();
stop();
} else {
trace("This is not the first time the program has run");
}
if (success) {
trace("Write successful");
}
}



firstRun();

var theMapMovie = this.createEmptyMovieClip("theMapClip", this.getNextHighestDepth());
theMapMovie._xscale = 80;
theMapMovie._yscale = 80;
theMapMovie._x = 200;
theMapMovie._y = -40;

var theChartMovie = this.createEmptyMovieClip("theChartClip", this.getNextHighestDepth());
theChartMovie._xscale = 80;
theChartMovie._yscale = 80;
theChartMovie._x = 200;
theChartMovie._y = 200;

loadMovie("maps/milestonemembers_map.swf", theMapMovie);
loadMovie("Charts/SpreadSheet.swf", theChartMovie);


stop();
The milestonemembers_map.swf (AS2) loads fine but the SpreadSheet.swf (AS3) doesn't. Can this even be done. Did I overlook that in the release notes? Will I have to re-write all my AS2 apps?

Thanks.

Loading "Internal" Data
It seems like Flash has two extremes of data access, either its already in the file or you have to go and get it from another data source. But what if I have it within my page already? I have an aspx page the pulls all my Product info down including a list of MP3. I want to pass that list to my flashplayer and not build a webservice because its redundant.

Is there a way to pass info to a swf file from within an (rendered) HTML page. I have tried XML as a string as a flash var and that didn't seem to work.

There must be something fundamental I am missing.

Loading Different Swfs
i have a site which is in seperate sections, ie different flas.
I wish to connect them all by loading urls of the swfs..

the home page has a loading in the begining, but will end up loading the home page swf only

Can i use this loading to load all the other swfs..

Thanks..

Loading SWFs
How can I Load a SWF movie into another temporally?

I can't get the LoadMovie function to work well.

Then how can I replace the swf with another?

2 SWFs Loading
Hey Guys,

Is there a way to make two seperate FLASH files (SWFs) load dependent on one another. E.G. have them both load at the same time, but dont begin playing until both of them are fully loading. If so, then please send me the link, tutorial, instructions, or anything that can help me accomplish this. You can see an example of what I'm trying to do at http://www.hcapsol.com/new2.html

Thanks,
Marc

Loading Ext SWFs..help
Please help with this one....I have a flash movie using ext swfs when a user clicks on certain buttons. Everything works fine when the main movie plays on it's own. However, once I embed the movie into an HTML page, those "load mov" commands DO NOT work!!!??? Don't understand why?? Please help...

Loading SWFs
Perhaps someone can help me with this:

I have 2 SWFs... the first is loading the second into the same window. The original movie is at level 0 of course, and I've told the second SWF to load into level 1. This works fine, except for the fact that even after the second movie loads, I can still use the buttons located in the movie it's overlapping. Any suggestions?

Any response is greatly appreciated.

Thanks,
Kevin

Loading Swfs Into Mc's
Alright, trying to load SWF into MC and it does it, but one problem.
It doesn't position it where I'd like. Maybe I need to just refine my technique.

What I've done. I add the thing to button that says load this movie into that mc. And I put a mc on separate layer. Not sure why its positioning it wrong, but would appreciate any help. Pretty much I'm using it to bring pictures into a content area and have them load while on page.

Loading Swfs
Hi

Can anyone please help??

I'm loading a movie into a placeholder movieclip, its dimensions match exactly that of the movie swf.

Only when it loads into the holder it appears distorted the height has been squashed??? what the hell is that all about?

Any help will be greatly received.

Loading Swfs In And Out
hi, I've got a basic navigation problem.
I am loading external swfs into an mc that is on my main timeline and therefore appearing to relpace the content of the original page. I am using the code:

_root.mtclip.loadMovie("school10.swf");

for this.

I have made a button to take me back to the main page again and as I do not want to reload the main page into the mtclip originally on the main page (?), I am replacing all the content with the command:

on (release) {
loadMovieNum("main26.swf", 0);
}


It seems to work okay until I apply it to links to other pages aswell - resulting in some dynamic text content on the main timeline disappearing when I go back to it in preview. Is this a simple glitch or should I be looking at layers or something. I'm completely lost!

help would be great!

cheers all

Loading Swfs
I have a main movie and it brings in other movies. All the pages come in. one of the pages is a contact page. But, on the contact page the input boxes aren't showing, you can see here http://monsoonstore.com/preload , and click contact. (you have to type it the link isnt working)

but in the in the contact movie itself it shows, see here
http://www.monsoonstore.com/preload/contact.swf

and i used this code http://www.kirupa.com/developer/mx/p...transition.htm

Loading SWFs
Hello, I have a situation here...

I have here 3 SWFs. Is it possible to load a different kind of SWF everytime a visitor enters my site?

Loading SWF On Top Of SWFs
Hi - want to be able to load an swf on TOP of another swf (so that you can still see the previous file underneath it) when the second one loads.

This is simple enough on its own - but I want to do this over and over again - each time you switch sections in my site. Is there any bit of code that will switch movie levels or something so that I dont just keep going up the levels to infinity :-) (I cant just keep adding because I have another swf that I want to sit over the whole lot :-(

I hope you understand what Im trying to do

many thanks for your help

Loading Swfs?
In Flasxh MX 2004 Professional, how do I load and unload swfs. I'm no good at writing actionscript (i'm a designer) and the Help Documentation doesnt help me write the correct syntax. Any help?

Loading Swfs In Swf By Using A Mc
It's hard to explain exactly what I"m trying to do but..
My navigation buttons are actually movie clips becausr there is a bunch of actionscript attached to it. and.. if I attached this code to the end of the elsticity code I can get the movie clip to advance to the next frame.

on(release){
_root.gotoAndStop(27);
}

But I want to load swfs instead.. and on top of that, I did a tutorial on kirupa in regards to loading swfs with intros and outros called

"Transitions Between External SWFs"

Everythign seems to be working well, except I can't get the code to work on the MC that is suppose to change between navigations and swfs, which is this code.

on (release) {
if (_root.clip4 == undefined) {
_root.clip4 = "about";
container.loadMovie("about.swf");
} else if (_root.clip4 != "about") {
if (container._currentframe >= container.midframe) {
_root.clip4 = "about";
container.play();
}
}
}

If you don't understand? Well here's a link to my site/zip file.
I think it might be too big to upload
http://www.chohoh.com/modproductions/modprod.zip

I'd love some help. or advice.
This is a freebie site for someone so you'd be helping a good cause..

Loading SWFs On An SWF
Hello,

I was wondering if there's a way to open a new window (an swf file) with the size defined whenever someone clicks on an image in the initial swf file.

I know how to set that up as an HTML page with the javascript code but not directly in Flash MX 2004.

Thanks,
Grace.

Loading SWFs
Instead of replacing a targeted external swf, how can I load another swf always above the previous?

Copyright © 2005-08 www.BigResource.com, All rights reserved