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








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




SitePoint > Design Your Site > Flash and Actionscript
Posted on: Apr 11, 2005, 07:42


View Complete Forum Thread with Replies

Sponsored Links:

Clients And Source Files
Hi all!
Here's a question: am I in any way obligated to supply the source files to my client or can I send him the final results only?
Thank you for your help!

View Replies !    View Related
My Clients Can't Open My Swf Files
Can anyone help me out? When I send swf files to clients they are not able to open them even after they've downloaded the flash player from the macromedia site. Should I just send it to them in HTML format? Thanks
ZionChild

View Replies !    View Related
PreLoaders For Large Images
I've gone through many preloader tutorials but can't find one that address this specific situation...I'm looking for a preloader that will load before a large image does on the same scene.

any suggestions?

I really appreciate your help!
Furpants

View Replies !    View Related
My Clients Are Having Problems Opening Swf Files
Can anyone help me out? When I send swf files to clients they are not able to open them even after they've downloaded the flash player from the macromedia site. Should I just send it to them in HTML format? Would that be a possible solution? Thanks
ZionChild

View Replies !    View Related
Enabling Your Clients To Edit These Xml Files Or Txt Files In An Easy To Edit Format
Okay so this is an issue i've faced since day one and am growing tired of not having an ideal solution for. I've learned to create files that can be updated via xml or simple .txt to make the updating process easier, but how do you gurus out there bridge the gap by enabling your clients to edit these xml files or txt files in an easy to edit format like your basic cms... but except it would be cms that would update the xml or txt file and then in turn update your swf file.

I'm sure you guys out there rely on many different solutions but i'm just looking for some enlightenment on the different ways to accomplish this and what i could possibly do to be pointed in the right direction.

Thanks ahead of time for any insight.

View Replies !    View Related
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

View Replies !    View Related
HELP: My Cranky SwapDepths And RollOvers?
Dear Helpful

Been banging away at this code, reading blogs n forums for the last 24h but to no avail... I'm extremely new and rusty to action script, and i guess, looking at most code solutions, that i'm simply missing a little fundamental knowledge in this department... Anyway... here's my problem:

I'm running FLMXpro 2004. I've an interactive menu displaying 40 small photo thumbs tightly packed, which tween zoom and enlarge as you rollOver. I picked up a bit of code which did the job a treat and has exactly the feel i need... However when i edited the order of the thumbs, some zoom states are now obscured by thumbs on higher depths... I've now learnt that i can use swapDepths to always bring the rolledOver way to the front, which is great, but i'm having real trouble integrating swapDepths into my existing code or scene...

Here's my rollOver / zoom code which is attached to each mc within its own actions timeline:

stop();
this.onEnterFrame = function(){
if(rewind == true){
prevFrame();
}
}
this.onRollOver = function(){
rewind = false;
play();
}
this.onRollOut = function(){
rewind = true;
}
this.onRelease = function(){
getURL("/KP/index.html","_top");
}

/////////////////////////////////////////////////////////////////////////////////
Here's my simple swapDepths code which works great by itself on test circles etc but not with the above code around:
/////////////////////////////////////////////////////////////////////////////////

on(rollOver)
{
this.swapDepths(1000);
}

So where am i going wrong... The common result i've been getting is that all my little thumbs start playing/zooming in and out etc like mad thumbs????

Many thanks in advance.... Rubio

View Replies !    View Related
Only Some Web Users Can Play Our Swf-flv = CRANKY CLIENT
Hi all.
We have an swf loading flash video on a page that only some users can see.

(links to page and source fla are below)

It is creating us hell as the client cannot play the flv! We have ruled out local factors with the client as the client has both Mac and Vista and experiences the problem on both platforms. Likewise we have ruled out firewall issues as he has issues at both home and work. There are a couple of others in his workplace that have the same problem but everyone else in his workplace can play the file. Client reports that associates elsewhere also cannot play the file.

This is the problem:

1. Client can see the swf on the page.
2. The flv starts to play but stops.

