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




Why Doesn't LoadMovie Cache?



I built a site that was all one swf, but the client didn't like the slow load time. So I put each section into a separate swf, and used loadMovie. Okay, that works, but when you click back and forth between the various sections, there's the same lag time with the blank white screen.It's here: http://www.robinonthelamb.com/robinrev.htmlI know, I'm using old style actionscript: stop();loader.loadMovie("ourdogs.swf")but wouldn't you think after visiting a section once, that it would cache and pop right in the next time?



Adobe > ActionScript 1 and 2
Posted on: 10/15/2007 05:52:56 AM


View Complete Forum Thread with Replies

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

It Should Cache But Doesn't...
Hello,

I have plenty of cache space allocated but my dynamically loaded jpegs still reload when the same thumbnail is pressed.

I am using one MC to load the jpegs in. So a new jpeg replaces the old one but it should be in the cache ready to load quickly when it is needed.

It works on a PC - but not on a Mac running IE 5.

I have no anti-cache script - why does it not stay in cache??

Thanks for you help in advance.

Osc

Loaded Movie Doesn't Cache
Hi, just completed my first flash site, but am having some problems with loadMovie controls. I think I must be missing a trick somewhere.

URL: http://www.domerocker.com/2004/firsthalf/

I have it set so that a button click loads the .swf file into a target (empty movie clip instance) in the main scene.

PROBLEM: Everytime the user clicks the country buttons, the movie begins to load (with the preloader) even if this movie has been viewed and loaded already.

EXPECTED: If the movie has already been viewed, the movie should be in the browser cache and the user should not have to see the preloader again for that country.

SOLUTION: ????

Loaded Movie Doesn't Cache (reloads Each Time)
Hi, just completed my first flash site, but am having some problems with loadMovie controls. I think I must be missing a trick somewhere.

URL: http://www.domerocker.com/2004/firsthalf/

I have it set so that a button click loads the .swf file into a target (empty movie clip instance) in the main scene.

PROBLEM: Everytime the user clicks the country buttons, the movie begins to load (with the preloader) even if this movie has been viewed and loaded already.

EXPECTED: If the movie has already been viewed, the movie should be in the browser cache and the user should not have to see the preloader again for that country.

SOLUTION: ????

Does LoadMovie Cache?
Hi,

I have a main movie that's loading additional, external swfs into itself when certain buttons are clicked.

I'm using the loadMovie command and assigning the external swf to a blank movie instance. then, when a different link is clicked, I set the visibility to false and load up the new one.

all of that is working fine (thanks to the flashkit community for help with my newbie questions!). What I'm wondering now is, if a movie has already been loaded, and someone clicks the button again, does it literally load it up again making another trip to the server, (and more waiting for the viewer) or does it just go ahead and play a cached version?

(I think there's a better way, to just issue a goToandStop onto a blank frame etc, but I'm still trying to figure out how to do paths, and I gotta deliver this thing soon...)

thanks for your help. you guys/gals rule

z33man

Loadmovie And Cache
I have this status bar that pops up everytime you select a link from a list which loads in a different movie (loadMovie), and the status bar works great.

Problem is, now, if you select link 1, then link 2, and go back to link 1 again, it loads it again. Even though the load is not long, it does take time, so is there anyway to have Flash reconize already loaded movies, and retrieve them from cache?

Or an effect like it?

--iMat

How To Cache LoadVariable() And LoadMovie()
Hi everyone,

I made a dynamic "finder" of sorts for our company website.

It first creates (duplicateMovieClip) x amount of clips, then loads a jpg (loadMovie) file with the same name (_1.jpg, _2.jpg, _3.jpg, _4.jpg) into each movie (the movieClips are named "_" + number).

Then it loads text with the same name (loadVariable) into the duplicated clip "textClip" within the duplicatedClip. Each text file is named "_1.txt" or "_2.txt" so i can just use - loadVariables(this[_name + ".txt"])

Anyway, everything is working fine, but caching is NOT working. It loads the text everytime we go to the page. you can see this movie here:

http://216.12.20.222/gda/webDesign/index.php

it's made with MX so, you'll need the latest plugin (there is a tester -- the latest Moock tester).

please help if possible!

