A question with ProgressBar in FLEX 3

Hi ,
I am trying to work with the examples of ProgressBar from FLEX 3 .
I saw an example where the source of an progressBar is data.progress and there is no component with the id as data .
similar to this :
<mx:ProgressBar id="MYPB" source = "{data.progress}"/>
Can anybody please throw a light on this .
Thanks in advance .

The source of a progress bar can be any instance of a class that dispatches the ProgressEvent. It can be Image, SWFLoader, FileReference or your own class.
The RemoteObject class for example does not dispatch this event (you can only know when there is a result or an error), so you cannot use it as the source of a ProgressBar component in event or polled mode.

Similar Messages

  • Searching a Mysql Database With PHP and FLEX 2.0

    Hi there
    I need help with an adobe Flex 2 PHP Mysql project.
    This project has a search feature where the user selects
    Criteria based on 3 dropdown components that are populated with
    dynamic data from PHP MYSQL.
    When the user selects these 3 criterias,we would like the
    results to be displayed on the flex application under the search
    bar,
    Please let me know If You would be interested.
    I have Adobe Connect,MSN,AIM,SKYPE,YAHOO,etc.
    We can offer more work after this job has been completed.
    I am an 8 year Internet veteran with a Mass amount of
    Work,and projects,for flex.
    Please at least email me with any questions,
    Thanks
    Brandon James Broga
    web technologies
    [email protected]
    aim = brandonjb2008
    msn= [email protected]
    yahoo = webtechhost

    ...Have you gotten any replies on this yet? If not...I've
    been putting small web apps, and web-enabled clients, together
    under pressure for nearly 10 years...Mostly
    VBscript/Javascript/SQLserver/Oracle, but I can do JSP and have
    also dabbled in PHP/MySQL (my
    Movies
    Database Page is in PHP/MySQL). I've been trying to get some
    time to setup a Flex 3 container on my home server, probly I'll use
    WebOrb...
    Lemme know,
    Pudnik

  • How do I reset my apple id security question with out a rescue email

    How do I reset my apple id security question with out a rescue email?

    You need to ask Apple to reset your security questions; ways of contacting them include clicking here and picking a method for your country, phoning AppleCare and asking for the Account Security team, and filling out and submitting this form.
    They wouldn't be security questions if they could be bypassed without Apple verifying your identity.
    (101013)

  • Problem in creating client side PDF with image using flex and AlivePD

    I need a favor I am creating client side PDF with image using flex and AlivePDF for a web based application. Images have been generated on that pdf but it is creating problem for large size images as half of the image disappeared from that pdf.I am taking the image inside a canvas . How do i control my images so that they come fit on that pdf file for any image size that i take.
    Thanks in advance
    Atishay

    I am having a similar and more serious problem. It takes a
    long time to execute, but even attaching a small image balloons the
    pdf to 6MB plus. After a few images it gets up to 20MB. These are
    100k jpeg files being attached. The resulting PDF is too large to
    email or process effectively. Does anyone know how to reduce
    size/processing?

  • Basic questions with respect to ABAP WebDynpro Application

    Hi All,
    I have two basic questions with respect to an ABAP WebDynpro application :
    a) If an ABAP WebDynpro application has been developed, how could it be made available to the end user?
    b) Can an ABAP WebDynpro application be developed in ECC or is it only applicable for version 4.6c?
    Thanks & Regards,
    Sushanth Hulkod

    Sushanth Hulkod wrote:
    > a) If an ABAP WebDynpro application has been developed, how could it be made available to the end user?
    >
    > b) Can an ABAP WebDynpro application be developed in ECC or is it only applicable for version 4.6c?
    a) If an ABAP WebDynpro application has been developed, how could it be made available to the end user?
    Answer - By providing direct link of the WD application created in SE80, creating iView for webdynpro abap application in the portal environment and  NWBC environment
    b) Can an ABAP WebDynpro application be developed in ECC or is it only applicable for version 4.6c?
    Answer - Yes it can be developed in ECC. Webdynpro ABAP is introduced in NW 2004s (SAP NetWeaver 7.0 or ECC 6.0)
    Thanks,
    Chandra

  • A Jrame with progressbar that is setVisible() in a n otherThread

    This title may seem a bit weird, but I really don't know how to explain it.
    My problem is this:
    For a (huge :p) project for school we need to read csv( Comma separated value) and put them in a database. Because this can take a while on remote servers I wanted to make Jframe with progressbar that is updated with each function that is done. But for some reason he doesn't show this Jframe UNTILL everything is read. It's like he doesn't use the Thread at all.
    I have to say I allready have 1 thread running for checking the database connection (+ the threads that swing uses), I don't know if this causes any problems:
    Here's the code
    The thread class
    * CsvCheckDoneThread.java
    * Created on 2 juni 2007, 18:12
    * To change this template, choose Tools | Template Manager
    * and open the template in the editor.
    package Data;
    import View.CsvProgress;
    * @author Welles
    public class CsvCheckDoneThread implements Runnable {
        CsvProgress progress=new CsvProgress();
        /** Creates a new instance of CsvCheckDoneThread */
        public CsvCheckDoneThread(){
        public void run() {
            progress.setVisible(true);
        public void stopthread(){
            progress.dispose();
        public void setValue(int value){
            progress.setValue(value);
    }the Jframe with the progressbar
    * CsvProgress.java
    * Created on 2 juni 2007, 18:35
    package View;
    import javax.swing.*;
    import java.awt.*;
    * @author  Welles
    public class CsvProgress extends JFrame {
        /** Creates new form CsvProgress */
        public CsvProgress() {
            initComponents();
            //centerscreen();
            this.prgbar.setValue(0);
        private void centerscreen(){
            Dimension dim = getToolkit().getScreenSize();
            Rectangle abounds = getBounds();
            setLocation((dim.width - abounds.width) / 2,(dim.height - abounds.height) / 2);
        public void setValue(int value){
            this.prgbar.setValue(this.prgbar.getValue()+value);
        // <editor-fold defaultstate="collapsed" desc=" Generated Code ">                         
        private void initComponents() {
            jPanel1 = new javax.swing.JPanel();
            prgbar = new javax.swing.JProgressBar();
            jLabel1 = new javax.swing.JLabel();
            jPanel2 = new javax.swing.JPanel();
            jLabel2 = new javax.swing.JLabel();
            setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
            setAlwaysOnTop(true);
            setBackground(new java.awt.Color(214, 205, 244));
            setResizable(false);
            prgbar.setStringPainted(true);
            jLabel1.setFont(new java.awt.Font("Calibri", 0, 14));
            jLabel1.setForeground(new java.awt.Color(0, 0, 153));
            jLabel1.setText("<html>De csv's worden geladen.<br><p align=\"center\">Even geduld aub</p></html>");
            jPanel2.setBackground(new java.awt.Color(67, 67, 201));
            jLabel2.setFont(new java.awt.Font("Calibri", 0, 48));
            jLabel2.setForeground(new java.awt.Color(255, 255, 255));
            jLabel2.setText("<html>D<br>C<br>I</html>");
            javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);
            jPanel2.setLayout(jPanel2Layout);
            jPanel2Layout.setHorizontalGroup(
                jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(jPanel2Layout.createSequentialGroup()
                    .addGap(29, 29, 29)
                    .addComponent(jLabel2)
                    .addContainerGap(37, Short.MAX_VALUE))
            jPanel2Layout.setVerticalGroup(
                jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(jPanel2Layout.createSequentialGroup()
                    .addContainerGap()
                    .addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, 179, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addContainerGap(23, Short.MAX_VALUE))
            javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
            jPanel1.setLayout(jPanel1Layout);
            jPanel1Layout.setHorizontalGroup(
                jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()
                    .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                        .addGroup(jPanel1Layout.createSequentialGroup()
                            .addGap(27, 27, 27)
                            .addComponent(prgbar, javax.swing.GroupLayout.PREFERRED_SIZE, 242, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGroup(jPanel1Layout.createSequentialGroup()
                            .addGap(80, 80, 80)
                            .addComponent(jLabel1)))
                    .addGap(34, 34, 34))
            jPanel1Layout.setVerticalGroup(
                jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()
                    .addContainerGap(65, Short.MAX_VALUE)
                    .addComponent(jLabel1)
                    .addGap(18, 18, 18)
                    .addComponent(prgbar, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGap(77, 77, 77))
                .addComponent(jPanel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
            javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
            getContentPane().setLayout(layout);
            layout.setHorizontalGroup(
                layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
            layout.setVerticalGroup(
                layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
            pack();
        }// </editor-fold>                       
         * @param args the command line arguments
        // Variables declaration - do not modify                    
        private javax.swing.JLabel jLabel1;
        private javax.swing.JLabel jLabel2;
        private javax.swing.JPanel jPanel1;
        private javax.swing.JPanel jPanel2;
        private javax.swing.JProgressBar prgbar;
        // End of variables declaration                  
    }The class where I run the Thread
    public void InitializeCsv(String path) throws SQLException, IOException{
            csvcheckclass=new CsvCheckDoneThread();
            Thread cvsth = new Thread(csvcheckclass);
            try{
                cvsth.start();
                Csv c= new Csv(game, wedstrijd, speeldag, speler, team, club, reeks, bc,csvcheckclass);
                c.LeesCsv(path);
                kalender k= new kalender(14,wedstrijd,team, club, bc);
                k.create(); 
                csvcheckclass.stopthread();
            } catch (SQLException e){
                csvcheckclass.stopthread();
                throw new SQLException();
        }Some words will probably be unreadable by you guys (unless you understand dutch/flemisch), but I hope you get the picture on what I like to do :).
    If you could tell me what I'm doing wrong it would be a gigantic help for me (this is the last thing that I need to do).
    grtz!

    The most likely answer is that your CVS code is actually running in the AWTEventQueue thread. The fact that you call setVisible in another thread really does nothing, since it is the AWTEventQueue thread that actually controls the painting of the object. I am really surprised that having it in another thread actually does something different than not. Try printing out the name of the thread from the CSV code and see if I'm right, maybe we can work from there.

  • I cannot purchase anything at the itunes store because I am being ask for my security questions, but I don't remember them. How do you change you security questions with out knowing them?

    I cannot purchase anything at the itunes store because I am being ask for my security questions, but I don't remember the answers. I tried going to appleied.apple.com but I won't allow me to change my security answerswithout answering the original questions. How do you change you security questions with out knowing them? I need help.

    Welcome to the Apple Community.
    Start here, and reset your security questions, you will receive an email to your rescue address, use the link in the email and reset your security questions.
    If that doesn't help or you don't have a rescue address, you might try contacting Apple through iTunes Store Support

  • How do you resets your apple I'd security question with out calling apple

    How do you resets your apple I'd security question with out calling apple

    See Kappy's great User Tips.
    See my User Tip for some help: Some Solutions for Resetting Forgotten Security Questions: Apple Support Communities https://discussions.apple.com/docs/DOC-4551
    Rescue email address and how to reset Apple ID security questions
    http://support.apple.com/kb/HT5312
    Send Apple an email request for help at: Apple - Support - iTunes Store - Contact Us http://www.apple.com/emea/support/itunes/contact.html
    Call Apple Support in your country: Customer Service: Contacting Apple for support and service http://support.apple.com/kb/HE57
     Cheers, Tom

  • I need some more interview question with answer on modeling,reporting.

    i need some more interview question with answer on modeling,reporting.

    Hi,
    You may find tons of topic about interview question. Please try to search forums before opening a post next time.Take a look at the link below.
    https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=bwinterviewquestions&adv=true&adv_sdn_all_sdn_author_name=
    Regards,
    ®

  • HT201303 Have forgotten my apple I'd security questions with respective answers

    Have forgotten my apple I'd security questions with respective answers

    Forgotten security questions - https://discussions.apple.com/message/18402551
    More involved forgotten question issues - https://discussions.apple.com/thread/3961813
    Frequently asked questions about Apple ID - http://support.apple.com/kb/HE37

  • Trying to teach self Java-question with arrays

    I have a question with arrays. I have a simple inventory program that I am writing(very simple). I have declared and created my array. Is this the time I should build a new class outside of my main in order to hold my array? I am still trying to sort through classes and when to create them. My thought is that because it is a hierarchy I should have a new class. For example, Albums is at the top and then there are specific types of albums, like TributeAlbum, PremiereAlbum, etc. Do I need a class for each of these? When I create the class, do I use the same name as the array?
    More info, just in case: My original class is AlbumInventory. I have created an array to hold 25 TributeAlbums which has 4 instance variables.
    Question 2: Why can I not refer to an album variable like TributeAlbums[0].itemNumber?
    Thanks in advance for your input.
    Denise

    I have a question with arrays. Okay.
    I have a simple
    inventory program that I am writing(very simple). I
    have declared and created my array. Is this the time
    I should build a new class outside of my main in
    order to hold my array? In an OO language classes are usually a good idea.
    I am still trying to sort
    through classes and when to create them. My thought
    is that because it is a hierarchy I should have a new
    class.This sounds a bit confused. You should have a new class when it is appropriate to do so.
    For example, Albums is at the top and then
    there are specific types of albums, like
    TributeAlbum, PremiereAlbum, etc. Do I need a class
    for each of these? Not sure. Why is the type not an attribute of the Album class? This (attribute) seems at first glance to be the way to do it.
    When I create the class, do I use
    the same name as the array?
    ? I am going to say no but I'm not following what you are really asking here.
    More info, just in case: My original class is
    AlbumInventory. I have created an array to hold 25
    TributeAlbums which has 4 instance variables.
    Can you please post some of your actual formatted code? It would also be helpful to know what the attributes for an Album are as you have them.

  • Will BlazeDS work with Flash (not Flex or AIR)?

    Does anyone know if Blaze can work with Flash(not flex or AIR)?
    If so, how? Any examples?
    Thanks,
    James

    Hallo Russell,<br /><br />I'm a beginner with Flex and Flash, and I already succeeded calling the remote object with Flex. But my company requires me to use Flash (AS3).<br /><br />So, could you please give me an example of ActionScript code to call a RemoteObject in BlazeDs? The url? and call string?<br /><br />I also use Spring behind.<br /><br />I tried to use the url: "http://localhost:8080/myAppName"<br />and then the call string is "myService.getList"<br /><br />myService is the destination in the service-config.xml<br />getList is the method from the remote object which is a Java class.<br /><br />Here is the snippet from remoting-config<br />  <destination id="clasificationService"><br />    <properties><br />      <factory>spring</factory><br />      <source>clasificationManager</source><br />    </properties><br />  </destination><br /><br />and Here is the snippet from services-config:<br /><br />    <!-- Spring factory registration --><br />    <factories><br />        <factory id="spring" class="com.airbus.cm.cd.controller.SpringFactory" /><br />    </factories><br />    <channels><br />        <channel-definition id="channel-amf" class="mx.messaging.channels.AMFChannel"><br />            <endpoint url="http://{server.name}:{server.port}/{context.root}/messagebroker/amf"<br />                class="flex.messaging.endpoints.AMFEndpoint" /><br />            <properties><br />                <polling-enabled>false</polling-enabled><br />            </properties><br />        </channel-definition><br />        <br />        <channel-definition id="my-secure-amf" class="mx.messaging.channels.SecureAMFChannel"><br />            <endpoint url="https://{server.name}:{server.port}/{context.root}/messagebroker/amfsecure" class="flex.messaging.endpoints.SecureAMFEndpoint"/><br />            <properties><br />                <add-no-cache-headers>false</add-no-cache-headers><br />            </properties><br />        </channel-definition><br /><br />        <channel-definition id="my-polling-amf" class="mx.messaging.channels.AMFChannel"><br />            <endpoint url="http://{server.name}:{server.port}/{context.root}/messagebroker/amfpolling" class="flex.messaging.endpoints.AMFEndpoint"/><br />            <properties><br />                <polling-enabled>true</polling-enabled><br />                <polling-interval-seconds>4</polling-interval-seconds><br />            </properties><br />        </channel-definition><br /><br />    </channels><br /><br />Best regards,<br />Raymond.

  • HT1911 I am not answering the security question with the answer APL wants.  What do I do?

    I am not answering the security question with the answers APL wants.  What do I need to do to get past the security questions to reset my password?

    Welcome to Apple Support Communities
    Hold Power and Home buttons for 10 seconds until your iPad restarts, and you will be able to use it again. After doing this, open Settings > iCloud > Storage & Backup, and make a manual backup

  • HT5576 E-mail to Kdnci Alveamcunnina change their security questions with Apple Can I change the email link Barsaalh change the email to the main email with Apple

      E-mail to Kdnci Alveamcunnina change their security questions with Apple Can I change the email link Barsaalh change the email to the main email with Apple

    Contact Apple and ask the account security team for assistance: http://support.apple.com/kb/HT5699.

  • Architecture/Design Question with best practices ?

    Architecture/Design Question with best practices ?
    Should I have separate webserver, weblogic for application and for IAM ?
    If yes than how this both will communicate, for example should I have webgate at both the server which will communicate each other?
    Any reference which help in deciding how to design and if I have separate weblogic one for application and one for IAM than how session management will occur etc
    How is general design happens in IAM Project ?
    Help Appreciated.

    The standard answer: it depends!
    From a technical point of view, it sounds better to use the same "midleware infrastructure", BUT then the challenge is to find the lastest weblogic version that is certified by both the IAM applications and the enterprise applications. This will pull down the version of weblogic, since the IAM application stack is certified with older version of weblogic.
    From a security point of view (access, availability): do you have the same security policy for the enterprise applications and the IAM applications (component of your security architecture)?
    From a organisation point of view: who is the owner of weblogic, enterprise applications and IAM applications. In one of my customer, application and infrastructure/security are in to different departments. Having a common weblogic domain didn't feet in the organization.
    My short answer would be: keep it separated, this will save you a lot of technical and political challenges.
    Didier.

Maybe you are looking for

  • Method oadbtransaction not found while running jsp page

    Hi all, We are trying to use the below method in jsp, but when are trying its giving error as the method OADBTransaction is not found in corresponding directory, can you please let us know from where we need to download this method from server so tha

  • Need Help on Interchangability of Parts

    I bought this http://cgi.ebay.ca/ws/eBayISAPI.dll?ViewItem&item=350044256916&ssPage... It arrived with a bad screen. While looking on EBAY I saw this: http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=360041440689&ssPag... My bad screen one good CD

  • Websphere technical analyst

    We are in need of Websphere technical consultant for a project in IL. Please find below our requirements. Skills: * Clustering and failover strategies and implementations * JNDI and its new implementation in Distributed WAS 5 * Web and EJB container

  • Song sorting selections...

    For some reason, when I opened iTunes the other day, the sorting category that was usually "Album" had changed to "Album by Artist" No matter what I do I can't seem to change it back to regular "Album"... can someone help me? I have already tried get

  • Importing model

    I was able to successfully import model from the existing schema. But it only generated physical schema and not logical model. I want to use this tool for future enhancement for which i need to use logical model, how do i get logical model from expor