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




Problem Preloading Large Swf Files



Hi All,I am developing a CD presentation in Flash.My flash presentation contains a lot of video files, and during some of the video filesI need actions to be performed during playback ( such as highlighting topics etc )So I found that I had to embed my video files (mov) in swf files, and then loadthe swf files into the main flash movie for playback.I load the files using the loadClip function ( also tried the loadMovie function )I need to preload these files as some of them are quite large ( 20 - 50 MB ).The problem is that when I press "Load Movie" in the main flash movie,the whole movie "freezes" or "hangs" until the whole movie is loaded, and it just playsthe preloader quickly ( Ive tried SO SO many preloaders with onEnterFrame actions, getBytesLoaded etc,i ve tried having the preloader in one scene as the video and in the same, it just plays quickly thorugh the preloader)Ive also tried the onLoadProgress function in movieClipLoader class, but it just dosent do anything while the clip loades.I've tried getting the loader object to work, but that too "freezes" when I try to load the movie,and just skips right to 100% when the movie starts playing.I;m starting to get lost for ideas here guys, Anyone with some suggestions ?? Im am running Flash MX 2004 ProCheersArve




View Complete Forum Thread with Replies

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

Problem Preloading Large Swf Files
Hi All,

I am developing a CD presentation in Flash.
My flash presentation contains a lot of video files, and during some of the video files
I need actions to be performed during playback ( such as highlighting topics etc )
So I found that I had to embed my video files (mov) in swf files, and then load
the swf files into the main flash movie for playback.

I load the files using the loadClip function ( also tried the loadMovie function )

I need to preload these files as some of them are quite large ( 20 - 50 MB ).

The problem is that when I press "Load Movie" in the main flash movie,
the whole movie "freezes" or "hangs" until the whole movie is loaded, and it just plays
the preloader quickly ( Ive tried SO SO many preloaders with onEnterFrame actions, getBytesLoaded etc,
i ve tried having the preloader in one scene as the video and in the same, it just plays quickly thorugh the preloader)

Ive also tried the onLoadProgress function in movieClipLoader class, but it just dosent
do anything while the clip loades.

I've tried getting the loader object to work, but that too "freezes" when I try to load the movie,
and just skips right to 100% when the movie starts playing.

I;m starting to get lost for ideas here guys,
Anyone with some suggestions ??

Im am running Flash MX 2004 Pro

Cheers

Arve

Preloading Large Files And "Running Slowly" Error
I am preloading a large swf using an external preloader based around a MovieClipLoader. For a large file (3MB), I sometimes get the message "A script in this movie is causing Macromedia Flash Player to run slowly.". The preloader is obviously not computationally intensive at all (just changes the width of a small mask on the screen), I can see the processor isn't stressed. It's just the long load that seems to trigger this message... and yet, I've seen people preload large swfs before (e.g., cartoons, etc.), so it must be possible. Maybe I should stay away from the MovieClipLoader and just do a loadMovie, polling for progress...

Any thoughts on this would be greatly appreciated.

Retaining Order Of Files Loaded Externally From Large XML Files
Hi everyone,
I was messing around with some old examples, and I ran into an unfinished example where several 30k-100k XML files are loaded and stored as a string into an Array. The code looks basically like:

Code:
//example input: foo.xml%zeeb.xml%blarg.xml
function loadXML(filePaths:String) {
filesArray = filePaths.split('%');
for (var i:Number = 0; i<filesArray.length; i++) {
var xmlData:XML = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = function(success) {
if (success) {
//order of files loaded is messed up here!
parseXMLData(this, filesArray.length);
} else {
//trace(filesArray[1]+" failed to load!");
}
};
xmlData.load(filesArray[i]);
}
}
Basically, when I trace the 'this', the order of the files that are loaded is off. Out of about 10 tries, about 3 times the order is perfect. The remaining 7 times, the order is a bit off. Does anybody have a suggestion on how to ensure the files are loaded prior to the next file being loaded?

I tried placing a while loop that basically delays the clock for a few milliseconds, and that didn't work either. Besides, that is not really a good solution to arbitrarily waste clock cycles. I am guessing some sort of a listener might be needed, but that is where I've hit a wall