So, the main question, how do i dynamically create movieClips, dynamically load jpgs and text, and have all of it cached at the same time?

Thanks for any info at all!!!!!

- matt

LoadMovie Cache Question
Hello,

I seem to be having an issue with the "loadMovie" command. I thought that files loaded in this way stayed in the browser's cache, so that when they were recalled again with "loadMovie", they pop in instantly (I'm not using "removeMovieclip" or "unloadMovie", simply loading different files into the same "holder" MC. But in IE 5.0 on my Mac with a dial-up, they seem to be loading repeatedly as if they were never cached.

On the below link, I am loading JPEG files of about 20k each. I have a preloader status bar that displays their progress. On high-speed connections, I rarely see it: the files are small enough that I can't tell if they load each time they are called or are pulled from cache. If anybody has any ideas about what I'm doing wrong, please let me know.

LINK:
http://www.randymillerdesign.com/collection/indexL.html

FLA:
http://www.randymillerdesign.com/col...mageTabs7l.fla

.as file (would need to be in same directory as .fla when published):
http://www.randymillerdesign.com/collection/nav1.as

Couple of things:
-The file extensions of the JPEGs have been switched to ".jjj", to account for the AOL bug of converting ".jpg" to ".art"

- The "WEB" section of the .fla is not completed, so the nav may give you weird results for that section.

Thanks to anyone who has any ideas about what could be causing this.

Randy

Loadmovie Cache Problem
I searched the forum for similar thisng but haven't found anything.
I have a main movie clip and load other movies into this one. The problem is that these movies are large and main mc loads them every time all over again. Is ther a way to get these movies into the cache so next time you click on loadmovie it will load instantly.

Thanks

Kill Cache For 'loadmovie'
hi, I've got a movie which loads another 'menu' movie into a container. The menu movie is continually being updated and the main movie seems to cache the menu, thus not showing any updates.

I've been trying to use this kinda code to get around the problem, but I can't get it to work.....
Code:
// generate a unique value
var cKiller = new Date().getTime();

// Load the menu.swf
menucontainer.loadmovie("http://www.MyURL.com/menu.swf?cKiller=" + cKiller);
}
but I can't seem to get any results from it.... Has anyone successfully achieved this kind of thing before, or is the above code going in the right kinda direction.

Cheers

LoadMovie Cache Explorer
Hi,
I want to prevent that a loaded swf gets cached in the browser.

Here are two codes that should work:


Code:
loader.loadMovie("adminMenu.swf?rand="+new Date().getTime())



Code:
myIdentifier = Math.round(Math.random()*10000);
loader.loadMovie("result_load.swf?uniq="+myIdentifier, 1);


And they do, that is, in Mozilla and Netscape, but not in Explorer!

Does anyone know about this, and why??


Thanks,

Jerryj.

LoadMovie Cache Problems
I'm a new flash user and this is my first site, so be nice!

http://www.domerocker.com/2004/firsthalf

I know this is a big site, so this problem I'm having is bad. Basically when I load the .swf's into the empty holder MC's, they load each time (the preloader shows) even if that swf has been loaded already. This is what my button AS looks like:

PHP Code:



