How To Estimate Load Time?
Does anyone know how to, or of a tool that will give you estimated load times at various connection speeds for a .swf file you create?
FlashKit > Flash Help > Flash MX
Posted on: 01-06-2004, 03:46 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Value Estimate...
I have created a simple flash game called "Save the World!". I was wondering the following:
1. How can I increase its value?
2. Can you find any glitches?
3. About how much is it worth right now for full rights?
The game is located here by itself.
How To Present A Price Estimate
After about 10 years of experience in web design & development as a collaborator to firms, I am facing this problem for the first time.
I am now willing to work as freelance and I don't know how the Price Estimate should be done.
Obviously I can't base the prices on # of hours, so how do you calculate service costs and how do you present them?
Calculating A Price Estimate
Hi All
I am trying to create an estimate price calculator and wot i need it to do is
i have 10 possible entries and wot i mean is
i have type of product which has dry = £20 standard = £35 and deluxe = £70
Number of voices which i want to be a numeric stepper with 1-5 and = £22 per one
and then do they need a script no = £0 and yes = £20
then i need a button which gives the total depending on which ones they have selected so
if they choose
standard
3 voices
and yes they need a script
total = £121
Please if someone knows how to do this i could really do with some help
cheers
Freight Estimate Calculator
Hello guys, I'm a newbie to ActionScript, but I've been trying to make an estimate calculator for a freight company. It will calculate two possible types of service. To ship packaged by sea or by air.
So if you ship by sea, this is the process to follow:
* First, calculate the cubic feet in a box using inches.
* Second, find out the weight to see how much it will cost
to ship to its final destination once on the other country.
(Internal Freight).
* Third, if the LocBox says "Yes" or "Sí" then no Internal Freight
is charged. WeightTotal = 0.
If you ship by air, then this is the process:
* Take the weight of the package (cubic feet not needed) and if it's
less than 14.50 pounds, charge a minimun of $100.
* If it's more than 14.50 pounds charge $7 per pound instead.
* Add the Internal Freight (just like in the other method).
That's it. Simple, no?
The things is my AS is very sloppy and I'm having troubles even making the numbers add up correctly at the end, it keeps showing NaN!
So I thought I'd post my code and the file to see if someone could help me get it working correct and maybe clean up some of my mistakes...
ActionScript Code:
stop();
calVar = new LoadVars();
calVar.load("variables.txt");
// Set a bunch of initial variables to 0 for our use
martotal = 0;
airtotal = 0;
weighttotal = 0;
d1 = 0;
d2 = 0;
d3 = 0;
weight = 0;
calVar.onLoad = function(success) {
// Setup Button Functionality
myButtonListener = new Object();
myButtonListener.click = function() {
// Get the text values and load them into variables
d1 = WIDTH.text;
d2 = DEPTH.text;
d3 = LENGTHS.text;
// calculate our cubic feet
cubic = (d1*d2*d3)/calVar.formula;
weight = Pkge.text;// Get the weight
trace("Weight: "+weight+"Lbs");
//MARITIME CUBIC FEET CALCULATION AND MINIMUM
CubicF.text = cubic;
if (cubic<=calVar.MINcf) {
MAR_Total.text = calVar.MIN_SEA;
martotal = calVar.MIN_SEA;
} else {
martotal = cubic*calVar.MODE_MAR;
MAR_Total.text = martotal;
}
trace("Costo Maritímo:"+martotal);
//AIR WEIGHT CALCULATION
if (weight<=calVar.MINwt) {
airtotal = calVar.MIN_AIR;
AIR_Total.text = airtotal;
} else {
airtotal = weight*calVar.MODE_AIR;
AIR_Total.text = airtotal;
}
trace("Costo Aereo:"+airtotal);
//INTERNAL FREIGHT CALCULATION:
WeightMin = calVar.WEIGHTmin;
WeightFee = calVar.WEIGHTfee;
if (weight>calVar.WEIGHTmin) {
subweighttotal = ((Number(weight)-Number(WeightMin))*Number(WeightFee))+Number(calVar.internalf);
} else {
subweighttotal = calVar.internalf;
}
//IS INTERNAL FREIGHT APPLICABLE?
lo = new Object();
lo.change = function(evt) {
// take action
trace("Selected data is: "+evt.target.getValue());
trace("Label = "+evt.target.selectedItem.label);
trace("Data = "+evt.target.selectedItem.data);
trace("TOTAL: " + totalcost);
trace(newline);
method = evt.target.getValue();
// if statement
if (method != "no") {
weighttotal = Number(subweighttotal);
} else {
// NOTE: make sure to add this variable to external file later. Destination internal freight.
weighttotal = Number(0);
}
}
LocBox.addEventListener("change",lo);
trace("Possible IF: "+subweighttotal);
trace("Costo de Envio Interno: "+weighttotal);
// ADDITION
lo = new Object();
lo.change = function (evt) {
// take action
trace("Selected data is: " + evt.target.getValue() );
trace("Label = " + evt.target.selectedItem.label);
trace("Data = " + evt.target.selectedItem.data);
trace(newline);
method = evt.target.getValue();
if (method != "martotal") {
totalcost = Number(airtotal) + Number(weighttotal);
trace("TOTAL: " + totalcost);
} else {
totalcost = Number(martotal) + Number(weighttotal);
trace("TOTAL: " + totalcost);
}
}
TOTAL.text = Number(totalcost);
ModeBox.addEventListener("change", lo);
}
myButton.addEventListener("click",myButtonListener);
};
Code:
//VARIABLES.TXT
&formula=1728&
&MINcf=3&
&MINwt=14.50&
&MIN_SEA=100&
&MIN_AIR=100&
&MODE_AIR=7&
&MODE_MAR=25&
&WEIGHTmin=45&
&WEIGHTfee=1&
&internalf=35&
FLA: http://www.17style.com/linked/calculator.fla
And one more question: is it possible to get rid of the "Calculate" button and find a way so that the calculation would take place in "real time" any time you change the numbers or change the value of the ComboBox? I tried using onEnterFrame but that made it slow after a few seconds...
Thanks for all the help!
Estimate Price For A 2 Min FLASH Video
Hi can anyone give me a ballpark figure for what it would cost to have a professional design agency create a 2 minute FLASH video? We'd give them a script and a storyboard.
THIS IS NOT A REQUEST FOR A QUOTE
Just to get an idea for some projections we are making.
Thanks,
Matt
ps. I'm guessing $200/hr @ 30 hours but that is a fairly uneducated guess
Load Multiple Movies Time To Time...
Dear webmates :
I have created a flash which loads other flashes inside it, but I just can achieve to load one of them using the :
LoadMovie ("external_flash001.swf","loader");
But then I also that, after 10 seconds, this flash load a new "external_flash002.swf" , then after other 10 seconds another "external_flash003.swf"... and so on .. until the external_flash005.swf, and then restart again with "external_flash001.swf)...
Please I need urgent help on this issue... thanks in advance !
Movie Taking Long Time To Load, Needs To Load Faster
I am a loading several movies into level 2 of the main movie. The movie is taking up to 1.35secs to load. The issue is that the images are too big. Can I do something about the movie itself or do I need to compress the images more?
Images Load First Time, But Not The Second Time - Help
I have a function that loads an array of images defined by an XML file. Depending on what "page" you are on, a different childnodes set of images loads... this works great - the first time they are called.
But... if you click on another 'page' calling the same function (or the same page for the secont time), nothing.
The image names will trace, but nothing is shown.
There is a createEmptyMovieClip and loadMovie to show the images.
For other content in the movie, we have placed "clearing" functions that would reset the variables to "" (empty string). But what about for loaded images/mc's? I have tried
removeMovieClip
unLoadMovie
However, the loading images function is a bit confusing and I might not be sure what arguments to pass to the "clearImages" function.
Any direction is appreciated!! really stuck here!
Thanks
Load Load External Swf Movies And Paly At Same Time?
Hi. I am new here and i am desperate to have my problem solved please. I have an html page with 2 swf movies that should be playing at the same time (one shows logo of a company and the other shows at the same time the company's products). the problem is althought they are synchronized when played on my pc, when loading via internet they doen't play at same time because one is much bigger than the other and takes more time to load and play. so i thought of making a dummy swf movie that loads both swf movies and make them play at same time. Can anyone help me with the script needed for this? or is there a script that can be used on one movie and make it play only when the other one is fully loaded? please help !! thanks in advance!
Load Time.
i have a flash intro that about a minute long, but the load time is nearly a half hour. I'm on a decient connection... i don't understand.
Load Time?
Im posted this earlier but didn't get much feedback
i have a html file with a section of flash in it. The flash section is like a slide show that changes scenes only when the "next" button is clicked.
My problem is that it takes forever to load. How can I have certain parts load at start up, and other parts load in the background? Then viewers can view the html while the flash is loading, rather than having to wait for the flash to load. Is this possible
or (not optimal solution)
Could I have sections loaded only when they are used?
Down Load Time
I have basically completed my first big site, but as a confession I designed it for a CD-ROM. None-the-less I want to post it online--& I did but it takes 15 min. to download at 56k. I began trying to reduce the stage size, but the file size did not decrease. I can try frame rate, but other than that what can I do? P.S. I would give the address, but I am changing servers--besides who wants to wait.
Thanks
Hal
Load Swf After Given Time?
I think this is something simple for you all pro's, however I dont get it to work!.
After a sound has played for 5 seconds I want another sound in a swf to be loaded.
I use this code:
Code:
stop();
playtime = getTimer();
if (playtime == 5000) {
loadMovieNum("next.swf", 0)
}
Nothing happens, the first sound is just still going.
Very appreciated for answers, thanks.
Don't Want Swf To Load A Second Time
Hello,
I have a flash movie on the home page of a site, but I wouldn't like it to replay if you visit that page later on. So I only want the flash movie to play once. Any one have any ideas on how to do this?
Any help will me MUCH appreciated!
Thanks!!!
Ext. Var Won't Load First Time
Hi..
I've made a movie that loads external variables. Locally this works fine, but on a webserver it's like SOME of the variables don't load the first time (if i haven't accesed the file for some time), but if i refresh they do?
I've tried putting an onLoad function on, but apparently not the right way:
*****************
system.usecodepage = true;
var refreshTal = random(999999);
loadUu = new LoadVars();
loadVariablesNum("vars.txt?"+refreshtal, 0);
stop();
loadUu.onLoad = function() {
_root.play();
};
*****************
My vars.txt looks like:
*****************
uunummer=<b>Jason Mra</b><br>The Remedy (I Won't Worry)&uubillede=2003/JasonMraz.jpg&uakunstner=<b>Mary J. Blige</b><br>Love and Life&uabillede=2003/maryj.jpg
******************
It's funny, because some of the variables do load every time, but the ones containing information about images won't..
Can anyone help me fix the onLoad function or tell me some other trick that makes sure that all of the variables from the external file have loaded?
Load Time
I've been to many FLASH web sites, and it seems like most sites with allot of content loads up very fast, yet my sites ... with not half as much content loads up very long. What can I do to decrease load time?
Any hints out there?
Load Time (?)
I have my flash site that I have about complete. I have the majority of the files there, just some content I need to put and other tweaks. This is my first flash site, and need some feedback on the loading time. It seems that when I test it, it takes a while before the actual movie and preloader start to load. Can you give me some advice or thoughts on this. Thanks...
http://www.dfwstudio.com/flash/test.html
[F8] Load Time?
As a "newbe" I question if adding "Flash" to a web site would greatly add to the load time for those folks veiwing the site with a "dial-up" connection???????????
Can You Load XML From Two Url's At The Same Time?
All,
I was wondering if it is possible in Flash to load XML from two different url's at the same time.
Specifically, I have one call to a page using sendAndLoad which takes quite a while to return the information. I would like it so that users do not have to wait for this to finish before executing other loading events (which should be much quicker).
One of the caveats (or at least in my attempts it was) is that I only want to call the first (long) url once.
I looked around for a way to just create my own thread and everything I saw suggested that currently this is not a possibility. I saw several posts suggesting using setInterval instead, and after reading the doc page on it I thought I would be able to get it to work.
Unfortunately, with setInterval I have the following problems (see code below for context):
1) If I put a clearInterval call in getData() anywhere besides the responseXML.onLoad event, it seems to kill the sendAndLoad that was being executed.
2) If I don't put a clearInterval call (duh) or if I put it in the responseXML.onLoad event, it calls the interval function too many times.
I have included the actionscript below. It would be required to have two url's to hit, one that is FAST and one that is SLOW to test this.
Any help is greatly appreciated!
Will
Code:
var pageURL:String = "http://zzz/SLOW.aspx?random=" +Math.random();
var requestXML:XML ;
var responseXML:XML ;
var requestNumber:Number = 1;
var intervalID ;
function getData() {
trace("getData()");
requestXML = new XML();
requestXML.ignoreWhite = true;
responseXML = new XML();
responseXML.ignoreWhite = true;
responseXML.onLoad = function(success) {
trace("responseXML = " +responseXML);
}
resultXML.sendAndLoad(pageURL, responseXML);
clearInterval(intervalID);
}
function getInfo() {
var pageURL:String = "http://zzz/FAST.aspx?random=" +Math.random();
var infoXML:XML = new XML();
infoXML.ignoreWhite = true;
infoXML.onLoad = function(sucess) {
trace("infoXML(" +requestNumber++ +") = " +infoXML);
}
infoXML.load(pageURL);
}
var testListener:Object = new Object();
testListener.click = function() {
getInfo();
}
test_btn.addEventListener("click", testListener);
intervalID = setInterval(getData, 1000);
Load Time
I have a site containing movie clip animations that are 435 frames long. This seems to be causing lagg times when the pages(.SWF) are called up, depending on processor speed. Sometimes the viewer is looking at a blank screen for as long as 5-10 seconds before the next page loads. How can I remedy this problem?? My animations are all timeline based. If they were somehow executed via ActionScript alone would this somehow make them less processor heavy? The animations consist of 3 images panning and fading in/out on top of one another behind a masked area(window). Check the site at: www.boulevardpropertiesllc.com
Help With Load Time
i just finished working on this site: http://www.artdecoentertainment.com and every page is an external swf...most of them load pretty quickly however if you go to 'gallery' the load time is far too long (please ignore my third world load screen...i got too tired to make a preloader...now i know that there are sites out there with just as many images and a quicker load time. all the images are sized in photoshop to the exact dimensions that they show up in the flash file...they are all jpegs w/ 72 dpi compressed at 60% (using 'save for web')...is there anything else i can do to make this swf a bit smaller and hence, a smaller load time?
please anyone that might be able to help
thanks
-sean
Can You Load From Two Url's At The Same Time?
All,
I was wondering if it is possible in Flash to load from two different url's at the same time.
Specifically, I have one call to a page using sendAndLoad which takes quite a while to return the information. I would like it so that users do not have to wait for this to finish before executing other loading events (which should be much quicker).
One of the caveats (or at least in my attempts it was) is that I only want to call the first (long) url once.
I looked around for a way to just create my own thread and everything I saw suggested that currently this is not a possibility. I saw several posts suggesting using setInterval instead, and after reading the doc page on it I thought I would be able to get it to work.
Unfortunately, with setInterval I have the following problems (see code below for context):
1) If I put a clearInterval call in getData() anywhere besides the responseXML.onLoad event, it seems to kill the sendAndLoad that was being executed.
2) If I don't put a clearInterval call (duh) or if I put it in the responseXML.onLoad event, it calls the interval function too many times.
I have included the actionscript below. It would be required to have two url's to hit, one that is FAST and one that is SLOW to test this.
Any help is greatly appreciated!
Will
Code:
var pageURL:String = "http://zzz/SLOW.aspx?random=" +Math.random();
var requestXML:XML ;
var responseXML:XML ;
var requestNumber:Number = 1;
var intervalID ;
function getData() {
trace("getData()");
requestXML = new XML();
requestXML.ignoreWhite = true;
responseXML = new XML();
responseXML.ignoreWhite = true;
responseXML.onLoad = function(success) {
trace("responseXML = " +responseXML);
}
resultXML.sendAndLoad(pageURL, responseXML);
clearInterval(intervalID);
}
function getInfo() {
var pageURL:String = "http://zzz/FAST.aspx?random=" +Math.random();
var infoXML:XML = new XML();
infoXML.ignoreWhite = true;
infoXML.onLoad = function(sucess) {
trace("infoXML(" +requestNumber++ +") = " +infoXML);
}
infoXML.load(pageURL);
}
var testListener:Object = new Object();
testListener.click = function() {
getInfo();
}
test_btn.addEventListener("click", testListener);
intervalID = setInterval(getData, 1000);
AS 2 Load Time
Hi,
I have just about completed a project which utilises fullscreen flash techniques and because of this I have used a rather large photo as a background and subsequently (coupled with a 3d animation) the load time of the file in an internet browser is far too long.
Is there any way that I can drastically decrease the load time
I could dynamically load the pic but I was hoping there could be another technique that I could use.
Thanks
J_Mo
Load Time
Is there any way to compress Flash movies or make them load faster? I made the navigation in my site in Flash (which I'm regreting now) and it seems to take forever to load on slow connections. But I've seen other very professional sites w/flash navigation and they load very quickly. Is there a trick to that? I was thinking about redoing it with JavaScript but I'm not sure I'll have the same flexibility I have w/flash (as far as graphic animation is concerned)
THANX.
DECREASE LOAD TIME
I would like to decrease the download time to my site. So obviously I made the stage smaller, reduced the f/m, and most importantly made each section of the site seperate (loading seperate movies). However, now that the initial load is much smaller it take a long time to load each area (especially the gallery areas)--no one would wait. How can I fix this?
To view go to http://www.grafikshouse.com/flash/index.html
Thanks
Hal
Load Time Problem
I'm using Flash MX and have built in a preloader into a fairly large .swf file. For some reason the page comes up but does not play the first frame of the movie until approximately 1/4 has already loaded. Here's the site: http://rubberroomrecords.com/main.html If anybody has any idea how to resolve this I'd be much be obliged. Thanks.
How To Load One Page At A Time?
Dear forum,
I'm putting together a website using flash.
Each of the main menu options opens a movie clip nested within the main movie clip frame.
My problem is that when i test the site and select a menu option it loads the entire movie clip rather than loading only the pages that the user wishes to view (like a conventionally authored website).
I know i will lose many visitors as they see that their is 1MB+ loading at the bottom of their browser. (Broadband users are few and far between in my neck of the woods).
Its a static site in that its just images and text rather than animated content (i've used flash because i want more control over what each visitor sees).
Thanks a lot,
Adam
CD-ROM Load Time - Please Read*
I have a flash projector file approx. 100Mb. Don't suggest shrinking it. It is as small as it gets. I burned the projector and an autorun.inf file to a cd. It works but the problem is it takes too long to load off the cd.
The user will be thinking that nothing is happening b/c nothing happens until the cd has loaded. Once the file is loading it runs quickly. The preloader dosen't even have to work very hard because it is all loaded from the cd. I have created director projectors three times this big w/out a stub and the load fairly quick. But this one had to be built in flash.
I have tried a program called "fastsplash" but it doesn't work on all machines.
Please if anyone has a suggestion please, please, please, post it. I need all the help I can get with this one! Thanks!
CD-ROM Load Time - Please Read*
I have a flash projector file approx. 100Mb. Don't suggest shrinking it. It is as small as it gets. I burned the projector and an autorun.inf file to a cd. It works but the problem is it takes too long to load off the cd.
The user will be thinking that nothing is happening b/c nothing happens until the cd has loaded. Once the file is loading it runs quickly. The preloader dosen't even have to work very hard because it is all loaded from the cd. I have created director projectors three times this big w/out a stub and the load fairly quick. But this one had to be built in flash.
I have tried a program called "fastsplash" but it doesn't work on all machines.
Please if anyone has a suggestion please, please, please, post it. I need all the help I can get with this one! Thanks!
Cdrom Load Time
Can you load a sfw into a flash window and maintain all of the interactivity? If yes please how? Thank you.
Load Time Question?
I have an 8KB flash movie that will be our new website. I have posted it on our intranet for feedback from various departments, published in html so everyone can see it. It is taking FOREVER to load onto peoples computers.
What gives? any thoughts, comments or tips?
thanks
JR
Sound Load Time
I created a button toggle that starts and stops an audio clip. The load time for the sound takes too long. Is there a way I can get the audio to load quickly...streaming? I figured the load time is taking longer because the MP3 clip is embedded. Is there some way to fix this? For example, I have created a page where a user can listen to audio clips and I used M3U files, which downloads immediately and starts playing the actual MP3 file, but that is with HTML and not Flash. Is there something similar I can do within Flash?
Here is the code for the button toggle to play the audio clip in Flash:
bgSound = new Sound(this);
bgSound.attachSound("sound1");
bgSound.start(0, 99);
stopB._visible=false;
stopB.onRelease = function() {
bgSound.start(0, 99);
playB._visible=true;
stopB._visible=false;
};
playB.onRelease = function() {
bgSound.stop();
playB._visible=false;
stopB._visible=true;
};
stop();
Referring URL:
http://www.dwayneepps.com/MHM/index.htm
I appreciate any help! Thanks in advance.
-Dman100-
Load Images At A Certain Time
Does anyone know how to tell flash to display images/movies according a certain time?
like:
at 4-10am = display a "good morning" movie
7-11pm = dislay a "good night" movie
thanks alot!!
Movie Load Time?
I created a movie that is around 1 mb large. When you load a non-cached version, it takes a minute. I guess this is because a certain amount needs to be loaded. How can I get the movie to start right away and then use a preloader. I tried to use a preloader at the start of the movie but I still got a blank screen until a certain amount of the movie loaded, then it gave me the preloader and the movie right away.
Decreasing Load Time
I have a menu on my website that is aprox 1 MB in size, and I don't want the viewer to have to wait that long for the menu to load. If I make some parts of the menu into seperate SWF files, will they be included in the file size the orignal SWF preloader uses? Also, what if I called the imported SWF before it was completely downloaded? And could I build a sepereate preloader for each seperate SWF and have work the same way?
Also, are there any general tips I could use to optomize loading time and file size?
Load Time Issues
2 questions...
1 how do i import a txt file with the whole dynamic text thing
2 why are my load up times so ridiculously long. what are some methods of reducing this
Photo Load Time
http://www.ronmacphoto.com/#
very nice site but how did they do the photos on this site guys?...it looks like they are all preloaded or smthn?... what are some steps for me to achieve a similar phot gallery with ease like this one.
Enormous Load Time
Dear Flash Gods,
I have a site that randomly chooses 1 of 8 jpeg images as the background. However, I have noticed that when the site loads, it loads everything that is included in the swf. In other words when you visit the site it downloads all 8 images which is completely unneccesary considering you only see 1.
There must be a way to tell Flash to only load what is going to be used. Prehaps instead of including all of the images in the swf I can load them into the site as external files... but how does one do that?
Any suggestions?
-Pez using Flash MX
Load Time Is Being An Arse
http://www.valentinecuisine.com/adam/contact.swf
takes no time to load
but when I added it to
http://www.valentinecuisine.com/adam/
(click on "contact us") the page takes ages to load!!! any reasons why?
Load Time /Compression
hey guys,
hope you can help me out i have a flash site that is about 12mb and it takes ages to load can you help at all? is there a way to compress the whole thing? its doing my nuts.
Thanks
Mike
How To Load Movie After A Certain Time
For Flash MX
I need actionscript for the following action
I click a button. The playhead plays to the end, and then loads a specific movie. I think this requires an if/else statement?
Please help
Thanks
John
Which Would Be Faster/less Load Time?
Hey, I am wanting to create a section of my site that flashes images. Now, would it be quicker to load external .jpgs that flash using actionscript, or action images I have imported to the stage and put into an animation. My guess is the first, but I have a long history of being wrong, so I thought I would ask
If anyone else has any other information that could help speed up the load time, I would very much like to hear it.
Reduce Load Time
I have a flash site that uses several different scenes, all but one with the same large background image. My file has become large-1mb (I presume because it has to load the large image for each scene). Is there a way to load the image once and then reference it, or would I have been better off avoiding scenes and just spreading it out over one scene in a long timeline? The site in progress I am referring to is at http://www.blueduckdesigns.com/tribalsun
Thanks for your help
Load 2 External SWF @ The Same Time?
I'll warn you ahead of time, I'm new!
I created a full Flash site with navigation that loads external SWF files
into a container I have on a layer that's below the navigation bar.
Happy with that so far.
Problem is I also want, when the same button is clicked, another image to load above the navigation bar on a different, higher layer.
Don't know if this is possible. I'm guessing it is.
Also don't know if this is the best way to go about doing this.
Can I create another container on the higher layer & call it "container2"
& somehow script the movie to load one external SWF into container1 on a lower layer &
load a second external SWF into container2 on a higher layer.
Again, don't know if this is the correct way to acheive this or if it even makes sense.
Any help is appreciated.
Thanks.
jmitteco
Load Movie One Time?
Ok, what I am trying to accomplish is have an image load into my empty movieclip(picHolder) only once. If it is already loaded do nothing.
Whats happening is that every time I go to that frame it reloads the image again and again.
Timeline Frame Code:
Code:
image = "mypicture.jpg"
picHolder.loadMovie(image)
picHolder Movieclip Code:
Code:
onClipEvent(load){
_width = 300;
_height = 400;
}
I was thinking something like this:If image is loadeddo nothingelseload movie
Slow Load Time....
I have a question about the usual html sized file that is generated with projects. I am on the verge of finishing my first fully Flash project and I have pages that are 1.0-1.35KB in size which I didn't think it would be that big to load on a dsl connection. I tested the load time by publishing one page to the web and it is taking forever to load. Any idea to what could be problem or is it really that my files are that big? any hints in creating smaller sized files?
I do have a preloader that is fully functioning within the simulated download and it takes about 20-30 seconds to load. However, when i try the same page on the internet it 5 minutes and counting to even see the preloader page.
[F8] - Using Levels But Some Do Not Load 1st Time
Hi Guys (I am a newbie so bear with me )
My website is made up of lots of graphics loaded on to separate levels:
Frame 1 looks like this:
loadMovieNum("graphic1.swf", 1);
loadMovieNum("graphic2.swf", 2);
loadMovieNum("graphic3.swf", 3);
loadMovieNum("graphic4.swf", 4); etc
Frame 2 is blank
In frame 3 the following checks to see if the 1st level is fully loaded:
if (_level1._framesloaded < _level1._totalframes) {
gotoAndPlay(2);
} else {
play();
}
If it is loaded it goes to the next frame and the same thing happens for level2 and so forth.
My problems are:
1. I am rubbish at actionscript!
2. It sometimes doesnt load all the levels as if it is going to the next frame even if the level is still loading.
My framerate is 60 could this be causing problems?
If I was good at actionscript I would have one frame that loads all the animations and checks to see if they are all loaded.
Please help, sorry if I am not making sense!
|