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




Moviecliploader Percent For Each?



Hi!

Have my pictures in an array. I want them to preload each with percentage, and when == 100 then, show.

I can't get this to work. It's preloading, but the percent is for all the pictures...


Code:
function init()
{
info_mc._visible = false;
//arrPictures = new Array();
//arrPictures = re.result;
arrPictures = new Array("http://localhost/flashservices/services/pics/fall 017.jpg", "http://localhost/flashservices/services/pics/fall 021.jpg");
trace(arrPictures);
var xPos:Number = 0;
var nPic:Number = 0;
var index:Number = 0;

for (var i:Number = 0; i < arrPictures.length; i++) {

this.attachMovie("pic_holder", "pic_holder"+i, this.getNextHighestDepth(), {_x: xPos, _y: 150});
_root["pic_holder"+i].attachMovie("preloader_mc", "preloader_mc"+ i, 1);

_root["pic_holder"+i].material = arrPictures[i]["material"];
_root["pic_holder"+i].preloader = _root["pic_holder"+i]["preloader_mc"+i].preloader_txt;


this["pic_holder"+i].onRollOver = function():Void {
_root.infoClothing();
info_mc._visible = true;
info_mc.material_txt.text = this.material;
}
this["pic_holder"+i].onRollOut = function():Void {
info_mc._visible = false;
}
xPos += 90;



//Ladda in bilderna
var mcLoader:MovieClipLoader = new MovieClipLoader();
var listener:Object = new Object();
listener.onLoadProgress = function(target:MovieClip, bytesLoaded:Number, bytesTotal:Number):Void {
nPer = Math.round((bytesLoaded/bytesTotal)*100);
trace("Procent: " + nPer);
_root["pic_holder"+index]["preloader_mc"+index].preloader_txt.text = nPer;

}

listener.onLoadInit = function(target:MovieClip) {
index++;
_root["pic_holder"+index]["preloader_mc"+index].preloader_txt.text = "klart";

}
mcLoader.addListener(listener);
if (index < arrPictures.length)
{
mcLoader.loadClip(arrPictures[index], this["pic_holder"+i].lilla_mc);
}

// Slut pĺ preloader
}

}



ActionScript.org Forums > ActionScript Forums Group > ActionScript 2.0
Posted on: 05-23-2006, 04:04 PM


View Complete Forum Thread with Replies

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