on (release) {
    _parent.cambodia._visible = 0;
    _parent.thailand._visible = 0;
    _parent.myanmar._visible = 0;

    if (_parent.india._getBytesLoaded() >= 1) {
    _parent.india._visible = 1;
    }
    else {
        loadMovie("india.swf", "_parent.india");
        }





I'm pretty sure the if statement is busted, but I don't know how to fix it. Any other help would be appreciated. Can I just check to see if the visibility is 0 instead of using getBytesLoaded? Any suggestions would be appreciated.

LoadMovie, Cache , Explorer
Hi,
I want to prevent that a loaded swf gets cached in the browser.

Here are two codes that should work:


Code:
loader.loadMovie("adminMenu.swf?rand="+new Date().getTime())



Code:
myIdentifier = Math.round(Math.random()*10000);
loader.loadMovie("result_load.swf?uniq="+myIdentifier, 1);
And they do, that is, in Mozilla and Netscape, but not in Explorer!

Does anyone know about this, and why??


Thanks,

Jerryj.

LoadMovie() Jpeg Cache
I load several images (jpeg) dynamically. I do the same with some swf´s needed in my project. Now I wonder why it takes about 1 second to load a jpg which already was loaded once, but reloading a swf works on the fly with NO delay at all!

of course, browser caching it activated. Now my first idea about this issue is that it takes a while to decompress the jpgs, but should that take longer than loading and starting a swf? also, I run a athlon 1800+ so that should not be a problem.

also, I dont want to workarround this by placing all my pictures into swf´s (there is too many of them, it just would not make any sense).

any ideas?

How To Loadmovie Straight From Server And Not From Cache ?
I have a whole site in flash. using `loadmovie` to load layer over layer.
Only the first page, the index is , ofcourse in HTML. all the rest is SWF.
Listen to my problem:
Whenever I make the slightest change to the site`s files on my server it will take
up to a day or two before my surfers, in my country, will see the update(even though they cleared their cache)
Sometimes the site would get stuck alltogether for a day or two as a result of an update.
Suspecting it was a cache problem I called my ISP who explained to me that broadband ISP`s have routers that have internal caches and that`s the problem !
My ISP promised me to take my site out of their router cache and they did just that and ever since neither do I nor anyone surfing through this ISP has any problem viewing immediately any changes made on my server to my site.
But I can`t ask each ISP in my country to that for me…
Does anyone know of an actionScript code that I can just put in my SWFs to make sure that each time I `loadmovie` it loads straight from the server and not from any sort of cach ?
Please assist, Its a site for abandoned dogs and cats aid shelter , so you`ll be doing a good deed , twice, by helping !
Thanks In advance.
http://www.parvatonim.org.il

Cache.loadMovie - Effect On Audio - Need Your Help
All,

I'm working through a project and just have one outstanding issue I could use your help on. The project was 1/2 done when given to me...

The project is broken in to 9 fla/swf files, with the end of each calling the next. Originally, the "preloader" has these actions:

if (!int(cache._framesloaded/cache._totalframes)) {
gotoAndPlay("one")
}else{cache.loadMovie("assets/studio2.swf")}

THEN

if (!int(cache._framesloaded/cache._totalframes)) {
gotoAndPlay("two")
}else{cache.loadMovie("assets/studio3.swf")}

and so on, all the way to gotoAndPlay("9"). My job was to add audio clips to the later sections. Problem is, when I did, each audio clip played for about 5 seconds (not the entire clip) once it was cached (I believe) OVER SECTION ONE. They then played when planned later in project.

I REMOVED this code, and the audio problem is gone, but now the later sections don't play as quickly when selected, and the boss ain't happy.

Any suggestions? Seen this before? Doing something wrong?

Thanks a million for the help.
chearn

HELP Cache Problems With Images Through LoadMovie
I have a movie that attaches a movieclip through attachMovie, and inside that movieclip I call it to load an image file. My first publish, the image loads fine, I close the movie, clear my Internet explorer Cache, then I open photoshop to change the image, and save. The problem comes here. To make sure everything is cleared, I clear the Cache from IE again, then i proceed to run the movie. With the binaries in the Image changed(changing the image in photoshop), i try to load the modified image, but the modified image won't load. But now when i replace the modified image back to the original image, clear the cache, then run the movie again, it loads correctly.

There's something that's not clearing inside the computer that flash constantly keeps looking for the same information. Does anyone know how to help me on this one?

We use attachMovie to load the movieclip(MC1), we load the image inside a MC that's inside MC1, and then when MC1 finishes playing(._currentframe == ._totalframe) we do removeMovieClip.

I've tried this several times, and there are no changes. I even went on different computers and tried it, and the same problem occurs. Can someone help me?

Cache+loadMovie To Library+attachMovie
Hi,

im making a map editor, which loads files through data recieved in xml, and loads the files as selection items in the menu. With this my files get in the cache and then i run the loadClip command again and again for which ever item the user wishes to place on the map. The problem is that there is a very very slight interval in the loading of the placed image, this is due to the execution time it takes to bring the required file from the cache. I wanna know if there is any way I could add the files to my library and then attachMovie them when required instead of going to the cache. Any idea?

Best Regards
Ali Kapadia

Stupid Question About LoadMovie And Cache
Hey. I think I know how the cacheing works when you load an SWF using loadMovie, but I want to make sure I'm right before I proceed. If I load an SWF lets say "test.swf" into my main movie. Then I hide that instance (so it's still in memory, just not visible). Anytime I use load "test.swf" using loadMovie, it should load from the cache and not from the web anymore right? Well, what if I load 50 more SWF files and do the same thing (so they are all in memory)? Will this still work, or will some of the files have to download from the web again at some point? Thanks in advance for any info on this!

Cache Effecting LoadMovie (when Swf Played)
Okay I have been searching threads for this topic, and have found much on it except for what I am looking for:

<hr>
solve cache problems when loading a movie
<hr>

Would this effect a movie that is played through the stand alone player or only a movie that is embedded on a webpage?

I am having issues with getting a blank white screen when I open my swf file...

It is fine if I embed it on a webpage. I would attach the fla but it is much too large, even zipped.

I am using loadMovie to load an external swf generated from Wildform FX text effects program.

I had been blaming it on the program but maybe it is something with the cache or something I am doing???

I have deleted all my temp internet files - this did not help.


Please let me know if I need to provide more info & thanks for any advice!

LoadMovie And Cache-big Expert Needed
I hava a big question for u and a big problem. I am using loadMovie function to preload some images, some jpgs. So i load them and then i want to use it later in my swf, problem is that even if i preload them on some computers flash cannot find them and then he makes a request from server again for that file and then file that i preloaded doesn't show up in time, there is a delay and that's not good. And it seems that it's depends from browser to browser system to system and definitly flash 6 to flash 7 player version if it is gona work or not like it supposed to. Also it depends if it's exported in flash 6 or 7. Today something didn't work on MAC when exported in flash 6 but when i exported in version 7 it works perfectly. Can someone clear this up or even MM would have problems explaining this?

Blank Screen Flash When Using Loadmovie With Swfs In Cache
Hi all
I'm an avid lurker, but this is my Very First Post!

I'm loading external swfs into a mc using loadMovie and if the user reloads one of the swfs I get a flash of a blank screen before the movie loads.(since the file is cached)

I am using a preloader and I've put in a test for if fully loaded, then dont display the preloader, but I still get a momentary white flash.

I vaguely remember reading something about using loadMovieNum and loading into a level then duplicating a mc in another level underneath then using the duplicated level underneath to show through instead of the blankscreen - Anyone tried this or something else?

Thanks in advance

PC Versus MAC Loadmovie Flash Projector Built-in Cache Issue
I made a swf with a loadmovie action
it loads a jpg, unloads it, and later on reloads it... but it is not the same file. it has been updated on the server side...

it works fine on my mac, and the projector works fine...
it doesn't work on my PC.... GRRRR
the .exe reloads the same jpg, even though it has been updated on the server side....
It doesn't work on my PC in a Explorer... double GRRRR

And this is before using a web browser... and for the projector use
(i'm aware of the browser cache issue and i m actualy using loadMovie ("http://mywebite.com/image.jpg?1")

i actually like this methode, for browser issues... even though i do not really understand it ...

this is the first time i encounter a difference of behavior between MAC and PC using flash... (i divorced with Java because of this)

What should I do ??? i tryed to use removeMovieClip but it doesn't seems to help...

My MAC and my PC use the same network, same router, no proxi,

I came up with a feeling that... but i might be completly wrong...

As it is hard to think that there is such a thing as a cache in the swf projector...

I wonder if it doesn't happen because the swf behaves like it is inside M$ explorer browser while you open it on a PC... the Operative Systeme interface of the PC seems to be run by explorer ... ???

I tryed to take it of the PC, and windows doesn't run anymore...

About Cache And LoadMovie/removeChild/addChild/Loader.load/sharedLibrary
I am curious about the cache theory

if there's a way to manually delete the cache?

I know there's a "unloadMovie" seems to work like that

did that function still working ?

and I know to add random number after the URL to load new

movie/url every time.

Hmm Flash Doesn't Allow Loadmovie Via Var?
hey all can you load a movie via a variable?
it doesn't seem to like expressions/ variables in load movie?
anyideas?
thnx
-RUi

LoadMovie Doesn't Always Work On A Mac
When you assign the loadMovie command to a button I have found, when using a Mac, that it doesn't always load the movie even if the main movie has finished loading. Eventually clicking on the button does load the movie but why not the first time? Has anyone else experienced this problem? Is there a fix?

Cheers

Opera 6 Doesn't Like LoadMovie?
I'm not sure why but every time I try to use the loadMovie command, the flash file works fine in IE6 and NS7 but not in Opera6... Here's three scripts:

a.dyn.loadMovie("photobar" + param + ".jpg")

loadMovieNum("interface.swf",2);

loadMovie("interface.swf",nav); (with a mc named nav)

Neither of them seem to work. The second one is very basic, so I'm not sure what's going on. I made sure I was running Flash Player 6 v29 and everything. Anyone else have this problem?

If you'd like to test for yourself with Opera, try this link: http://www.sanxuary.com/motorbooty/photos/index.htm ... you'll notice that the arrows point to a mc that doesn't appear (that's the interface.swf)

LoadMovie Doesn't Scroll
I create a movie with scrolling text box - which worked fine.
but when I LoadMovie it onto my main movie, scroll bar doesn't work!!
Someone help me please!!

(The tutorial I used is at http://www.flashkit.com/movies/Inter...3587/index.php)

Why Doesn't LoadMovie Work With .gif's?
I'm using loadMovie to display thumbnail's and their grownup counterparts, but I can only get it to work with jpeg's. What is going on? I need to use gif's so that I can maintain transparency around the "ragged" edges of the images. Am I missing something, or is there a compatibality issue?

LoadMovie In IE/Mac Doesn't Work
Anyone have this same problem? What I'm doing is very basic, using a preloader that tests for bytesLoaded == totalBytes, movieClip._width > 0 and framesloaded == totalframes. If none of these conditions are true, gotoAndPlay the frame that calls the function containing the above conditions. It works randomly on IE/Mac but on all other browsers/platforms it works flawlessly. thx in advance for your help

Why LoadMovie Doesn't Work
Hi I have a simple code that Picks color from the image. But when I loads an image using loadmovie it doesn't picks color. Can someone help me out whats the problem.

Without loadMovie when I load image from libary it works fine.







Attach Code

import flash.display.BitmapData;

linkageId = "landscape";
myBitmapData = BitmapData.loadBitmap(linkageId);

mc = this.createEmptyMovieClip("mc", 0);
mc.attachBitmap(myBitmapData, 0);

selectedColor.swapDepths(_root.getNextHighestDepth());
newColor = new Color(selectedColor.sample);

onMouseMove = function(){
myNewColor = "0x" + myBitmapData.getPixel(_xmouse,_ymouse).toString(16);
newColor.setRGB(myNewColor);
selectedColor.colorValue.text = myNewColor;
}

























Edited: 06/26/2007 at 09:15:41 PM by atlkhan

Loadmovie Doesn't Always Load
I'm using Flash MX on Mac OSX. I've created a website which contains some thumbnail images, which when clicked on goto a frame number which in turn loads an external swf, using loadmovienum.

The external swf's are not all loading when viewed through a browser on a pc, but do all load when viewed on a mac (both IE5.1 and Netscape.). They all load when I "publish preview", but not when I "control-test movie"

They all have jpegs, which are all saved in the same way, all have identical publishing settings, all located in the same folder.... why oh why are some not loading?

any ideas?

thanks.

LoadMovie Doesn't Support .gif's?
Hey all,

I spent an hour just now trying to figure out some loadMovie problems, and came to the conclusion that Flash cannot load .gif files. Jpg/Jpeg files are just fine, but when it comes to .gif's, nothing loads.

But then, Jpg's cannot have the alpha channels (unlike gif's), so there is always a huge white background around my loaded image. Is there a way to load gif's since they are much smaller and more robust?

Thanks

LoadMovie() Doesn't Like My JPGs :(
Can somebody tell me what I'm doing wrong here? I'm trying to load some JPGS into a SWF dynamically but for some reason it doesn't work for me......

Loadmovie Doesn't Always Load
I'm using Flash MX on Mac OSX. I've created a website which contains some thumbnail images, which when clicked on goto a frame number which in turn loads an external swf, using loadmovienum.

The external swf's are not all loading when viewed through a browser on a pc, but do all load when viewed on a mac (both IE5.1 and Netscape.). They all load when I "publish preview", but not when I "control-test movie"

They all have jpegs, which are all saved in the same way, all have identical publishing settings, all located in the same folder.... why oh why are some not loading?

any ideas?

thanks.

LoadMovie Doesn't Support .gif's?
Hey all,

I spent an hour just now trying to figure out some loadMovie problems, and came to the conclusion that Flash cannot load .gif files. Jpg/Jpeg files are just fine, but when it comes to .gif's, nothing loads.

But then, Jpg's cannot have the alpha channels (unlike gif's), so there is always a huge white background around my loaded image. Is there a way to load gif's since they are much smaller and more robust?

Thanks

LoadMovie Doesn't Work
ActionScript Code:
_root.holder_mc.loadPic("lamp1.jpg");
MovieClip.prototype.loadPic = function(myPic) {
    this.createEmptyMovieClip("container",0)
    loadMovie(myPic, this); // doesn't work;
    this.loadMovie(myPic, this); // doesn't work;
    this.container.loadMovie(myPic); // doesn't work;
    /*
    this.onEnterFrame = function() {
        var totalBytes = this.getBytesTotal();
        var loadedBytes = this.getBytesLoaded();
        var percent = int((loadedBytes/totalBytes)*100);
        if(loadedBytes<totalBytes) {
            _root.progressBar_mc.gotoAndStop(percent);
            if(percent == 100){
                this._visible = true
               
            }
        }      
    };
    */
}

OnClipevent Doesn't Work When I Loadmovie
Anyone have any experience with loading a movieclip that contains onClipevent(enterFrame) commands that stop working..

I have a slider-type interface that uses clip events. Works fine when ran by itself but if I load it into another movie it doesnt seem to recognize the event commands.

LoadMovie In Netscape Doesn't Work...
Hey. What can be happening here that when I use the loadMovie action it dowsn't work in Netscaper 6.2 and it does in Opera 6 and IE 6 ????

Help here! I want everyone to see my webpage
chek it out at http://www.asoft.com.ar/index.htm (not index.html)

Load JPG's Via LoadMovie Doesn't Work
Im trying to load JPG's via loadMovie("http://mydomain.com/twin.jpg", "_root.myMovieClip");

the .swf is in a diferent domain i think this is the problem
but it works when i tell it to load an other .swf file.
so whats the big deal? i can't load JPG's from a diferent URL?

What i want to do is load this JPG's files every 10Secs because i didn't find the way to make the live stream with liveCam = camera.get();
myCam.attachVideo(liveCam); <--- i know this way only works locally and when u publish the movie it says allow "local" to access blah blah blah.
but i've visited a few sites that says Allow "domain.com" to acces your camera blah blah blah.

http://pilotvideo.com/NewFiles/Compression.html

But if anyone can tell me how i can load the JPG's from URL i'll be pretty happy, thanks in advanced =)

(Problem) Loadmovie, Still Doesn't Work
Hi, I have another problem,

I just can't get loadmovie to work I have tried everything,

I have a rollover effect on the buttons (if you download the fla you will see the effect) maybe that is why loadmovie won't work? I have tried everything this is my last resort,

thanks in advance!


(button1 has the loadmovie on it)


regards
Endstand

Loadmovie With External Jpg Doesn't Work
Hi everybody,
Excuse me for my English, i'm French...

I have a big problem.

My "loadmovie" works fine in my standalone PC,
but when i put it in my web site, nothing appears.
I want lo load 80-100 Ko external images (jpg in standard encoding).

I think i have to loop until my jpg been loaded
but can you give me a solution to know when my external jpg is loaded

or can you give me a simple example (*.fla) with an external image preloader...

Thanks

Preloader Doesn't Work When Using Loadmovie....help
Hey all,

I'm creating a site and when a button is pressed in the menu it loads a movie into an MC. And in the movie that's loaded I'm using a bar and percentage preloader.
Now when I test only the movie, that is not throught the menu, the preloader works fine.

But when I use it through the menu and with the loadmovie action, the preloader just jumps to 100% and stops there until the movie is loaded and then continues, in other words the preloader is pointless. Here's the preloader I'm using:
http://www.actionscripts.co.uk/tutorials/kimholland/01/




Does anybody have any clue of what I could do?
thanks in advance


Cetrez

Help With Loadmovie Action, One Works, Other Doesn't
My scene has buttons on the main stage that load other swf files into the movie.
they work just fine.

As I drag another movie clip onto the stage called 'menu' with buttons.
I try and use the same actionscript to load one of the same swf;s using 'menu's' buttons.
My script does not work when the buttons sit in a seperate movie clip.
I think there is something wrong with the parent/child relationship.

Will someone look at it for me.
I will upload it if you agree
Thanks

Fisher

Loadmovie Doesn't Load Online
Well my friends, I thought this was simple, but I've tried a several times and nothing.

I have a movie clip that loads other movie clips: I do that with a empty movie clip palced in one Parent's movie clip frame and my code in that frame is:

code:
loadmovie("My_other_movie.swf","Empty_movie_instan ce");
stop();


but when I put both swf files in my page just work for one of the swf (the first) and not with the others. It works in my local drive, what happens?

Thank you.

an example here: http://www.jgavalos.com/cv.html
try to press one of the buttons below

Loadmovie Url Doesn't Work In Standalone
I'm trying to load an external swf from a website using loadmovie:

loadMovie("http://www.website.com/flashfile.swf", 0);

It works when I run the movie in the HTML document, but not in a standalone Flash player or projector. What can I do to load the movie into a standalone application?

Thanks!

Preloader Doesn't Work With LoadMovie
hi!

I am creating a website and I have a main .swf file that loads other .swf files when needed. for each swf file I have created a preloader and all of them work fine individually (if I open the swf file directly).
The problem is when I make the loadMovie from the main swf, the file loads fine but jumps the preloader!!?? the animations starts imediatly and freeze when they have bigger things to load!

the preloaders are in a scene and have the folowing code:

bytesloaded = _root.getBytesLoaded();
bytestotal = _root.getBytesTotal();
percent= int(( bytesloaded / bytestotal ) * 100);

if(bytesloaded == bytestotal) {
gotoAndPlay(3);
}
else {
loadBar.gotoAndStop(percent);
}

I have read the other topic about preloading and loadmovie but I decided to post here because the problem is different.

Thanks a lot

please help, it's really really urgent!!

LoadMovie Doesn't Load Immediately
i'm trying to use loadMovie to load images into my flash doc, but whenever a new image is loaded, the background is visible for a moment.

I've attached the basic .fla and if you watch carefully, the background flashes before the image appears (it's green to be more apparent)

Thanks for any help

LoadMovie: 100% Loaded Doesn't Show Up Right Away?
I'm using loadMovie to load images into created movie clips. I'm monitoring the loading to make sure that the images are loaded 100% before continuing. This seems to work fine in IE(7).

Anything else, however, seems to load the images much more quickly but doesn't seem to load them completly - the movie begins playing but the images lag behind slightly.

You should be able to see it happen at: //removed link

At this point I'm not even sure what to search for that might be the root of the problem.

I'm using getBytesLoaded / getBytesTotal for each clip (loaded in order, doesn't progress until each previous image has finished) but I'm not sure if there is some other command that I should be using instead?

If it's just a browser issue is there a way I can instruct the browser to load completely before finishing?

LoadMovie In McHolder Doesn't Work
This is driving me nuts! (short trip)

I'm using

loadMovie ("http://www.xxx.com/xxx/xxx/flashscroll.swf", "flashscrollHolder");

to load an image scroller (flashscroll.swf) into the main movie, and when the external SWF loads into the "flashscrollHolder" it doesn't work (the buttons on the scroller don't move the images back and forth)

The flashscroll.swf (image scroller) DOES work when it's loaded onto the main movie in _level1 when the "flashscrollHolder" target container is NOT used, but then I can't position it on the stage where I want it.


arggh. I finally get an image scroller to work how I want, and I STILL can't make it work WHERE I want

Someone... please help??.......

Either...

How do I position the X, Y, of the external SWF on the stage, or

How to make the external SWF play properly when loading into the MC Instance holder?

I have named the MC instance to "flashscrollHolder" in the Instance panel.

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