All our testing comes up fine however we have been able to report one instance of a problem - on an XP machine on a 512kb download - the connection was really slow and the flv failed to load. The client is on a fast connection so I think we can rule out connectivity being an issue. Having said that - even on a slow connection the flv should load with a pre-loader and play (the guy that did this fla file says it has a preloader and all will be fine and when I question him further he says there are no issues ... so I need help!!!!!! as there are obviously issues.

So it's down to detective work.

We are attempting to isolate any issues with the CMS which may be contributing to it. The other obvious place to start is to examine the fla so I am here to see if anyone can examine our fla and make comments/suggestions. Pull it apart - PLEASE. Think of anything you can possibly suggest.

The fla can be downloaded from the link below.

Any help would be great - client is really upset!

Cheers

DOWNLOAD FLA here...
VIEW the page with SWF here...

View Replies !    View Related
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.

View Replies !    View Related
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.

View Replies !    View Related
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?

View Replies !    View Related
Large FLA Files
Nevermind





























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

View Replies !    View Related
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?

View Replies !    View Related
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

View Replies !    View Related
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?

View Replies !    View Related
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

View Replies !    View Related
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>

View Replies !    View Related
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?

View Replies !    View Related
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

View Replies !    View Related
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?

View Replies !    View Related
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

View Replies !    View Related
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

View Replies !    View Related
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>

View Replies !    View Related
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

View Replies !    View Related
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>

View Replies !    View Related
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>

View Replies !    View Related
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>

View Replies !    View Related
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

View Replies !    View Related
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

View Replies !    View Related
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.

View Replies !    View Related
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?

View Replies !    View Related
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?

View Replies !    View Related
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');

View Replies !    View Related
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?

View Replies !    View Related
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

View Replies !    View Related
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

View Replies !    View Related
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

View Replies !    View Related
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

View Replies !    View Related
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");
}

View Replies !    View Related
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?
??

View Replies !    View Related
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

View Replies !    View Related
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

View Replies !    View Related
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!

View Replies !    View Related
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?

View Replies !    View Related
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.

View Replies !    View Related
Preloaders Between Files
I have been trying to create preloaders in between SWF files but nothing seems to work. I am trying to create a flash website and I want to have doors close when a person clicks on a button to go to another section. While the other section loads the doors will remain close, once the SWF file loads the doors will open. Please help me!!!

View Replies !    View Related
Preloaders For Big Files
Hi,

I would really appreciate any help on this matter.

I have an swf file where the first frame is about 120K which I can't change because it is due to action script and linkage from the library(I think).

I have tried a preloader using "getBytesLoaded" method but it still takes ages for the progress bar to come up due to the size of the first frame. I have also tried loading it as an external swf but then half of my functions don't work.

Is there any other way of preloading methods I could try?

Any suggestions would be really well received.

this is the code I used for the preloader

mask_mc._height = 1;
this.onEnterFrame = function():Void {
var loadedData:Number = this.getBytesLoaded();
var allData:Number = this.getBytesTotal();
var percent:Number = Math.round(loadedData/allData*100);
mask_mc._yscale = percent;
percentage_txt.text = percent + "%";
if (loadedData>=allData) {
gotoAndStop(2);
delete this.onEnterFrame;
}
};


thanks

celine

View Replies !    View Related
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

View Replies !    View Related
Opps... Sound Files Too Large For Flash Download
I hate posting this here but I have little luck in either the sound or mx forums. I need some help my sound file is too fat. Here is the situtation...

Basic issue is that my flash movie is way too big, my preload option sucks because it takes too long to download. Anyway I can break my movie down in tiny bits with out noticable gap between scene or smaller movies?

Okay here is the situtation...

I am doing a large flash demo for work (not a flash developer by trade). The flash consist of 12 scenes (made primarliy in Swish converted to swf's) with a combine 1 mb file size with background music looping in all scenes with scene specific voice overs sounds. At this time I have background sound of 2.8mb mp3 (I probably can cut it down to another 1 to 1.6mb) and voice overs of 2.4mb mp3 ( I can probably cut to 2.2mb).

I have tried all kind of sound compression tools and these sound files wont get any smaller. Is there a way to compress the files further?

My key concerns right now are:

1) with sound files this large how can I make sure that a viewer with a dial-up can view the flash without waiting a 1 hour for it

2) will these large files sounds mess up the syncing of voiceovers to animation in the Flash

I know there is a way to do load this large file strategically where the viewer doesnt have to wait hours for the file to download.

Any suggestions will be Great

View Replies !    View Related
Most Efficient Way Of Posting Large Text Files In Flash?
My client wants PDF but im not sure if thats the best way to go about it.

Whats better for a 17 page document

PDF
Word
HTML
or just in the flash site itself?

I'm leaning towards maybe HTML or Word, I just really hate PDF opening up everytime. What do you guys think maybe I can convince them PDF isnt the best way.

blade

View Replies !    View Related
FileReference Fileupload Doesn't Work With Large Files
Hello Forum

I am encoutering trouble with fileuploading using the new flash 8 fileReference class.

The server seems to be set up to handle larger files (up to 20megs right now).

I am not sure how to debug this. Anyone experienced this problem?

Any insight or leads appreciated.

thanks

stephan

View Replies !    View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved