IT Community - Software Programming, Web Development and Technical Support

Flex is flexible

This is a discussion on Flex is flexible within the Adobe Flex Programming forums, part of the Web Development category; see..how easy to build a progress bar for download a content from server. Code: <?xml version="1....


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > Adobe Flex Programming

Register FAQ Members List Calendar Mark Forums Read
  #1  
Old 07-18-2007, 06:47 AM
kbala kbala is offline
D-Web Trainee
 
Join Date: Mar 2007
Posts: 5
kbala is on a distinguished road
Default Flex is flexible

see..how easy to build a progress bar for download a content from server.

Code:
<?xml version="1.0"?>

<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">

    <mx:Script>
        <![CDATA[
            public function initImage():void {
              image1.load("********image url*************");
            }
        ]]>
    </mx:Script>

    <mx:VBox id="vbox0" 
        width="600" height="600">
        <mx:Canvas>
            <mx:ProgressBar width="200" source="image1"/>
        </mx:Canvas>
        <mx:Button id="myButton" 
            label="Show" 
            click="initImage();"/>
        <mx:Image id="image1" 
            height="600" width="600" 
            autoLoad="false" 
            visible="true"/> 
    </mx:VBox>
</mx:Application>

Last edited by kbala : 07-18-2007 at 06:55 AM.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 07-19-2007, 04:16 AM
geoblow geoblow is offline
D-Web Trainee
 
Join Date: Jul 2007
Posts: 17
geoblow is on a distinguished road
Question Very flexible

Yes, It's Very Flexible!

Can we change the Progress Bar’s look and feel?
For different applications, not only the color, even the shape.
__________________
Geo
Actionscript Villain
geoblow.com
Atleast an inch move every day!
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 08-01-2007, 12:59 AM
Karpagarajan Karpagarajan is offline
D-Web Analyst
 
Join Date: Mar 2007
Posts: 301
Karpagarajan is on a distinguished road
Post Re: Flex is flexible

Hi,

It is nice one. Here is the type of progress control. Before start working , we will know about the definition of the progress control. There are two types of ProgressBar controls: determinate and indeterminate. A determinate ProgressBar control is a linear representation of the progress of a task over time. You can use this when the user is required to wait for an extended period of time, and the scope of the task is known.
An indeterminate ProgressBar control represents time-based processes for which the scope is not yet known. As soon as you can determine the scope, you should use a determinate ProgressBar control.

The following describes both types of ProgressBar controls:
Determinate ProgressBar control - 100% ...
Indeterminate ProgressBar control - Loading...

Use the ProgressBar control when the user is required to wait for completion of a process over an extended period of time. You can attach the ProgressBar control to any kind of loading content. A label can display the extent of loaded contents when enabled.

thanks
__________________
Karpagarajan. R
Necessity is the mother of invention
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 Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Game programming using Flex phyxx Adobe Flex Programming 0 10-15-2008 07:09 PM
Flex Exe seesamjagan Adobe Flex Programming 0 01-06-2008 02:39 AM
FLEX with java jeyaprakash.c Java Programming 2 09-06-2007 12:08 AM
Integrate Flex 2 and PHP sivaramakrishnan PHP Programming 1 07-17-2007 10:49 PM


All times are GMT -7. The time now is 07:50 AM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.
Our Partners
One Way Moving Companies | Stamford Dentist | Euro Millions Lottery | Home Loans| Furniture

SEO by vBSEO 3.0.0