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








Text Preloader


I have read the preloader explained and looked around for help on this but havent found anything yet. I am looking to have a preloader that contains a word and as it loads you see a bar fill, the bar being masked by the letters and so say the text is black, as it loads from left to right it becomes red or something. I am very rusty at my flash and so any help would be appreciated, especially a file provided. I am pretty sure I can pick a file apart to see how it is and what i need to do to re-create it so I wont get into specifics. Hope some of that made sense, its real late here

Edit: I am using mx 2004




FlashKit > Flash Help > Flash Newbies
Posted on: 07-29-2004, 01:57 AM


View Complete Forum Thread with Replies

Sponsored Links:

Is It Possible To Skew A Dynamic Text Field To Create A Text Percentage Preloader
Hi there.. is it possible to skew a dynamic text field? Im trying to create a preloader with a text percentage... and i want it skewed so that it looks like the font is italic a bit..?

thanks..

View Replies !    View Related
Preloader Text W/ Pie Preloader
i'm using the script that i modified from sbeener's pie preloader.

here's the code i have

Code:
MovieClip.prototype.drawMeter = function(t,l){
var p = l/t;
var r = 16;
var v = [[r,-r],[r,r],[-r,r],[-r,-r]];
var d = Math.ceil(p*4);
var s = this.getProgress(p);
with(this){
clear();
beginFill(0x560000);
lineTo(0,-r);
for(var i=0;i < d;i++){
lineTo(v[i][0],v[i][1]);
}
lineTo(s.x,s.y);
endFill();
// in drawMeter()
if(t == l){
// when loaded actions
_root.nextFrame();
}
}
}

MovieClip.prototype.getProgress = function(p){
var r = 20;
var s = Math.PI + (-p * Math.PI*2);
return({y:Math.cos(s)*r,x:Math.sin(s)*r});
}

MovieClip.prototype.drawCircle = function(r, x, y){
this.moveTo(x+r, y);
this.curveTo(r+x, -0.4142*r+y, 0.7071*r+x, -0.7071*r+y);
this.curveTo(0.4142*r+x, -r+y, x, -r+y);
this.curveTo(-0.4142*r+x, -r+y, -0.7071*r+x, -0.7071*r+y);
this.curveTo(-r+x, -0.4142*r+y, -r+x, y);
this.curveTo(-r+x, 0.4142*r+y, -0.7071*r+x, 0.7071*r+y);
this.curveTo(-0.4142*r+x, r+y, x, r+y);
this.curveTo(0.4142*r+x, r+y, 0.7071*r+x, 0.7071*r+y);
this.curveTo(r+x, 0.4142*r+y, r+x, y);
}

this.createEmptyMovieClip("loader",0);
this.createEmptyMovieClip("mask",1);
this.mask.beginFill(0xfeefff);
this.mask.drawCircle(16,0,0);
this.mask.endFill();
this.loader.setMask(this.mask);

loader.onEnterFrame = function(){
if((i++) < 100){
this.drawMeter(100,i);
}
}
this.preloader_mc.loadedFile.onEnterFrame = "The movie is " + p + "% loaded";
here is my question. the last line of the code defines what the textbox contained inside a clip called preloader_mc with a variable of loadedFile should display the percentage loaded of the file according to the variable p set at the beginning of this code

why doesn't this work?

by the way sbeener, it wasn't working b/c i did miss one of the _roots ... it was acting funny b/c the mask was being put on the _root still so it had nothing to mask since the meter was inside the symbol instance i made. now it works fine though :) well except for the text thing i'm trying to do now :)

View Replies !    View Related
Preloader Text For Dynamic Text?
WHen my dynamic text loads into its box, how can I get rid of the "target" (e.g _root.mc) message and replace it with a "loading..." message? or something like that?

As it looks really ugly and I cant think how to do it?

View Replies !    View Related
Preloader And Text
I wonder how they did the preloader with text displaying random things when it is loading.

The preloader with text can be found on this site. http://www.mattcannon.com/

Do you know how it is done?

View Replies !    View Related
Preloader Text
I wanted to know if I can use an unusual font for my preloader dynamic text or do I have to use a standard one, because when I tested out my movie on another computer, the unusual font didn't appear, times roman appeared.

View Replies !    View Related
Text/XML Preloader
Hey

Does anyone have an idea to make a preloader of text or XML data. No need for fancy graphics... only need for the loader of the data.

