Simple preloader problem

hey, Im new to actionscript 3 and I am trying to make a a simple preloader for a game. the game is a SWF file located in the same directory as the preloader. the premise is very simple but I cant seem to understand my error problems. I have a MC called "preloader_mc" on stage (it says Instance of: preloader_mc in the properties panel, but theres also an empty field called '<instance name>'). Inside the preloader_mc is my dynamic text field which is named "txtLoad", and 1/4 circle line which is supposed to circle the percentage loaded in the text field. the circle is name "circle_mc" which an instance name of circle_mc.
I have an external AS file called PreloaderAS and it contains:
package {
import flash.display.MovieClip;
import flash.display.Loader;
import flash.events.Event;     
import flash.events.ProgressEvent;
public class PreloaderAS extends MovieClip {
public var loader:Loader = new Loader();
public function PreloaderAS(){
loader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, loading);
public function loading(ev:ProgressEvent):void {
var pct:Number = ev.bytesLoaded/ev.bytesTotal;
trace( ev.bytesLoaded + " / " + ev.bytesTotal + " = " + pct);
circle_mc._rotation += 7;
var strPct:String = Math.round( pct * 100).toString();
preloader_mc_txtLoad.text = strPct + "% Loaded";
The errors are:
1119: Access of possibly undefined property _rotation through a reference with static type Class. (2x)
1120: Access of undefined property preloader_mc_txtLoad.

my files (.fla, .as, and the swf) are located here:
http://www.speedyshare.com/files/27178512/download/preloader.zip

Similar Messages

  • Help with simple preloader- please

    hello,
    i'm trying to get a simple preloader and progress bar working
    for a swf file. The problem is the main swf. movie starts playing
    under preloader before the preloader is finished. So when the
    preloader has finished you are already well into the main movie.
    (After the movie loops you can see the first part that was missing
    during the preload.) This is the AS that i found from a web site
    (MonkeyFlash), it is AS 3. Below is the script.
    here is a link to the page with the movie:
    http://www.aquatichealings.com/new/
    Also is it not advisable to use AS3 because it will only work
    in Flash 9 and not below and most people may not have 9? Should i
    be starting over in AS2. I had built a AS2 in Flash CS3 but had the
    same problem.
    Please kindly advise on how to make it work correctly. I'd
    really appreciate some help, i've gotten books and scoured the web
    for different methods and i'm afraid i'm a bit of a numb skull with
    Flash and can not seem to get a simple preloader and progress bar
    working correctly. THANKS!
    gregory
    var myRequest:URLRequest = new URLRequest("aquatic-h.swf");
    var myLoader:Loader = new Loader();
    myLoader.load(myRequest);
    myLoader.contentLoaderInfo.addEventListener(Event.OPEN,showPreloader);
    myLoader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS,showProgress);
    myLoader.contentLoaderInfo.addEventListener(Event.COMPLETE,showContent);
    var myPreloader:Preloader = new Preloader();
    function showPreloader(event:Event):void {
    addChild(myPreloader);
    myPreloader.x = stage.stageWidth/2;
    myPreloader.y = stage.stageHeight/1.2;
    function showProgress(event:ProgressEvent):void {
    var percentLoaded:Number =
    event.bytesLoaded/event.bytesTotal;
    myPreloader.loading_txt.text = "Loading - " +
    Math.round(percentLoaded * 100) + "%";
    myPreloader.bar_mc.width = 198 * percentLoaded;
    function showContent(event:Event):void {
    removeChild(myPreloader);
    addChild(myLoader);
    }

    ... the pre-loader clip must be accompanied by a "stop"
    perhaps a "stop all sounds", too ActionScript on the action layer
    of the main timeline.
    I keep it simple and ask my prloader to not let the main
    timeline play until the final frame of the movie has loaded. The
    final frame is accompanied by a frame labeled "End" on a layer of
    the main timeline of just labels.

  • Real simple xslt problem/question

    Hi, i have a real simple xslt problem but i just cant figure out how to do it by looking at various examples on the net. i have a xml document and in it are some elements with a "result" tag name. i want to use xslt to reproduce exactly the same xml document except with an attribute called "id" added to those elements with a "result" tag name. i'm sure that theres a simple solution to it but i just cant figure it out. any helps greatly appreciated, thanks

    Start with the XSLT identity transform (I don't have it handy and it's fairly long, but you should be able to google it up). Add this:<xsl:template match="result">
      <result id="">
        <xsl:apply-templates>
      </result>
    </xsl:template>

  • JDeveloper IDE simple setting problem

    Hi,
    Recently we switched to JDeveloper from Visual Cafe .I have a simple setting problem.How can I set the options so that IDE gives, the core java classes and packages,and our application classes and packeges, prompts in imports as well as in code.Where to set the options.
    eg: when I write
    import java. it should prompt all the pakages.
    Thanks in advance.
    -Gopal
    null

    I am not sure I understand what you are requesting, but ...
    You can configure JDeveloper projects to include various libraries by default.
    This is done by selecting menu Tools | Default Project Properties.../ Libraries tab.
    You should define a library for your classes.
    You can import any of the packages / classes from all the libraries which your project includes.
    It would be incorrect for a tool to automatically add a bunch of import lines at the top of every file because each file should import what it needs and just as importantly, not import what it does not need depending on the component type (e.g. a servlet should not include javax.swing.* ).
    An easy way to import elements into JDeveloper is to type in something like:
    import java.
    // and then type in Ctrl Space
    and this launches the package browser, you can select packages or classes to import.
    You can also do this at the variable declaratiton point such as typing in:
    foo() {
    Frame x
    // Press Control Alt Space
    and this will correctly change the type (Frame) to the type you select in the package browser and add the import statement.
    -John
    null

  • Very simple preloader

    Hi!!
    I'm looking for a simple preloader with a % to load my movie.
    Does anybody have it?
    I'd like to copy the code and put on my movie, simply this.
    I try to use standard preloader in Cs5.5 but I can't understand how to use it...
    Thank you so much
    Ciao!

    Here is a link to a tutorial that explains the design and provides the code...
    http://www.gotoandlearn.com/play.php?id=85

  • MBean Info preloading problem:

    Hi.
    I have Weblogic 6.1 cluster running on Solaris. When I start the Admin
    server some times I'm getting this following error. This is not
    happening all time. I have noticed this problem during these following
    cases:
    1. When I forcefully stop the server by kill the service
    2. If I try to start the server immediately after shutdown.
    I would appreciate If some can tell me why does this happen?
    WLCP is /export/home/kana/stage01:/export/home/kana/stage01/bin/jars/SessionPatch.jar:/export/home/kana/stage01/bin/jars/kanaPlatform.jar:/export/home/kana/stage01/etc:/oracle/jdbc/lib/classes12.zip:/export/home/kana/stage01/bin/jars/avs30.jar:/export/home/kana/stage01/bin/jars/comm.jar:/export/home/kana/stage01/bin/jars/cs-tidy.jar:/export/home/kana/stage01/bin/jars/ibm-jlog-2.1.1-english.jar:/ex
    ort/home/kana/stage01/bin/jars/oreilly.jar:/export/home/kana/stage01/bin/jars/ssce.jar:/export/home/kana/stage01/bin/jars/w3c-codec-1.2.jar:/export/home/kana/stage01/bin/jars/lotusxsl.jar:/export/home/kana/stage01/bin/jars/commons-beanutils.jar:/export/home/kana/stage01/bin/jars/commons-collections.jar:/export/home/kana/stage01/bin/jars/commons-digester.jar:/export/home/kana/stage01/bin/jars/apoll
    .jar:/export/home/kana/stage01/bin/jars/apollo_common.jar
    /export/home/kana/stage01:/export/home/kana/stage01/bin/jars/SessionPatch.jar:/export/home/kana/stage01/bin/jars/kanaPlatform.jar:/export/home/kana/stage01/etc:/oracle/jdbc/lib/classes12.zip:/export/home/kana/stage01/bin/jars/avs30.jar:/export/home/kana/stage01/bin/jars/comm.jar:/export/home/kana/stage01/bin/jars/cs-tidy.jar:/export/home/kana/stage01/bin/jars/ibm-jlog-2.1.1-english.jar:/export/hom
    /kana/stage01/bin/jars/oreilly.jar:/export/home/kana/stage01/bin/jars/ssce.jar:/export/home/kana/stage01/bin/jars/w3c-codec-1.2.jar:/export/home/kana/stage01/bin/jars/lotusxsl.jar:/export/home/kana/stage01/bin/jars/commons-beanutils.jar:/export/home/kana/stage01/bin/jars/commons-collections.jar:/export/home/kana/stage01/bin/jars/commons-digester.jar:/export/home/kana/stage01/bin/jars/apollo.jar:/e
    port/home/kana/stage01/bin/jars/apollo_common.jar:/export/home/kana/stage01:/export/home/kana/stage01/bin/jars/SessionPatch.jar:/export/home/kana/stage01/bin/jars/kanaPlatform.jar:/export/home/kana/stage01/etc:/oracle/jdbc/lib/classes12.zip:/export/home/kana/stage01/bin/jars/avs30.jar:/export/home/kana/stage01/bin/jars/comm.jar:/export/home/kana/stage01/bin/jars/cs-tidy.jar:/export/home/kana/stage
    1/bin/jars/ibm-jlog-2.1.1-english.jar:/export/home/kana/stage01/bin/jars/oreilly.jar:/export/home/kana/stage01/bin/jars/ssce.jar:/export/home/kana/stage01/bin/jars/w3c-codec-1.2.jar:/export/home/kana/stage01/bin/jars/lotusxsl.jar:/export/home/kana/stage01/bin/jars/commons-beanutils.jar:/export/home/kana/stage01/bin/jars/commons-collections.jar:/export/home/kana/stage01/bin/jars/commons-digester.ja
    :/export/home/kana/stage01/bin/jars/apollo.jar:/export/home/kana/stage01/bin/jars/apollo_common.jar:.:./lib/CR073072_610sp2.jar:./lib/weblogic_sp.jar:./lib/weblogic.jar:/export/home/kana/common/lib/HTTPClient.zip:/export/home/kana/common/lib/adapter.jar:/export/home/kana/common/lib/castor-0.9.4.1.jar:/export/home/kana/common/lib/commons-collections.jar:/export/home/kana/common/lib/commons-pool.jar
    /export/home/kana/common/lib/grnds.jar:/export/home/kana/common/lib/hsqldb.jar:/export/home/kana/common/lib/jakarta-oro-2.0.2-dev-1.jar:/export/home/kana/common/lib/jdom.jar:/export/home/kana/common/lib/junit.jar:/export/home/kana/common/lib/log4j-1.2beta4.jar:/export/home/kana/common/lib/log4j.jar:/export/home/kana/common/lib/soap.jar:/export/home/kana/common/lib/struts.jar:/export/home/kana/comm
    n/lib/velocity-1.2-dev.jar:/export/home/kana/common/lib/xalan.jar:/export/home/kana/common/lib/xalanj1compat.jar:/export/home/kana/common/lib/xerces.jar:/export/home/kana/stage01/bin/jars/ibm-xml4j-2.0.15.jar:/export/home/kana/stage01/bin/jars/lotusxsl.jar:/export/home/kana/stage01/ApolloProject/config
    /export/home/kana/common/lib/HTTPClient.zip:/export/home/kana/common/lib/adapter.jar:/export/home/kana/common/lib/castor-0.9.4.1.jar:/export/home/kana/common/lib/commons-collections.jar:/export/home/kana/common/lib/commons-pool.jar:/export/home/kana/common/lib/grnds.jar:/export/home/kana/common/lib/hsqldb.jar:/export/home/kana/common/lib/jakarta-oro-2.0.2-dev-1.jar:/export/home/kana/common/lib/jdo
    .jar:/export/home/kana/common/lib/junit.jar:/export/home/kana/common/lib/log4j-1.2beta4.jar:/export/home/kana/common/lib/log4j.jar:/export/home/kana/common/lib/soap.jar:/export/home/kana/common/lib/struts.jar:/export/home/kana/common/lib/velocity-1.2-dev.jar:/export/home/kana/common/lib/xalan.jar:/export/home/kana/common/lib/xalanj1compat.jar:/export/home/kana/common/lib/xerces.jar
    -Dweblogic.Domain=wka1stg01 -Dweblogic.Name=app1stg01
    -Dbea.home=/export/home/wls/weblogic
    -Dweblogic.management.password=weblogic
    -Dweblogic.ProductionModeEnabled=true
    -Djava.security.policy==/export/home/wls/weblogic/wlserver6.1/lib/weblogic.policy
    -Djava.protocol.handler.pkgs=com.kana.ebiz.protocol
    -Dapollo.properties=/export/home/kana/stage01/ApolloProject/config/apollo.properties
    -Dapollologger.properties=/export/home/kana/stage01/ApolloProject/config/logger.properties
    -Dstubbo.properties=/export/home/kana/stage01/ApolloProject/config/stubbo.properties
    -Dfile.encoding=Cp1252
    Starting WebLogic Server ....
    MBean Info preloading problem:
    java.lang.ClassCastException: Assigning instance of class
    java.lang.String to field
    javax.management.MBeanAttributeInfo#attributeType
         at java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:2271)
         at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:519)
         at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1412)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
         at java.io.ObjectInputStream.inputArray(ObjectInputStream.java:1142)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:374)
         at java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:2263)
         at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:519)
         at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1412)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
         at weblogic.management.internal.Helper.getMBeanInfo(Helper.java:205)
         at weblogic.management.internal.Helper.preloadMBeanInfos(Helper.java:232)
         at weblogic.management.Admin.initialize(Admin.java:212)
         at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:362)
         at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:202)
         at weblogic.Server.main(Server.java:35)
    MBean Info preloading problem:
    java.lang.ClassCastException: Assigning instance of class
    java.lang.String to field
    javax.management.MBeanFeatureInfo#description
         at java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:2271)
         at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:519)
         at javax.management.MBeanFeatureInfo.readObject(MBeanFeatureInfo.java:78)
         at java.lang.reflect.Method.invoke(Native Method)
         at java.io.ObjectInputStream.invokeObjectReader(ObjectInputStream.java:2214)
         at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1411)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
         at java.io.ObjectInputStream.inputArray(ObjectInputStream.java:1142)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:374)
         at java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:2263)
         at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:519)
         at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1412)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
         at weblogic.management.internal.Helper.getMBeanInfo(Helper.java:205)
         at weblogic.management.internal.Helper.preloadMBeanInfos(Helper.java:232)
         at weblogic.management.Admin.initialize(Admin.java:212)
         at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:362)
         at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:202)
         at weblogic.Server.main(Server.java:35)
    MBean Info preloading problem:
    java.lang.ClassCastException: Assigning instance of class
    java.lang.String to field
    javax.management.MBeanAttributeInfo#attributeType
         at java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:2271)
         at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:519)
         at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1412)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
         at java.io.ObjectInputStream.inputArray(ObjectInputStream.java:1142)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:374)
         at java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:2263)
         at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:519)
         at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1412)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
         at weblogic.management.internal.Helper.getMBeanInfo(Helper.java:205)
         at weblogic.management.internal.Helper.preloadMBeanInfos(Helper.java:232)
         at weblogic.management.Admin.initialize(Admin.java:212)
         at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:362)
         at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:202)
         at weblogic.Server.main(Server.java:35)
    MBean Info preloading problem:
    --------------- nested within: ------------------
    weblogic.management.configuration.ConfigurationException: Error
    creating mbean, type: CustomRealm, parent:
    wka1stg01:Name=wka1stg01,Type=Domain, objectName:
    wka1stg01:Name=defaultLDAPRealmForNetscapeDirectoryServer,Type=CustomRealm
    while parsing XML config file - with nested exception:
    [weblogic.management.MBeanCreationException:  - with nested exception:
    [weblogic.management.MBeanCreationException:  - with nested exception:
    [java.lang.reflect.InvocationTargetException - with target exception:
    [java.lang.ClassCastException: Assigning instance of class
    java.lang.String to field
    javax.management.MBeanAttributeInfo#attributeType]]]]
         at weblogic.management.internal.xml.ConfigurationParser$ConfigurationHandler.createAdminMBean(ConfigurationParser.java:281)
         at weblogic.management.internal.xml.ConfigurationParser$ConfigurationHandler.startElement(ConfigurationParser.java:183)
         at weblogic.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1340)
         at weblogic.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValidator.java:1183)
         at weblogic.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanner.java:1876)
         at weblogic.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1252)
         at weblogic.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
         at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:967)
         at weblogic.management.internal.xml.ConfigurationParser.parse(ConfigurationParser.java:105)
         at weblogic.management.internal.xml.XmlFileRepository.loadDomain(XmlFileRepository.java:261)
         at weblogic.management.internal.xml.XmlFileRepository.loadDomain(XmlFileRepository.java:223)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
         at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
         at $Proxy1.loadDomain(Unknown Source)
         at weblogic.management.AdminServer.configureFromRepository(AdminServer.java:188)
         at weblogic.management.AdminServer.configure(AdminServer.java:173)
         at weblogic.management.Admin.initialize(Admin.java:239)
         at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:362)
         at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:202)
         at weblogic.Server.main(Server.java:35)
    Reason: Fatal initialization exception

    You should post this to the weblogic.developer.interest.management
    newsgroup.
    "siva" <[email protected]> wrote in message
    news:[email protected]...
    Hi.
    I have Weblogic 6.1 cluster running on Solaris. When I start the Admin
    server some times I'm getting this following error. This is not
    happening all time. I have noticed this problem during these following
    cases:
    1. When I forcefully stop the server by kill the service
    2. If I try to start the server immediately after shutdown.
    I would appreciate If some can tell me why does this happen?
    WLCP is/export/home/kana/stage01:/export/home/kana/stage01/bin/jars/SessionPatch.ja
    r:/export/home/kana/stage01/bin/jars/kanaPlatform.jar:/export/home/kana/stag
    e01/etc:/oracle/jdbc/lib/classes12.zip:/export/home/kana/stage01/bin/jars/av
    s30.jar:/export/home/kana/stage01/bin/jars/comm.jar:/export/home/kana/stage0
    1/bin/jars/cs-tidy.jar:/export/home/kana/stage01/bin/jars/ibm-jlog-2.1.1-eng
    lish.jar:/ex
    >
    ort/home/kana/stage01/bin/jars/oreilly.jar:/export/home/kana/stage01/bin/jar
    s/ssce.jar:/export/home/kana/stage01/bin/jars/w3c-codec-1.2.jar:/export/home
    /kana/stage01/bin/jars/lotusxsl.jar:/export/home/kana/stage01/bin/jars/commo
    ns-beanutils.jar:/export/home/kana/stage01/bin/jars/commons-collections.jar:
    /export/home/kana/stage01/bin/jars/commons-digester.jar:/export/home/kana/st
    age01/bin/jars/apoll
    .jar:/export/home/kana/stage01/bin/jars/apollo_common.jar
    /export/home/kana/stage01:/export/home/kana/stage01/bin/jars/SessionPatch.ja
    r:/export/home/kana/stage01/bin/jars/kanaPlatform.jar:/export/home/kana/stag
    e01/etc:/oracle/jdbc/lib/classes12.zip:/export/home/kana/stage01/bin/jars/av
    s30.jar:/export/home/kana/stage01/bin/jars/comm.jar:/export/home/kana/stage0
    1/bin/jars/cs-tidy.jar:/export/home/kana/stage01/bin/jars/ibm-jlog-2.1.1-eng
    lish.jar:/export/hom
    >
    /kana/stage01/bin/jars/oreilly.jar:/export/home/kana/stage01/bin/jars/ssce.j
    ar:/export/home/kana/stage01/bin/jars/w3c-codec-1.2.jar:/export/home/kana/st
    age01/bin/jars/lotusxsl.jar:/export/home/kana/stage01/bin/jars/commons-beanu
    tils.jar:/export/home/kana/stage01/bin/jars/commons-collections.jar:/export/
    home/kana/stage01/bin/jars/commons-digester.jar:/export/home/kana/stage01/bi
    n/jars/apollo.jar:/e
    >
    port/home/kana/stage01/bin/jars/apollo_common.jar:/export/home/kana/stage01:
    /export/home/kana/stage01/bin/jars/SessionPatch.jar:/export/home/kana/stage0
    1/bin/jars/kanaPlatform.jar:/export/home/kana/stage01/etc:/oracle/jdbc/lib/c
    lasses12.zip:/export/home/kana/stage01/bin/jars/avs30.jar:/export/home/kana/
    stage01/bin/jars/comm.jar:/export/home/kana/stage01/bin/jars/cs-tidy.jar:/ex
    port/home/kana/stage
    >
    1/bin/jars/ibm-jlog-2.1.1-english.jar:/export/home/kana/stage01/bin/jars/ore
    illy.jar:/export/home/kana/stage01/bin/jars/ssce.jar:/export/home/kana/stage
    01/bin/jars/w3c-codec-1.2.jar:/export/home/kana/stage01/bin/jars/lotusxsl.ja
    r:/export/home/kana/stage01/bin/jars/commons-beanutils.jar:/export/home/kana
    /stage01/bin/jars/commons-collections.jar:/export/home/kana/stage01/bin/jars
    /commons-digester.ja
    >
    :/export/home/kana/stage01/bin/jars/apollo.jar:/export/home/kana/stage01/bin
    /jars/apollo_common.jar:.:./lib/CR073072_610sp2.jar:./lib/weblogic_sp.jar:./
    lib/weblogic.jar:/export/home/kana/common/lib/HTTPClient.zip:/export/home/ka
    na/common/lib/adapter.jar:/export/home/kana/common/lib/castor-0.9.4.1.jar:/e
    xport/home/kana/common/lib/commons-collections.jar:/export/home/kana/common/
    lib/commons-pool.jar
    >
    /export/home/kana/common/lib/grnds.jar:/export/home/kana/common/lib/hsqldb.j
    ar:/export/home/kana/common/lib/jakarta-oro-2.0.2-dev-1.jar:/export/home/kan
    a/common/lib/jdom.jar:/export/home/kana/common/lib/junit.jar:/export/home/ka
    na/common/lib/log4j-1.2beta4.jar:/export/home/kana/common/lib/log4j.jar:/exp
    ort/home/kana/common/lib/soap.jar:/export/home/kana/common/lib/struts.jar:/e
    xport/home/kana/comm
    >
    n/lib/velocity-1.2-dev.jar:/export/home/kana/common/lib/xalan.jar:/export/ho
    me/kana/common/lib/xalanj1compat.jar:/export/home/kana/common/lib/xerces.jar
    :/export/home/kana/stage01/bin/jars/ibm-xml4j-2.0.15.jar:/export/home/kana/s
    tage01/bin/jars/lotusxsl.jar:/export/home/kana/stage01/ApolloProject/config
    >
    /export/home/kana/common/lib/HTTPClient.zip:/export/home/kana/common/lib/ada
    pter.jar:/export/home/kana/common/lib/castor-0.9.4.1.jar:/export/home/kana/c
    ommon/lib/commons-collections.jar:/export/home/kana/common/lib/commons-pool.
    jar:/export/home/kana/common/lib/grnds.jar:/export/home/kana/common/lib/hsql
    db.jar:/export/home/kana/common/lib/jakarta-oro-2.0.2-dev-1.jar:/export/home
    /kana/common/lib/jdo
    >
    .jar:/export/home/kana/common/lib/junit.jar:/export/home/kana/common/lib/log
    4j-1.2beta4.jar:/export/home/kana/common/lib/log4j.jar:/export/home/kana/com
    mon/lib/soap.jar:/export/home/kana/common/lib/struts.jar:/export/home/kana/c
    ommon/lib/velocity-1.2-dev.jar:/export/home/kana/common/lib/xalan.jar:/expor
    t/home/kana/common/lib/xalanj1compat.jar:/export/home/kana/common/lib/xerces
    .jar
    -Dweblogic.Domain=wka1stg01 -Dweblogic.Name=app1stg01
    -Dbea.home=/export/home/wls/weblogic
    -Dweblogic.management.password=weblogic
    -Dweblogic.ProductionModeEnabled=true
    -Djava.security.policy==/export/home/wls/weblogic/wlserver6.1/lib/weblogic.policy
    -Djava.protocol.handler.pkgs=com.kana.ebiz.protocol
    -Dapollo.properties=/export/home/kana/stage01/ApolloProject/config/apollo.properties
    -Dapollologger.properties=/export/home/kana/stage01/ApolloProject/config/logger.properties
    -Dstubbo.properties=/export/home/kana/stage01/ApolloProject/config/stubbo.properties
    -Dfile.encoding=Cp1252
    Starting WebLogic Server ....
    MBean Info preloading problem:
    java.lang.ClassCastException: Assigning instance of class
    java.lang.String to field
    javax.management.MBeanAttributeInfo#attributeType
    at java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:2271)
    at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:519)
    at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1412)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
    at java.io.ObjectInputStream.inputArray(ObjectInputStream.java:1142)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:374)
    at java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:2263)
    at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:519)
    at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1412)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
    at weblogic.management.internal.Helper.getMBeanInfo(Helper.java:205)
    at weblogic.management.internal.Helper.preloadMBeanInfos(Helper.java:232)
    at weblogic.management.Admin.initialize(Admin.java:212)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:362)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:202)
    at weblogic.Server.main(Server.java:35)
    MBean Info preloading problem:
    java.lang.ClassCastException: Assigning instance of class
    java.lang.String to field
    javax.management.MBeanFeatureInfo#description
    at java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:2271)
    at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:519)
    at javax.management.MBeanFeatureInfo.readObject(MBeanFeatureInfo.java:78)
    at java.lang.reflect.Method.invoke(Native Method)
    atjava.io.ObjectInputStream.invokeObjectReader(ObjectInputStream.java:2214)
    at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1411)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
    at java.io.ObjectInputStream.inputArray(ObjectInputStream.java:1142)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:374)
    at java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:2263)
    at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:519)
    at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1412)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
    at weblogic.management.internal.Helper.getMBeanInfo(Helper.java:205)
    at weblogic.management.internal.Helper.preloadMBeanInfos(Helper.java:232)
    at weblogic.management.Admin.initialize(Admin.java:212)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:362)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:202)
    at weblogic.Server.main(Server.java:35)
    MBean Info preloading problem:
    java.lang.ClassCastException: Assigning instance of class
    java.lang.String to field
    javax.management.MBeanAttributeInfo#attributeType
    at java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:2271)
    at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:519)
    at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1412)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
    at java.io.ObjectInputStream.inputArray(ObjectInputStream.java:1142)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:374)
    at java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:2263)
    at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:519)
    at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1412)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
    at weblogic.management.internal.Helper.getMBeanInfo(Helper.java:205)
    at weblogic.management.internal.Helper.preloadMBeanInfos(Helper.java:232)
    at weblogic.management.Admin.initialize(Admin.java:212)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:362)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:202)
    at weblogic.Server.main(Server.java:35)
    MBean Info preloading problem:
    --------------- nested within: ------------------
    weblogic.management.configuration.ConfigurationException: Error
    creating mbean, type: CustomRealm, parent:
    wka1stg01:Name=wka1stg01,Type=Domain, objectName:
    wka1stg01:Name=defaultLDAPRealmForNetscapeDirectoryServer,Type=CustomRealm
    while parsing XML config file - with nested exception:
    [weblogic.management.MBeanCreationException:  - with nested exception:
    [weblogic.management.MBeanCreationException:  - with nested exception:
    [java.lang.reflect.InvocationTargetException - with target exception:
    [java.lang.ClassCastException: Assigning instance of class
    java.lang.String to field
    javax.management.MBeanAttributeInfo#attributeType]]]]
    atweblogic.management.internal.xml.ConfigurationParser$ConfigurationHandler.cr
    eateAdminMBean(ConfigurationParser.java:281)
    atweblogic.management.internal.xml.ConfigurationParser$ConfigurationHandler.st
    artElement(ConfigurationParser.java:183)
    atweblogic.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1340)
    atweblogic.apache.xerces.validators.common.XMLValidator.callStartElement(XMLVa
    lidator.java:1183)
    atweblogic.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentS
    canner.java:1876)
    atweblogic.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispat
    ch(XMLDocumentScanner.java:1252)
    atweblogic.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentSca
    nner.java:381)
    at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:967)
    atweblogic.management.internal.xml.ConfigurationParser.parse(ConfigurationPars
    er.java:105)
    atweblogic.management.internal.xml.XmlFileRepository.loadDomain(XmlFileReposit
    ory.java:261)
    atweblogic.management.internal.xml.XmlFileRepository.loadDomain(XmlFileReposit
    ory.java:223)
    at java.lang.reflect.Method.invoke(Native Method)
    atweblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl
    .java:636)
    atweblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:6
    21)
    atweblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBea
    nImpl.java:359)
    atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
    atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
    at $Proxy1.loadDomain(Unknown Source)
    atweblogic.management.AdminServer.configureFromRepository(AdminServer.java:188
    at weblogic.management.AdminServer.configure(AdminServer.java:173)
    at weblogic.management.Admin.initialize(Admin.java:239)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:362)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:202)
    at weblogic.Server.main(Server.java:35)
    Reason: Fatal initialization exception

  • Simple preloader in AS3 - HELP

    Hi,
    Could anyone please point me in the direction or tell me how
    to build a simple preloader in AS3/PlashPlayer 9.
    I'd just like to have a movie clip in frame one which
    animates until the rest of the timeline has loaded, then once
    loaded go to frame 2.
    I've had a look in the doucumentation and around the web to
    find something but can't find anything that works and I'm finding
    it quite hard.
    Thanks in advance

    These screen captures show the library of the movie. As you can see I export the most of them. However I have doubts about if I must convert to symbol the graphics. I have the preloader in the "presentación" folder without any exportation.
    Please, Could you correct the website?. Please, tell me an e-mail address and I send you the website via WeTransfer.

  • Simple OOP Problem. Help!

    This is just a simple OOP problem that i cant decide on a best
    implementation for.
    im passing an object to an instance of, 'TabbedFrame', which is just
    a frame with a Tabbed Pane in it that is holding custom panels.
    however, these custom panels need access to the object being
    passed to 'TabbedFrame' and to some methods in it.
    i cant make them static however so how do i gain access to them?
    is my only option to pass the 'TabbedFrame' to each panel?
    like - jtabbedpane.add( "Panel 1", new mypanel1(this));
    here is code:
    new TabbedFrame( DataObject );
    public class TabbedFrame{
    public TabbedFrame(DataObject do){
    this.do = do;
    jtabbedpane.add( "Panel 1", new mypanel1() );
    DataObject do;
    public class mypanel1{
    public mypanel1(){
    // need access to DataObject of the 'TabbedFrame' object that instantiated
    // this 'mypanel1' and to some of its methods
    }i would just pass the DataObject to evey panel (there are 12) but
    i also need to be able to call methods in the 'TabbedFrame'.
    Any help would be appreciated!

    Modify mypanel1's constructor:
    public class mypanel1{
    TabbedFrame tf;
    public mypanel1(TabbedFrame tf){
    this.tf = tf;
    // need access to DataObject of the 'TabbedFrame' object that instantiated
    // this 'mypanel1' and to some of its methods
    DataObject theDo = tf.getDataObject();
    tf.someMethod(); // Call method on the TabbedFrame
    }In TabbedFrame:
    public TabbedFrame(DataObject do){
    this.do = do;
    // Modify call to constructor to pass "this" TabbedFrame.
    jtabbedpane.add( "Panel 1", new mypanel1(this) );
    }

  • Preloader problems - disappears at 60%

    Hi,
    I have two Preloader problems for a project I'm working on right now.
    1. The Main Site preloader disappears when 60% is loaded...with a blank screen lag until moving to the main screen
    2. My external .swf Preloader is still on screen after an external .swf has loaded. I can hear the external .swf playing while watching my loader bar at about 20-40%.
    I'm going to show the code I have for each...hopefully someone can help. Thanks!
    Main Site Preloader:
    var yChange = 109.2;
    var yStart = 330.2;
    myInterval = setInterval(preload,100);
    function preload() {
    var current = _root.getBytesLoaded();
    var total = _root.getBytesTotal();
    var pctLoaded = Math.round(current/total*100);
    mask_mc._y = yStart - yChange/100*pctLoaded;
    if (current >= total) {
      clearInterval(myInterval);
      gotoAndStop("Main",1);
    External SWF Preloader:
    var mcLoader:MovieClipLoader = new MovieClipLoader();
    var myListener:Object = new Object();
    mcLoader.addListener(myListener);
    myListener.onLoadProgress = function(target_mc,bytesLoaded,bytesTotal) {
    extLoader_mc._visible = true;
    var pctLoaded = Math.round(bytesLoaded/bytesTotal*100);
    extLoader_mc.extLoaderBar_mc._xscale = pctLoaded;
    if (bytesLoaded >= bytesTotal) {
      extLoader_mc._visible = false;

    change soundHandler in the fla to:
    // this code below is on the main timeline?
    var soundHandler:AdobeCaptivate.rdSoundHandler = new AdobeCaptivate.rdSoundHandler(this);
    and change rdSoundHandler:
    import AdobeCaptivate.rdSound;
    import flash.display.MovieClip;  // if this is as3
    class AdobeCaptivate.rdSoundHandler extends Object
    var m_sounds:Object;
    var m_movieSound:rdSound;
    var mainMC:MovieClip;
    function rdSoundHandler(mc:MovieClip)
      m_sounds = new Object();
      m_movieSound = null;
      mainMC=mc;
    function attachSound(key:Number, id:String):rdSound
      var sound:rdSound;
      if(m_sounds[key] == undefined || m_sounds[key] == null)
      { //attach new sound to the handler
       var newSound:rdSound = new rdSound(mainMC);
    // and now you have to find rdSound() class and post that
       newSound.attachSound(id);
       sound = m_sounds[key] = newSound;
      else
       sound = m_sounds[key];
       sound.stopSound();
      return sound;
    function detachSound(key:Number)
    { //remove the sound object from the handler
      if(m_sounds[key] != undefined && m_sounds[key] != null)
       var sound:rdSound = m_sounds[key];
       sound.stopSound();
       m_sounds[key] = undefined;
    function playAllSounds(bPause:Boolean)
      if(bPause == true)
      { //pause all sounds
       if(m_movieSound != null)
        m_movieSound.pause();
       for(var key in m_sounds)
        m_sounds[key].pause();
      else
      { //resume all sounds
       if(m_movieSound != null)
        m_movieSound.play();
       for(var key in m_sounds)
        m_sounds[key].play();

  • Help with simple Preloader. Error#1009  :-(

    Hello !
    I have a very simple preloader file which loads a "main.swf" file. I put on stage
    a LogoCompany (MovieClip), a Mask (MovieClip) and a Text (Dynamic).
    As the percentage of bytes from the .swf file increases, the Mask.x position is increased so the LogoCompany appears.
    Here is the code:
    // Simple Preloader
    var maskStart:Number = 116;
    var maskEnd:Number = 377;
    var maskMove:Number = maskEnd - maskStart;
    var myLoader:Loader = new Loader();
    // URL to swf.
    myLoader.load( new URLRequest("main.swf") );
    // Create event
    myLoader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, myLoop);
    function myLoop(e:ProgressEvent):void
        var perc:Number = Math.round( (e.bytesLoaded / e.bytesTotal) * 100);
        trace ("perc == " + perc);
        txtMessage.text = "Loading... " + perc.toString() + "%";
        trace ("txtMessage.text == " + txtMessage.text);
        maskLogo_mc.x = maskStart + maskMove * perc / 100;
        trace ("maskLogo_mc.x == " + maskLogo_mc.x);
        if(e.bytesLoaded == e.bytesTotal)
            removeChild(maskLogo_mc);
            removeChild(logoCompany_mc);
            removeChild(txtMessage);
            txtMessage = null;
            addChild(myLoader);
    The animation is actually going till the end (100%).  But in the middle I always get this error:
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
        at main_fla::MainTimeline/main_fla::frame13()
    I really don't know what is going on.
    Can anyone help me with this ?
    Thanks in Advance.
    H

    Hello Ned.
    Thank you for your prompt reply.
    Unfortunately I got the same error after I followed your suggestions:
    - Moving the .load() function after everything.
    - Marking "Permit Debugging" on Publish Settings under Flash tab. (CS3 version here)
    Any more suggestions?
    Thanks in advance.
    H

  • Preloader simple? problem.

    Hello, I´m having problems with my preloader.
    I´ve used this same code for a few projects before
    without any problems but now it´s not
    working correctly.
    The preloading works fine, the problem is with the numbers
    (%) shown in my dynamic text box.
    It displays up to 12% and then it jumps to the label "Loaded"
    which is the actual content, and everything works fine.
    Here is the code...
    //preloader
    this.onEnterFrame = function () {
    var amountLoaded:Number = this.getBytesLoaded() /
    this.getBytesTotal() * 100;
    preloader.text = Math.round(amountLoaded) + "%";
    if(amountLoaded == 100) {
    this.gotoAndPlay("Loaded");
    delete this.onEnterFrame;
    thanks, Marcelo.

    my files (.fla, .as, and the swf) are located here:
    http://www.speedyshare.com/files/27178512/download/preloader.zip

  • As3 preloader problem - Captivate5

    Hello all,
    Been searching around for this for a bit in a the forums and cant find anything on it here goes:
    I have a project that i built with a ToC for my company.  And i have a as3 preloader as well.
    Problem:
    Preloader is fine and centered in the middle of my project with out a ToC but when i add the Toc the preloader will not center in my project i have tried to alter it in the html file insterting <center> tags and such and also externalizing the skin or FMR SWF also removing and placing it back in and not getting a fix for it. I realize this maybe a simple fix but i cant find anything in the forums here discribing exactly this issue.
    can anyone help
    thanx
    bobby

    Hi,
    Going out on a stretch here but did you, by any chance, added external swf or widgets that would have set the values of either Stage.scaleMode or Stage.align. That could explain the effects you are seeing.
    Whyves
    www.flash-factor.com

  • I am noticing a Bunch of Preloader Problems With Captivate 5

    That are not being answered on the Adobe forums and they all seem to be some what related. I am have major preloader issues and wish this would be resolved.
    http://forums.adobe.com/message/3595269
    http://forums.adobe.com/message/3209686
    http://forums.adobe.com/thread/471103
    There are more. Some go back to Captivate 4 and most seem to be related to Action Script three. I am having all of the problems in the above three forums and have yet to find a answer.
    I am using Captivate 5 and Connect Pro 8 on premise.
    It is critical that I get my preloaders to function properly because my clients think that something is wrong when they have to wait more than a few seconds with out see some sign of progress. Thanks.

    Here are some more that are not answered.
    http://forums.adobe.com/message/2954752
    http://forums.adobe.com/thread/467275
    http://forums.adobe.com/message/3139989

  • Simple button problem

    I am having a real problem creating a simple button - I have
    created a Flash file using Action script 2, and when I create a
    simple button - text with a rectangle as a background, (see
    http://www.elkhavenestate.com),
    and the over state is behaving in a bizarre fashion. This is my
    first time using CS3, so is there a new control that I'm
    missing?

    I take it that it's the Home button. It appears to have a
    selectable text field or something in it, which is causing the
    problem. Either change that to a static text field or set its
    selectable property to false. The other two buttons appear to be
    fine, so maybe you can just duplicate one of them and turn it into
    the Home button.
    If I picked the wrong button, let me know.

  • Preloader problem in IE

    Hi! I have created a preloader for my web site with Flash 8.
    However, my preloader works only in FireFox but not in IE. The
    preloader simply did not shown up! I am currently using IE6 and my
    preloader is extremely simple, as shown in the code below:
    Scene1, First Frame:
    stop();
    onEnterFrame = function(){
    percentloaded = _root.getBytesLoaded()/_root.getBytesTotal()
    * 100;
    _root.loadByte = percentloaded;
    if (percentloaded >= 100) {
    gotoAndPlay("Scene2, 1);
    delete onEnterFrame;
    The main content of my web site is placed in Scene2.
    Did anybody experience the same? Is there a solution for
    this? Thanks very much!
    stephcal79

    I am having the same issue

Maybe you are looking for

  • Unable to access/lan2lan ping from VPN Fortigate to Cisco ASA 5505

    Problem : Unable to access user A to user B User A --- router A (122, fortigate 80c) --- (Site to Site VPN between fortigate & cisco asa) --- router B (93, cisco Asa 5505{in front asa got cisco800[81] before to internet} )  --- User B After using wiz

  • HT4623 Recently updated my iphone 5 with IOS7 and lost all my photos - Help!?

    Hi, I'm wondering if anyone might be able to help? I updated my Iphone 5 with this IOS7 update a few days ago and seem to have lost all my photos.  I tried a 'Restore' and then 'Back up from restore' in itunes but the phone kept going round in circle

  • How to fill the error stack

    Hi, we want to check the data quality of the source in the start routine, process the good in the target and the bad in the error stack. Have you any idea which exception I have to raise to put it in the error stack? regards, Adrian

  • Speakers doesn't work

    why the speakers of my ipod are silent? it's work with earphones, but not without

  • Date format display

    Hi! The date originally displayed in YYYY/MM/DD format. But, don't know what'd done, the date shown in DD-MMM-YYYY. I've set the NLS_DATE_FORMAT in registry. Please tell me how to reset displaying date in YYYY/MM/DD format? Thanks a lot.