Why Cant I Get The Percent In Moviecliploader? :(
ok guys i tried it all and more than 5 tutorials and cant make this work!

anyone can tell me whats wrong with this code:


Code:
var: myMCL:MovieClipLoader = new MovieClipLoader();

myMCL1 = new Object();

myMCL.addListener(myMCL1);

myMCL1.onLoadProgress= function(target, bytes_loaded, bytes_total){
_root.percent.text = Math.round(bytes_loaded/bytes_total)*100;
}

myMCL.loadClip("flash/portfolio3d.swf", this.framesMC);

Preloading A MovieClipLoader() With A MovieClipLoader() Inside
Is it posible to make a preloader of a SWF that loads an external JPG?

Thanks

Preloading A MovieClipLoader() With A MovieClipLoader() Inside
Is it posible to make a preloader of a SWF that loads an external JPG?

Thanks

Percent
i have search diferent porcentual preloaders that works with flash4 plugin but havent found any.

dou you heve an idea where to find one

How Would You Limit A Percent Value?
Hello Flashers allovadaworld
well my problem is to limit to two digit after the point a percent loaded here is the code:

onClipEvent (load) {
total = _root.getBytesTotal();
}
onClipEvent (enterFrame) {
download = _root.getBytesLoaded()/1000 +" Ko télechargés";
bytesleft = _root.getBytesTotal()/1000-_root.getBytesLoaded()/1000+" Ko restants";
percent = _root.getBytesLoaded()/_root.getBytesTotal()*100+"% pourcentage achevé";
if (percent == "100%") {
_root.gotoAndPlay(23);
}
}

this displays me the following as output (for the percent part of course):

20.32113538495 %
So what should I add to limit the output to two digit (20.32%) or even no digit at all after the comma

Flashly yours

Percent-of-%-Script
I have a Preloader-Actionscript for Flash4 to get %-Output in a Textfield.

Did anyone knows, how to change this Script, that my movie is runnin, when 75%(for example)of the filesize-loading is finished?

I wanna put this code in, so that the User on the Website don´t have to wait soo long to view the movie!!!

Frame1:
getURL ("JavaScript:getPercent()");

Frame2:
ifFrameLoaded ("navi", _totalframes) {
gotoAndPlay ("intro", 1);
}

Frame3:
gotoAndPlay ("preloader");

-------------------------------------------------------

In my HTML-Page:
var mName = "main";
function mObject(mName){
if (navigator.appName.indexOf ("Microsoft") !=-1){
return window[mName];
}
else{
return document[mName];
}
}
function getPercent() {
var loaded = mObject(mName).PercentLoaded();
mObject(mName).SetVariable("percents", loaded);
setTimeout("getPercent()",100);
}

Bar Or Percent Preloader
hi, this is my first post... i would like to know, in a simple script, how to make a graph bar OR a percent preloader... any help is greatly accepted!

Help With Preloader Percent
How do i make a preloader and display the percent Downloaded Of 100%

like: 43%---Of----100%
and display it on screen?

Percent Display
Hello,
How do i get Swish to show the total % of the movie loaded when viewed in a browser ?
I want people to have an idea how long they will wait till it loads.

Also.. is it just me.. or does Swish not time to the music the same as it looks in the browser.
I hope you can help me out!

Thanks,
Drew

Help Me With My PERCENT PRELOADER.
Can anyone help me out with my percent preloader.

Ok, I made a 10 frame preloader, my movie is 1 frame long, but it is 412KB.

I want the preloader to show each percent loaded like 1,2,3%... etc.

But the actionscript that I have simply gets stuck on 82% and suddenly the movie plays after that. You guys can take a look at it here.... http://clubarmeniaonline.20m.com/show

Here is the actionscript that I have for my 10 frame preloader.

At frame 1 I have:

nowLoaded =(_root._framesLoaded/_root._totalFrames)*100;
nowLoaded=Math.round(nowLoaded);
loaded = nowLoaded + "%";
_root.chart._xscale = nowLoaded;


At frame 10 I have:

inLoad = _root._framesLoaded;
fullLoad = _root._totalFrames;
if (inLoad == fullLoad) {
gotoAndPlay ("Scene 2", 1);
} else {
gotoAndPlay (1);
}

Can someone help me and tell me what I need to change in my actionscript in order for the percent to increase 1 by 1. Email me arturziyalov@hotmail.com, or post it here.

Percent Without The Decimals
Hi guys, Ive made a simple preloader with a loadbar
and I also want to show the percent loaded in a dynamic textbox

I can do all that, but I get the percent with decimals, I want it without them decimals...
Anyface know anyffin?

Percent Question
MovieSize = this.getBytesTotal();
LoadedSize = this.getBytesLoaded();
PercentLoaded = LoadedSize / MovieSize
if (PercentLoaded < .8) {
gotoAndPlay(2);
}
else {
gotoAndPlay(4);
}

what is the ".8"? 80%?

If so how do i get it to say 100%? just "100"?

I want it to got to frame 4 when 100% is loaded...not 80% or what ever .8 equals

Percent Sign
In flash Mx if you load variables (example form a text file) if you have a % sign in it it will not show. I have tried to use the sign and the actual U+0021 code for it and it will not show anyone have an Idea?

Percent Preloader
how do u get rid of the .65 or .12 in 58.12% in a percentage preloader?

Preloaderbar And Percent
hi,

When looking for a tutorial on preloaders with preloaderbar I found this somewhere:

“on the main time line, give yourself 11 blank frames (this is if you movie is set to 20FPS, give yourself your movies FPS rate +1 blank frames.. Sounds dumb right now, but will come in play later.

FRAME 2 Script
total=INT(getbytestotal()/1000)
loaded=INT(getbytesloaded()/1000)
percent=INT((loaded-total)*100)
frame=percent
Tell Target loadingbar
goto and stop (_root.frame)

FRAME 3 Script
If Frame Loaded 'Last'
goto and play 'start'

FRAME 11 Script
last=INT(getbytesloaded()/1000)
speed=INT(last-loaded)
goto and play 2

Keyframe
The last keyframe of your movie/scene lable 'last'
The first keyframe after the preloader lable 'Start'

On a new level, create a movie clip that will be your loading meter (a bar or something will work fine, but be creative!)
in this MC, an easy way to get this done is draw a box on one layer, turn it into a graphic file, create a new layer and place the same graphic file over it. Align both ver and horz together. Go to frame 100 and make keyframes for both layers. Now go back to keyframe 1, click on the top graphic image, move it off the first image to the left by using the arrow keys. The top image and the bottom image should be just touching. Now, motion tween the top layer, and turn it into a masking layer.
if you look at it now, it will look like a growing line over 100 frames.

go back and name this MC 'loadingbar' (you'll notice the tell target for this on the 2 keyframe script)

Now to polish it up....
Place a text file on a third layer. Change it to Dynamic text and you'll notice you can associate it with a variable.
type in 'loaded'
copy the text and paste it.
in the second text change the variable to total.
do this for 'percent' and speed 'speed'.

Now if you test this, you will see the bar move as the file loads, the total file size of the movie, how much of the movie has been downloaded, the percentage of the file that is loaded, and the speed the file is being downloaded.”

Unfortunately I don’t remember where I found it. It doesn’t work for me. I have MX and get a lot of script errors. Could that be caused by “tellTarget”? And he (or she) doesn’t say if the MC should be on the main scene. Can anybody give me some help on discover what is missing in the description?

regards
y.

Percent Preloader
Hi:

I downloaded a preloader which had the following code

if (_root.getBytesLoaded() == _root.getBytesTotal()) {
setProperty("_root.success", _alpha, "100");
gotoAndPlay("Scene 2", 2);
_root.gotoAndPlay("Scene 2", 2);
} else {
gotoAndPlay("loop");
}

This plays the movie after the entire movie loads.. what do I do if I want to play the movie after 30 percent of the movie loads..

can someone please help me tweak this code..

Thanks

Fade In To A Percent
im using the current code on an mc to fade in onClipEvent(load){
this._alpha = 0
fadespeed = 15;
}
onClipEvent(enterFrame){
_alpha += fadespeed;
}

how can i make this increment until it reaches 75% instead of 100?

Random / Percent
hi,

I have 3 movies which I load randomly but one of the movie must be loaded often than the other movies.

example:

loading frequency

movie 1) 20 %
movie 2) 20 %
movie 3) 60 %