Can anybody help?

View Replies !    View Related
Preloader Text?
Anyone know how to change the numeric display (25%) to alpha (twenty-five) in a preloader environment? I'm assuming it's an array, but that has only gotten me so far. Thanks all.

View Replies !    View Related
Preloader, Various % Text
hi,

im sorry if this has been covered somewhere, but i couldnt find the reference.

im trying to make a pre-loader, that based on the percent loaded, displays text.

So at 5% it says "loading" and at 10% "still loading" , etc.

Im guessing there is a way to say
percenttotal=5,
entertext=still loading
target=instancenameoftextbox

please, any help would be great.

I've gotten the loader tutorial on the site here to work, i just want to add this to it.

thank you!

View Replies !    View Related
Preloader Text
I've been using a simple preloader for a while now, and I have a question.

When I use the dynamic text as a percentage to tell the user how far along in percentage the movie has loaded, it always takes a few seconds for the loadbar and text field to show up. The reason for this is because I am embedding the font I'm using into the text field, so everyone can see it. My question is, is there any way to make sure the font can be seen on all computers, without having to embed it into the dynamic text field? Normally this wouldn't be an issue, but since I have to use the font on the first frame of the timeline, it always appears blank for a while, until the font is completely loaded. Now, I'm keeping the embedded font to a minimum on the first frame (I'm only embedding the numerals, and then I'm adding a percent symbol onto the end of that with another text field and breaking that symbol down to a raw vector shape), but it still has to load anywhere between 6-8kb before it will show up. Granted that won't be seen by users with fast internet connections, it is still a problem for those few people who still have 56k connections, and it needs to be able to cater to those users without any problems...

View Replies !    View Related
Preloader: _getBytes Text
I have a preloader... the fonts that are in my file show up just fine and aligned to the nuts.

Now, on other computers, the font shows up as a times new romanish font and juxtaposed. Am I reduced to display the kb's loaded with system fonts only or can I make it show my font?

It looks simply awful... please help...

View Replies !    View Related
Preloader And Buttons For Text-only
I am having a hard time getting my preloader to work. I have to have the flash file first open and say

Flash Version or Text Only Version

From here it goes to the next scene and begins to load the movie. I have a percent loader in this scene and once the movie loads it will go to the next scene and play the movie.

When I look at this in the browser it goes to the next scene after I click Flash version (the scene where the preloader should load). But it stays on the loader so I refreshed thinking it would go to the third scene and play the movie but it doesn't.

Please help!!!

View Replies !    View Related
Revealing Text In Preloader
instead of useing a bar i was to reveal text in my preloader. i tried it and all it did was stretch the text instead of revealing it..

Can u help ??????

View Replies !    View Related
Preloader For Text Files?
Can anyone post me a good link (or help me out) to a tutorial on scripting a preloader for external text files that Im loading up into a text field as some of the .txt files are fairly text heavy. Im using flash mx.

Regards

View Replies !    View Related
Externa, Text Preloader ... PLEASE Help
Hi Guys,

Ok, here's the deal.

I have a movie that contains a scrolled textfield. The text being an external file.

All of the content being on 1 layer, 1 keyframe.

The problem is that if I use a simple preloader, regardless of what I do I always have to wait an age for the text (quite large file 40k)

All I need to know is the preload code so that once the textfile is loaded in the movie, then the movie can then play and only then.

Thanks to all in advance


NOTE:
The movie I'm using loads into a holder movie, so when I click the button, the movie loads into a holder I've placed on )level0.... Hence you see why I want the whole textfield to load while the LOADING PLEASE WAIT is there.

View Replies !    View Related
Text In A Preloader Not Showing Up On Pc
Has anyone ever experience this?

I have a preloader with a percentage counter.
I test it fine on my mac and pc locally and I can watch the counter count and the ouput window match the counter.

When I upload the file, I check it and the percentage does not show up. The preloader movie shows up, but no percentage counter.

Why would it work perfectly on my local machine, and not on the server??????

Thanks!