Thanks!
Kirupa

Having Trouble Preloading Large .swf
I have created a flash movie, 2 scenes (Scene 1 the pre-loader and Scene 2 the main movie). Scene 2 contains three layers on one frame—background, content and actions. The content layer has 7 layers across 10 frames, six of the layers have numerous movie clips. The pre-loader keeps playing until the whole .swf has loaded, when the movie plays everything works as planned.

I want users to start viewing the movie after the bios layer on frame 2 in the content mc has loaded, but, I can't get it to work. I have spent many hours trying without success. I am self taught and have no one where I live to help me with this. I need to complete the site by tomorrow for a new job prospect, I would like it to work properly. I don't want users to have to wait until the whole thing has loaded.

Here is the actionScript for the pre-loader:

Actions Layer Frame 1 = ifFrameLoaded ("Scene 2", 1) {

gotoAndPlay("Scene 2", 1) }

Actions Layer Frame 60 = gotoAndPlay("Scene 1", 1);

The .swf is 1.8mb and the .fla is 4mb
Using Flash MX 2004

If someone could look at the .fla and help me out I will be grateful.

Thanks for your help...Colin

Preloading Large Swf Question
Hi everyone!

I have a question about preloading large files. We wish to preload large “swf” files (1 to 30 meg) videos with a stop in the first frame. If a preloader is created can it monitor the frames being loaded in the target movie then tell it to play after a certain amount of frames been loaded?

Mucho thanks!

Preloading Large .swfs
Hello all,

I have a main.swf file which has a variable that loads 6 quite large photo based transitions (approx 50kb) in and out of the movie.

They work fine and they look good on say a 4 meg line, but on a slower connection and if the internet is being a little slow they lag a bit. Once they are cached they run smoothly:

http://www.start-london.com/

As you can see from the link there is an intro page.

Is there a way that a I can preload the transitions while this intro page is showing? Or even on the first transition that loads into the main stage?

Or how do I display a loading graphic/movieClip between these transitions?

Ideally I guess I would have both a preloading function and a loading bar...

Thanks for any help in advance.

Henry