is this possible?

thanks

Percent Loaded
how do i have a movie display the percent loaded?

thanx!
austin

Percent Preloader.
Hi. I know how to make a simple preloader, but I don't know how to make a percent preloader. May I please have help? (By the way, don't give me bull*** cuz I'm in a bad mood.) I ask for nothing more but the script.

100 Percent In Browser
I was wondering if you can set the stage size at 100 percent when the swf is embeded in a browser, the way you can do it localy in the flash player.

That means that you see the stage at its own size + you have all the area surrounding that stage which is part of the same swf.

Basicaly I've got my main area (800/600 px) that people can use for those who have small resolution screen, and I want to let the possibility for those who'll see it on a 1024/768, to have the main area still on 800/600 + access on the outer zone around that 800/600 to play with, for instance to drag and drop things out of the main area.

Kinda impossible to explain really, so I attached a gfx to get it clearer.
So basicaly I want to have the "100 %" feature when swf is in a browser.

I aint asking for my swf to scale 100% with the browser (I know how to do that), but for the main stage of my flash to remain at 800/600 while - if browser maximize - the zone around is still my swf.

Actually I am even wondering if its possible whithin a browser.

Jee

Percent Calculator
Hey. I need to build a percent calculator that looks like this.

What is BLANK%
of BLANK

Equals

Not sure how this should be done, can someone help?

[F8] Percent Char (%) And PHP
Hello,

I habitually connect Flash to MySQL databases using PHP, but now, for the first time, I am having problems. In fact this should be a simple thing, but it is really annoying me: I cannot send the $ char to Flash from PHP!

PHP is echoing the querystring correctly, like this:

&titulo=Feriado 12 de outubro&subtitulo=Ligue agora mesmo e faça sua reserva e ganhe 10 % desconto!&periodo=De 11 a 14 de outubro de 2007&valor=R$ 900,00 casal (3 dias)&detalhes=&foto=maple.jpg&ativa=S

But when I trace the arriving querystring in Flash:

