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








Yes, Preloader Staring Late.


I know this has been discussed a million times on the forums and I have been reading a ton about preloaders etc. But for some reason my preloader is loading late. It loads about 80% of the file and then appears.

My .fla and .as files are attached in the .zip on this message. I have some fonts that I am exporting on the first frame. That's the only thing I can think of that is causing a problem.

Anyone have any advice? Thanks!




FlashKit > Flash Help > Flash ActionScript
Posted on: 11-14-2005, 12:08 AM


View Complete Forum Thread with Replies

Sponsored Links:

Why Is A Preloader Late?
Hi;

I'm confused and frustrated at this issue. I have a movie that is fairly large (1.8MB) and have a preloader in a "preload" scene, to take care of the preloading. Nothing fancy. Just some text that says they are loading 1.8MB of data, and a dynamic percent value displaying their progress.

The problem is that, the movie has to load about 300K before they see the loading message! Is there a reason for this? I thought that the whole point of having a preloader is that, it will show progress as soon as the movie loads.

Any help or info to clear this up would be grealy appreciate.

thanks;
J.

View Replies !    View Related
Preloader Is Late
I have a main swf movie that loads other swf movies upon clicking a link. Each smaller movie has a preloader. I launched my site and tested it on a slower modems and found that my preloader is popping up about 3-8 seconds AFTER I click a link. This will prove to be VERY frustrating for some users who may think the link is broken and continue to click... click... click.

Hoping to remedy this problem I opened my source files (one example attached) and found that my first frame is ranges between 16-22k in size, yet there is nothing that I have in that frame that is even close to that size. I deleted my preloader and the size stayed the same. What is going on here?

Please take a look at the file, and tell me what you think. Feel free to edit and repost the file.

Thanks ahead of time