Preloading A Large File (i'm Getting An Hourglass)
Hi,

I'm creating an important flash CD, and I'm getting into some problems in the loadMovie area. Basically, what's happening is this: I am using a small projector file to load external swf files which contain embedded video (so file sizes ranging from 20MB to 80MB); when I use the loadMovie command, the movie eventually loads, but an hourglass is displayed and all animations that were going on stop until after the movie has finished loading. What I'm trying to do is create a preloader for these swf files, either inside the swf file, or in the projector. I've made many a preloader before, and here I've tried a simple two frame loader in the swf files, and many different actionscripting preloaders in the loading projector. But once the loadMovie command is called, the movie freezes until it is fully loaded; the first frame of the movie doesn't even show or get played, and neither does any call to a simple blinking "loading" text I have in the loader file.

Does anyone know how to get this to work? I kknow it can be done. I recently saw a band's enhanced CD (that uses Flash Player 6 projector file) that has a small loading projector file, and an 80MB external swf file. This file is loaded into the projector, but the projector doesn't stop playing a simple blinking "loading" animation.

Any help is greatly appreciated, and if you have other suggestions as to how to load the swf file, please tell. Thanks,

-Anand Anbalagan

Preloading A Large Text File
i have this problem,
i created an actionscript that searches a text file for a number and displays some data related to the number.
the problem i have is that it is a big file, takes too much time to load, when someone clicks the search button, one might think it's not working, because it takes time to load the whole text file and search thru it.

so,
is there a way to preload the text file at the begining of the movie to the cache(with the movie preloading) so that when someone searches data is displayed instantly??

thanks in advance for your help

Preloading A Large First Frame In A Movie
hello guys,
i was working on a website involving a few 200kB images. one of these images form a the first frame of the movie (thats excluding the preloader frame) because of which the preloader does not appear untill the full first frame has been laoded. also the rest of the frames form only another 50kB in size. so it kind of takes a long time to load the prelaoder progress bar or progress text.
so does any one have a solution to have the preloader do the intended job?
also using loadMovieNum or loadMovie or movieclip.loadmovie methods is it possible to load an external file inbetween two layers in the main movie ?

Preloading A Large Child Mc That Is Contained In 1 Frame Of Timeline
Hi,

I am wondering if anyone can help me, I have the following code for my preloader mc in flash mx,

onClipEvent (enterFrame) {
framesLoaded = (Math.ceil (( _parent._framesloaded / _parent._totalframes) * 100));
gotoAndStop (framesLoaded);
info.text = framesLoaded + "% completed";
if (framesLoaded >= 231) {
_root.gotoAndPlay (2);
}
}
This does not seem to work. I have in my second scene a mc clip named firefly which has 15 layers and 231 frames long , however it occupies only 1 frame of the timeline in scene 2 (a child mc?).

Is this where my problem lies? if so, how do I transfer the frames/layers of my firefly mc into the second scenes timeline so the loader will work.

any help would be appreciated.

Preloading Large (400+kb) Movies And Eliminating The Delay While Library Loads
I read something about this before, but can't quite remember, my problem is I am building some fairly large game applications, and when the preloader runs, under 56k speed, nothing is shown for 15 seconds while the library loads (65kb), then you see the first frame. I know I can use a loader swf and load my game swf into it and that would solve the problem, but is there anything else I can do.

Thanks

Large Files
What do you do when you've got a really large swf.

I'm designing a website and the final file is 3.5mb. This is really slow to load in a browser and i was wondering if anyone knew how to tackle this.

PeeKing.

Large Files...
Hi. I'm a new user to Flash MX. I've created a slideshow that has 1200 frames and I'm not sure how to make the file size smaller so the download time would be quicker. Please give me some suggestions. Thanks.

Large Png Files
i would like to make a 60 sec film containing 20 large png`s. The idea is to fade in and out of the pictures. i am a bit worried that the filesize will be too large for the web.
any ideas on how to solve this?

Large FLA Files
Nevermind





























Edited: 11/13/2006 at 05:02:13 PM by hml398

Large Video Files
finally...i'm using MX rather than 5.

I used Flix with 5 to use video, and if the video files were large (like bigger than 20 megs - it's for a CD, not internet), there were often playback issues on some computers. Is this still an issue with MX? If i use a large amount of video should I still go with Director or is MX okay for large amounts of video with decent computers?

Very Large Video Files
I'm currently doing a cd presentation with flash (I know i should have do it with director, but it's not my fault)
and there are two video files to embed. Know my problem is that the second one is very large (the flv is about 20MB) and it takes really long before it starts. It put the flv in an external swf and load it via loadMovie. The compression was done in squeeze. Now the question: are there any ways to avoid such long loading times? The swf should stream the file, but somehow it loads about 20-25 seconds before the video shows up.

Tanks in advance

Large Amount Of Swf Files
I have about 100 swf files.. and each swf file contains one frame.. I want to import every swf file so all the frames get to the same layer.. but when I try to import everyone, it's just creating one layer for each swf file.. how can I do so all swf files get on the same layer?


and all the swf files together create an animation so I don't want every swf file to be on the same frame.. but a frame by frame animation...how?

Large Flash Files
Hello, I have done some small flash work...banner type things. However, I am trying to create a larger piece of flash that will hold a lot of hi-res images in a presentation/gallery. I really want the loading time to be quick though. Is there any way I can keep the swf file size down, but keep the good hi-res quality for the photos? Are there any other flash programs that will help? Any suggestions?
Thanks!
Molly

Working With (very)large XML Files
I have to work with arather large XML file (about 25Mo).
From that XML file (which I CAN'T touch in any manner), I actually need only a couple attributes in each nodes.
Parsing the whole XML to load the data will (of course) lead to a "A script in this movie is causing Flash Player to run slowly..."

Ideally, I would like to browse the XML, only parsing data needed
(like you would do in a database...without having to load the whole database before ;-)
But I think this is not possible? Isn't it?

So, I was wondering: why shouldn't I treat it like a text file, reading it and taking only the info needed from the file?

The problem is that I don't exactly see how to do ;-)
Following is a copy paste of the first node only...how would you do to read this text and put in an array:name, cloneof and description?
Detecting the node name, checking that it exists(i.e 'cloneof" isn't present in each node), and filling the array with the value

Thanks very, very much by advance!!!


Code:
<game name="puckmana" sourcefile="pacman.c" cloneof="puckman" romof="puckman">
<description>PuckMan (Japan set 2)</description>
<year>1980</year>
<manufacturer>Namco</manufacturer>
<driver status="good" emulation="good" color="good" sound="good" graphic="good" palettesize="32"/>
</game>

How To Deal With Large Flv Files?
Hi

Anyone knows if there are ways to compress very big flv files?
The flv video file i have is currently about 58MB and the length of the video is 17minutes. The client hopes to play the whole video on his website, are there any methods to help? And what is a reasonable file size for a flv file online?

LoadSound With Large Mp3 Files
Hi all,

I'm writing a small mp3 player. It reads the playlist from an xml file, then at the end of a song (or when the "Next" button is pressed) automatically plays the next song in the list.

My problem is that if the song is a large file (around 16MB), the player doesn't play the song -- I have to click pause then play a couple of times to play it.

The code is roughly:


Code:
function playSong():Void
{
tune = new Sound();
tune.onSoundComplete = playSong;
tune.loadSound(tunes[++current],true);
}
... where 'tunes' is an array of paths to the file. I've missed out a couple of things, but that's basically it. Is there an issue with loadSound needing to load some of the song first? Any way of getting around it?

Thanks in advance,
Z

Large Flash Files
Hi-

I am currently working on an animation where I have modelled everything inside of Carrara, exported as flash, then piecing it all together in Flash. The problem is that each scene can be anywhere from 3 to 5 megabytes each, which really seems to bog flash down ALOT!! Does anyone know of a program where I can fit all my swf files together then export out again into one large swf file?

Files Sizes To Large?
This is something new that has started happening and I am not sure why. I noticed it cause flash started running very slow and when I look at ram usage it is sometimes 200mb and over. This is know is not right. So I looked at the file and its size and found that is was 1mb, way to large.

I have used flash for a while and all I use it for it to draw in, that is it. So I a buggled as to why it is doing this. I have no graphics, no sounds, I am not making any animation I am just straight vector drawing on the stage. The files should be like in the kb's not mb's.

I have found that if I take the content from the overly large file, copy it to a new file and save it the size goes way back down into the kb's where it should. But as soon as I start working with this file and saving my progress as I go the size goes up again.

It's a real pain an making it hard for me to get things done. I would love any help/advice anyone has.

Oh, I am using Flash Pro 8

Pic Files Too Large HELPP
I need help figuring how I can downsize twenty 2MG jpg's so I can use them in FLash because I can't even uplad them to the website server. Is there any way I can load the pic seperately or the server and instead of embedding the pics in the swf? Or do I need to get a bigger server?

P.S. I've tried optimizing the files and they are still too large

Working With Large XML Files
I have to work with arather large XML file (about 25Mo).
From that XML file (which I CAN'T touch in any manner), I actually need only a couple attributes in each nodes.
Parsing the whole XML to load the data will (of course) lead to a "A script in this movie is causing Flash Player to run slowly..."
Ideally, I would like to browse the XML, only parsing data needed
(like you would do in a database...without having to load the whole database before ;-)
But I think this is not possible? Isn't it?
So, I was wondering: why shouldn't I treat it like a text file, reading it and taking only the info needed from the file?
The problem is that I don't exactly see how to do ;-)
Following is a copy paste of the first node only...how would you do to read this text and put in an array:name, cloneof and description?
Detecting the node name, checking that it exists(i.e 'cloneof" isn't present in each node), and filling the array with the value
Thanks very, very much by advance!!!

Code:
<game name="puckmana" sourcefile="pacman.c" cloneof="puckman" romof="puckman">
<description>PuckMan (Japan set 2)</description>
<year>1980</year>
<manufacturer>Namco</manufacturer>
<driver status="good" emulation="good" color="good" sound="good" graphic="good" palettesize="32"/>
</game>

LoadSound With Large Mp3 Files
Hi all,

I've submitted this same query to a forum on actionscript.org, hope it's cool to post here too.

I'm writing a small mp3 player. It reads the playlist from an xml file, then at the end of a song (or when the "Next" button is pressed) automatically plays the next song in the list.

My problem is that if the song is a large file (around 16MB), the player doesn't play the song -- I have to click pause then play a couple of times to play it.

The code is roughly:


Code:
function playSong():Void
{
tune = new Sound();
tune.onSoundComplete = playSong;
tune.loadSound(tunes[++current],true);
}
... where 'tunes' is an array of paths to the file. I've missed out a couple of things, but that's basically it. Is there an issue with loadSound needing to load some of the song first? Any way of getting around it?

Any ideas gratefully received!

Thanks in advance,
Z

Working With Large XML Files
I have to work with arather large XML file (about 25Mo).
From that XML file (which I CAN'T touch in any manner), I actually need only a couple attributes in each nodes.
Parsing the whole XML to load the data will (of course) lead to a "A script in this movie is causing Flash Player to run slowly..."

Ideally, I would like to browse the XML, only parsing data needed
(like you would do in a database...without having to load the whole database before ;-)
But I think this is not possible? Isn't it?

So, I was wondering: why shouldn't I treat it like a text file, reading it and taking only the info needed from the file?

The problem is that I don't exactly see how to do ;-)
Following is a copy paste of the first node only...how would you do to read this text and put in an array:name, cloneof and description?
Detecting the node name, checking that it exists(i.e 'cloneof" isn't present in each node), and filling the array with the value

Thanks very, very much by advance!!!


Code:
<game name="puckmana" sourcefile="pacman.c" cloneof="puckman" romof="puckman">
<description>PuckMan (Japan set 2)</description>
<year>1980</year>
<manufacturer>Namco</manufacturer>
<driver status="good" emulation="good" color="good" sound="good" graphic="good" palettesize="32"/>
</game>

Preloaders And Large Files
I've got a Flash movie that contains a music player. The total weight of the SWF is around 13.5 MB. I've created a preloader for it but it does not display when the page is loading. I've tested the movie by emulating up to 500K download and it still does not work. I have confirmed that the preloader was created correctly by testing it with a smaller movie with success. Anybody else experience this problem?

Thank you!

Working With Large XML Files
I have to work with arather large XML file (about 25Mo).
From that XML file (which I CAN'T touch in any manner), I actually need only a couple attributes in each nodes.
Parsing the whole XML to load the data will (of course) lead to a "A script in this movie is causing Flash Player to run slowly..."

Ideally, I would like to browse the XML, only parsing data needed
(like you would do in a database...without having to load the whole database before ;-)
But I think this is not possible? Isn't it?

So, I was wondering: why shouldn't I treat it like a text file, reading it and taking only the info needed from the file?

The problem is that I don't exactly see how to do ;-)
Following is a copy paste of the first node only...how would you do to read this text and put in an array:name, cloneof and description?
Detecting the node name, checking that it exists(i.e 'cloneof" isn't present in each node), and filling the array with the value

Thanks very, very much by advance!!!

<game name="puckmana" sourcefile="pacman.c" cloneof="puckman" romof="puckman">
<description>PuckMan (Japan set 2)</description>
<year>1980</year>
<manufacturer>Namco</manufacturer>
<driver status="good" emulation="good" color="good" sound="good" graphic="good" palettesize="32"/>
</game>

Working With Large XML Files
I have to work with arather large XML file (about 25Mo).
From that XML file (which I CAN'T touch in any manner), I actually need only a couple attributes in each nodes.
Parsing the whole XML to load the data will (of course) lead to a "A script in this movie is causing Flash Player to run slowly..."

Ideally, I would like to browse the XML, only parsing data needed
(like you would do in a database...without having to load the whole database before ;-)
But I think this is not possible? Isn't it?

So, I was wondering: why shouldn't I treat it like a text file, reading it and taking only the info needed from the file?

The problem is that I don't exactly see how to do ;-)
Following is a copy paste of the first node only...how would you do to read this text and put in an array:name, cloneof and description?
Detecting the node name, checking that it exists(i.e 'cloneof" isn't present in each node), and filling the array with the value

Thanks very, very much by advance!!!


Code:


<game name="puckmana" sourcefile="pacman.c" cloneof="puckman" romof="puckman">
<description>PuckMan (Japan set 2)</description>
<year>1980</year>
<manufacturer>Namco</manufacturer>
<driver status="good" emulation="good" color="good" sound="good" graphic="good" palettesize="32"/>
</game>

Help Editing Large Sound Files?
Hi. I'm a newbie to Flash MX and I'm trying to create a digital poetry piece using Flash that will end up on a VCD (just because the files sizes are so enormous, it'd take year to download over the web). I have a huge spoken word narration for the piece (about 2-3 minutes long) that I've compressed from a wav file into an MP3 and imported onto a layer. It sits in the first frame of that layer. My experience with sound files in Flash 5 has been with small loops that are easy to edit because you can see the whole file stretching out across the frames of the layer.

What I want to do is be able to stop or, really, "pause" the narration at a certain point during which another smaller sound file will play, and when it ends, the narration will resume to the end.

When I go into the properties panel, the sound file for the narration is all there, but I can't tell where the points are where I'd want to make it stop and start again because when it plays, the little indicator doesn't move along the file.

So--can anyone help me figure out how to stop/pause the narration layer file, play the smaller sound file on another layer, stop that, then resume the narration sound file?

I'd be very grateful. Thanks a lot--
Ruby

Loading Large External .swf Files....
Hi,

I've got a projector that loads a large .swf file (135mb).

Its going on a CD so i've made the project display a message saying 'please wait...loading'. It then loads the 135mb movie using 'loadMovieNum'.

I need my 'please wait' message to have an animation looping while the .swf file is loading.

I've set the 'please wait' to loop and do a simple animation. The only problem is, as soon as the projector gets to the frame that loads the movie, the animation stops.

Can anyone help?
My deadline is getting very close!

Thanks in advance,
Phil

Scrolling Large Flash Files In IE
Hi

I looked around a couple of forums/macromedia's website, but I found nothing about this problem.

When creating flash movies that are too high for the content display section of internet explorer (i.e, a vertical scrollbar appears in the browser window), I get a strange bug from Internet Explorer when I try to scroll up and down the movie.

Instead of trying to explain what it looks like, you could have a look at http://www.subwaydesigns.net/owb/oneworld2.html
Once the movie is loaded, scroll down a bit, then click on "about OWB". If you're using IE, there should be a display problem (part of the flash movie "freezes", it's like flash forgets to update part of the content that's changing...). I've tried this on many different systems, so I'm pretty sure it's not only my computer.

Does anyone have any insight on this?

Thanks in advance.

-s.

Drag'n'drop In Large SWF-files
Using a drag'n'drop-interface in an adventure-like game I run into the following problem:

When I only use simple graphics to make a quick setup everything works fine, but after replacing the graphics with more detailed ones, some drag'n'drop-items don't recognize their droptargets anymore.

Anyone recognizing this problem?

Preloader Question - Large Files
Is there any way to make a preloader appear immediately for a swf file that weighs in at a good 16mb?
my preloader that is in the file doesnt appear, and im just left with a big white square and i need a preloader to show that something indeed is going on to keep users from thinking "ah this isnt working, im outta here."

any ideas?

Reading Large XML Files. Help Needed.
I have a long XML file and I'm able to read each node in the file, but I'd rather not have to type out:

.firstChild.firstChild.nextSibling.firstChild
.firstChild.firstChild.nextSibling.nextSibling.fir stChild
.firstChild.firstChild.nextSibling.nextSibling.nex tSibling.firstChild

...Adding ".nextSibling" each time to read the nextSibling in the node list.

Is there a better way? Maybe to loop and add another ".nextSibling" to the line each time?

I've tried ...firstChild.firstChild"+xsib+".firstChild where xsib += ".nextSibling", but it always ends up printing out the literal string, rather than reading the XML file like I want it to.

Ie:
allData[0].firstChild.firstChild.nextSibling.firstChild
allData[1].firstChild.firstChild.nextSibling.nextSibling.fir stChild


Here is my code so far:

myXML.ignoreWhite = true;
myXML.onLoad = function(success) {
if (success) {
//trace('data loaded')
alldata = this.firstChild.childNodes;
for (i=0; i<allData.length; i++) {
xsib += ".nextSibling";
trace(allData[i].attributes.name);
trace(allData[i].firstChild.attributes.name);
trace(allData[i].firstChild.firstChild.firstChild);
trace(allData[i].firstChild.firstChild.nextSibling.firstChild);
trace(allData[i].firstChild.firstChild.nextSibling.nextSibling.fir stChild);
trace("---");
trace("allData["+i+"].firstChild.firstChild"+xsib+".firstChild");
trace("---");
}
} else {
trace("error");
}
};
myXML.load(myFile.xml');

Options With Large Flash Files...
I have a large movie of over 3MB's with video and seven scenes that is also a quiz and keeps track of answers. This demo file is only three questions and is already 3MB's with the video so with a larger test it's obvious loading it as one movie would really bore the user...

Can you break up flash movies and still pass data to the next movie swf? Or maybe use a preloader that loads 50% of the movie or should I break it up. Are there any good tutorials out there to learn how to deal with these behemoth swf's and their presentation?

Streaming Large FLV Files Over The Internet
Hello,

I am currently working with some rather large FLV video files (sizes range from 70Mb to 100Mb) and they will need to be put online for quite a lot of people to access and stream.

I'm in the process of testing now. I am on a business network testing this and the quality is poor (stuttering sound/video due to streaming issues etc.), I hate to think what it is like for the visitor.

Is there anything I need to consider when putting large FLV files on the internet? Is there anything I can do to prevent the poor quality etc. yet still have a reasonable file size?

I would appreciate all help from anyone who knows anything about this.

Thanks in advance

EGR103

Streaming Large Audio Files
Hi y'all.

I am having issues streaming large audio files (a 100mb dj mix mp3) through flash. Does anybody know why this could be? Are there limitation to file sizes that flash can handle or....?

Any help is be greatly appreciate.

jtk

Help Loading Large (huge) XML Files
Hi all,

I have a new project I will be working on shortly that will involve loading a 70,000KB XML document. I am pretty sure there is no way I want to load the whole thing before the user can start using the data. Does anybody know what I would have to do to work with this large of a file in Flash? Any suggestions on books or websites that might offer a solution would be great. I am not expecting full documentation and/or code just a point in the right direction on how to get this done.

Thanks

Downloading Large Files With Flash..............
Hello-

I'm having a couple of small issues with downloading files. On a particular page in my web site I have large audio files (greater than 100 mb) that are available for download. The page is also a flash doucument. The first problem is that the files over 100 mb (which is all of them) don't actually get saved to your hard disc, while smaller files (like pictures) download without any issues. In HTML you would just right-click a button and that would start the process. Does anyone have a solution for this?

The second problem is less important. It has to do with showing the web surfer the progress of the download. Even though I'm using an eventlistener for the progress.......no prompt is shown that specifies the progress.



Any help would be greatly appreciated.



Here's the code I've been using-


Code:

import flash.net.FileReference;

listener.onSelect = function(file:FileReference):Void {
trace("onSelect: " + file.name);
}

listener.onCancel = function(file:FileReference):Void {
trace("onCancel");
}

listener.onOpen = function(file:FileReference):Void {
trace("onOpen: " + file.name);
}

listener.onProgress = function(file:FileReference, bytesLoaded:Number, bytesTotal:Number):Void {
trace("onProgress with bytesLoaded: " + bytesLoaded + " bytesTotal: " + bytesTotal);
}

listener.onComplete = function(file:FileReference):Void {
trace("onComplete: " + file.name);
}

listener.onIOError = function(file:FileReference):Void {
trace("onIOError: " + file.name);
}

var fileRef:FileReference = new FileReference();
var url:String = "http://www.trance-state.com/Downloads_files/DJTrinity-Faith-WWW.Trance-state.Com.mp3";
DL_Btn.onPress=function(){
fileRef.download(url, "DJ Trinity - Faith (www.trance-state.com).mp3");
}

Upload Fails On Large Files?
I built an uploader which works fine on decently sized files.

When I upload say a 2mb picture however, everything appears to be working fine - all the progress indicators, on completes operate as usual.... but then the file never shows up on the server?

I realize this is pretty vague, lacking code examples, but I just wanted to kind of put a general question out there, see if anyone suspects anything right off the bat..

ie, is it maybe something more wrong with my server?
flash dosent have some upload limit i dont know about?
??

Flash Mx Slows Down When Working On Large Files?
Hi
I am working on a 20mgb fla file.
I can understand that it could take a long time to publish, save, etc
but its slowed to a crawl when doing simple things like selecting the next frame.
The file size is due to many large bitmaps and large sound files.
Has anyone encountered this problem?
I amusing a P111 800 with 128ram and winME

Thanks
DanV

Components Make For Large Files Sizes?
I am building a website that uses components on some of the pages. On a broadband (DSL/Cable) connection, the pages load fine, but on dial up, they take forever. The thing is, the SWFs are not that big.

http://www.forever-in-bloom.com/Fresh/index.html

For example, the Partners page is only 8K. Why would it take so long to load on a dial up connection?

I have attached the FLA for the Partners page so you can see how I have it set up.

Or, if someone knows of a scroller (both horizontal & vertical) that I can use other than a component, I would be eternally greatfull!

Please help...My client has AOL on a dial up connection, so it has to load quickly for him.

Thanks in advance!

Streaming Problems, Large Swf Files. Convert To Flv?
I have a large series of captivate produced swf files designed for training. I have loaded them up to our LMS to be served from. The files are screenshots for software simulations. I have done numerous optimizations on the files and have them as small as I can get them.

I am assumming I am running with the embed video option (http://www.macromedia.com/devnet/fla...wnload_05.html), but need to have it progessive download or stream. I won't have big money to spend, so I guess stream is out of the question. So, in order to progess download, what do I need to do. How can I convert the swf to flv, which I have heard is better for netwrok travel?

How To Split The Large .FLV File Into Multiple Files?
Hi,

I have called flash movie into .flv file externally. The flv file file is 8mb. Is it possible to spilt the flv file using any software? I need to split it to make loading easier. I really tried my best on this but couldn't get it ..Pls, if anyone can help me with this, I would be really thankful. Hope to get a great response from you guys soon.

Large Files, PreLoaders And Cranky Clients
Okay, first post in this forum...

A little background. I don't do a lot of flash work. When I do, I use SwishMax.

I have a customer who asked me to do a gallery for him. "My customers are all top end and I do not ever expect to have people on low bandwidth connections looking at my online portfolio..." he assured me. Then 6 mos. after go live, he sold the company. He's still working with them, but the new owner complains that several clients have mentioned that the gallery files take a while to download. And on top of it, he feels the pictures are too small, so he'd like the size increased.

I put a preloader on a a test version of one of his galleries to show him (as I should have done in the first place). You can see it here, by clicking the "water" link (so it opens in a properly sized window).

I'm thinking that I might get some additional benefit by breaking the gallery into a couple of movies and chaining them together. Download the first via preloader, while that runs, download the second, as the second prepares to start, double check with the preloader, etc.

What are best practices here? Obviously my spec got changed 180 degrees, but I can't control that, and I want the guy to be happy. Thoughts, comments, cries of outright indignation at my stupidity? Let's hear it...

Thanks in advance.

Mark

Flash MX SWF File Length Question - Large Files
I've been reading the newsgroups about problems with large SWF's - and to me - video implies support for large SWF's. Are there any recommendations or studies done about the feasibility of reliably deploying CDROM or stream-based video content in 25-100 MB SWF's?

We're seeing audio dropouts when seeking around large SWF's when our app is embedded in a browser and I'm beginning to suspect that Macromedia is hiding something about the quality of its video support.

Is MX video a joke for anything but tiny little clips? We need robust interactive video that can do arbitrary seeks, stops and plays.

And no - Director is not an option - we have zero-tolearance for multi-megabyte installs.

Thanks for any feedback or reports...

idealord
jeffh@actv.com

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