ativa=S&foto=maple%2Ejpg&detalhes=&valor=R%24%2090 0%2C00%20casal%20%283%20dias%29&periodo=De%2011%20 a%2014%20de%20outubro%20de%202007&subtitulo=Ligue% 20agora%20mesmo%20e%20fa%C3%A7a%20sua%20reserva%20 e%20ganhe%2010%20%20desconto%21&titulo=Feriado%2012%20de%20%20outub ro&onLoad=%5Btype%20Function%5D

See? It "converts" my % to a %20 (blank space).

Any idea?

Thanks!

How Do I Return Both Neg And Pos Percent?
//Percent
function totalpercent(cashoutlay, commbuy) {
topercent = (cashoutlay-commbuy)/netprofit_str*100;
return topercent;
}
mypercent = totalpercent(cashoutlay_str, commissionbuy_str);
totalpercent = mypercent;

Percent Loaded?
From what I've read it looks like there's no way to inform the user how long the data being recieved into flash will take to load or what percentage has loaded etc... is that correct?

Percent Loaded
below is the code i have that displays bytes loaded vs bytes total
i prefer to have a simple % loaded text display

function progressHandler(event:ProgressEvent):void {
trace("progress:", event.bytesLoaded, event.bytesTotal, int(event.currentTarget.percentComplete) + "%");
myLabel.text = event.bytesLoaded + " of " + event.bytesTotal + " bytes loaded.";

how can this be accomplished ?

thanks

Preloader Percent
Hi Group,
I am creating a preloader that uses a mask to display part of a logo during load. However, the tutorial I found doesn't include a percentage text field. I would like to be able to add a dynamic text field labled something like text_percent and then have it dispaly the loading percentage along with mask. Below is the action script I am using for the mask portion. Can anyone help?

stop();
rectMask_mc._height = 1;
this.onEnterFrame = function():Void {
var loadedData:Number = this.getBytesLoaded();
var allData:Number = this.getBytesTotal();
var percent:Number = Math.round(loadedData/allData*100);
rectMask_mc._yscale = percent;
if (loadedData >= allData) {
gotoAndPlay("Scene 2", 1);
delete this.onEnterFrame;
}
};

Percent Preloader
:-

Where can I find a good percent preloader tutorial?




Thanks,



Dysan

Big Percent Preloader
Ive seen some sites which have a large number pre-loader but it looks like static text. - do they create these on a timeline or can it be done dynamically? They always run smoothly without jumping so i suspect they are not on a time line - any suggestions


cheers Byron

Round Percent
Can someone please help me. How do I code this so after it picks up the score it
round it two 2 place. ie 33%

userScore=(numOfQuestionsAnsweredCorrectly * 100) /
(numOfQuestionsAnsweredIncorrectly+numOfQuestionsA nsweredCorrectly) + "%";

Thanks

Big Percent Preloader
Ive seen some sites which have a large number pre-loader but it looks like static text. - do they create these on a timeline or can it be done dynamically? They always run smoothly without jumping so i suspect they are not on a time line - any suggestions


cheers Byron

Percent Of Goal Met
My manager wants to have a dynamic goal status bar on our intranet that when different departments view this page it reflects their current goal status. So I need to make a flash based version of a progress bar but be able to tell it the percentage to show (I'll just pass a value of 0 to 100 in as the percentage). I searched the forum but couldn't find a solution... What is the best way to approach this?


Thanks in advance
ScottK

Acumulative Percent Of Several JPG
Hi, im loading from an xml file, several images, im using moviecliploader to display progress, but i want to display acumulative progress for all the images being loaded, not for each, can somebody help me?

thanks

Percent Preloader For V4 Player
Is there a way to do the percent preloaded thing with Flash 4? In 5 it relies on actions not supported by 4. Here's the script:

total_bytes = _root.getBytesTotal();
loaded_bytes = _root.getBytesLoaded();
percent_done = int((loaded_bytes/total_bytes)*100);

The client wants to be Flash 4 compatible. Is there another way to do this?

Scale An Object To 100 Percent
I want help in scaling an object

I first have to determine what is the current scale value and based on that I have to scale the object upto 100 percent. Ths scale factor can initially be eiter less than or more than 100

can someone help me out with this ?


!!!!


I got the solution for it

Thanks

[Edited by mhari on 07-06-2001 at 06:53 AM]

Percent Loading Actionscript Fix Please
This actionscript is supposed to load a movie called track8.swf into a mclip named songtracks. Its supposed to calculate how many bytes loaded by the total bytes. Here is what is happening.
When I click the button to have this actionscript play, the percentLoaded just jumps to 100%, never seemingly getting the bytes at all. Also, when I try to gotoAndPlay "playSong" in the mclip instance, it plays a quick snippet then stops. This didn't happen when I put the loadMovie action on the same frame as the mclip instance. I was then able to target the frame
label "playSong".

Can someone tell me where I went wrong.

This actionscript is in a button. The percentloaded is on the same frame as the button. Maybe I am putting this actionscript in the wrong place. Hmmm. Help

Thanks

on (release) {
percentDone =
Math.ceil((songtracks.getBytesLoaded()/songtracks.getBytesTotal())*100);
setProperty (percentLoaded, _width, 100);
percentLoaded = percentDone+"%";
stopAllSounds ();
loadMovie ("track8.swf", "songtracks");
if (songtracks.getBytesLoaded() != songtracks.getBytesTotal()) {
gotoAndPlay ("preload");
} else {
songtracks.gotoAndPlay("playSong");
// track8line.gotoAndPlay(2);
// cd.gotoAndPlay(2);
}
}

Aaargh 100 Percent CPU Usage
Hi,
my main movie has been growing as I develop new swf's to load into it. I have recently arrived at a point where frame rate performance is unnaceptable. A check of CPU usage during my movie showed 100% continuously.
I tracked the major problem to one paticular movie, when it is sent to a blank frame CPU usage drops to 30%!!!
You can see my movie at
http://www.visi.com/~mgason/travel/testing/photos.htm
the offender is the little travelator movie in the middle. Each of the fifteen little groups of people has this actionscript attached to make it move. Is there a way I could make this a lot more efficient, it works but the overhead is killing me.
excuse the little bit of testing junk lower center the lower right green button will turn the travelator off.

thanks mark.

PS the movies not finished but if you are curious about the next bit of the interface that I am working on at the moment, I suggest the top left plane on the blue concourse
onClipEvent (load) {
// y is a random value of 1 or 2 which is pixels moved each frame
// basically speed at which figures move,1 slow, 2 fast
y = random(2)+1;
// counter and random is used to cause a random pause each time mc re-enters from right
// with random pause and two random speeds the movement doesnt repeat obviously
counter = 0;
rnd = (random(280)+20);
}
onClipEvent (enterFrame) {
// get the x
x = _x;
// if the x is over 813 run random delay and reset speed
if (x>=813) {
counter++;
if (counter>rnd) {
rnd = (random(280)+20);
trace (rnd);
y = random(2)+1;
setProperty (this, _x, x-y);
}
} else {
// if the x is under 813 move it by y
setProperty (this, _x, x-y);
}
if (x<=-50) {
// if the x is under 50 send it back to the right side
// so it will run first part of loop again,setting speed and delay.
setProperty (this, _x, 840);
counter = 0;
}
}

My Preloader Quits With 98 Percent Done?
http://www.sin-city-productions.com/best.htm

check it out and see what im talking about...for some reason it gets down to 41 bytes left to load and sticks...???hmmmmmmmmmmmmm

CODE:>>>

total_bytes = _root.getBytesTotal();
loaded_bytes = _root.getBytesLoaded();
remaining_bytes = total_bytes-loaded_bytes;
percent_done = int((loaded_bytes/total_bytes)*100);
bar.gotoAndStop(percent_done);
ifFrameLoaded (_totalframes) {
gotoAndPlay ("Scene 2", 1);
}


anyideas

i also used
ifFrameLoaded ("Scene 2",1);

HELP

Percent Sign In Preloader.
I have a preloader, i would like to know how can i insert a % sign by the percentage indicator?

i have this script:

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

where percent = int(loadedbytes/(totalbytes/100)); is my percentage.

how can i get it to show the % sign???

here is what i got now:
http://www.sphosting.com/thirdshift/preloader18.html

thank you very much for all of your help.

Preloader Percent Bar Only Appears At 95%
The percentage preloader i'm using only appears when it's 95% loaded.

I thought that it had to do with exporting the movie bottom/up and changed it to top/down...
still it didn't worked.

ANy ideas?

thnx

Load Percent => 2 Decimals
I have a load screen with some numbers countin' and sh*t.
But i can't figure out how to make the "percent loaded" mc show only 2 decimals, like 50% or 97% whatever. It now shows like 8 decimals or something, like 56,23489025 %.
W8, here's the script i use: (xcuse me if it's silly question :P )

onClipEvent (load) {
total = _root.getBytesTotal() + " bytes";
}
onClipEvent (enterFrame) {
download = _root.getBytesLoaded() + " bytes";
bytesleft = _root.getBytesTotal()-_root.getBytesLoaded()+" bytes";
percent = _root.getBytesLoaded()/_root.getBytesTotal()*100+"%";
if (percent == "100%") {
_root.gotoAndPlay( 2 );
}
}

So what i want, is a percentage reproduction with 2 numbers. and no decimal after the comma.

For an xmple of the loading screen:
http://www.basketball.nl/verenigingen/waterdragers
you might miss the loading cause it aint much to load, but if so, reload few times or something, whatever you can do to see it again.
||||thnx

Percent Preloader For Movieclips.
How do you make a percent preloader for a movie that you load into a movieclip? I can't find a tutorial or a fla on this anywhere! What I want to do is controlling the loaded movie from my main menu. Thats why I am loading it into a movieclip.

Percent Loaded Problem
Guys i have a 3 dynamic text feilds...called bytest, bytesl, and percent.

its in a 2 frame mc and here is the code i put in the first frame where the feilds are located in both frames'


Code:
bytest = _root.getBytesTotal()/1000;
bytesl = _root.getBytesLoaded()/1000;
percent = _root.getBytesLoaded()/_root.getBytesTotal+"%";
now my bytest and bytsel work but my percent feild says

Infinity% and if i take out the +"%" in the action script it says Infinity... please help me ... what am i dioing wrong???????

PERCENT DISPLAY PRELOADER
ok im happy well nearly. my flash now says how many bytes loaded

stop();
this.onEnterFrame = function() {
LOADED = getBytesloaded ();
TOTAL = getBytesTotal(72856);
PERC = Math.round(LOADED/TOTAL*100) + "%";
if(LOADED === TOTAL) {
play();

}
};


but i want it to say it in percent please.
whats the code hehe.
Also if anyone wants to msn me it philip_lucas26@hotmail.com

LoadVariablesNum Percent Load
I am loading in a lot of content using the loadVariablesNum function. Is there a way to see how much is loaded? Can I have a percent loader for loadVariablesNum?

Does anyone find that when you are bring in MySQL content into Flash it loads in slow?

LoadMovie / Loaded Percent Of
I'm making a graphics section for my web page and I don't want people to wait around for the graphics to load to see the whole section so I figured that I could make little mcs that load in a specified swf with the picture in it. i want to put a little loading bar below where each picture will be displayed but im not sure how to use the getBytesLoaded in accordance with loadMovieClip to get the right data to display in the loading bar. thanks for your help.

Showing Loaded Percent
As I learned Flash some months ago, I was told this code to give to the first frame as preloader:

if (Number(_framesloaded)>=Number(_totalframes)) {
gotoAndPlay (3);}
else {
percents = Math.round((_framesloaded/_totalframes)*100 );}


I was also told that Flash could not recognize if some part of a frame is loaded, so - if I have a Flash consisting of three frames, in preloader it will only be shown 33, 66, 99-100% loaded. But as the time goes, I had visited many flash site, and found out, that alost everyone have loading in percents one after another (1%, 2%, ...)

So I need help - how to do it?
Thanks a lot.

Percent Or Frames Loaded
I would appreciate any help with this.

i'd like to have a piece of code that lets me know how much of a movie is loaded, kind of like a preloader but just the code to obtain the percentage loaded of a movie and translate it to a progress bar with say 100 keyframes. this would not stop the movie from playing but only obtain the data.

Thanks in advance

Rulex

nicotiniux

Pixels To Percent (Dreamweaver)
Hi,

Im currently using Dreamweaver MX and designing a website (obviously). Now - the website looks best in 1024x768 but I want to it automatically adjust to small screen res's.

I thought the better or easier (maybe) way to do this was to change the size (pixels) into percentages. Im currently using tables in design view etc to create the page.

How do I go about doing this ?

Thanks,

Karl.

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