View Replies !    View Related
Late Preloader ... =(
Hi, I'm creating a website using html, and all the swfs i create are embebed in the html, but whenever the viewer (could be me obviously) goes to a different section of the site the swf take a bit to load, and during that time the space occupied by the swf just shows blank!! I'm using preloaders this way: i place the preloader on scene 1 and the content of the swf is on scene 2! but the purpose of the preloader isnt being fulfiled!!!it should INSTANTLY appear when the site viewer navigates on the site,but that doesnt happen!! And the blank(which could be named as a "white flash")for BIG swf files lasts for 10 seconds or more!It's causing me big trouble!How can I bypass this?To make myself clear,what i want,is that the swf files whatever size they are INSTANTLY start to run!Appreciate any help!THANKS!

David

View Replies !    View Related
Preloader Appear Late
Hy again. I have a question about a loader "thing".
I have a Scene with a couple of buttons and an empty MovieClip.
When the user clicks a button, an external SWF load's into that empty MC. The Preloader that appears after the click on a button, is put on the first frame of that external SWF. The "thing" is that the preloader appears late...'bout 2-3 seconds.
I see on other sites that when i click a button, a preloader appears INSTANTLY! How can i do that...how can i make my preloader appear fast? It's not so big problem but i think that when a user navigate through my site...he's gonna think that the site is bad made...

Here is the link to my site where u can see the preloaders appear slow: www.diblue.3x.ro - click the ABOUT,WORKS,REQUEST buttons!

View Replies !    View Related
Help Late Night, Late Project, Beginning Student In Need
ok, i know it is something really stupid im not seeing...i am just starting actionscripting (flash mx 2004)

can someone look @ this and see what my code is missing? i just think i did not get much sleep last night and this all seemed so clear in class this morning and now it is eluding me - i feel like an idiot! any help would be appreciated - thanks - jb

View Replies !    View Related
Preloader Kicks In Late...
Alrite I have a proloader with % on my flash movie. Only problem is when I stream it in Flash MX the screen is for about 15 sec then finally the preloader appears but it is already at 59% loaded and it continues from there. I need it to appear at first so people can see that it is actually loading from 0%. Waiting 15 sec won't work for me. Any ideas?

View Replies !    View Related
Preloader Starting 20k Late
My preloader bar doesnt even show up until it is already 20k loaded.. why isnt it starting at 0? Heres my script:


loadedbytes=getBytesLoaded();
totalbytes=getBytesTotal();
loadedkbytes=Math.ceil (loadedbytes/1000);
totalkbytes=Math.ceil(totalbytes/1000);
if (loadedbytes == totalbytes) {
nextScene ();
}
frame = int(loadedbytes/(totalbytes/100));
tellTarget (_root.loader) {
gotoAndStop (_root.frame);
}

I copied that straight from a flashkit tut, and it works fine except mines starting 20k late and leaving a big empty black screen while the first 20k loads, which looks very bad.

Anyideas???

View Replies !    View Related
Preloader Appears Too Late
I have a Standard Preloader that i downloaded on this site, with bar+percents.
I put the preloader into the first frame of my scene,
my movie.swf on frame 2.
THE PROBLEM IS the preloader appears late, the bar is at 60% finished...
It works but it seems that the movie preloads 60% BEFORE go to frame 1 where my preloader is.

I hope its clear, sorry 4 my english.

Help me and THX.

View Replies !    View Related
Preloader Appears Very Late.
Okay, I doing this flash..about 1 MB and after I complete the scenes, I start creating the preloader.

The preloader works fine on testing but problems appear after I upload it.

The movie went blank for about a min and then it appears with the percentage being already 64% and then continues way up to 100%. I'm puzzle about what's taking the preloader so long go appear...

I thought at first that maybe My preloader BG's file size is too big so I got rid of it but it's no use. My preloader's only 4 frames with 5 layers.....all words and a small button.

Anyone tell me wat's wrong?

Thanks.........

View Replies !    View Related
Preloader Showing Up Too Late
ok i made a site in flash, and i added the preloader to it, the same one i use for all my stuff, and i test it and it doesn't show up, so i upload it to see if it works on the internet... at first it didn't show up at all then a couple kb's before it was done loading it showed up. i have tried multiple preloaders and all of them do the same thing, what causes this and how can i fix it?

View Replies !    View Related
Preloader Starts Late?
Hi, I have a preloader that starts halfway through. I have done a few tests on different size movies. and none of them start from 0.

I know that flash has to load stuff from the first frame, and have tried maked the grapgics for the preloader external in the aim it would load it first, but didnt work. so I have done a test on a real simple 40KB movie that just has a movie clip(in the second scene) in with 3 images on seperate frames, each with a stop command in.

On the first scene is the preloader. which is structure like this

---1st frame
//initialize text fields
loadpercent = "0%";
loadBytes = "0 of " + Math.round((_root.getBytesTotal() / 1024) * 1000) / 1000 + " Kb";


graphics for preloader (2 dynamic txt boxes, static text 'loading' and a movie clip of a simple bar, that gets resized in ac.


---2nd Frame
loadPercent = (Math.floor(_root.getBytesLoaded()/_root.getBytesTotal()*50)+"%");
loadBytes = (Math.round((_root.getBytesLoaded()/1024)*1000)/1000+" Kb of "+Math.round((_root.getBytesTotal()/1024)*1000)/1000+" Kb total Loaded.");
if (_root.getBytesLoaded() == _root.getBytesTotal()) {
// Check for finished loading
// If loaded, final update to fields
loadPercent = "100%";
loadBytes = (Math.round((_root.getBytesLoaded()/1024)*1000)/1000+" Kb of "+Math.round((_root.getBytesTotal()/1024)*1000)/1000+" Kb total Loaded.");
gotoAndPlay("finished");
// Where to go once your movie is loaded
}


--3rd Frame
gotoAndPlay(2);
///Loops back to continuosly update text fields


---4th Frame 'finished'
nextScene();


can anyone tell me how to make the preloader start from 0 or close to it.


Thanks
Kaan.

View Replies !    View Related
Preloader Showing Up Late
I have just done a Flash website and tested it out online. However my loading bar seens to be showing up late. The site loads with a blank screen and the preloader only appears when the whole site is about to finish downloading. I have place my preloader in the first frame and everything else starts at the 2nd frame.

How do i resolve this problem?

View Replies !    View Related
Preloader Starts Late, HELP
I'm going crazy here. I made a preloader and to test it I put a jpeg image after it to see if it works. So far so good, works like a charm.
When I want to use it to load my site it doesnt work to well. The loader starts at +80%!

According to the bandwith profile my first frame where the preloader is, is the biggest frame. Its almost 50kb! The preloader is only 5kb and i'm not using any sounds. I am however using another font in my movie, not a default font, but i tried to change all text to _sans, but still same problem.

Would really really really appreciate some help on this.

onClipEvent (load) {
//get starting info
totalFileSize = _root.getBytesTotal();
startTime = getTimer();
startBytes = _root.getBytesLoaded();

//hide progress bar
//this._yscale = 0;
}

onClipEvent (enterFrame) {
//see how much has been loaded so far
bytesLoaded = _root.getBytesLoaded();

//convert to a value from 0 to 1
amountLoaded = bytesLoaded/totalFileSize;

//convert to a value from 0 to 100
percentLoaded = int(100*amountLoaded);

//set the scale of the progress bar
this._yscale = percentLoaded;
//this.fill._yscale = percentLoaded;

//set the text area in the main timeline
_root.loadingMessage = percentLoaded + "%";

//get speed
timeSoFar = getTimer() - startTime;
speed = bytesLoaded/timeSoFar;

//get the time left
bytesLeft = totalFileSize - bytesLoaded;
timeLeft = (bytesLeft/1000)*(speed/1000);

//convert to a number with one decimal place
speed = int(10*speed)/10;

//set the text areas
_root.bytesMessage = int(bytesLoaded/1000) + "kb/" +
int(totalFileSize/1000) + "kb";
_root.speedMessage = speed + "k/sec";
_root.timeMessage = int(timeLeft) + " seconds remaining";

//see whether that is everything
if (amountLoaded >= 1.0) {
_root.gotoAndStop("start");
}
}

View Replies !    View Related
Preloader Shows Up Late Or Not At All...
OK everyone, I'm kind of learning actionscript by doing and reading a couple manuals but this has me stumped. My attached movie has a circular preloader I found online. It works fine on it's own but when I apply it to my movie it shows up late(like at 80% or so). The preloader is called circle.fla. My movie file is main4.fla which is published for AS 2.0.

I think I'm outclassed here and would GREATLY appreciate some help on how to make the loader work for my movie from you geniuses out there.

View Replies !    View Related
Preloader Loads Up Late
Hi everyone, Im almost done with a site that Im doing for a client, but i just realized that the Preloader that I have been using all along isn't loading up right away. I know more then 1 person has had this question, i have read alot of those peoples post but just cant seem to figure out the answer. The script that im using is this.

stop();
myInterval = setInterval(preloader, 10);
function preloader() {
if (getBytesLoaded()>=getBytesTotal()) {
play();
clearInterval(myInterval);
}
bar._xscale = (getBytesLoaded()/getBytesTotal())*100;
myTextField.text = Math.round(getBytesLoaded()/getBytesTotal()*100)+"%";
loaded.text = getBytesLoaded()+" Bytes Downloaded";
total.text = getBytesTotal()+" Total Bytes ";
}

I have my preloader on the 1st frame in scene 1, scene 2 is where the rest of the site is. Is anyone able to help me out and look at that script and tell me why its not working, I would really really appreciate the help.

Thanks
Frank

View Replies !    View Related
Preloader Kicks In FAR Too Late HELP
For some reason my preloader is only displaying after about half of the movie is cached. Nothing is exported in first frame.... i think. This is really killing my site, as all my pages open as preloaded external SWFs and the user has no idea anything is happening when the button is pressed to open a page (like the one attached) especially on a dial up connection.

PLEASE SOMEONE HELP!

the background images have been removed to keep the file size down on the fla

View Replies !    View Related
Preloader Kicks In FAR Too Late HELP
For some reason my preloader is only displaying after about half of the movie is cached. Nothing is exported in first frame.... i think. This is really killing my site, as all my pages open as preloaded external SWFs and the user has no idea anything is happening when the button is pressed to open a page (like the one attached) especially on a dial up connection.

PLEASE SOMEONE HELP!

the background images have been removed to keep the file size down on the fla

View Replies !    View Related
Preloader Late Start
http://aslcenter.gallaudet.edu/template.html

My question for you related to the above Flash movie is - I added a preloader. It works fine if you have a
high-speed connection, but when I simulate a 56k connection, the preloader
bar and % counter does not come on until about 60k or about 20%. I looked
at the AS and I can't figure out how to make it start at 1% - in other
words, much sooner.

i found a tutoral for this preloader at gotoandlearn.com . if you watch the simple preloader movie, you'll see what i did.

if you'd like, i can post the FLA for you to download to take a look at.

Thanks...

View Replies !    View Related
Preloader Starts Late
Hi, I've created a preloader for my 1mb+ flash movie. However, when I tried to load it, the screen was empty for a few seconds before the preloader suddenly pops up. By then, it had already loaded about 50%. I thought it was supposed to start immediately from 0% and load till 100%?

In the 1st frame I've the following AS:

totalBytes = Math.round(getBytesTotal() / 1024);
loadedBytes = Math.round(getBytesLoaded() / 1024);
percentDone = Math.round((loadedBytes / totalBytes) * 100);
if (_root._framesloaded >= _root._totalframes) {
gotoAndPlay("start");
}

2nd frame:

gotoAndPlay(1);

and the 3rd frame is labeled "start". I've also assigned a dynamic text with the var name: percentDone.

Can anyone help on this? Thanks very much!

View Replies !    View Related
Preloader Late Start
My preloader bar only start to show when it's over 70%, then finishes to fill up. Before then, i have to wait a little (though a little is too much)

How can i fix that?

jtax

View Replies !    View Related
Preloader Start Late
Anyone knows why is preloader start late? I've attached a FLA here, please let me know your ideas and suggestion.

On frame 1 I have:
loadpercent = "0%";
loadBytes = "0 of " + Math.round((_root.getBytesTotal() / 1024) * 1000) / 1000 + " Kb";

On frame 2:
loadPercent = (Math.floor (_root.getBytesLoaded() / _root.getBytesTotal() * 100) + "%");
loadBytes = (Math.round((_root.getBytesLoaded() / 1024) * 1000) / 1000 + " / " + Math.round((_root.getBytesTotal() / 1024) * 1000) / 1000 + " Kb " );

if (_root.getBytesLoaded() == _root.getBytesTotal()){//Check for finished loading
//If loaded, final update to fields
loadPercent = "100%";
loadBytes = (Math.round((_root.getBytesLoaded() / 1024) * 1000) / 1000 + " / " + Math.round((_root.getBytesTotal() / 1024) * 1000) / 1000 + " Kb " );

gotoAndPlay("smi", 1);//Where to go once your movie is loaded
}

On frame 3:
gotoAndPlay(2);

On frame 4:
gotoAndPlay("smi", 1);
// proceed to next scene

Your ideas and suggestion will be greatly appreciated to have your support.

View Replies !    View Related
Preloader Coming Late
Dear Kirupa and friends,
I am using a simple loop type of code to have a % counter... You know.
The main interface is quite heavy and that's why I am using it. The script for loading is on the 2 first frames of the main interface.
I don't understand why this loader is taking a real long time to come up and only shows up at 85 % of the download, making it a bit useless.
check out
http://www.studio-meta.com/
with a bit of patience, you'll see what I'm talking about.
Thanks for suggestions.

View Replies !    View Related
Preloader Appearing Late
Hey guys,
I'm kind of new to flash, and I'm having trouble with a preloader in an external .swf (shameful I know ). The preloader works, but only for a brief period right before the movie loads, eg. the space remains blank for a minute or two, the preloader shows up at 95-98% through, and the movie loads straight after. The content loading isn't very large--at the moment it's only loading text. The site is here if that helps.

The code I've used is as follows

(first keyframe)

Quote:




bytes_loaded = Math.round(this.getBytesLoaded());
bytes_total = Math.round(this.getBytesTotal());
getPercent = bytes_loaded/bytes_total;
this.loadBar._width = getPercent*100;
this.loadText = Math.round(getPercent*100)+"%";
if (bytes_loaded == bytes_total) {
this.gotoAndPlay(3);
}




(second keyframe)


Quote:




this.gotoAndPlay(1);




(third keyframe)


Quote:




stop ()




Note: The third keyframe also has the content on it.

I'm sorry if I'm repeating anything or asking a stupid question, but I searched around and couldn't figure it out...
Any help would be aprreciated.

View Replies !    View Related
Preloader Late Start
My preloader bar only start to show when it's over 70%, then finishes to fill up. Before then, i have to wait a little (though a little is too much)

How can i fix that?

jtax

View Replies !    View Related
Preloader Start Late
Anyone knows why is preloader start late? I've attached a FLA here, please let me know your ideas and suggestion.

On frame 1 I have:
loadpercent = "0%";
loadBytes = "0 of " + Math.round((_root.getBytesTotal() / 1024) * 1000) / 1000 + " Kb";

On frame 2:
loadPercent = (Math.floor (_root.getBytesLoaded() / _root.getBytesTotal() * 100) + "%");
loadBytes = (Math.round((_root.getBytesLoaded() / 1024) * 1000) / 1000 + " / " + Math.round((_root.getBytesTotal() / 1024) * 1000) / 1000 + " Kb " );

if (_root.getBytesLoaded() == _root.getBytesTotal()){//Check for finished loading
//If loaded, final update to fields
loadPercent = "100%";
loadBytes = (Math.round((_root.getBytesLoaded() / 1024) * 1000) / 1000 + " / " + Math.round((_root.getBytesTotal() / 1024) * 1000) / 1000 + " Kb " );

gotoAndPlay("smi", 1);//Where to go once your movie is loaded
}

On frame 3:
gotoAndPlay(2);

On frame 4:
gotoAndPlay("smi", 1);
// proceed to next scene

Your ideas and suggestion will be greatly appreciated to have your support.

View Replies !    View Related
Preloader Appears Too Late
Hi there , i have a small problem with my preloader. The main swf has 104 kb and when i try to test it on the net, the preloader bar just appears around 39%. That's bad :-\, because i've made it so ppl could see something while the second scene is loading. The problem is not in the graphics i used in the preloader scene. It is very basic, actually, i just have a progress bar and a small mask.
Where's the problem ? Can anyone help me ?

View Replies !    View Related
Preloader Starting Late.
I know this has been discussed a million times on the forums and I have been reading a ton about preloaders etc. But for some reason my preloader is loading late. It loads about 80% of the file and then appears.

My .fla and .as files are attached in the .zip on this message. I have some fonts that I am exporting on the first frame. That's the only thing I can think of that is causing a problem.

Anyone have any advice? Thanks!

View Replies !    View Related
My Preloader Starts Late.
My flash site is hardly finished yet, but when I preview it, my preloader doesn't actually show up until it is about 75% loaded. Before then, it is just a white screen. Can anyone help?

View Replies !    View Related
Preloader Starting Late
i've tried several different preloader versions. im useing flash 8 but publishing & exporting in flash 6 the prob is my preloader which is for 6 wont start till about 82% then runs normaly. i didnt think this is a code issue but more so a publish settings issue. i can provide more info if asked.
thanks
bbb

View Replies !    View Related
Help Preloader Clip Loading Late (about 75% In)
Hi,

I'm having problems with a 'progress-bar style' preload clip which only appears on stage when the main movie is around 74% loaded.

The logic is pretty vanilla and attached to an enterFrame clipEvent. This clip is in turn is nested in a container clip which I can drag in and reuse in other sections of the project.

e.g:

>_root
>>_root.preLoader
>>>_root.preLoader.preLoaderCode (code is in onCLipEvent)

The clip compares bytesLoaded against bytesTotal of its _parent._parent (to break out of the nesting) and moves a masked progress bar clip accordingly until totalBytes is reached when the clip commands the top level movie it is nested within to advance to a frame label "start".

The movie seems to work fine when dragged into a test clip which has about 200K loaded into the next frame, and, in a sense, it works in my main file too except that the screen is blank until it's about three-quarters of the way in.

I have tried the following to see if it makes a difference but no change:-

*renamed the master symbol with a leading 'space' or '!' character to see if it loaded earlier

* put the preloader frame in its own scene and made this the first in the file

* saved the preloader as a separate .swf file and loaded it into the main movie with loadMovie

I haven't tried making the preloader a separate movie which transitions to the main movie because I want to reuse it for submovies I load into the main file so it's more use to me as a shared library symbol or a separate movie designed to be nested into the main movie with loadMovie().

Any ideas/solutions around this greatly appreciated,

Matt

View Replies !    View Related
Preloader Shows Up Too Late Please Read
I have a flash file that uses some sounds which are being exported through the 'linkage option'.

I need/call the sounds in the main scene, _not_ within the preloader. However, my preloader (progress bar) shows up on the screen when it's already 95% done. I think it loads everything that is marked for export in the library first, before it displays anything on the stage.

Does anybody know how to change Flash's priorities, or is there something else I can do to show my preloader progress bar starting at 1%??

Thanks for your help,

Joepy

View Replies !    View Related
AAaarrrggghhh...preloader Starts Late?
Hi guys...this is driving me nuts ...PLEASE HELP!!!

The preloader at the beginning of my FLASH web site "technically" works fine... BUT...Nothing is displayed on the screen for the first few seconds. Then the first scene (the preloader) kicks in at about 70% and all is fine. Why does it do that??...I see other preloaders working from 1%...

I know it is'nt the script because I have tried several different preloaders (and 3 different servers) and they all kick in around 70%.

Could this be a publishing problem??...

HELP would be vastly appreciated

View Replies !    View Related
Problem Preloader Showing Up Late
I have developed a preloader that I thought would work. For some reason the preloader bar with the percent downloaded only shows up towards the very end of preloading at 79%. I am testing this with the flash player (streaming at 56K) Can someone please help.

you may preview the .swf at

http://www.simetra.com/intro_2c.swf

and the .fla at

http://www.simetra.com/intro_2c.fla

View Replies !    View Related
Preloader Appears Late.. Because Of Video?
Hi

I have a simple preloader that displays the percent loaded of the swf. However, it only appears on the screen AFTER it reaches about 80%... after reading this thread:

http://www.actionscript.org/forums/s...ight=preloader

i think i understand why... but how does one make an flv not export in the first frame?

any help is greatly appreciated

View Replies !    View Related
Preloader Starts Late (I Know This Has Been Asked)
This is all while using the progress bar tut on this site.

I have nothing in my first frame except the bar and dynamic text field for the preloader. My content is on frame3. I know that flash exports sound, components, dynamic text, blah blah blah, on the first frame. (according to the bandwith profiler my first frame is larger than the 3rd!) Anyway, I knew this would be a problem. But what are the best fixes..if any. Ive seen numerous people with these problems but I dont have a fix.
Should I just dump my library?...Load in everthing?
Maybe use a different preload method?

View Replies !    View Related
Preloader Starts Late (I Know This Has Been Asked)
This is all while using the progress bar tut on this site.

I have nothing in my first frame except the bar and dynamic text field for the preloader. My content is on frame3. I know that flash exports sound, components, dynamic text, blah blah blah, on the first frame. (according to the bandwith profiler my first frame is larger than the 3rd!) Anyway, I knew this would be a problem. But what are the best fixes..if any. Ive seen numerous people with these problems but I dont have a fix.
Should I just dump my library?...Load in everthing?
Maybe use a different preload method?

View Replies !    View Related
Preloader Issue: Loader Shows Up Too Late
I'm having an issue with my preloader in AS2.
The actual preloader works fine, but doesn't show up until about 10 seconds later (around 55% loaded). I have read articles on 'switching off' my movie clips that export in first frame to reduce load time and instead placing them in the second frame of the movie (off-screen).
Well, this seems to help but still the preloader shows up too late...is there anything else I can try? I found a preloader in AS3 that works, but then some of my mc scripting in the actual website (AS2) won't work. I have also tried different load orders (top/down, bottom/up) but to no avail.
Does this have anything to do with loading most of the content from an XML file?

Any ideas?

View Replies !    View Related
Preloader Loads Very Late After Importing Sound Files
ok, here's another preloader question for you people out there. i finally had a working preloader code, everything was in frame 2, my preloader was in frame 1, and it worked quite nice. however, after importing some sound files to the library my preloader started to appear very late on the stage (like after 90 percent). could someone tell me what can i do? i'm guessing it has something to do with "export at first frame" option.










Attach Code

stop();

this.addEventListener(Event.ENTER_FRAME, indexStart);

var loaderbar:Preloader = new Preloader();

function indexStart(event:Event) {

stage.addChild(loaderbar);


loaderbar.x = stage.stageWidth/2;
loaderbar.y = stage.stageHeight/2;

loaderbar.loading_txt.text = "Loading " + Math.floor((this.stage.loaderInfo.bytesLoaded/this.stage.loaderInfo.bytesTotal)*100)+ "%";
loaderbar.bar_mc.width = 198 *(this.stage.loaderInfo.bytesLoaded/this.stage.loaderInfo.bytesTotal);

trace(this.stage.loaderInfo.bytesLoaded); //does not give anything until the preloader appears


if (this.stage.loaderInfo.bytesLoaded==this.stage.loaderInfo.bytesTotal) {
stage.removeChild(loaderbar);
gotoAndPlay(2);


event.currentTarget.removeEventListener(Event.ENTER_FRAME, indexStart);
}
}

View Replies !    View Related
FMS Staring My App Twice?
I have a single instance of an application where I see the following the logs twice:

2008-07-01 10:54:24 15895 (s)2641173 Scalability Test Node Running: 10.50.1.71 -
...
2008-07-01 10:54:25 16135 (s)2641173 Scalability Test Node Running: 10.50.1.71 -

Between those two logs messages there isn't any shutdown messages. I have an Application.xml that specifies to load this application on startup.

If I startup my server I have only one instance running by looking at it through the admin console. However, once another FMS server connects to this server another instance spins up. And now I have two instances running. Why is that happenning? How can I get it to only startup one? If I connect another server would it spin up another instance? Can I enforce only one instance?

Thanks
Charlie

View Replies !    View Related
FMS Staring My App Twice?
I have a single instance of an application where I see the following the logs twice:

2008-07-01 10:54:24 15895 (s)2641173 Scalability Test Node Running: 10.50.1.71 -
...
2008-07-01 10:54:25 16135 (s)2641173 Scalability Test Node Running: 10.50.1.71 -

Between those two logs messages there isn't any shutdown messages. I have an Application.xml that specifies to load this application on startup.

If I startup my server I have only one instance running by looking at it through the admin console. However, once another FMS server connects to this server another instance spins up. And now I have two instances running. Why is that happenning? How can I get it to only startup one? If I connect another server would it spin up another instance? Can I enforce only one instance?

Thanks
Charlie

View Replies !    View Related
Staring Back At Me.
Help I know the answer is staring back at me.
I'm trying to load a url in a movieClip.
I've tried the geturl method as with the loadMovie
method. neither work when I try this.
any suggestions or help would be grateful.
thanks
Fox.

View Replies !    View Related
After An Hour Of Staring, Help Me
ok... I've been working on this code... and before it always works...

but why does it not work now? I think it might be something in MX that I'm not aware of, but just help me out.


Code:
for(i=2;i<20;i++){
duplicateMovieClip("1", "z"+i, i);
_root["z"+i]._x = ((width + xMargin) * i)+ xVal;
trace(_root["z"+i]._x);
}
I am trying to duplicate a movie into a grid with a margin and what not... doesn't work!!!!!!!! ARG!

If you could see what is wrong, i'd appreciate it.

Thanks,
-Kac

View Replies !    View Related
Just Staring - TIPS
Hello, im pretty average at flash, and dont know much about actionscript...

I would love to make something as cool as this site but i dont know where to start

The fla and tutorials contain actionscript which I dont even understand

Where would be a good place to learn?

And what programs beside flash should i start to learn

View Replies !    View Related
Sound Staring And Stopping On Key Presses
I'm trying to get a sound to start when I press a certain key and stop when I release the key. So far I can get it to start fine, but it doesn't stop when I release it.

This is my code so far.


Code:
onClipEvent(load)
{
var C3sound:Sound = new Sound();
C3sound.attachSound("c3.mp3");
}
onClipEvent(enterFrame)
{
if(Key.isDown(65))
{
C3sound.start();
}

if(!Key.isDown(65))
{
C3sound.stop();
}
}
Any ideas?

View Replies !    View Related
It's Late
have clip loaded into empty clip on
main movie. want to set variable, then play 5th
frame of main movie. why can't i get it?


on (release) {
_root.variable = 5;
_root.gotoAndPlay(5);

}

it's late, i'm not thinking straight.

View Replies !    View Related
Is It Too Late?
Hi all,

I am actually fully newbie in flash. But my enthusiasm to be a good flasher is still so high.

I just wonder can I survive in this massive flash community. I see a lot of great developers and designers around the world. They have produce so many great work. Admire them and bet myself I will never become as great as them.

Wow, so desperate myself knowing that I am really unproductive. I try to learn. This site gives many great resources for me. And last I just want to know, anybody has killer tips for fast and productive learning.........



By the dude who know that he knows nothing.

View Replies !    View Related
Help It's Late And I Can't Think...
Hi there,
Dunno if it's just coz it's late and I my brains asleep....
The script below is attached to a clip.
The vars are set in buttons (to control the destination x,y, and scale values)
The idea is that you can click on buttons to zoom into different areas of the clip - and it all worked nicely, thank you - until I had to add the rounding (destDiff) bits (I was getting a slight blurring of the pixel fonts, and needed to 'snap' it to the exact value)

sooo... the problem is that I'm getting a jump to the right or left (and back again), immediately before it snaps or settles on the last pixel.. I've been staring at it too long, can't figure it out...
Maybe someone with fresh eyes?

the script:
onClipEvent (enterFrame) {
destDiff = _root.scaleDest/500;
if (this._xscale != _root.scaleDest && this._xscale < _root.scaleDest + destDiff && this._xscale > _root.scaleDest - destDiff) {
this._xscale = _root.scaleDest;
} else {
this._xscale += (_root.scaleDest-this._xscale)*.2;
}
if (this._yscale != _root.scaleDest && this._yscale < _root.scaleDest + destDiff && this._yscale > _root.scaleDest - destDiff) {
this._yscale = _root.scaleDest;
} else {
this._yscale += (_root.scaleDest-this._yscale)*.2;
}
if (this._x != _root.xDest && this._x < _root.xDest + destDiff && this._x > _root.xDest - destDiff) {
this._x = _root.xDest;
} else {
this._x += (_root.xDest - this._x)*.2;
}
if (this._y != _root.yDest && this._y < _root.yDest + destDiff && this._y > _root.yDest - destDiff) {
this._y = _root.yDest;
} else {
this._y += (_root.yDest - this._y)*.2;
}


Appreciate any thing you can see that I can't!!!

View Replies !    View Related
Late Night Help? Please Take A Look
Hey guys,

So, I've been modifying a Flash file like I always do, but tonight I have a really inexplicable problem, and I need someone with an experienced eye to help me figure out what I'm doing wrong!

So, I have a MC called pages. Inside pages are 6 frames, one for each page's content.

On one page, I created a movie clip and use buttons to navigate between the frames of the movie clip, so that when you push the buttons, you get different content. Very simple on(release) with gotoAndStop(x); on the buttons, and a MC with an instance name and stop commands in the frames.

It works perfectly.

So, I go to the next page and try to setup the exact same thing, and, from what I can tell the Actionscript is all the same (but with a different internal MC and different instance names in the AS since it's not the same content).

So, now when I test the movie, the first page that I did this on still works great, but the buttons don't cause any change on the second page.

But the worst part is, I CAN'T FIND ANY DIFFERENCES!!! And, unfortunately, I'm losing my mind at this late hour...

If you can spare a minute to take a peek, I would be super appreciative!

ZIP with FLA can be downloaded here: http://www.trwdesigns.net/lockdown.zip

Thanks for your consideration,
Terrence

View Replies !    View Related
Scripting Too Late...
it's late and my brain hurts....someone help me out

I got a button in an HTML page that when clicked I want it to open up another HTML page (this page has the Flash in it) AND goto a certain spot in Flash. The spot in Flash has the label name "mapedit".

the button calls this function:


Code:

function OnSetLocationClick() {
window.location.href="../../box.asp"
id_of_the_swf.TCallLabel("/","mapedit");
}

View Replies !    View Related
Changing Fonts Is Too Late?
Hi!

Thank you for reading this. Is it possible to change the fonts when you allready have made the Flashanimation?

I have made a website in Flash but regret the fonts that I used. Is there any way to change the fonts now - every textfields - without having to work it all over once more and change all the fonts manually, so to speak.



I donīt know if that is possible, but if I could suggest improvments in the next version of Flash I would add a way to change text properties indepently after I made the movie if so required.

Thanx to anyone that may answer this question.

//ikaros

View Replies !    View Related
Its Late And I Have No Hair Left
Okay Im simply thrying to get two movie clips to load in the main timeline one after another.

I also was wondering if I need to use preloaders even though the final output is for a CD?

Heres what i have so far

Thanks in advance.

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