Problem about custom preloader in Flex 1.5

I read the article written by Eric Anderson and test his
sample.But i met some problems.
the codes is on
http://weblogs.macromedia.com/eanderson/archives/2004/12/preloader_in_fl.cfm
I can only see the "Loading Your Application View . . . ",
but can not see "LOADED:" or "TOTAL:" in the function
setProgress().It seems that the function is never called.
What's wrong?
thanks in advance.

The setProgress() method is only called when downloading the
SWF from a
remote location. Is your SWF on a server? You also need to
clear the cache
before each download.
Glenn

Similar Messages

  • Problem about customized table in scrollpane

    I put a customized table whose's header and rows have some colors into a scrollpane(row 0, 2, 4 ... is white, row 1, 3, 5... is black, for example).when the width of scrollpane is big enough, the space area on the right of the table in the viewport has the default color, If I want to set the space area's color the same as the table just as if the space area is the last column of the table(even row is white, odd row is black).
    How can I do this?

    Try adding a dummy column to the table. then use:
    table.setAutoResizeMode(int mode)
    so that only the last column is resized.

  • Problem about custom package.

    Hi all,
    I am a new beginner. When I tested a program in a book, the complier cannot resolve MyString class. Can you teach me how to fix it? Thanks.
    Here's the code:
    The code of PackageSample.class:
    import com.BitC.test.*;
    public class PackageSample
         public static void main(String args[])
              MyString a_MyString = new MyString();
              char str[] = {'J','a','v','a',' ','2'};
              a_MyString.setData(str);
              System.out.println(a_MyString.getData());
    The code of MyString.class:
    package com.BitC.test;
    public class MyString
         protected char name[];
         public void setData(char i_name[])
              name = new char[i_name.length];
              System.arraycopy(i_name,0,name,0,i_name.length);
         public char[] getData()
              return name;

    This link may help.
    http://java.sun.com/docs/books/tutorial/java/interpack/packages.html
    The class MyString is part of a package named com.BitC.test so you need a directory structure that matches - a com directory that contains a BitC directory that contains a test directory that contains the MyString.class file. In addition, the directory that contains the com directory must be in your classpath.

  • Flex Custom Preloader

    Hi,
    I've read a lot of tutorial about custom Preloader. I made
    one, by extending the Sprite Class and implementing the
    IPreloaderDisplay interface.It works, I added a custom Image, a
    small progress bar with a percentage label. What I'm not able to do
    is CHANGING THE BACKGROUND. The goal is to have a repeated image as
    a backgroundImage. But I don't even succeed in changing the
    backgroundcolor.
    Can anybody help me?
    Thanks in advance.
    Davide

    Ok. I went and made a small example - cut'n paste stuff.
    Perhaps not the best way but works for me.

  • Custom Preloader

    I made a website in Flash Catalyst, and imported it to Flash Builder to ad some
    features, like key input, fullscren.
    The main thing I also wanted to do was to create a custom preloader. I made a SWC file in Flash, but can't make it work.
    Since I am a graphic designer and don't really know anything about Flash/Flex, but I desperatly need help finishing the project.
    Do  you guys have any advice /codes (I've read everything on the net...) that you can share.
    Or better yet, would you like to do the job (payed via paypal).
    Thanks in advance,
    phil
    SWEDEN

    You might try watching this tutorial by Adobe's Lee Brimelow at http://gotoandlearn.com/play.php?id=108. Another tutorial can be found here: http://www.leavethatthingalone.com/blog/index.cfm/2009/11/11/Flex4CustomPreloader
    Good luck!

  • HTML Frames not using custom scrollbar in Flex 3 mx:HTML

    I've been working on an app that uses a custom skin in Flex 3. The app has a help window. The help contains an HTML with frames. Problem is, the main app vertical scrollbar custom skin is being ignored for the HTML Frames scrollbar (what looks like the classic version of Halo - maybe). This only happens with frames. It happens no matter how or where I place my HTML or HTMLLoader. If I dont have frames the custom scrollbar is used. Is there a node im missing in my skin css (obviously not VScrollBar or ScrollBar - the two standard used by Flex)? or some other way to connect the HTML Frames scrollbar to my custom skin.
    I'm not a noob but not an expert.
    Thanks.
    See attached image for example.

    Take the code of the jsp file :
    <%@ page language="java" %>
    <%@ taglib uri="WEB-INF/struts-html.tld" prefix="html" %>
    <html>
       <head>
         <title> First Struts Application </title>
       </head>
         <body>
            <table width="500" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td> </td>
            </tr>
            <tr bgcolor="#36566E">
              <td height="68" width="48%">
                <div align="left">
                  <img src="images/hht.gif" width="220" height="74">
                </div>
              </td>
            </tr>
            <tr>
             <td> </td>
            </tr>     
           </table>
           <html:form action="Lookup"
                      name="lookupForm"
                      type="wiley.LookupForm" >
           <table width="45%" border="0">
            <tr>
              <td>Symbol:</td>
              <td><html:text property="symbol" /> </td>
            </tr>
             <tr>       
              <td colspan="2" align="center"><html:submit/> </td>
             </tr>       
            </table>              
          </html:form>
         </body>
    </html>

  • Customize no longer works for me in FF 29. It just brings up "about:customizing" in the URL box

    I like the new interface in FF29, but my back and forward arrows no longer show in the toolbar. No problem, I thought. I'll just correct the lost customization. But when I choose customize, I don't get the usual customize menu. "about:customizing" is simply inserted in the URL box.

    Have you tried it in "Safe Mode" - F10 > Help > Restart with addons disabled?
    When I enter "about:customizing" it takes me to the same customising view as does using right-mouseclick on a non-active part of the main toolbar.
    Another gotcha might be that at the bottom-left there is a drop down list where menus can have their visibility set. It's possible for some buttons to be hidden because these menus are set "off". Just for when you do find your customise page ...

  • Problems with customizing select lists and popup LOVs

    Hi
    I have 2 problems about select lists and popup LOVs.
    The first one is about a select list in a tabular form.
    It should be created with APEX_ITEM.SELECT_LIST_FROM_LOV or similar and take its values from a named LOV.
    This worked fine but now it should also have the possibility to enter a free value.
    I tried to accomplish that by creating a APEX_ITEM.POPUP_FROM_LOV, but there is a problem with the function that is called by the arrow icon right to the input field (for eg. genList_f11_5()).
    If the row is added by addRow, then it works fine, but if the row is is not empty
    then the function call is like genList_f11_$_row() and the input field gets no value, when a LOV option is selected.
    The other problem is about a select list which should have the possibility to enter a custom value and
    also there should be the possibility to select several values. I tried to implement this by a text area containing the selected values and a multiple select list, with an event handler in each option. The user could click options and they would be copied to the text area. The problem is that I couldn't make the event handler work in IE.
    I would appreciate any ideas about either of these problems.
    Tiina

    Hi,
    If you download application you can see source.
    I have not write any instructions, sorry.
    If you are on Apex 4 you can just load jQuery UI autocomplete library and take ideas from my app.
    If you download my sample in zip there is uncompressed htmldbQuery library.
    You can see that and take only function htmldbAutocomplete.
    Then check jQuery UI document
    http://jqueryui.com/demos/autocomplete/#method-search
    There is method search that you can use open list just by click of input.
    I hope this helps at start.
    Regards,
    Jari

  • How can i increase time of preloader in flex?

    How can I extend time of preloader in flex?

    Have a look at this
    http://www.digitalprimates.net/notes/2009/10/02/fun-with-custom-preloaders-in-flex/.
    However if you are using framework like Parsley messing with the app startup
    will end up in messing you framework initialization since the framework is
    depending on those events.
    C

  • Problem About J2EE RI and PetStore Demo

    Hello ^^
    I have a problem about j2ee & petstore.
    I trird to set up sun j2ee RI 1.3.1 + pet store on win2000 or redhat.
    Everything run ok. But when I changed web port 8000 to any port (included
    80),
    j2ee ri server showed the error message below :
    java.net.ConnectException: Connection refused: connect
    java.security.PrivilegedActionException: javax.servlet.ServletException:
    An error occurred while evaluating custom action attribute "items" with
    value "${catalog.categories.list}": An error occurred while getting
    property "categories" from an instance of class
    com.sun.j2ee.blueprints.catalog.client.CatalogHelper
    I used root to start j2ee & cloudscape on linux,
    and changed database to postgresql, too.
    but the error is the same.
    How to solve this problem ??
    Thank you ~~
    Jovi

    Hi,
    I dont know how useful my reply would be since the question was posted about 2 yrs back, but just wanted to reply in case somebody faces the same problem.
    If you change the web port to some other port (other than 8000) then please check the sun-j2ee-ri.xml files. Actually the CatalogDAOSQL.xml is read using a url which includes the port you are running the server on. So, you need to change the port even in the sun-j2ee-ri.xml file.
    One of the sun-j2ee-ri.xml files, where you need to make the change is in the $PETSTORE_HOME/src/apps/petstore/src/sun-j2ee-ri.xml file.
    Other one is in $PETSTORE_HOME/src/apps/supplier/src/sun-j2ee-ri.xml file.
    Look for other sun-j2ee-ri.xml files where the url is hardcoded. (I think the two sun-j2ee-ri.xml files mentioned above, are the only places you need to make the change, but still look for other files in case i have missed)
    Change those urls and redeploy the ears.
    Hope this solves the problem.
    Regards,
    Archit

  • Preloader in flex

    hi
        i want to use a preloader in flex.please help me if anyone know the answer
                                                                               regards

    Hi savz,
    You can do the following...Try to embed the custom swf cursor in a variable and write a function in the preInitialize event of the main mxml application i.e; on the root tag <mx:Application preInitialize="onPreinitialize()"> </mx:Application>
    [Embed(source='assets/swf/Preloader.swf')]
    [Bindable]private var customCursor:Class;
    private function onPreinitialize():void
          StyleManager.getStyleDeclaration("CursorManager").setStyle("busyCursor",customCursor);
    That's it you can go with it...As and when the busyCursor is true your customCursir is shown overriding the default busy curso symbol.
    Please kindly mark the answer if it helped you..:)
    Thanks,
    Bhasker

  • Lumia problem, weak customer care

    Dear Board,
    I bought a lumia 920 on 03.12.2013 form a nokia shop. The imei number of the product is:35XXXXXXXXXXXXX.  I had a problem about this product after 7 days. The problem was; when i make a call , sensor i,s not working properly and i cannot hang out the phone or i cannot push any othwer button becouse the screen goes to black. I sent the device to the service, they load the software again and i used the device with no problem in next 30 days, after 30 days same problem appear again. i sent the device to the service again and they load the software again, after 2 mths, same problem appear again. Every time i send the device to the service, i transfer my info to the computer and after one week i setup the device again and again, on this period i cannot use the phone and this situation effects me financially on my business. I'm a nokia customer for more than 10 years, i havent face that kind of big problem before, i tried to contact with local support too many times but they are wery weak and do nothing.
    Please help me about this situation
    Best Regards, Suat Metin Gokoglu
    Moderator's Note: This post was edited and the IMEI was removed. Please do not publish unique serial number in a public forum.

    Refer THIS thread and you may occassionally fix the issue yourself as suggested in a few posts there-in. BTW, there are reports that the issue has been fixed (somewhat) thru' the latest update that is being rolled out currently in phases ..(Refer this too ...)

  • Help request about customizing readings estimation

    Hello,
    I'm a new user of this forum and I wolud to ask you some information about customizing of readings estimation.
    In particular I would:
    - bypass standard SAP logics to estimate readings to use custom technique
    - create custom reading type instead standard '03' value
    I read previous topics in this forum and I have seen that a possible user-exit to link the new estimation logics could be EDMLELHR. Using SAP I have seen also EDMLELHA user-exit.
    I think the second user-exit is better for my case because I want to create reading orders separately respect to estimation process. In fact I have had problems with EDMLELHA user-exit because after having created the reading order (EL01 transaction), in the installation I have seen in the Reading Results sheet an estimated reading. I didn't want an estimated reading, but only the reading order.
    Are there way to not activate automatic estimation during EL01? Or are there other user-exit similar to EDMLELHA without this inconvenience?
    Finally, how can I do to create a custom reading type after estimation?
    I hope I made myself clear
    Thanks a lot

    HiASADUZZAMAN
    You cannot use the request. It has a wrong type
    Is above error a warning or error?
    Double click on above information when you are getting you may get more inputs to analyze.
    Thanks & Regards,
    Nagendra.

  • Have problem about grant assignment in Student Master Data

    have problem about grant assignment in Student Master Data
    i want to change grant detail in Student Master Data when i choose disbursement type to Pay Fixed Amount
    and then go to Grant Evaluation Run it have result
    But when i choose another disbursement type such as
    1. Pay Up To a Certain Percentge
    2. Pay Certain Percentage Up to a Certain Amount
    3. Pay Up to a Certain Amount
    and go to run Grant Evaluation it can run but not have result
    I need help T_T i don't know why i can't change or i miss something

    hello experts,
    Our problem is still not fixed, but we have contacted SAP to have a look at this problem. In the mean time we have created a new way to calculate the grants by doing no check at all, because our client don't want to have prerequisites yet.
    Therefor we made a custom function module from PMIQBP_GR_COND_EVALT_01. If the boolean ev_xok is true the system will calculate and post the grant amount.
    Good luck and I'll keep you posted.
    Kind regards,
    Steve de Klonia

  • Preloader in Flex Components

    Hi,
    Is it possible to have preloader in flex components. For
    example if we have a datagrid which fetches values from xml on load
    thn how can i put the preloader in that datagrid. Please suggest.
    Regards,
    Naveen

    Hi savz,
    You can do the following...Try to embed the custom swf cursor in a variable and write a function in the preInitialize event of the main mxml application i.e; on the root tag <mx:Application preInitialize="onPreinitialize()"> </mx:Application>
    [Embed(source='assets/swf/Preloader.swf')]
    [Bindable]private var customCursor:Class;
    private function onPreinitialize():void
          StyleManager.getStyleDeclaration("CursorManager").setStyle("busyCursor",customCursor);
    That's it you can go with it...As and when the busyCursor is true your customCursir is shown overriding the default busy curso symbol.
    Please kindly mark the answer if it helped you..:)
    Thanks,
    Bhasker

Maybe you are looking for