IT Community - Software Programming, Web Development and Technical Support

Displaying Progress bar

This is a discussion on Displaying Progress bar within the Flash Actionscript Programming forums, part of the Web Development category; Can anybody tell me how to create progress bar that indicates how much of the movie has been loaded? Currently ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > Flash Actionscript Programming

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 08-02-2007, 06:36 AM
abhilashdas abhilashdas is offline
D-Web Trainee
 
Join Date: Aug 2007
Posts: 10
abhilashdas is on a distinguished road
Default Displaying Progress bar

Can anybody tell me how to create progress bar that indicates how much of the movie has been loaded? Currently my flash animation is displaying nothing while the file is being loaded and this seems to be imperfect. Please help.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 08-06-2007, 01:04 AM
aramesh aramesh is offline
D-Web Programmer
 
Join Date: Mar 2007
Posts: 72
aramesh is on a distinguished road
Default Re: Displaying Progress bar

Hi,
You want to create a progressbar to indicate the percentage of video file loaded or the whole flash movie loaded. I dont know what u want. Waiting for ur reply.

<aramesh>
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 09-20-2007, 07:29 AM
kbala kbala is offline
D-Web Trainee
 
Join Date: Mar 2007
Posts: 5
kbala is on a distinguished road
Default Re: Displaying Progress bar

hey,

its good that you are discussing with progressbar. is that possible to show a progressbar in each row of datagrid control respective to the data populated on that?
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 09-21-2007, 05:02 AM
aramesh aramesh is offline
D-Web Programmer
 
Join Date: Mar 2007
Posts: 72
aramesh is on a distinguished road
Default Re: Displaying Progress bar

Hi,
Why not. Use the CellRenderer API in flash. The CellRenderer API is a set of properties and methods that the list-based components (List, DataGrid, Tree, Menu, and ComboBox) use to manipulate and display custom cell content for each of their rows. This customized cell can contain a prebuilt component, such as a CheckBox component, or any class you create.

<aramesh>
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 10-16-2007, 02:07 PM
flstate1989 flstate1989 is offline
D-Web Trainee
 
Join Date: Oct 2007
Posts: 6
flstate1989 is on a distinguished road
Default Re: Displaying Progress bar

actually, i'm also interested in finding out how to make a progress bar. mind would just load the whole flash movie and show how much was loaded. then a play button would show up so that the animation can go on. It's not complicated, but i'm not sure how to do it.

thanks
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 12-24-2007, 04:19 AM
seesamjagan seesamjagan is offline
D-Web Programmer
 
Join Date: Aug 2007
Location: Chennai
Posts: 66
seesamjagan is on a distinguished road
Send a message via AIM to seesamjagan Send a message via Yahoo to seesamjagan
Post Re: Displaying Progress bar

Hello buddies

Try the following code to show a loading progress text for the movie

Place the code in the first frame which has a text box named loading_txt

Quote:
var id:Number = setInterval (checkLoaded,100);
function checkLoaded():Void{
if(_framesloaded >= _totalframes){
gotoAndStop("[PLAY BUTTON FRME]");
clearInterval(id);
}else{
var p:Number = _root.getBytesLoaded()/_root.getBytesTotal()*100;
loading_txt.text = Math.floor(p) + "%\nloading...";
}
}
stop();
Note:
if you use any flash components it will take time to load the first frame, so the progress will be displayed after a short delay

to avoid this you have to change the flash settings. ie instruct the flash to load the components & classes in the second frame( it means your components should be placed / used after the 2nd frame.
__________________
SeeSamJagan
- Sky is not the "LIMIT", Death is not the END, There is still something beyond....
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Merging two Data Tables and displaying in DataGrid S.Vinothkumar VB.NET Programming 8 03-27-2008 02:37 AM
Two-Way Progress Bar in VB.NET Gopisoft VB.NET Programming 0 07-13-2007 10:38 PM
Setup Project - Displaying Messages using Launch Conditions raja C# Programming 0 05-08-2007 03:16 AM


All times are GMT -7. The time now is 09:46 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0