Mxmlc 3.6 Socket.timeout undefined property

Hi,
I decided to dive into and get dirty with Flex and ActionScript. Downloaded flex_sdk_3.6.0.16995A.zip from Adobe site, extracted it, added to my path and started coding away.
I am trying to compile an ActionScript class with mxmlc in Linux (Ubuntu 10.04).
In my class I use a socket, and I try to set the timeout property, however it gives me a compile error.
Here is the class that's giving me the problem (I have left only the relevant code for clarity):
package
  import flash.net.*
  import flash.events.*
   public class Socks4Sock
        private var sock: Socket;
        public function Socks4Sock(host:String, port:int):void
          sock = new Socket();
          sock.timeout = 5000;
I get the following error during compilation:
mxmlc Socks4Sock.as
Loading configuration file /opt/flexsdk/frameworks/flex-config.xml
/var/www/example/Socks4Sock.as(14): col: 16 Error: Access of possibly undefined property timeout through a reference with static type flash.net:Socket.
          sock.timeout = 5000;
I am not sure what I am doing wrong. It seems according to the documentation, that timeout property is supported in AS3.
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/Socket.html#t imeout
This is the mxmlc version I am using:
mxmlc -version
Version 3.6.0 build 16995
Any help would be greatly appreciated!

Thanks for the quick and consise reply. I tried that argument  and gave me "command line: Error: unknown configuration variable 'player-version'"
Howerver, following up on the same idea, I searched and found out it's '-target-player'
This is the argument I used:
mxmlc -target-player=10 Socks4Sock.as
That worked. Once again, thanks.