View Replies !    View Related
Preloader And Dynamic Text
I want to ask, if there is any way how to have in a preloader, which numericly displays the status of loading the animation, any font.
If there is a text in an animation, which is dynamic and I have font in it, then when after some person is looking at this animation ( but the person doesn't have installed that font in his PC ) , some other different font shows up to the person. Is there some way how to make it?
Thanks for any ideas....

View Replies !    View Related
I Need Some Dynamic Text And Preloader Help
Is it possible to add HTML URLs and Pictures in the .txt file which the dynamic text is linked to?

I also have a question unrelated to dynamic text:
Is it possible to load multiple Flash files during the intial loading?




thanks...

View Replies !    View Related
Three Digits For Text Preloader...
Hi, I have a small question. In my preloader, I would like to have three digits (eg. 001, 002,...035,036,...099,100). How would I go about doing this? Right now my script contains:

code: bytes_loaded = Math.round(this.getBytesLoaded());
bytes_total = Math.round(this.getBytesTotal());
Percent_Loaded = bytes_loaded/bytes_total;
this.load_text = Math.round(Percent_Loaded*100);
if (Percent_Loaded >= 1) {
gotoAndPlay(37);
}

TIA

View Replies !    View Related
HOW TO Create A Preloader Just Of Text From 1 To 100%
Hi
I have a splash screen to my site, which is scene1, and in that scene1 I wanted to create a simple preloader to load scene2 (the site) and the preloader is only numbers going from 1 to 100(%) and then changes into an ENTER btn that on(release) goes to Scene2.
Thanks!

View Replies !    View Related
Preloader W/ Dynamic Text Box
Hi, i'm publishing in version6. I have been looking over preloaders and how they can use getBytes loaded of frames Loaded, but i counldn't find an example that of a percentage loading of a loadVariablesNum variables, can this be accomplished? and by using what method? thanks

View Replies !    View Related
[F8] External Text Preloader?
Hello,

I'm trying to stop a movie clip from moving into view once the text of an external file has been loaded... is there an easy way to achieve this?

(The text is actually a 'swap' from text1.txt to text2.txt, etc which might complicate things?!?)

Is there something as simple as this at all?


PHP Code:




text_total = _root.blog_text_holder.blog_text_box.htmlText.getBytesTotal();
text_loaded = _root.blog_text_holder.blog_text_box.htmlText.getBytesLoaded();
text_percent = Math.round((text_loaded/text_total)*100);
if (text_percent == 100) {
    //move the object
    }







Many thanks for any help in advance!

View Replies !    View Related
[F8] Weired Text In My Preloader
Hello there.

I made my pree-loader and it has a dynamic text field that state the % of how much of the file has loaded.

When the prer-loader first loads onto the screen the text fields says something to the effect of "_level0".
(http://www.epicuriositysf.com/)

why dose it do that and how can I get rid of it?

Thank you

View Replies !    View Related
Dynamic Text Preloader
tried to make this text box to show the progress but when I text my movie no text appears

stop();
var LoadBig:MovieClipLoader = new MovieClipLoader();
var oListener:Object = new Object();
LoadBig.addListener(oListener);
oListener.onLoadProgress = function(target_mc:MovieClip, loadedBytes:Number, totalBytes:Number) {
var preProgress:Number = Math.round((loadedBytes / totalBytes) * 100);
tPreload.text = preProgress + "%";
};

oListener.onLoadComplete = function(target_mc:MovieClip) {
_level11._visible = false;

}



LoadBig.loadClip("big.swf", 10);
LoadBig.loadClip("preloader.swf", 11);


the preloader.swf is just the dynamic text box

View Replies !    View Related
How Can I Add A Text Preloader To This Code?
Hi

I've been working on a site where swf's are loaded into main movie with transitions between the sections. I have the following code on the mcContainer...


Code:
onClipEvent (enterFrame) {
if (!loaded && this._url != _root._url) {
if (this.getBytesLoaded() == this.getBytesTotal()) {
loaded = true;
_root.transition.gotoAndPlay("opening");
}
}
}
How can I add a text percentage preloader into this code?

I usually use a the following code for preloaders...

Code:
myLoaded = Math.round(getBytesLoaded());
myTotal = Math.round(getBytesTotal());
myPercent = myLoaded/myTotal;
myBar._height = myPercent*97;
myText = Math.round(myPercent*100)+"%";
if (myLoaded == myTotal) {
gotoAndStop("Scene 1", "loaded");
} else {
gotoAndPlay("Scene 1", "preloader");
}
... but I'm not sure where to add the code into the exisiting code, as I'm a beginner at AS.

Any help will be greatly recieved.

Thanks
Wayne

View Replies !    View Related
Preloader UnDynamic Text
Hi there,
I've been having some problems with preloaders. I have checked out various forums, but can't seem to find help on my particular situation.

the pages are currently on http://benjaminjames.ca/test/bj_000.html
when you click on the buttons at the bottom there should be a simple preloader with a dynamic text box that shows the loaded percentage. instead, it reads "_level0.dropZone.myText"

myText is the name of the dynamic text box in the preloader scene

dropZone is the name of an empty mc. there is one swf that has the background image and nav, and all the content is called into the swf.

my thinking is that somehow the dynamic text box is 'too deep' by being called in like that. any ideas? my preloader code is as follows:


myLoaded = Math.round(getBytesLoaded());
myTotal = Math.round(getBytesTotal());
myPercent = myLoaded/myTotal;
myBar._width = myPercent*150;
myText = Math.round(myPercent*100)+"%";
if (myLoaded == myTotal) {
myText = "";
gotoAndPlay("Scene 1", 1);
}else {
gotoAndPlay(1);
}


i am a rookie at AS, go easy on me.

~Arley

View Replies !    View Related
How Can I Put A Text Preloader Into This Code?
Hi

I've been working on a site where swf's are loaded into main movie with transitions between the sections. I have the following code on the mcContainer...

[CODE]onClipEvent (enterFrame) {
if (!loaded && this._url != _root._url) {
if (this.getBytesLoaded() == this.getBytesTotal()) {
loaded = true;
_root.transition.gotoAndPlay("opening");
}
}
}
[/CODE]

How can I add a text percentage preloader into this code?

I usually use a the following code for preloaders...
[CODE]myLoaded = Math.round(getBytesLoaded());
myTotal = Math.round(getBytesTotal());
myPercent = myLoaded/myTotal;
myBar._height = myPercent*97;
myText = Math.round(myPercent*100)+"%";
if (myLoaded == myTotal) {
gotoAndStop("Scene 1", "loaded");
} else {
gotoAndPlay("Scene 1", "preloader");
}
[/CODE]

... but I'm not sure where to add the code into the exisiting code, as I'm a beginner at AS.

Any help will be greatly recieved.

Thanks
Wayne

View Replies !    View Related
How To Add Preloader To My Dymanic Text
I got help the other day of how to add dynamic text as the tutorial didn't work for me(that worked). but how to preload the text as it appears later than the movie which had already preloaded(i made a simple preloader for now)
the address www.polo-interactive.co.uk
any help graetfully received
bredhead

View Replies !    View Related
Static Text Preloader
I know it's possible i saw it on several websites does some one know how i can use a static text in preloader counting to 100%? For an example look at
ILOVETECHNO.BE The preloader a heart use a static text i think it cannot be a dynamic text because the font is not a normal average one

View Replies !    View Related
Preloader For Dynamic Text Box?
Hello everyone

It can take some time to load text and it takes even longer to load image into dynamic text box.

So my question is it possible to eighter create a preloader for text box inside a loaded movie or get the content size info that is going to be loaded into Text Box or hide component scroller or custom scroller until content is loaded?

I've tried this code and it didn't work for me:


Quote:




box = "Loading...";
loadVariablesNum("about.txt", 0)
if (box == "Loading..."){
scroller._visible = false;
}
else
{
scroller._visible = true;
}




Thanks

P.S. I'm not talking about ScrollPane, I mean Dynamic Text box with Render text as HTML enabled!

View Replies !    View Related
Invert Preloader Text
Hi, I want to make a preloader where the text inverts when the bar overlaps it, but only the pixels that are overlapping. Let's just use This Tutorial as an example and say that the text was on the load bar instead. Is there a way to make the text invert as the bar overtakes it? Maybe with actionscript or something?

View Replies !    View Related
Radial Preloader - Text %?
hi

I'd like to add text precentage to the radial preloader below.

I know a conventional preloader uses this script to show the text % loaded:

var percentLoaded = Math.floor ((lBytes/tBytes)*100);
loader_mc.bar_mc._xscale=percentLoaded;
loader_mc.percent=percentLoaded + "% of " + Math.floor(tBytes/1024) + "K loaded";

Any ideas on how to incorporate this into the radial preload below?

Thanx

Dirk

onClipEvent(load)
{
_root.stop();
dO = 3.6;
r = 75;
function addSlice(O)
{
x1 = r*Math.sin(O*Math.PI/180);
x2 = r*Math.sin((O+dO)*Math.PI/180);
y1 = r*Math.cos((O)*Math.PI/180);
y2 = r*Math.cos((O+dO)*Math.PI/180);
trace(x1 + ":" + y1);
with(_root.mask)
{
moveTo(0,0);
beginFill(0x000088);
lineTo(x1,y1);
lineTo(x2,y2);
endFill();
}
}
_root.createEmptyMovieClip("mask",0);
this.setMask(_root.mask);
_root.mask._yscale = -100;
_root.mask._x = this._x;
_root.mask._y = this._y;
oldLoaded = 0;
}
onClipEvent(enterFrame)
{
loaded = Math.ceil(_root.getBytesLoaded()/_root.getBytesTotal()*100);
for(i = oldLoaded; i < loaded; i++)
{
addSlice(dO*i);
}
oldLoaded = loaded;
if(_root.getBytesLoaded()/_root.getBytesTotal() == 1){
_root.gotoAndPlay(2);
}
}

View Replies !    View Related
Preloader For Dynamic Xml Text. How ?
Hi,

Im creating a news section for my project where i have a swf in which ill load xml text (news..ie site updates) is it possible to have a preloader there ? or it loads reeally fast and no need for it ?

note. im gonna embed pixel font.

any idea..link that helps ...appriciated
thx

View Replies !    View Related
Preloader With Text Loop
I'm creating a preloader that loops through an array of adjectives and then stops on one of the words in the array. My code actually works, but, I also receive a "256 levels of recursion" error message in the Output dialog. That's not so great. I wonder if anyone knows of a cleaner way to code this. (Note: I'm working in MX 2004.)


Code:
loadArray = new Array("vivid", "effervescent", "luminous", "powerful", "concise", "spontaneous", "mischievous", "radiant");
formatText = new TextFormat();
formatText.font = "Interstate-Regular";
formatText.size = 18;
formatText.color = "0xFFFFFF";
formatText.embedFonts = true;
formatText.selectable = false;
preload_txt.text = loadArray[0];
// Load first item in array
var elapsedSeconds:Number;
var n:Number = 0;
var nCount:Number = 0;
function loopText() {
if (n<loadArray.length-1) {
n++;
} else {
n = 0;
}
preload_txt.text = loadArray[n];
preload_txt.autoSize = "right";
preload_txt.setTextFormat(formatText);
nCount++; // Let nCount reach 8 plus a random number between 1 and 7
if (nCount>8+(Math.floor(Math.random()* 7 + 1))) {
delete this.loopText();
}
}
function initLoop() {
countInt = setInterval(this, "loopText", 100);
}
initLoop();
stop();

View Replies !    View Related
How Can I Add A Text Preloader To This Code?
Hi

I've been working on a site where swf's are loaded into main movie with transitions between the sections. I have the following code on the mcContainer...


Code:
onClipEvent (enterFrame) {
if (!loaded && this._url != _root._url) {
if (this.getBytesLoaded() == this.getBytesTotal()) {
loaded = true;
_root.transition.gotoAndPlay("opening");
}
}
}
How can I add a text percentage preloader into this code?

Any help will be greatly recieved.

Thanks
Wayne

View Replies !    View Related
[FMX04] Text Preloader? Help Please :)
Hello all. Basically, I'm making a site using only flash. So far I'm using preloaders for all of my external content - but this one's got me stumped:

I need a preloader for text (externally loaded from an XML). The text is formated as HTML and it will have lots of pictures. I'm worried that if I leave it without a preloader, the pictures won't appear.

Any help will be greatly appreciated. And yes, I've searched around and can find a preloader for just about anything... but nothing really simple like text.

View Replies !    View Related
Preloader Works But No Text . . .
Yet another problem with my site . . .

I used the wonderful preloader tutorial found on this site. The bar progress shows but for some reason the text doesn't. I've tried changing the font, the color, etc. and the code looks fine but it's not there.

Could anyone help? The full (yet not totally functional) site is at

www.humboldt.edu/~mgk9/template.swf

I'd direct you to the template.html site but I'm having some publishing problems (see thread: http://www.kirupaforum.com/forums/sh...threadid=35250)



Would it help to see an fla?

View Replies !    View Related
How To Add Preloader To My Dymanic Text
I got help the other day of how to add dynamic text as the tutorial didn't work for me(that worked). but how to preload the text as it appears later than the movie which had already preloaded(i made a simple preloader for now)
the address www.polo-interactive.co.uk
any help graetfully received
bredhead

View Replies !    View Related
Static Text Preloader
I know it's possible i saw it on several websites does some one know how i can use a static text in preloader counting to 100%? For an example look at
ILOVETECHNO.BE The preloader a heart use a static text i think it cannot be a dynamic text because the font is not a normal average one

View Replies !    View Related
Preloader For Dynamic Text Box?
Hello everyone

It can take some time to load text and it takes even longer to load image into dynamic text box.

So my question is it possible to eighter create a preloader for text box inside a loaded movie or get the content size info that is going to be loaded into Text Box or hide component scroller or custom scroller until content is loaded?

I've tried this code and it didn't work for me:


Quote:




box = "Loading...";
loadVariablesNum("about.txt", 0)
if (box == "Loading..."){
scroller._visible = false;
}
else
{
scroller._visible = true;
}




Thanks

P.S. I'm not talking about ScrollPane, I mean Dynamic Text box with Render text as HTML enabled!

View Replies !    View Related
How Can I Add A Text Preloader To This Code?
Hi

I've been working on a site where swf's are loaded into main movie with transitions between the sections. I have the following code on the mcContainer...


Code:
onClipEvent (enterFrame) {
if (!loaded && this._url != _root._url) {
if (this.getBytesLoaded() == this.getBytesTotal()) {
loaded = true;
_root.transition.gotoAndPlay("opening");
}
}
}
How can I add a text percentage preloader into this code?

Any help will be greatly received

Thanks
Wayne

View Replies !    View Related
Radial Preloader - Text %?
hi

I'd like to add text precentage to the radial preloader below.

I know a conventional preloader uses this script to show the text % loaded:

var percentLoaded = Math.floor ((lBytes/tBytes)*100);
loader_mc.bar_mc._xscale=percentLoaded;
loader_mc.percent=percentLoaded + "% of " + Math.floor(tBytes/1024) + "K loaded";

Any ideas on how to incorporate this into the radial preload below?

Thanx

Dirk

onClipEvent(load)
{
_root.stop();
dO = 3.6;
r = 75;
function addSlice(O)
{
x1 = r*Math.sin(O*Math.PI/180);
x2 = r*Math.sin((O+dO)*Math.PI/180);
y1 = r*Math.cos((O)*Math.PI/180);
y2 = r*Math.cos((O+dO)*Math.PI/180);
trace(x1 + ":" + y1);
with(_root.mask)
{
moveTo(0,0);
beginFill(0x000088);
lineTo(x1,y1);
lineTo(x2,y2);
endFill();
}
}
_root.createEmptyMovieClip("mask",0);
this.setMask(_root.mask);
_root.mask._yscale = -100;
_root.mask._x = this._x;
_root.mask._y = this._y;
oldLoaded = 0;
}
onClipEvent(enterFrame)
{
loaded = Math.ceil(_root.getBytesLoaded()/_root.getBytesTotal()*100);
for(i = oldLoaded; i < loaded; i++)
{
addSlice(dO*i);
}
oldLoaded = loaded;
if(_root.getBytesLoaded()/_root.getBytesTotal() == 1){
_root.gotoAndPlay(2);
}
}

View Replies !    View Related
Percent Preloader For Dynamic Text
Hi,

I load my text trough a loadvariable action to a blank movie to store them.
I would like to have a preloader to for all those variables.
I know only onclipevent (data) which is not what I need and the usuals "percent" loaders do not work...
Does someone know how to proceed?

Sylvain

u-lounge.net

View Replies !    View Related
Preloader For External Text File
How would I make my text files preload? as i have a site where the text takes longer to load than the page leaving it looking messy.

Can this be done?

View Replies !    View Related
Masking A Dynamic Text Preloader
HELP!
I need to make a preloader with a simple % count up.
However I need to also mask this text with a jpeg.

Any help is appreciated.

View Replies !    View Related
External SWF Preloader Text Box Problem
I am having a problem where this external SWF preloader (from the GOTOANDLEARN) tute, does not display the text even though I have the text box set up and everything in place. it also, on load, displays the loader (less the text box) when the code states it should not be visible.

can anyone help out?

var mcl:MovieClipLoader = new MovieClipLoader();

var mclL:Object = new Object();

mclL.onLoadProgress = function(target,loaded,total) {
loader.percent.text = Math.round((loaded/total) * 100) + "%";
}

mclL.onLoadInit = function() {
loader._visible = false;
loader.percent.text = "";
}

mcl.addListener(mclL);



s_past_mc.onRelease = function () {
loader._visible = true;
mcl.loadClip("SB_Simple_Present.swf", holder2);
}

View Replies !    View Related
Preloader Arguing With Text Problem
Hi there.

I've created a movie with alot some graphics and text, and wish to create a preloader that is loaded instantly, and then preloads everything.

My problem is that when I do the normal procedure (placing all graphics on a frame after the preloader), frame 1 is still filled with 5kB.

I've figured out that it must be the text that is loaded instantly, but is there a way around this? Of course I can break apart all the text, but that's not a good solution.

My current "status":
Frame 1 - Preloader
Frame 10 - Graphics
Frame 20 - Start movie/game

Hope you can help me In advance, thanx!

View Replies !    View Related
Guide Me On Making Text Preloader
Dear users,
I am planning to make a text preloader for my application.
For this I am going to use a dynamic text with white color. Then as per the percentage loaded I am going to use red color to the dynamic text.
So,is there any method that I can use or is there any similar appication like this.
Further, if my swf file is 100 kb ,then is it necessary to design a preloader? And as far as I have understood preloading means loading another swf file(large one) by small swf file containing preloader. Is there any mean,to make preloader in large swf file and check whether all contents are loaded or not without the use of external preloader.
I am looking forward for all your valued guidance.

View Replies !    View Related
IF Im Using This Example, Any Clue How I Could Swap The Text For A Preloader Bar?
If I am using http://www.kirupa.com/developer/mx/p...transition.htm as my example and basis for loading external swfs with a transition, how would I go about adding in a loading bar?

on that website they just use a looping MC that says "loading", what if I wanted to swap that out and have a preloadbar with a percentage. In my rendition of the file its like 22 frames long and in frame 11 (after the doors close) I have a MC that just says text with blinking dots. I really want to just add a preload bar that fills up to 100% after the doors close, and than disappear as the doors open again (frames 12-22). Any help would be appreciated thanks.

View Replies !    View Related
Dynamic Text Blurry When Preloader Is Used
I've put the skeleton of something here:
http://www.leetilford.com/tests/portfolio.html

Note the crisp type up front. Choose a category (bathroom or dining for instance) and see that the dynamically loaded type becomes blurry.

This only happened when I used a preloader to load the category swfs, anyone know why?

The crispness of the Portfolio type is how they all render when no preloader is used.

Baffling?

View Replies !    View Related
Preloader And Dynamic Text Output
Hey folks,

I'm working with a larger-than-usual Flash file that cannot be broken into smaller elements, and in trying to keep the lowest common denominator audience in mind, I was trying to get a dynamic text field to display text base on the progress of the load, if anything just to give them something to read other than the percentage number increasing. What I tried below didn't work (as most of my experiments tend to do). What am I missing? Thanks!









Attach Code

stop();

this.addEventListener(Event.ENTER_FRAME, loading);

function loading(e:Event):void {
var total:Number = this.stage.loaderInfo.bytesTotal;
var loaded:Number = this.stage.loaderInfo.bytesLoaded;
mcBar.scaleX = loaded/total;
txtLoaded.text = Math.floor((loaded/total)*100)+ "%";
if (loaded < 25) {
txtLoadMsg.text = "Part 1 text here";
}
if (loaded >= 26 && loaded <= 50) {
txtLoadMsg.text = "Part 2 text here";
}
if (loaded >= 51 && loaded <= 75) {
txtLoadMsg.text = "Part 3 text here";
}
if (loaded == 80) {
txtLoadMsg.text = "Part 4 text here";
}
if (total == loaded) {
play();
this.removeEventListener(Event.ENTER_FRAME, loading);
}
}

View Replies !    View Related
Preloader With Animation And Clear Text? How?
How can is this preloader done?

http://www.wwd07.com/

I followed this tutorial and now I need to add an animation in together with the loading bar. How can it be done?

And is there a way to make the text font not so pixelated like the wwd07 site? The font used is so big and clear.

Help anyone?

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