Similar Messages

  • I am getting an error while coding between CS5 and Flash CC specifically: Access of undefined property instrument_txt. I am using a book that is made for CS5. Is there a current book or resources for Actionscript 3.0 and Flash CC?

    Scene 1, Layer 'actions', Frame 1, Line 47, Column 2
    1120: Access of undefined property instrument_txt.
    this is my problem. any ideas. thanks

    I did try this and nothing happened, same error codes. The code works fine from CS5 and CS6 Flash versions. The animation runs well, the text displays where it should in the instrument_txt frame. It is when I try this in Flash CC that it creates the code error. here was an error that came up regarding text problems, something with FLT text converted to another text (I am not sure of the name of the text-type and the "FLT" I am not sure of either).
    thanks

  • Invoking web service from OBIEE11g failed socket timeout

    Hi,
    I encountered an error when I invoke web service from OBIEE 11g. The web serivce resides on Websphere running on other machine.
    An error says that "Invoking web service failed due to socket timeout." and it seems that it stopped in just 40 secs.
    Is there any settings of WebLogic server to avoid this? This web service normally runs for more than 60 sec.
    I have checked several parameters in WebLogic admin console and changed those values, but I still receive the same error.
    Invoking the same web service from SOAPUI sustains for more than 60 secs.
    Regards,
    Fujio Sonehara

    Don't be too surprised. Sun figured this bug out in short order. I got the same error message when trying to do the same thing, just for the heck of it. Reference this article for details.
    http://java.sun.com/webservices/docs/ea2/jaxrpc/ReleaseNotes.html
    It contains information about bugs fixed in the WSDP EA2. So in answer to your question, download the newer pack from
    http://java.sun.com/webservices/downloads/webservicespack.html
    and your bug will go away. Happy Coding.
    Legal Problems?
    Legal Solutions, for a lot less than you might think.
    [email protected]
    http://www.prepaidlegal.com/go/pritchard45

  • Access of undefined property _btn (problems with all my buttons)

    I keep getting this error:
    Scene 1, Layer 'actionscript', Frame 1, Line 1
    1120: Access of undefined property tennis1_btn.
    Scene 1, Layer 'actionscript', Frame 1, Line 7
    1120: Access of undefined property tennis2_btn.
    Scene 1, Layer 'actionscript', Frame 1, Line 13
    1120: Access of undefined property tennis3_btn.
    Scene 1, Layer 'actionscript', Frame 1, Line 19
    1120: Access of undefined property tennis4_btn.
    Scene 1, Layer 'actionscript', Frame 1, Line 25
    1120: Access of undefined property tennis5_btn.
    Scene 1, Layer 'actionscript', Frame 1, Line 31
    1120: Access of undefined property tennis6_btn.
    Here is a screen print of my code
    I'll also paste below:
    tennis1_btn.addEventListener(MouseEvent.CLICK, gotennis1);
    function gotennis1(event:MouseEvent):void {
              var gotennis1url:URLRequest= new URLRequest ("juniortennis.php");
              navigateToURL(gotennis1url,"_parent");
    tennis2_btn.addEventListener(MouseEvent.CLICK, gotennis2);
    function gotennis2(event:MouseEvent):void {
              var gotennis2url:URLRequest= new URLRequest ("adulttennis.php");
              navigateToURL(gotennis2url,"_parent");
    tennis3_btn.addEventListener(MouseEvent.CLICK, gotennis3);
    function gotennis3(event:MouseEvent):void {
              var gotennis3url:URLRequest= new URLRequest ("http://abbottsports.com/membership/memberships.php#tennis");
              navigateToURL(gotennis3url,"_parent");
    tennis4_btn.addEventListener(MouseEvent.CLICK, gotennis4);
    function gotennis4(event:MouseEvent):void {
              var gotennis4url:URLRequest= new URLRequest ("staff.php");
              navigateToURL(gotennis4url,"_parent");
    tennis5_btn.addEventListener(MouseEvent.CLICK, gotennis5);
    function gotennis5(event:MouseEvent):void {
              var gotennis5url:URLRequest= new URLRequest ("calendar.php");
              navigateToURL(gotennis5url,"_parent");
    tennis6_btn.addEventListener(MouseEvent.CLICK, gotennis6);
    function gotennis6(event:MouseEvent):void {
              var gotennis6url:URLRequest= new URLRequest ("tenniscourts.php");
              navigateToURL(gotennis6url,"_parent");
    Please help:  i have a couple of them types of menus but this is the only one that is giving me problems.  Here is the website I'm using them on:
    www.abbottsports.com  Working
    http://abbottsports.com/football/football.php Working
    http://abbottsports.com/motocross/motocross.php working
    I was adding another on to our tennis page. I just copied the flash files to my tennis folders and renamed everything tennis instead of football including the buttons like you can see on the right side of the page in the photo.
    I'm pretty sure it has something to do with me renaming the button, because I never changed anything in the code except replacing the word football to tennis in every spot. and renamed my buttons to tennis instead of football.
    Thanks for any assistance.

    yeah they are all named right.
    tennis1_btn
    tennis2_btn
    tennis3_btn
    tennis4_btn
    tennis5_btn
    tennis6_btn
    I uploaded it here:
    http://abbottsports.com/tennis/flash/tennismenu.swf
    http://abbottsports.com/tennis/flash/tennismenu.fla
    http://abbottsports.com/tennis/flash/tennismenu.html

  • Access of possibly undefined property number through a reference with static type...

    Hello everyone !
    I run into this problem today ... take a look on the code :
    import com.trick7.effects.TeraFire;
    for (var j:uint=0; j<10; j++) {
        var fire:TeraFire = new TeraFire();
        fire.x = j * 40 + 20;
        fire.y = 100;
        fire.number = j; //This line is causeing the problem
        addChild(fire);
        fire.buttonMode = true;
    TeraFire class creates fire particles. The compiler error is :
    Scene 1, Layer 'Layer 1', Frame 1, Line 7
    1119: Access of possibly undefined property number through a reference with static type com.trick7.effects:TeraFire.
    Anyone can help me to find a solution to this problem.
    I can do that ".number" with a movieclip but not in this case. What can I do ?

    I borrowed that class from the internet.
    I made the changes you suggested: imported flash.Display.MovieClip and also made the class extend MovieClip.
    The error is still throwing in compiler errors. I am not really good enough to edit this class because there are some functions I don't still understand very good. This is the class below:
    package com.trick7.effects{
        import flash.display.BitmapData;
        import flash.display.GradientType;
        import flash.display.MovieClip;
        import flash.events.Event;
        import flash.filters.DisplacementMapFilter;
        import flash.filters.DisplacementMapFilterMode;
        import flash.geom.Matrix;
        import flash.geom.Point;
        import flash.geom.Rectangle;
        public class TeraFire extends MovieClip{
            public var phaseRateX:Number;
            public var phaseRateY:Number;
            private var offsets:Array= [new Point(),new Point()];
            private var seed:Number = Math.random();
            private var fireW:Number;
            private var fireH:Number;
            //火の色
            //private var fireColorIn:uint;
            //private var fireColorOut:uint;
            private var ball:Sprite;
            private var gradientImage:BitmapData;
            private var displaceImage:BitmapData;
            private var focalPointRatio:Number = 0.6;
            private const margin:int = 10;
            private var rdm:Number;
            public function TeraFire(xPos:Number=0, yPos:Number=0, fireWidth:Number=30, fireHeight:Number=90, fireColorIn:uint = 0xFFCC00,fireColorOut:uint = 0xE22D09){
                fireW = fireWidth;
                fireH = fireHeight;
                phaseRateX = 0;
                phaseRateY = 5;
                var matrix:Matrix = new Matrix();
                matrix.createGradientBox(fireW,fireH,Math.PI/2,-fireW/2,-fireH*(focalPointRatio+1)/2);
                var colors:Array = [fireColorIn, fireColorOut, fireColorOut];
                var alphas:Array = [1,1,0];
                var ratios:Array = [30, 100, 220];
                var home:Sprite = new Sprite();
                ball = new Sprite();
                ball.graphics.beginGradientFill(GradientType.RADIAL,colors, alphas, ratios, matrix,"pad","rgb",focalPointRatio);
                ball.graphics.drawEllipse(-fireW/2,-fireH*(focalPointRatio+1)/2,fireW,fireH);
                ball.graphics.endFill();
                //余白確保用透明矩形
                ball.graphics.beginFill(0x000000,0);
                ball.graphics.drawRect(-fireW/2,0,fireW+margin,1);
                ball.graphics.endFill();
                addChild(home);
                home.addChild(ball);
                this.x = xPos;
                this.y = yPos;
                addEventListener(Event.ENTER_FRAME,loop);
                displaceImage = new BitmapData(fireW+margin,fireH,false,0xFFFFFFFF);
                var matrix2:Matrix = new Matrix();
                matrix2.createGradientBox(fireW+margin,fireH,Math.PI/2,0,0);
                var gradient_mc:Sprite = new Sprite;
                gradient_mc.graphics.beginGradientFill(GradientType.LINEAR,[0x666666,0x666666], [0,1], [120,220], matrix2);
                gradient_mc.graphics.drawRect(0,0,fireW+margin,fireH);//drawのターゲットなので生成位置にこだわる必要はない。
                gradient_mc.graphics.endFill();
                gradientImage = new BitmapData(fireW+margin,fireH,true,0x00FFFFFF);
                gradientImage.draw(gradient_mc);//gradient_mcを消す必要は?
                rdm = Math.floor(Math.random()*10);
            private function loop(e:Event):void{
                for(var i:int = 0; i < 2; ++i){
                    offsets[i].x += phaseRateX;
                    offsets[i].y += phaseRateY;
                displaceImage.perlinNoise(30+rdm, 60+rdm, 2, seed, false, false, 7, true, offsets);
                displaceImage.copyPixels(gradientImage,gradientImage.rect,new Point(),null, null, true);
                var dMap:DisplacementMapFilter = new DisplacementMapFilter(displaceImage, new Point(), 1, 1, 20, 10, DisplacementMapFilterMode.CLAMP);
                ball.filters = [dMap];
    I you can clarify a little bit further I would appreciate it a lot because I wasted some good time on this.

  • Help with flex4unit ant build.xml: Socket timeout waiting for flexunit report

    I'm having trouble setting up ant to build and test my project locally and I'm not sure what the next step is.
    Info:
    Running on XP/Cygwin.
    All of the files that FlexUnit4 references when used in Flash Builder are in my '${basename}/libs' folder (eg FlexUnit4_1.0.swc).
    I've placed the flexunit4 task in my ant/libs folder.
    I'm getting two errors...
    I don't think I've set up the 'socket' stuff right for the tests. It just sits and waits then dies...
    [flexunit] Waiting for client connection ...
    (about a minute later)
    [flexunit] Stopping server ...
    [flexunit] End of test data reached, sending acknowledgement to player ...
    [flexunit] Closing client connection ...
    [flexunit] Closing server on port [1024] ...
    BUILD FAILED
    java.util.concurrent.ExecutionException: Socket timeout waiting for flexunit report
    Plus this is the error I get from the flash player:
    ReferenceError: Error #1065: Variable mx.skins.spark::BorderSkin is not defined.
    I don't know why it's complaining about Borderskin as I think I have included all the flex4 libs I could find. I suspect this second error is causing the first error?
    Any help appreciated. I think I'm just setting it up all wrong.
    Screencap of errors:
    http://twitpic.com/l7ay8
    build.xml:
    http://gist.github.com/20804

    Finally got everything working using the files from the CI Example which what i probably should have done in the first place.
    So a rough guide for anyone just starting out with this:
    Download the Flex 4 'workspace' from the digital primates hudson server . This appears to contain flexunit library and examples in various stages of development.
    I used Flex Builder 4 Beta 2 to set up my Test Suite and Test Cases.
    I then loaded the libs folder from:
    workspace.zip\workspace\project\FlexUnit4SampleCIProject
    into my flex project's libs folder:
    this includes:
    FlexUnit4.swc
    FlexUnit4CIListener.swc
    flexUnit4UIRunner.swc
    flexTasks.jar
    flexUnitTasks.jar
    I didn't need to remove the FlexUnit4 stuff that is 'referenced' automatically by flash builder when you start adding flexunit4 tests/suites.
    Then I used a modified version of the TestRunner.mxml found in:
    workspace.zip\workspace\project\FlexUnit4SampleCIProject\src\test\flex
    The lines to pay attention to are the ones that look like:
    static public function currentRunTestSuite():Array {
        var testsToRun:Array = new Array();
        testsToRun.push(packagename.TestSuiteName);
        testsToRun.push(packagename.TestClassName);
        return testsToRun;
    Just make sure you update this list to include all of the test suites &/or individual tests you want to run.
    I made this a static function and modified the code in the "FlexUnitApplication.mxml" file to use this function so i'd only need to update one list of suites/tests.
    FlexUnitApplication.mxml is generated automatically when you run FlexUnit4 tests in the Flash Builder 4 Beta 2 IDE.
    This is the build.xml file I'm using in the project:
    http://gist.github.com/208211
    Change the name of the project from "Flare" to whatever and adjust the other path settings where required (though you might want to write this from scratch at least once so you understand roughly what is going on).
    The Debug Flash Player must be installed on the server otherwise you'll get a:
    java.util.concurrent.ExecutionException: Socket timeout waiting for flexunit report
    ...while it waits for the non-existant debugger to attach. (This is obvious but I did forget and was a bit bewildered for a moment)
    Need to also ensure the environment variable:FLEX_HOME is set to the location you installed the flex sdk...by editing your .bashrc setting the environment variable the in the Hudson Configuration.
    You'll need to point Hudson at your ant installation and your jdk installation. If you downloaded he sdk, be aware you might need to point it to the jdk folder inside the place you installed the sdk.
    And I think that's all the problems I had. Hope it's useful to someone... if anyone who actually knows what they are doing can point out any potential issues/better ways of doing things, feel free to comment.
    Thanks to Brian (legrosb) and Mike (mlabriola) for their assistance!

  • Socket timeouts while downloading huge amount of mails..................

    Problem Statement:
    I have created a utility(using JavaMail API) which downloads mails from the Exchange Server 2003(MS Windows server 2003) using IMAP service.
    The utility uses 5 different threads(each creating it's own separate IMAP session) to download the mails from the same user mailbox account. A separate main controlling thread has been used, which feeds these 5 threads with the start-end message counts with a batching of 100 messages. The 5 threads also set the message delete flag after downloading/processing the messages. And finally the main controlling thread expunges the mail box account after a certain amount of time(1 hour). (The service also takes care of expunging the messages at the startup as well.)
    The utility runs fine for a long time(say 8 to 10 hours) but then it suddenly starts giving socket timeout exceptions and then it continues giving the exceptions. I even introduced a delay of 15 min. and increased the socket timeout period but to no avail. All i had to do was to restart the exchange server and after some time, i again started the utility and it worked finely.
    Exception stack trace:
    * BYE JavaMail Exception: java.net.SocketTimeoutException: Read timed out
    javax.mail.MessagingException: * BYE JavaMail Exception: java.net.SocketTimeoutException: Read timed out;
    nested exception is:
    com.sun.mail.iap.ConnectionException: * BYE JavaMail Exception: java.net.SocketTimeoutException: Read timed out
    at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:477)
    at javax.mail.Service.connect(Service.java:275)
    at com.newgen.omni.mail.mswrapper.MailServerWrapper.connect(MailServerWrapper.java:102)
    at com.newgen.omni.mail.mswrapper.MailServerWrapper.<init>(MailServerWrapper.java:33)
    at com.newgen.omni.mail.scheduler.Scheduler.Process(Scheduler.java:352)
    at com.newgen.omni.mail.scheduler.Scheduler.run(Scheduler.java:293)
    at com.newgen.omni.mail.scheduler.Scheduler.execute(Scheduler.java:1026)
    at org.quartz.core.JobRunShell.run(JobRunShell.java:178)
    at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:477)
    Caused by: com.sun.mail.iap.ConnectionException: * BYE JavaMail Exception: java.net.SocketTimeoutException: Read timed out
    at com.sun.mail.iap.Protocol.handleResult(Protocol.java:299)
    at com.sun.mail.iap.Protocol.simpleCommand(Protocol.java:316)
    at com.sun.mail.imap.protocol.IMAPProtocol.login(IMAPProtocol.java:290)
    at com.sun.mail.imap.IMAPStore.login(IMAPStore.java:517)
    at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:458)
    ... 8 more
    The code snippet to make the IMAP connection (all the 6 threads call it separately to create separate sessions):
    Properties prop = new Properties();
    logger.debugMsg("mailCapture :: Process :: Initializing IMAP context...");
    prop.put("mail.imap.appendbuffersize","-1");
    prop.put("mail.imap.allowreadonlyselect","true");
    prop.put("mail.imap.separatestoreconnection","true");
    prop.put("mail.imap.partialfetch","false");
    prop.put("mail.imap.connectiontimeout", "1200000");
    prop.put("mail.imap.timeout", "1200000");
    session = Session.getInstance(prop);
    //session.setDebug(true);
    logger.debugMsg("mailCapture :: Process :: Get Store...");
    store = session.getStore("imap");
    try
    store.connect(mailServerInfo.strServerIP, Integer.parseInt(mailServerInfo.strServerPort), mailServerInfo.strUsername, mailServerInfo.strPassword);
    catch(MessagingException ex)
    logger.logException(ex.getMessage(), ex);
    Thread.sleep(900000);
    throw ex;
    I have tried with session debugging as well when the exceptions started coming(restart the service with session debugging true) but it doesnt give me any information worthwhile, either the utility stucks on the store.connect or otherwise if it connects then it stucks while opening the folder while using (sourceMailAccountFolder.open(Folder.READ_WRITE);) and doesn't move any further.
    NOTE: While the IMAP service is throwing socket time out exceptions, at the same time I am able to access my account using the http://<ip>/exchange/administrator and the server machine cpu and memory usages are very low as well. I am also having a separte utility which uploads mails using smtp and it is also working fine and uploading the mails whilest the imap utility is throwing the socket timeout exceptions.......
    Please help on this as i am not able to resolve it myself.....................

    Can simultaneously uploading the mails through smtp affect the imap performance(and hence the javamail).
    Note: The mailbox size is over 200000 mails when it started giving exceptions.
    When the socket timeout exceptions came(i have experienced them for the last three days), i was still able to send mails using smtp and the telnet also working fine and even without any delays, infact as i said, the utility sometimes connects but then fails, while using sourceMailAccountFolder.open(Folder.READ_WRITE); giving socket timeout errors and then dnt go any further.
    Right now i have stopped the smtp uploading the mails(for the first time) but still the javamail takes a long time(variable) to connect to the server and the mail body and attachment accessing speed is also a little slow, will see and post back, if the socket timeout exceptions come again.
    Note: My aim is to download more than some 250000 mails within a day through javamail, whilest i am simultaneously uploading them using SMTP.
    My other survice, using SMTP pumps in messages within a loop.

  • Simple question (Trace issue) Access of undefined property

    Having a strange issue with my new Flash Builder and the trace command. Anyone seen this before and why?
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
       xmlns:s="library://ns.adobe.com/flex/spark"
       xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">
         <fx:Declarations>
               <!-- Place non-visual elements (e.g., services, value objects) here -->
         </fx:Declarations>
    <fx:Script>
         <![CDATA[
              var myString:String = "Help";
              trace(myString);
              //Error 1120: Access of undefined property myString.
         ]]>
    </fx:Script>
    </s:Application>

    your trace command isn't in a function
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"          
                   xmlns:s="library://ns.adobe.com/flex/spark"          
                   xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600" applicationComplete="doThis()">
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
        <fx:Script>
            <![CDATA[
                private var myString:String = "Help";
                private function doThis():void
                    trace(myString);
            ]]>
        </fx:Script>
    </s:Application>

  • Undefined property when it does exist

    Can anyone help me grasp why this isn't working? I keep
    getting an 1120 error about the property, but i know that it
    exists. This is the HTTPService:
    <mx:HTTPService id="userupdate"
    url="https://server/flex/usrchgpwd.php"
    result="checkADMUsrPWD(event)" useProxy="false" method="POST"
    showBusyCursor="true">
    <mx:request xmlns="">
    <admtype>{admType.valueOf()}</admtype><username>{adm_username.text}</username><newpwd>{adm _password.text}</newpwd>
    <group>{adm_usergroup.text}</group><level>{adm_level.text}</level><status>{adm_activestatu s.text}</status>
    </mx:request>
    </mx:HTTPService>
    This is the AS function that is erroring out:
    private function checkADMUsrPWD(evt:ResultEvent):void {
    if(userupdate.lastResult.changesuccess == "nodb"){
    mx.controls.Alert.show("No DB connection, contact your
    administrator.");
    I get the error: "1120: Access of undefined property
    userupdate."
    I don't understand why. It's right there. And if I start
    typing userupdate and then put a period, it lists the availabe
    functions it will let me do. The other thing is that the script and
    app actually work properly, no problems at all. So I do not
    understand why it's throwing these errors.
    Any thoughts?
    Thanks,
    Chris

    Chris,
    I'm having the same issue, I'm about to shoot some one!
    He is my code.
    Application:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute" >
    <mx:Script>
    <![CDATA[
    import dto.Example;
    [Bindable]
    public var tempExample:Example = new Example();
    tempExample._id = "test";
    ]]>
    </mx:Script>
    </mx:Application>
    Class Code:
    package dto
    public class Example{
    public var _id:String;
    public function Example(){
    I think it's a bug....

  • Getting the very lovely 1120: Access of undefined property...

    Hi Guys n Gals,
    I’m getting the "1120: Access of undefined property texttwo_mc." error I've done this code before and no issue.
    What I’m doing is simple, click a button and it will go to a movie clip within a movie clip to start the label named "_go", and this error accrued. The MC I’m calling is on the beginning of the timeline.
    Thanks
    BTW for some odd reason my SWF keeps deleting it self, thats on 2 differnt PC's ones CS5 and CS4.

    Hi Ned,
    Ok ill be as detailed as possible.:
    In the main stage I have a MC with a instance name of texttwo_mc, within that i have a mocvie clip "about button" that acts like a button and its on 5 on the timeline.
    The "about button" is not viable till timeline 5 but there's a stop on timeline 1 and it goes to timeline 5 (to make itself viable) when its told to in action scripting. And there's a button on the main stage that makes it go from 1 to 5 in action scripting.
    and thats where the eror is.
    BTW the "about button" is on timeline 1..just not viable till 5.

  • Error BEA-101083 Socket Timeout

    Hello, we have a WebLogic Server 8.1 SP2 and we found the following error:
    <Dec 12, 2005 3:33:32 AM CET> <Error> <HTTP> <BEA-101083> <Connection failure.
    java.io.IOException: A complete message could not be read on socket: 'weblogic.servlet.internal.MuxableSocketHTTP@1cc2438 - idle timeout: '30000' ms, socket timeout: '30000' ms', in the configured timeout period of '60' secs
    at weblogic.socket.SocketMuxer$TimeoutTrigger.trigger(SocketMuxer.java:775)
    at weblogic.time.common.internal.ScheduledTrigger.run(ScheduledTrigger.java:243)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
    at weblogic.time.common.internal.ScheduledTrigger.executeLocally(ScheduledTrigger.java:229)
    at weblogic.time.common.internal.ScheduledTrigger.execute(ScheduledTrigger.java:223)
    at weblogic.time.server.ScheduledTrigger.execute(ScheduledTrigger.java:50)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    >
    Any idea?
    Thanks

    As lot fo people we have the same problem.
    But I have still not found a concreate solution.
    ####<08-May-2006 10:02:36 o'clock CEST> <Error> <HTTP> <quatro> <WlsAdm> <ExecuteThread: '2' for queue: 'weblogic.kernel.System'> <<WLS Kernel>> <> <BEA-101083> <Connection failure.
    java.io.IOException: A complete message could not be read on socket: 'weblogic.servlet.internal.MuxableSocketHTTP@8db03f0 - idle timeout: '30000' ms, socket timeout: '30000' ms', in the configured timeout period of '60' secs
         at weblogic.socket.SocketMuxer$TimeoutTrigger.trigger(Lweblogic/time/common/Schedulable;)V(SocketMuxer.java:799)
         at weblogic.time.common.internal.ScheduledTrigger.run()Ljava/lang/Object;(ScheduledTrigger.java:243)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic/security/subject/AbstractSubject;Ljava/security/PrivilegedAction;)Ljava/lang/Object;(Optimized Method)
         at weblogic.security.service.SecurityManager.runAs(Lweblogic/security/acl/internal/AuthenticatedSubject;Lweblogic/security/acl/internal/AuthenticatedSubject;Ljava/security/PrivilegedAction;)Ljava/lang/Object;(SecurityManager.java:121)
         at weblogic.time.common.internal.ScheduledTrigger.executeLocally()V(ScheduledTrigger.java:229)
         at weblogic.time.common.internal.ScheduledTrigger.execute(Lweblogic/kernel/ExecuteThread;)V(ScheduledTrigger.java:223)
         at weblogic.time.server.ScheduledTrigger.execute(Lweblogic/kernel/ExecuteThread;)V(ScheduledTrigger.java:50)
         at weblogic.kernel.ExecuteThread.execute(Lweblogic/kernel/ExecuteRequest;)V(Optimized Method)
         at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:183)
         at java.lang.Thread.startThreadFromVM(Ljava/lang/Thread;)V(Unknown Source)
    >

  • Error, please help? 1120: Access of undefined property event

    I have ActionScript 3 in two frames of my piece. In this 2nd frame, I get an error: "1120: Access of undefined property event" for "myXML=XML(event.target.data);" Can anyone help? I am not sure how to fix this.
    var myloader:URLLoader=new URLLoader();
    myloader.dataFormat=URLLoaderDataFormat.VARIABLES;
    myloader.addEventListener(Event.COMPLETE, guestBookWriteFunc);
    function guestBookWriteFunc(e:Event):void{
              var loader:URLLoader=URLLoader(e.target);
              var vars:URLVariables=new URLVariables(loader.data);
              var url:String="makexml.asp";
                   var sendloader:URLLoader=new URLLoader();
                   var request:URLRequest=new URLRequest(url);
                   trace("xml page created");
    var urlRequest:URLRequest=new URLRequest("makexml.asp");
    var urlLoader:URLLoader=new URLLoader();
    urlLoader.addEventListener(Event.COMPLETE, fileLoaded);
    urlLoader.load(urlRequest);
    //Setting up the XML
    var myXML:XML=new XML();
    myXML.ignoreWhitespace=true;
    var xmlList:XMLList;
    //Setting up the data holder Arrays
    var theUserName:Array=new Array();
    var theUserEmail:Array=new Array();
    var theUserComment:Array=new Array();
    function fileLoaded(e:Event):void{
         myXML=XML(event.target.data);
         xmlList=myXML.children();
         for (var i:int=0; i<xmlList.length(); i++){
              var xmlName:String=xmlList[i].username;
              var xmlEmail:String=xmlList[i].useremail;
              var xmlComment:String=xmlList[i].usercomment;
              theUserName.push(xmlName);
              theUserEmail.push(xmlEmail);
              theUserComment.push(xmlComment);
              if(i==xmlList.length()-1){
                   updateText();
    //Populating the text field to display messages
    var maximumMessages:Number=5;
    var currentMessages:Number=0;
    function updateText(){
         guestText.htmlText="";
         for (var i=currentMessages; i<maximumMessages; i++){
                   guestText.htmlText+=("<b><u>Name:</u></b>" + theUserName[i]);
                   guestText.htmlText+=("<b><u>Email:</u></b>" + theUserEmail[i]);
                   guestText.htmlText+=("<b><u>Comment:</u></b>" + theUserComment[i]);
                   guestText.htmlText+=(".................................");
                   currentMessages=i;
                   myScroller.scrollTarget=guestText;

    You are more likely to get a reply if you ask in the Flash or ActionScript forum.

  • 1119 Error help undefined property

    Here is my code:
    var gameSounds:Sound = new Sound(new URLRequest("inGame.mp3"));
    gameSounds.play();
    var gunShotSound:Sound = new Sound(new URLRequest("gunshot.mp3"));
    import flash.events.MouseEvent;
    import flash.display.MovieClip;
    import flash.geom.Point;
    stop();
    gunBarrel.addEventListener(Event.ENTER_FRAME,  gunEnterFrame);
    function gunEnterFrame(pEvt) {
        var mc = pEvt.currentTarget;
        var angleRadian = Math.atan2(mouseY - mc.y,mouseX - mc.x);
        var angleDegree = angleRadian * 180 / Math.PI;
        mc.rotation = angleDegree;
    Mouse.hide();
    main_crosshair.startDrag(true);
    main_crosshair.addEventListener(MouseEvent.MOUSE_DOWN, crosshairFX);
    function crosshairFX (e:MouseEvent):void{
              gunShotSound.play();
              var projectile:bullet = new bullet();
    //projectile.x = parent.mouseX;
    //          projectile.y = parent.mouseY;
              projectile.x = gunBarrel.x;
        projectile.y = gunBarrel.y;
        // Save the randian angle between the mouse and the tank
        // This angle will set the direction of the bullet
        projectile.angleRadian = Math.atan2(mouseY - gunBarrel.y, mouseX - gunBarrel.x);
        // Add an enter frame event on each bullet
        projectile.addEventListener(Event.ENTER_FRAME, bulletEnterFrame);
              addChild(projectile);
              main_crosshair.gotoAndPlay(3);
    // Velocity of each bullet
    var speed = 8;
    function bulletEnterFrame(pEvent) {
        // Get the current object (Bullet)
        var p = pEvent.currentTarget;
        // Move this bullet on each frames
        // On X axis use the cosinus angle
        p.x +=  Math.cos(p.angleRadian) * speed;
        // On Y axis use the sinus angle
        p.y +=  Math.sin(p.angleRadian) * speed;
        // Orient the bullet to the direction
        p.rotation = p.angleRadian * 180 / Math.PI;
        // You have to remove each created bullet
        // So after every moves you must check bullet position
        // If the bullet is out of the screen
        if (p.x < 0 || p.x > 400 || p.y < 0 || p.y > 400) {
            // Remove it from the display list
            removeChild(p);
            // /!\ AND REOMOVE HIS EVENT LISTER
            p.removeEventListener(Event.ENTER_FRAME, bulletEnterFrame);
    When I try to run it though I get "1119: Access of possibly undefined property angleRadian through a reference with static type bullet."
    What's wrong with my code?

    cast p as a MovieClip and retest.  if that fails, click file/publish settings/swf, tick "permit debugging" and retest to see the line number with the problematic code.
    function bulletEnterFrame(pEvent) {
        // Get the current object (Bullet)
        var p = MovieClip(pEvent.currentTarget);

  • Flex marking a sample code invalid "Access of undefined property"?

    Hey,
    I used the code from this link: http://tdotblog.info/?q=node/6
    When i put it into Flex Builder 3, it has several issues with the code like "Access of undefined property FileStream" (or File).
    When I run the application, only the typical gray background appears.
    What am I doing wrong?
    Thanks, Erthy

    OK, so I used the code (btw thanks for the link, it is awesome, i already marked as much answers and helpful answers I could) and I came up with something like this:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
         <mx:Script>
              <![CDATA[
                   import flash.filesystem.*;
                   import mx.controls.Alert;
                   public var prefsFile:File; // The preferences prefsFile
                   [Bindable] public var prefsXML:XML; // The XML data
                   public var stream:FileStream; // The FileStream object used to read and write prefsFile data.
                   public function starter():void
                   // stage.nativeWindow.addEventListener(Event.CLOSING, windowClosingHandler);
                   prefsFile = File.applicationStorageDirectory;
                   prefsFile = prefsFile.resolvePath("slovnik.xml");
                   readXML();
                   private function readXML():void
                   stream = new FileStream();
                   if (prefsFile.exists) {
                       stream.open(prefsFile, FileMode.READ);
                       processXMLData();
                   else
                       Alert.show("Nenalezeny žádné slovníky!");
                   // stage.nativeWindow.visible = true;
                   private function processXMLData():void
                   prefsXML = XML(stream.readUTFBytes(stream.bytesAvailable));
                   stream.close();
                   // var slovicko = prefsXML.slovicko.cs;
                   Alert.show("Česky je to: " + prefsXML.slovicko.@cs + "\n Anglicky je to: " + prefsXML.slovicko.@en);
                   // stage.nativeWindow.x = prefsXML.windowState.@x;
                   // stage.nativeWindow.y = prefsXML.windowState.@y;
                   // stage.nativeWindow.width = prefsXML.windowState.@width;
                   // stage.nativeWindow.height = prefsXML.windowState.@height;
                   private function writer():void
                   createXMLData();
                   writeXMLData();
                   private function createXMLData():void
                   prefsXML = <slovicka/>;
                   prefsXML.slovicko.@id = 2;
                   prefsXML.slovicko.@cs = "kočka";
                   prefsXML.slovicko.@en = "cat";
                   // prefsXML.windowState.@width = stage.nativeWindow.width;
                   // prefsXML.windowState.@height = stage.nativeWindow.height;
                   // prefsXML.windowState.@x = stage.nativeWindow.x;
                   // prefsXML.windowState.@y = stage.nativeWindow.y;
                   // prefsXML.saveDate = new Date().toString();
                   private function writeXMLData():void
                   var outputString:String = '<?xml version="1.0" encoding="utf-8"?>\n';
                   outputString += prefsXML.toXMLString();
                   outputString = outputString.replace(/\n/g, File.lineEnding);
                   stream = new FileStream();
                   stream.open(prefsFile, FileMode.WRITE);
                   stream.writeUTFBytes(outputString);
                   stream.close();
              ]]>
         </mx:Script>
         <mx:Button id="start" label="Start" width="130"
                      click="starter()"/>
        <mx:Button id="write" label="Write" width="130"
                      click="writer()" x="138"/>
    </mx:WindowedApplication>
    However, when I change the value, it overwrites the contents of the file. How can I just add one more "slovicko" element to the XML, so it would look like this:
    <?xml version="1.0" encoding="utf-8"?>
    <slovicka>
      <slovicko id="1" cs="blah" en="blah" />
      <slovicko id="2" cs="kočka" en="cat"/>
    </slovicka>
    after adding a new element, instead of just overwriting the previous content leaving only the id=2 element.
    Thanks, I failed to find it and I am sorry for my English.

  • ...undefined property keyCode...

    Hi, I'm fairly new to actionscript.  I was just begining to get the hang of buttons in AS2 when I dropped it to begin learning AS3.  I have Adobe Flash CS3 Professional and I'm going through the "Programming Actionscript 3.0" tutorial files in the help section of the program.  I've gotten past the introductory explainations and reached the first hands-on segment of the tutorial and I'm running into compiler errors like crazy.   I'm 99% sure I don't have any typos or missing semi-colons.
    mainText.border = true;
    textIn.border = true;
    var myGreeter:Greeter = new Greeter();
    mainText.text = myGreeter.sayHello("");
    textIn.addEventListener(KeyboardEvent.KEY_UP, keyPressed);
    function keyPressed(event:Event):void
        if (event.keyCode == Keyboard.ENTER)
            mainText.text = myGreeter.sayHello(textIn.text);
    that's the code I'm working with.  I have a dynamic textbox with the lable "mainText" and an input textbox with the lable "textIn" the tutorial previously went through creating a custom class in an external file "Greeter.as" When i try to compile this I recieve the error
    Description:     1119: Access of possibly undefined property keyCode through a reference with static type flash.events:Event.
    Source:            if (event.keyCode == Keyboard.ENTER)
    I'm just totally lost right now, so any tips that could point me in the right direction to fix this and understand it better would be tremendously appreciated.

    In the listener you are defining it as a KeyboardEvent, so you should be consistent and retain that in the function...
    function keyPressed(event:KeyboardEvent):void
    If the tutorial offered the code as you had it, do not be shocked.

Maybe you are looking for

  • Can i use OER to store the data from a excel sheet that pertains to the entire integrations ?

    hi , i know that the OER can be used to view the entire landscape for the SOA composites and how they are related with each other. However we have a requirement wherein we need to store the data for the entire integration end systems e.g. ebiz, mfgpr

  • FM - Add new value to WRTTP Field

    Hi experts, I would like to add a new value to the table Value types. Currently this table contains values form 1- 3C. Could Anybody tell me how I 'd add a new value?. Thanks in advance, Greetings, Nachos

  • Workflow SAP

    Hi, Can i help me to send a workflow SAP to an user E-mail LOTUS. How can i do that. Best regards.

  • Logic Express VS Pro

    What is the difference between Express & Pro?

  • Human Logic Bug help me!!!!

    hai friends see the code and help me boolean human=null; public boolean testHuman() if(notlieing) human=true; else{ human=false return human; when i run this program with various human being it alaways return null if my logic is wrong then how i know