MovieClipLoader not working asynchronously

I'm using the MovieClipLoader class to load a swf. When the
loadClip method is invoked everything stops until the load is
complete. This makes it impossible to load in the background, or to
show load progress using onLoadProgress. The swf being loaded is
about 8mb. Is the file size causing this issue?

Yes, the swf contains an embedded video file and needs to be
loaded from a cd. Using a flv for this particular movie is no
longer an option. I had originally planned on using flv, but
testing revealed major playback issues when playing an flv of this
size/quality from a disc. There will also be some interactive
objects involved with the animation. Instead of embedding the
video, I'm going to try exporting the video frames to jpgs and
importing the sequence. If not, I may be stuck with a static
loading screen. Thanks for the reply.

Similar Messages

  • Moviecliploader onprogress not working

    Hello,
    I am using a moviecliploader to load landing.swf into a mcholder in parent.swf. Now even though the movie is loading fine, I am not able to display the loading percentage. The percentage always shows 100%. I am trying make a loader graphic run as per the percentage value, but since it is always at 100 the graphic does not work. I have tried testing it on the server as well, same thing, no loader graphic.
    Can anyone tell me why this is happening? Am I supposed to use a recurring function within the onloadProgress function???
    Any help will be greatly appreciated.

    When you test the file, in the player window select the View option and then select the Simulate Download option.  You can set the speed of the simulation as well.  I can't always get it to work, but it should.
    Just for the record.  I took your code and used it to load a 1.5 MB image file and get the following output with the trace added up front for prcnt.  You can see how it skips certain values....
    load started
                        2
                        5
                        7
                        10
    loading:10
                        13
                        15
    loading:15
                        18
                        20
    loading:20
                        23
                        26
                        28
                        31
                        33
                        36
                        39
                        41
                        44
                        46
                        49
                        52
                        54
                        57
                        59
                        62
                        65
                        67
                        70
    loading:70
                        72
                        75
                        78
                        80
    loading:80
                        83
                        86
                        88
                        91
                        93
                        96
                        99
                        100
    loading:100
    load completed

  • Powershell Script Send-zip not working when running in cmd

    I found there is powershell send-zip script available in technet.  I tested it and found that it works when the script is running under powershell env, but when it is calling in cmd env, I can see the zip file, but there is nothing in it.  If
    I add the "-noexit" switch it runs normally.  Anyone have ideas what might be happening?
    The orig codes is as following:
    function global:SEND-ZIP ($zipfilename, $filename) { 
    # The $zipHeader variable contains all the data that needs to sit on the top of the 
    # Binary file for a standard .ZIP file
    $zipHeader=[char]80 + [char]75 + [char]5 + [char]6 + [char]0 + [char]0 + [char]0 + [char]0 + [char]0 + [char]0 + [char]0 + [char]0 + [char]0 + [char]0 + [char]0 + [char]0 + [char]0 + [char]0 + [char]0 + [char]0 + [char]0 + [char]0
    # Check to see if the Zip file exists, if not create a blank one
    If ( (TEST-PATH $zipfilename) -eq $FALSE ) { Add-Content $zipfilename -value $zipHeader }
    # Create an instance to Windows Explorer's Shell comObject
    $ExplorerShell=NEW-OBJECT -comobject 'Shell.Application'
    # Send whatever file / Folder is specified in $filename to the Zipped folder $zipfilename
    $SendToZip=$ExplorerShell.Namespace($zipfilename.tostring()).CopyHere($filename.ToString())
    SEND-ZIP C:\abc\a.ZIP C:\a\a.bak

    I've had the same problem with similar code found on another web site.
    The reason the zip file ends up being empty is that the temporary $ExplorerShell object you created is deleted when the send-zip function returns,
    and any incomplete copy operation that may still be ongoing at that time is aborted. (The copy operation is asynchronous, and continues after the CopyHere() function returns.)
    To work around this, you need to add a delay loop before you return, waiting for the copied object to appear in the zip.
    (Note that adding a fixed delay, like I've seen on other web sites, does not work: Small files appear almost immediately, whereas large file or worse still large subdirectory trees can take a long time to appear.)
    Try changing the end of your routine to something like...
    # Create an instance to Windows Explorer's Shell comObject 
    $ExplorerShell=NEW-OBJECT -comobject 'Shell.Application' 
    # Open the zip file object
    $zipFile = $ExplorerShell.Namespace($zipfilename.tostring())
    # Count how many objects were in the zip file initially
    $count = $zipFile.Items().Count
    # Send whatever file / Folder is specified in $filename to the Zipped folder $zipfilename 
    $SendToZip=$zipFile.CopyHere($filename.ToString())
    # Wait until the file / folder appears in the zip file
    $count += 1 # We expect one more object to be there eventually
    while ($zipFile.Items().Count -lt $count) {
        Write-Debug "$filename not in the zip file yet. Sleeping 100ms"
        Start-Sleep -milliseconds 100
    # Return deletes the $zipFile object, and aborts incomplete copy operations.

  • Jail in vsftpd 2.3.4-2 do not work properly... no idea why

    I have used the chroot_local_user=YES option in the vsftpd conf... (I have restarted it)
    But then I tried in filezilla accessing with a regular user, and its not jailed at all, I can see everything in the server... any idea?
    vsftpd 2.3.4-2
    here the current conf:
    # Example config file /etc/vsftpd.conf
    # The default compiled in settings are fairly paranoid. This sample file
    # loosens things up a bit, to make the ftp daemon more usable.
    # Please see vsftpd.conf.5 for all compiled in defaults.
    # READ THIS: This example file is NOT an exhaustive list of vsftpd options.
    # Please read the vsftpd.conf.5 manual page to get a full idea of vsftpd's
    # capabilities.
    # Allow anonymous FTP? (Beware - allowed by default if you comment this out).
    anonymous_enable=NO
    # Uncomment this to allow local users to log in.
    local_enable=YES
    # Uncomment this to enable any form of FTP write command.
    write_enable=YES
    # Default umask for local users is 077. You may wish to change this to 022,
    # if your users expect that (022 is used by most other ftpd's)
    #local_umask=022
    # Uncomment this to allow the anonymous FTP user to upload files. This only
    # has an effect if the above global write enable is activated. Also, you will
    # obviously need to create a directory writable by the FTP user.
    #anon_upload_enable=YES
    # Uncomment this if you want the anonymous FTP user to be able to create
    # new directories.
    #anon_mkdir_write_enable=YES
    # Activate directory messages - messages given to remote users when they
    # go into a certain directory.
    dirmessage_enable=YES
    # Activate logging of uploads/downloads.
    xferlog_enable=YES
    # Make sure PORT transfer connections originate from port 20 (ftp-data).
    connect_from_port_20=YES
    # If you want, you can arrange for uploaded anonymous files to be owned by
    # a different user. Note! Using "root" for uploaded files is not
    # recommended!
    #chown_uploads=YES
    #chown_username=whoever
    # You may override where the log file goes if you like. The default is shown
    # below.
    #xferlog_file=/var/log/vsftpd.log
    # If you want, you can have your log file in standard ftpd xferlog format.
    # Note that the default log file location is /var/log/xferlog in this case.
    #xferlog_std_format=YES
    # You may change the default value for timing out an idle session.
    #idle_session_timeout=600
    # You may change the default value for timing out a data connection.
    #data_connection_timeout=120
    # It is recommended that you define on your system a unique user which the
    # ftp server can use as a totally isolated and unprivileged user.
    #nopriv_user=ftpsecure
    # Enable this and the server will recognise asynchronous ABOR requests. Not
    # recommended for security (the code is non-trivial). Not enabling it,
    # however, may confuse older FTP clients.
    #async_abor_enable=YES
    # By default the server will pretend to allow ASCII mode but in fact ignore
    # the request. Turn on the below options to have the server actually do ASCII
    # mangling on files when in ASCII mode.
    # Beware that on some FTP servers, ASCII support allows a denial of service
    # attack (DoS) via the command "SIZE /big/file" in ASCII mode. vsftpd
    # predicted this attack and has always been safe, reporting the size of the
    # raw file.
    # ASCII mangling is a horrible feature of the protocol.
    #ascii_upload_enable=YES
    #ascii_download_enable=YES
    # You may fully customise the login banner string:
    #ftpd_banner=Welcome to blah FTP service.
    # You may specify a file of disallowed anonymous e-mail addresses. Apparently
    # useful for combatting certain DoS attacks.
    #deny_email_enable=YES
    # (default follows)
    #banned_email_file=/etc/vsftpd.banned_emails
    # You may specify an explicit list of local users to chroot() to their home
    # directory. If chroot_local_user is YES, then this list becomes a list of
    # users to NOT chroot().
    chroot_local_user=YES
    #chroot_list_enable=YES
    # (default follows)
    #chroot_list_file=/etc/vsftpd.chroot_list
    # You may activate the "-R" option to the builtin ls. This is disabled by
    # default to avoid remote users being able to cause excessive I/O on large
    # sites. However, some broken FTP clients such as "ncftp" and "mirror" assume
    # the presence of the "-R" option, so there is a strong case for enabling it.
    #ls_recurse_enable=YES
    # When "listen" directive is enabled, vsftpd runs in standalone mode and
    # listens on IPv4 sockets. This directive cannot be used in conjunction
    # with the listen_ipv6 directive.
    listen=YES
    # This directive enables listening on IPv6 sockets. To listen on IPv4 and IPv6
    # sockets, you must run two copies of vsftpd with two configuration files.
    # Make sure, that one of the listen options is commented !!
    #listen_ipv6=YES
    ssl_enable=YES
    force_local_logins_ssl=YES
    ssl_tlsv1=YES
    ssl_sslv2=YES
    ssl_sslv3=YES
    rsa_cert_file=/etc/ssl/certs/vsftpd.pem
    rsa_private_key_file=/etc/ssl/certs/vsftpd.pem

    Yup, well, I did not read the man page yet... just read the arch wiki page...
    I thought that using just chroot_local_user=YES I will not need to use that file, as it uses the system users...
    Do not work that way?
    /me runs man vsftpd... then man vsftpd.conf
    Last edited by luuuciano (2011-12-02 14:57:00)

  • Minetest translation does not work on my machine.

    Hey there.
    After trying my luck in the official Minetest forums a week ago and got nothing more than the initial “try this-and-that” thing as response in the German discussion section and no reply at all in the regular discussion section I decided to ask on Reddit on last Saturday afternoon, too. On Reddit my question only got 3 upvotes and no comments.
    Since no-one seems to know what’s going on I decided to post my question here, too.
    It sems like the translation feature in Minetest does not work on my machine for unknown reason.
    The language files are there and according to it’s oputput and the PKGBUILD Minetest was compiled with gettext support. LANG and LC_MESSAGES are properly set (I even tried LC_ALL). Localization works properly in all other applications that support localization.
    Here’s some relevant system information.
    $ uname -rms
    Linux 3.16.1-1-ARCH x86_64
    $ minetest --version
    Minetest 0.4.10
    Using Irrlicht 1.8.1
    Build info: VER=0.4.10 BUILD_TYPE=Release RUN_IN_PLACE=0 USE_GETTEXT=1 USE_SOUND=1 USE_CURL=1 USE_FREETYPE=1 USE_LUAJIT=0 STATIC_SHAREDIR=/usr/share/minetest
    $ pacman -Ql minetest | grep locale/de
    minetest /usr/share/locale/de/
    minetest /usr/share/locale/de/LC_MESSAGES/
    minetest /usr/share/locale/de/LC_MESSAGES/minetest.mo
    $ locale
    LANG=de_DE.utf8
    LC_CTYPE="de_DE.utf8"
    LC_NUMERIC="de_DE.utf8"
    LC_TIME="de_DE.utf8"
    LC_COLLATE="de_DE.utf8"
    LC_MONETARY="de_DE.utf8"
    LC_MESSAGES="de_DE.utf8"
    LC_PAPER="de_DE.utf8"
    LC_NAME="de_DE.utf8"
    LC_ADDRESS="de_DE.utf8"
    LC_TELEPHONE="de_DE.utf8"
    LC_MEASUREMENT="de_DE.utf8"
    LC_IDENTIFICATION="de_DE.utf8"
    LC_ALL=de_DE.utf8
    $ cat /etc/locale.gen
    de_DE.UTF-8 UTF-8
    en_DK.UTF-8 UTF-8
    en_US.UTF-8 UTF-8
    According to the discussion in the German discussion section in the Minetest forums I tried to set language = DE (and variants like de_DE with or without .utf8 in all possible variants) in minetest.conf but it didn’t change anything. Also: Here’s the output of running Minetest with --verbose parameter.
    16:47:01: INFO[main]: Using system-wide paths (NOT RUN_IN_PLACE)
    16:47:01: INFO[main]: path_share = /usr/share/minetest
    16:47:01: INFO[main]: path_user = /home/dirk/.minetest
    16:47:01: INFO[main]: minetest with SER_FMT_VER_HIGHEST_READ=26, VER=0.4.10 BUILD_TYPE=Release RUN_IN_PLACE=0 USE_GETTEXT=1 USE_SOUND=1 USE_CURL=1 USE_FREETYPE=1 USE_LUAJIT=0 STATIC_SHAREDIR=/usr/share/minetest
    16:47:01: INFO[main]: logfile = /home/dirk/.minetest/debug.txt
    16:47:01: VERBOSE[main]: httpfetch_init: parallel_limit=8
    16:47:01: INFO[main]: Message locale is now set to: LC_CTYPE=de_DE.utf8;LC_NUMERIC=C;LC_TIME=en_DK.utf8;LC_COLLATE=de_DE.utf8;LC_MONETARY=de_DE.utf8;LC_MESSAGES=de_DE.utf8;LC_PAPER=de_DE.utf8;LC_NAME=de_DE.utf8;LC_ADDRESS=de_DE.utf8;LC_TELEPHONE=de_DE.utf8;LC_MEASUREMENT=de_DE.utf8;LC_IDENTIFICATION=de_DE.utf8
    Irrlicht log: Irrlicht Engine version 1.8.1
    Irrlicht log: Linux 3.16.1-1-ARCH #1 SMP PREEMPT Thu Aug 14 07:40:19 CEST 2014 x86_64
    Irrlicht log: Using renderer: OpenGL 3.3.0
    Irrlicht log: GeForce 9600 GT/PCIe/SSE2: NVIDIA Corporation
    Irrlicht log: OpenGL driver version is 1.2 or better.
    Irrlicht log: GLSL version: 3.3
    16:47:01: INFO[main]: text_height=22
    16:47:01: INFO[main]: Searching worlds...
    16:47:01: INFO[main]: In /home/dirk/.minetest/worlds:
    16:47:01: INFO[main]: Spielwelt
    16:47:01: INFO[main]: 1 found.
    16:47:01: INFO[main]: Waiting for other menus
    16:47:01: INFO[main]: Waited for other menus
    16:47:01: INFO[main]: Audio: Initializing...
    16:47:01: INFO[main]: Audio: Vorbis extension NOT present
    16:47:01: INFO[main]: Audio: Initialized: OpenAL 1.1 ALSOFT 1.16.0, using OpenAL Soft
    16:47:01: INFO[main]: GUIEngine: Initializing Lua
    16:47:01: VERBOSE[AsyncWorkerThread_0]: Loading and running script from /usr/share/minetest/builtin/init.lua
    16:47:01: INFO[AsyncWorkerThread_0]: Initializing Asynchronous environment
    16:47:01: VERBOSE[AsyncWorkerThread_1]: Loading and running script from /usr/share/minetest/builtin/init.lua
    16:47:01: INFO[AsyncWorkerThread_1]: Initializing Asynchronous environment
    16:47:01: VERBOSE[AsyncWorkerThread_2]: Loading and running script from /usr/share/minetest/builtin/init.lua
    16:47:01: INFO[main]: SCRIPTAPI: Initialized main menu modules
    16:47:01: VERBOSE[main]: Loading and running script from /usr/share/minetest/builtin/init.lua
    16:47:01: INFO[AsyncWorkerThread_2]: Initializing Asynchronous environment
    16:47:01: VERBOSE[AsyncWorkerThread_3]: Loading and running script from /usr/share/minetest/builtin/init.lua
    16:47:01: INFO[AsyncWorkerThread_3]: Initializing Asynchronous environment
    16:47:01: INFO[main]: Searching worlds...
    16:47:01: INFO[main]: In /home/dirk/.minetest/worlds:
    16:47:01: INFO[main]: Spielwelt
    16:47:01: INFO[main]: 1 found.
    16:47:01: VERBOSE[main]: OpenALSoundManager::maintain(): 0 playing sounds, 0 sound names loaded
    16:47:01: INFO[main]: Audio: Error opening /home/dirk/.minetest/sounds/main_menu.0.ogg for decoding
    16:47:01: INFO[main]: Audio: Error opening /home/dirk/.minetest/sounds/main_menu.1.ogg for decoding
    16:47:01: INFO[main]: Audio: Error opening /home/dirk/.minetest/sounds/main_menu.2.ogg for decoding
    16:47:01: INFO[main]: Audio: Error opening /home/dirk/.minetest/sounds/main_menu.3.ogg for decoding
    16:47:01: INFO[main]: Audio: Error opening /home/dirk/.minetest/sounds/main_menu.4.ogg for decoding
    16:47:01: INFO[main]: Audio: Error opening /home/dirk/.minetest/sounds/main_menu.5.ogg for decoding
    16:47:01: INFO[main]: Audio: Error opening /home/dirk/.minetest/sounds/main_menu.6.ogg for decoding
    16:47:01: INFO[main]: Audio: Error opening /home/dirk/.minetest/sounds/main_menu.7.ogg for decoding
    16:47:01: INFO[main]: Audio: Error opening /home/dirk/.minetest/sounds/main_menu.8.ogg for decoding
    16:47:01: INFO[main]: Audio: Error opening /home/dirk/.minetest/sounds/main_menu.9.ogg for decoding
    16:47:01: INFO[main]: Audio: Error opening /home/dirk/.minetest/sounds/main_menu.ogg for decoding
    16:47:01: INFO[main]: Audio: Error opening /usr/share/minetest/sounds/main_menu.0.ogg for decoding
    16:47:01: INFO[main]: Audio: Error opening /usr/share/minetest/sounds/main_menu.1.ogg for decoding
    16:47:01: INFO[main]: Audio: Error opening /usr/share/minetest/sounds/main_menu.2.ogg for decoding
    16:47:01: INFO[main]: Audio: Error opening /usr/share/minetest/sounds/main_menu.3.ogg for decoding
    16:47:01: INFO[main]: Audio: Error opening /usr/share/minetest/sounds/main_menu.4.ogg for decoding
    16:47:01: INFO[main]: Audio: Error opening /usr/share/minetest/sounds/main_menu.5.ogg for decoding
    16:47:01: INFO[main]: Audio: Error opening /usr/share/minetest/sounds/main_menu.6.ogg for decoding
    16:47:01: INFO[main]: Audio: Error opening /usr/share/minetest/sounds/main_menu.7.ogg for decoding
    16:47:01: INFO[main]: Audio: Error opening /usr/share/minetest/sounds/main_menu.8.ogg for decoding
    16:47:01: INFO[main]: Audio: Error opening /usr/share/minetest/sounds/main_menu.9.ogg for decoding
    16:47:01: INFO[main]: Audio: Error opening /usr/share/minetest/sounds/main_menu.ogg for decoding
    16:47:01: INFO[main]: OpenALSoundManager: "main_menu" not found.
    16:47:05: INFO[main]: Audio: Deinitializing...
    16:47:05: INFO[main]: Audio: Deinitialized.
    16:47:05: INFO[main]: GUIEngine: Deinitializing scripting
    16:47:05: INFO[main]: Searching worlds...
    16:47:05: INFO[main]: In /home/dirk/.minetest/worlds:
    16:47:05: INFO[main]: Spielwelt
    16:47:05: INFO[main]: 1 found.
    16:47:05: INFO[main]: Updating configuration file: "/home/dirk/.minetest/minetest.conf"
    16:47:05: INFO[main]: Skipping writing of /home/dirk/.minetest/minetest.conf because content wouldn't be modified
    16:47:05: INFO[main]: Updating configuration file: "/home/dirk/.minetest/minetest.conf"
    16:47:05: INFO[main]: Skipping writing of /home/dirk/.minetest/minetest.conf because content wouldn't be modified
    16:47:05: VERBOSE[main]: httpfetch_cleanup: cleaning up
    … or on nopaste.info for better readability.
    Since it seems to work for everyone else (otherwise there might be more replies to my quesions in several places, I guess *g*) I’m pretty sure that’s a local problem on my machine. But since gettext properly works on my machine in all and every application that use it I have no clue at all where to start debugging.
    Hints are highly appreciated Thanks in advance!
    Kind regards,
    Dirk

    Hi there...
    It gives me a URL that begins with http:// Safari does something strange, ie. flashes the page, and then complains about not recognizing photo://
    It seems that it has not figured out that it needs to open iPhoto 6.
    Regardless, the provided link is not viewable when cutting and pasting into safari, neither.
    I am using the latest and greatest 10.4.4, Safari is 2.0.3.

  • Disp+work.exe is not working

    Hi Gurus.........i have system ecc6.0 installed , unfortunatly the disp+work.exe is not working (gray in color) .Please help me out.
    below is the dev_dsp file details :
    trc file: "dev_disp", trc level: 1, release: "700"
    sysno      00
    sid        EC6
    systemid   560 (PC with Windows NT)
    relno      7000
    patchlevel 0
    patchno    75
    intno      20050900
    make:      multithreaded, Unicode, optimized
    pid        2196
    Fri Sep 19 21:26:44 2008
    kernel runs with dp version 217000(ext=109000) (@(#) DPLIB-INT-VERSION-217000-UC)
    length of sys_adm_ext is 572 bytes
    SWITCH TRC-HIDE on ***
    ***LOG Q00=> DpSapEnvInit, DPStart (00 2196) [dpxxdisp.c   1237]
         shared lib "dw_xml.dll" version 75 successfully loaded
         shared lib "dw_xtc.dll" version 75 successfully loaded
         shared lib "dw_stl.dll" version 75 successfully loaded
         shared lib "dw_gui.dll" version 75 successfully loaded
         shared lib "dw_mdm.dll" version 75 successfully loaded
    rdisp/softcancel_sequence :  -> 0,5,-1
    use internal message server connection to port 3900
    Fri Sep 19 21:26:49 2008
    WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 5 seconds
    ***LOG GZZ=> 1 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c  5273]
    MtxInit: 30000 0 0
    DpSysAdmExtInit: ABAP is active
    DpSysAdmExtInit: VMC (JAVA VM in WP) is not active
    DpIPCInit2: start server >gcecc6_EC6_00                           <
    DpShMCreate: sizeof(wp_adm)          18304     (1408)
    DpShMCreate: sizeof(tm_adm)          3994272     (19872)
    DpShMCreate: sizeof(wp_ca_adm)          24000     (80)
    DpShMCreate: sizeof(appc_ca_adm)     8000     (80)
    DpCommTableSize: max/headSize/ftSize/tableSize=500/8/528056/528064
    DpShMCreate: sizeof(comm_adm)          528064     (1048)
    DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
    DpShMCreate: sizeof(file_adm)          0     (72)
    DpShMCreate: sizeof(vmc_adm)          0     (1440)
    DpShMCreate: sizeof(wall_adm)          (38456/34360/64/184)
    DpShMCreate: sizeof(gw_adm)     48
    DpShMCreate: SHM_DP_ADM_KEY          (addr: 05EF0040, size: 4653368)
    DpShMCreate: allocated sys_adm at 05EF0040
    DpShMCreate: allocated wp_adm at 05EF1E40
    DpShMCreate: allocated tm_adm_list at 05EF65C0
    DpShMCreate: allocated tm_adm at 05EF65F0
    DpShMCreate: allocated wp_ca_adm at 062C5890
    DpShMCreate: allocated appc_ca_adm at 062CB650
    DpShMCreate: allocated comm_adm at 062CD590
    DpShMCreate: system runs without file table
    DpShMCreate: allocated vmc_adm_list at 0634E450
    DpShMCreate: allocated gw_adm at 0634E490
    DpShMCreate: system runs without vmc_adm
    DpShMCreate: allocated ca_info at 0634E4C0
    DpShMCreate: allocated wall_adm at 0634E4C8
    MBUF state OFF
    DpCommInitTable: init table for 500 entries
    Fri Sep 19 21:26:50 2008
    EmInit: MmSetImplementation( 2 ).
    MM global diagnostic options set: 0
    <ES> client 0 initializing ....
    <ES> InitFreeList
    <ES> block size is 1024 kByte.
    Using implementation flat
    <EsNT> Memory Reset disabled as NT default
    <ES> 511 blocks reserved for free list.
    ES initialized.
    Fri Sep 19 21:26:52 2008
    J2EE server info
      start = TRUE
      state = STARTED
      pid = 2628
      argv[0] = C:\usr\sap\EC6\DVEBMGS00\exe\jcontrol.EXE
      argv[1] = C:\usr\sap\EC6\DVEBMGS00\exe\jcontrol.EXE
      argv[2] = pf=C:\usr\sap\EC6\SYS\profile\EC6_DVEBMGS00_gcecc6
      argv[3] = -DSAPSTART=1
      argv[4] = -DCONNECT_PORT=1044
      argv[5] = -DSAPSYSTEM=00
      argv[6] = -DSAPSYSTEMNAME=EC6
      argv[7] = -DSAPMYNAME=gcecc6_EC6_00
      argv[8] = -DSAPPROFILE=C:\usr\sap\EC6\SYS\profile\EC6_DVEBMGS00_gcecc6
      argv[9] = -DFRFC_FALLBACK=ON
      argv[10] = -DFRFC_FALLBACK_HOST=localhost
      start_lazy = 0
      start_control = SAP J2EE startup framework
    DpJ2eeStart: j2ee state = STARTED
    Fri Sep 19 21:26:55 2008
    rdisp/http_min_wait_dia_wp : 1 -> 1
    ***LOG CPS=> DpLoopInit, ICU ( 3.0 3.0 4.0.1) [dpxxdisp.c   1623]
    Fri Sep 19 21:27:06 2008
    ***LOG Q0K=> DpMsAttach, mscon ( gcecc6) [dpxxdisp.c   11586]
    Fri Sep 19 21:27:12 2008
    DpStartStopMsg: send start message (myname is >gcecc6_EC6_00                           <)
    DpStartStopMsg: start msg sent
    Fri Sep 19 21:27:20 2008
    CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
    Fri Sep 19 21:28:30 2008
    CCMS: start to initalize 3.X shared alert area (first segment).
    Fri Sep 19 21:28:33 2008
    DpJ2eeLogin: j2ee state = CONNECTED
    DpMsgAdmin: Set release to 7000, patchlevel 0
    MBUF state PREPARED
    MBUF component UP
    DpMBufHwIdSet: set Hardware-ID
    ***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c   1050]
    DpMsgAdmin: Set patchno for this platform to 75
    Release check o.K.
    Fri Sep 19 21:28:52 2008
    ERROR => W0 (pid 2636) died [dpxxdisp.c   14241]
    ERROR => W1 (pid 2644) died [dpxxdisp.c   14241]
    ERROR => W2 (pid 2652) died [dpxxdisp.c   14241]
    ERROR => W3 (pid 1632) died [dpxxdisp.c   14241]
    ERROR => W4 (pid 908) died [dpxxdisp.c   14241]
    ERROR => W5 (pid 2660) died [dpxxdisp.c   14241]
    my types changed after wp death/restart 0xbf --> 0xbe
    ERROR => W6 (pid 2668) died [dpxxdisp.c   14241]
    my types changed after wp death/restart 0xbe --> 0xbc
    ERROR => W7 (pid 2676) died [dpxxdisp.c   14241]
    my types changed after wp death/restart 0xbc --> 0xb8
    ERROR => W8 (pid 2684) died [dpxxdisp.c   14241]
    ERROR => W9 (pid 640) died [dpxxdisp.c   14241]
    ERROR => W10 (pid 2692) died [dpxxdisp.c   14241]
    my types changed after wp death/restart 0xb8 --> 0xb0
    ERROR => W11 (pid 2700) died [dpxxdisp.c   14241]
    my types changed after wp death/restart 0xb0 --> 0xa0
    ERROR => W12 (pid 732) died [dpxxdisp.c   14241]
    my types changed after wp death/restart 0xa0 --> 0x80
    DP_FATAL_ERROR => DpWPCheck: no more work processes
    DISPATCHER EMERGENCY SHUTDOWN ***
    increase tracelevel of WPs
    NiWait: sleep (10000ms) ...
    NiISelect: timeout 10000ms
    NiISelect: maximum fd=1637
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri Sep 19 21:29:02 2008
    NiISelect: TIMEOUT occured (10000ms)
    dump system status
    Workprocess Table (long)               Fri Sep 19 15:59:02 2008
    ========================
    No Ty. Pid      Status  Cause Start Err Sem CPU    Time  Program  Cl  User         Action                    Table
    0 DIA     2636 Ended         no      1   0             0                                                             
    1 DIA     2644 Ended         no      1   0             0                                                             
    2 DIA     2652 Ended         no      1   0             0                                                             
    3 DIA     1632 Ended         no      1   0             0                                                             
    4 DIA      908 Ended         no      1   0             0                                                             
    5 DIA     2660 Ended         no      1   0             0                                                             
    6 UPD     2668 Ended         no      1   0             0                                                             
    7 ENQ     2676 Ended         no      1   0             0                                                             
    8 BTC     2684 Ended         no      1   0             0                                                             
    9 BTC      640 Ended         no      1   0             0                                                             
    10 BTC     2692 Ended         no      1   0             0                                                             
    11 SPO     2700 Ended         no      1   0             0                                                             
    12 UP2      732 Ended         no      1   0             0                                                             
    Dispatcher Queue Statistics               Fri Sep 19 15:59:02 2008
    ===========================
    --------++++--
    +
    Typ
    now
    high
    max
    writes
    reads
    --------++++--
    +
    NOWP
    0
    1
    2000
    1
    1
    --------++++--
    +
    DIA
    5
    5
    2000
    5
    0
    --------++++--
    +
    UPD
    0
    0
    2000
    0
    0
    --------++++--
    +
    ENQ
    0
    0
    2000
    0
    0
    --------++++--
    +
    BTC
    0
    0
    2000
    0
    0
    --------++++--
    +
    SPO
    1
    1
    2000
    1
    0
    --------++++--
    +
    UP2
    0
    0
    2000
    0
    0
    --------++++--
    +
    max_rq_id          10
    wake_evt_udp_now     0
    wake events           total     6,  udp     2 ( 33%),  shm     4 ( 66%)
    since last update     total     6,  udp     2 ( 33%),  shm     4 ( 66%)
    Dump of tm_adm structure:               Fri Sep 19 15:59:02 2008
    =========================
    Term    uid  man user    term   lastop  mod wp  ta   a/i (modes)
    Workprocess Comm. Area Blocks               Fri Sep 19 15:59:02 2008
    =============================
    Slots: 300, Used: 1, Max: 0
    --------++--
    +
    id
    owner
    pid
    eyecatcher
    --------++--
    +
    0
    DISPATCHER
    -1
    WPCAAD000
    NiWait: sleep (5000ms) ...
    NiISelect: timeout 5000ms
    NiISelect: maximum fd=1637
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri Sep 19 21:29:07 2008
    NiISelect: TIMEOUT occured (5000ms)
    DpHalt: shutdown server >gcecc6_EC6_00                           < (normal)
    DpJ2eeDisableRestart
    MsIDelService: delete service J2EE for myself
    NiBufSend starting
    NiIWrite: hdl 3 sent data (wrt=161,pac=1,MESG_IO)
    MsINiWrite: sent 161 bytes
    send msg (len 110+51) to name           MSG_SERVER, type 0, key -
    MsSndName: MS_DEL_PROPERTY ok
    Send 51 bytes to MSG_SERVER
    MS_DEL_PROPERTY : asynchronous call
    send MsDelService(J2EE) to msgserver
    DpIJ2eeShutdown: send SIGINT to SAP J2EE startup framework (pid=2628)
    killing process (2628) (SOFT_KILL)
    DpIJ2eeShutdown: j2ee state = SHUTDOWN
    NiBufISelUpdate: new MODE -- (r-) for hdl 4 in set0
    SiSelNSet: set events of sock 1508 to: ---
    NiBufISelRemove: remove hdl 4 from set0
    SiSelNRemove: removed sock 1508 (pos=2)
    SiSelNRemove: removed sock 1508
    NiSelIRemove: removed hdl 4
    DpDelSocketInfo: del info for socket 4 (type=8)
    NiICloseHandle: shutdown and close hdl 4 / sock 1508
    NiBufIClose: clear extension for hdl 4
    DpModState: buffer in state MBUF_PREPARED
    NiBufSend starting
    NiIWrite: hdl 3 sent data (wrt=110,pac=1,MESG_IO)
    MsINiWrite: sent 110 bytes
    MsIDetach: send logout to msg_server
    MsIDetach: call exit function
    DpMsShutdownHook called
    NiBufISelUpdate: new MODE -- (r-) for hdl 3 in set0
    SiSelNSet: set events of sock 1536 to: ---
    NiBufISelRemove: remove hdl 3 from set0
    SiSelNRemove: removed sock 1536 (pos=3)
    SiSelNRemove: removed sock 1536
    NiSelIRemove: removed hdl 3
    MBUF state OFF
    AdGetSelfIdentRecord: >                                                                           <
    AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0
    AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
    AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
    blks_in_queue/wp_ca_blk_no/wp_max_no = 1/300/13
    LOCK WP ca_blk 1
    make DISP owner of wp_ca_blk 1
    DpRqPutIntoQueue: put request into queue (reqtype 1, prio LOW, rq_id 16)
    MBUF component DOWN
    NiICloseHandle: shutdown and close hdl 3 / sock 1536
    NiBufIClose: clear extension for hdl 3
    MsIDetach: detach MS-system
    cleanup EM
    EsCleanup ....
    EmCleanup() -> 0
    Es2Cleanup: Cleanup ES2
    ***LOG Q05=> DpHalt, DPStop ( 2196) [dpxxdisp.c   10259]
    Good Bye .....

    The work process are dying
    ERROR => W1 (pid 2644) died [dpxxdisp.c 14241] *** ERROR => W2 (pid 2652) died [dpxxdisp.c 14241
    This lead the dispatcher to emergency shutdow:
    DISPATCHER EMERGENCY SHUTDOWN ***
    if the dispatcher cannot start the work process it force the shutdown.So, you need to check
    at the work process trace (dev_w*) files to find out the reason the they are dying.
    @deeptss     
    if you are talking about the WARNING
    WARNING => DpNetCheck: NiAddrToHost(1.0.0.0)took 5 seconds ***
    this is a normal situation if the reverse name resolution is not working.
    I have found this error when the DNS server has without the reverse zone configured.
    However this is not a problem to the dispatcher operation.
    Cheers
    Clebio

  • MEI1/MEI2 not working despite settings and prerequisites

    Dear,
    I am experiencing difficulties once I try to perform MEI1/MEI2.
    My case is I have created a PO today with a normal PB00 (from an Inforecord) and after I have created the PO (note the GR and IR have not yet been done) I have later today created a Condition RL01 (1%) with MEK1, for the Vendor, valid from 01.07.2010 until 31.12.1999.
    Now I want to update the PO with this RL01 Condition.
    Therefore I customized the following (based on input I gathered from this and other forums) IMG-activities within MM>Conditions>Automatic Document Adjustment:
    1. Activate Change Pointer for Message Category CONDBI;
    flagged CONDBI as active
    2. Control Purchasing Document Adjustment;
    Added the following:
    30     RL01     Vendor Discount %     2     Pricing     44     Vendor
    Now as I learn from the i(nfo)-button/Program Documentation in MEI1, besides the customizing and the fact that GR/IR must not be posted yet, I have to run RMEBEIN4/MEI4 first and from the forums I learned that I also first need to run MEI3 in case the Document index active-indicator (LFM1-BLIND) is not set in my Vendor master.
    Since we have not/do not want to set this indicator, I first ran MEI3 with the following fields inputted:
    u2022     Save under version = 000
    u2022     Purchasing document = my test PO
    u2022     Automatic document adjustment = X
    u2022     Subsequent settlement = X
    u2022     Name of run = u2018testu2019
    u2022     New run? = X
    u2022     Termination date = 20.07.2010 (=Today)
    u2022     Termination time = 12:00
    This goes presumibly well since I get the following message: Entries were created for 1 documents in the index.
    Next I ran MEI4:
    Flagged the following indicators:
    u2022     Purchasing documents
    u2022     Pricing Documents
    u2022     Flag processed change pointers for reorganization
    u2022     Flag all change pointers for reorganization
    Set the Condition change date from = 01.07.2010 to 31.12.2010
    Also, this goes presumibly well since I get the following message: Worklist generated successfully
    Next I ran MEI1 and then the fun is overu2026
    I inputted the following:
    u2022     Purchase Documents: my test PO
    u2022     Price Determination Type = New price determ. for changed price elements, adopt manual
    u2022     Manual selection of Worklist (Documents) to Be processed = X
    u2022     Delete worklist after processing = X
    u2022     Maximum Documents for Each Processing Step During Asynchronous Update = 1
    Then, nothing happens since I get the following message:
    No documents belonging to document category Purchase Order/Scheduling Agre adjusted
    Message no. NI050
    Diagnosis
    You have not chosen any documents of category 'Purchase Order/Scheduling Agre' for processing.
    Procedure
    Please check your selections.
    Can anybody tell me what I am doing wrong here and how I can get this thing working?
    Thanks a whole lot in advance!

    Dear Bart
    I am struggling with the same issue and I have followed another thread, 3381576, which shed some additional light on the topic that might get you a bit further in the solution of the issue of MEI1 not working.
    I will try the solution in the mentioned thread and get back to you with the result.
    Kind regards
    Mats

  • BPEl Human Activity Issue - Reject case is not working

    Hi All,
    I have bpel processs. It is works like this:
    It has a human task for approval from manager with ACCEPT or REJECT as outcomes.
    Once the manager Accepts the request, the initiator (say applicant) should get a email updating the status as accepted.
    And when the request is rejected by manager, then the initiator(say applicant) should get an email updating the status.
    The problem is the human activity is working fine for ACCEPT and sending email. But struck up for REJECT outcome. It is waiting for task completion from manager, i mean completion of human activity even though it is completed as the manager rejected it.
    Audit activity log when Human activity got REJECTed by manager:
    *"waiting for "onTaskCompleted" from "TaskService". Asynchronous callback"*
    I tried the below things.
    1) Deleted the task form --> saved the process --> closed Jdev --Re-opened  JDev and created a new task form. Still the same behavior. Not working for REJECT case.
    Can some body help me in figuring out the issue.
    I am using SOA suite 10.1.3.1 n JDev 10.1.3.1
    Thanks,

    Hi,
    I could figure out the solution to the problem.
    The issue was with xquery. I build it wrongly. I could find this from my domain logs.Then I corrected the query. Now it is working fine.
    Thanks,
    Irfan khan

  • 9scale will not work with mask

    Hi all
    been trying to use the 9scale feature on a moviclip that
    change its size
    according to an image being loaded
    and then setting it as a mask to the content
    the clip 9scale feature works as expected
    as long as it's not a mask
    did any of you tried any of the sort ?
    for example
    a gallery
    loading an external image into a clip
    i want the frame of the image to be a rounded edges rectangle
    therefore i use a clip to set the mask
    which suppose to scale itself according to the image being
    loaded
    9scale will not work niether with a ui layer mask
    nor with a setMask( ) unfortunatly
    here is the code
    on the stage are the clips
    set to 9scale mode in the properties via the library
    thanks
    yariv
    //set width according to the image loaded
    //setMask doesn't work
    var mcl:MovieClipLoader = new MovieClipLoader();
    var l:Object = new Object()
    l.onLoadInit = function(target:MovieClip) {
    //trace(target._width)
    target._parent.bg_mc._width = target._width + 15;
    target._parent.mask_mc._width = target._width ;
    target.setMask(target._parent.mask_mc)
    mcl.addListener(l)
    mcl.loadClip("collaborate.jpg",container_mc)

    I know I've found 9-scale to be quite buggy and
    unpredicatble. Shame.
    Jecykl

  • BPM-Raise Exception does not work

    I have designed the BPM in following way.
    1. Receive step - Receive Asynchronous message
    2. Defined the Block - DB
    3. Send step 'A'  to JDBC - inside the Block-'DB' - Acknowledgement-Transport, Exceptions System Error-DB, Receiver from-Send context.
    4. Created an exception handler and Selected 'DB' as exception handler for the property of the exception handler branch.
    5. Inserted the Send step-'B' to send mail inside the exception handler branch by using the MAIL receiver adapter.
    We want send the message to update database by using JDBC adapter but if it fails to update database then we want send an e-mail to outlook.
    But it looks like it is not working when it fails to update database.
    Can someone please help me?
    Thanks in advance!

    Hi,
    According to the SAP online help documentation for the receiver JDBC adapter:
    <i>The receiver JDBC adapter supports system acknowledgments but not application acknowledgments.</i>
    What you will need to do is either get a system error triggerred by the adapter (which basically throws up the red flag and tells XI that the message could ot be delivered successfully) , or get the application to trigger a fault message back to the adapter. I have not worked with the JDBC adapter, so I cant tell you in more detail.
    Here are some links that I have been able to find that might help you...
    Statuses in the monitor :
    http://help.sap.com/saphelp_nw04/helpdata/en/ea/2f053d39177608e10000000a114084/frameset.htm
    Dealing with Exceptions in BPM
    http://help.sap.com/saphelp_nw04/helpdata/en/33/4a773f12f14a18e10000000a114084/frameset.htm
    Cheers
    Manish

  • Button w/in movie clip not working

    I know this question has been raised before and it usually
    just boils down to using the frame #'s and labels. But, even with
    that it is not working.
    I have a map of the US and when each state is rolled over I
    would like a menu to appear - this menu is a list with several
    options and all of the options are buttons. I have it set up so
    that each state is its own MovieClip and each has an invisible
    button over it for the hit area and the menu to appear. (i didn't
    want it to be simply when it rolls over the state movie clip
    because the hit would be square, covering other states and causing
    a mess of pop up menus)
    Anyway, the menu pops up fine, but the buttons within do not
    work. Any ideas of what I'm doing wrong? Thanks Much!!!!
    wi_mc.stop(); // wi_mc is the state movie clip
    wi_btn.onRollOver = function(){ //wi_btn is the invisible
    button
    wi_mc.gotoAndStop(15); //frame 15 is where my menu resides
    wi_btn.useHandCursor = false;
    wi_mc.onRollOut = function(){
    wi_mc.gotoAndStop(1);

    Alright, I've made adjustments to how I've got it all set up.
    I've made the menu it's own swf file, (seeing as how I'm going to
    have 48 of them in total I figured it was less messy to have each
    as their own file). Anyways... here's the current problem and I'm
    hoping someone has a good explaination for why this would be
    happening...
    on my main file I have 2 invisible buttons - 1 is calling the
    movie to load when rolled over and the other is calling the movie
    to unload when a roll-out occurs. RollOver works great - fully
    functional menu shows up. Roll out, however, is having some issues.
    The invisible button is in the same location of the menu, same size
    etc. so that when the user rolls away from this the menu should
    "unload".
    For some reason it's acting as if the hit area for the roll
    out is off. I did a trace to find out where it's saying the rollout
    areas are and the first is actually when I roll onto it, then only
    again when i roll out from the left side of the graphic. I've tried
    deleting the button and creating a new one but the same thing is
    happening.
    Any ideas for a very confused person trying to complete this
    simple task of unloading a swf via rollout? MUCH appreciated!!!!
    this.createEmptyMovieClip("ExternalSWFHolder",
    this.getNextHighestDepth());
    var SWFLoader:MovieClipLoader = new MovieClipLoader();
    wi_btn.onRollOver = function(){
    SWFLoader.loadClip("wi_menu.swf", ExternalSWFHolder);
    wi_rollout.onRollOut = function (){
    SWFLoader.unloadClip(ExternalSWFHolder);

  • Preloader not working when image scroller present

    Hi:
    I designed a .fla that involves a large panoramic image that
    I stitched together in PhotoShop, then imported into the library
    and made into a movie clip, I then have the movie clip of the
    panoramic load into an image scroller (the one in the components
    library) on the main timeline so you get the sense you are panning
    through the photo. Within the movie clip of the panoramic there are
    buttons in it that then call other movie clips to load another
    movie clip on top of the image scroller.
    code attached to the buttons is:
    on(release){
    _root.attachMovie("myMovie", "screen",1);
    _root.screen._x =10;
    _root.screen._y =425;
    My issue is the file is so large that I have made created a
    preloader.
    If I load the movie clip of the panoramic directly onto the
    timeline the preloader works fine...
    When I try to load the imagescroller that calls the movie
    clip my preloader does not work at all...
    Does anyone have any ideas?
    I will gladly supply you with any code you may need.
    Thank you
    Janalese

    Thank you for your information. It worked great as far as...I
    could build a preloader and have the movie show up on the screen as
    I wanted. Now for problem number two that has developed...
    The MovieClipLoader that calls external .swf file. This is a
    movie that has an image scroll bar that calls a movie clip that
    scrolls a panoramic photo. Within that movie clip of the panoramic
    I have buttons that then call other movie clips from the library
    using
    on(release){
    _root.attachMovie("myModelScroll", "screen",1);
    _root.screen._x =10;
    _root.screen._y =425;
    This is an example of what I am doing
    I have a panoramic shot that is in an image scroller, that
    panoramic is of a group of buildings each building has a button
    next to it. Those buttons then call up another movie clip from the
    library using the attachMovie clip to show another mini movie clip
    of what the building looks like inside, and what the purpose is.
    Issue:
    The buttons within the movie clip that is loaded into the
    image scroller fail to work. If I just load the .swf files into the
    browser it works just fine...
    but the issue is I have a huge file with an image scroller so
    I need a progress bar and a MovieClipLoader function.
    How do I now get the other code attached to the buttons
    within the movie clip that says attachMovieClip to work within the
    context.
    I am so baffelled as to why it won't work...
    Here is the code to my preloader and movieClipLoader
    My actionScript skills are very limited so any help is
    greatly appreciated but needs to be supplied in simple language.
    Thank you very much

  • Calling Quit LabVIEW function in a callback VI is not working

    calling Quit LabVIEW function inside a Callback VI (of an activeX component) is not closing the current instance of LabVIEW.
    does anyone else have this issue?
    RENN
    LV2012SP1 64bit
    Kudos always welcome for helpful posts

    Sounds similar to this - https://decibel.ni.com/content/message/48506#48506
    The bug is that the Quit LV function does not work when called from a VI launched through Asynchronous Call By Reference
    AQ said that that bug was resolved in the 2013 beta, so you could try joining the beta to see if that solution also works for your case.
    Try to take over the world!

  • Why fms3 edge mode can't not work like fms2 ?

    Step 1:
    Yesterday,I use edge mode with fms2.05 , and I do like this
    URL (
    http://www.adobe.com/devnet/flashmediaserver/articles/webcasting_fme_print.html)
    PC A run FME 2.5 (flash media encode )+ FMS 2.05 (orgin mode
    ,use install by default setup)
    IP address:192.168.1.1 OS :windows xp sp2
    PC B run FMS 2.05 (edge mode ,use install by default setup
    and modify C:\Program Files\Adobe\Flash Media Server
    2\conf\_defaultRoot_\_defaultVHost_\Vhost.xml , "local"
    ->"remote" )
    IP address :192.168.1.2 OS: windows 2003 sp1
    PC C run a viewlive.swf made by me like this:
    nc = new NetConnection();
    nc.connect("rtmp://192.168.1.2/?rtmp://192.168.1.1/live");
    nc.onStatus = function(info) {
    if (info.code == "NetConnection.Connect.Success") {
    createNetStream(this);
    createNetStream = function (nc) { ns = new
    NetStream(nc);myvid.attachVideo(ns);myvid.smoothing =
    true;ns.play("test", -1);};
    I can see the live webcasting on PC C, all think is OK !
    Step 2
    Today , I install fms3.02 instead of fms2.05 in PC A and PC
    B, do the same thing like Step 1
    but run the viewlive.swf can't see anything.
    I check PC B : C:\Program Files\Adobe\Flash Media Server
    3\logs\core.00.log
    2008-05-24 18:33:14 3480 (i)2581231 Core (3480) connected to
    admin. -
    2008-05-24 18:33:14 3480 (i)2581246 Core (3480) sending
    register cmd to edge. -
    2008-05-24 18:33:14 3480 (w)2631008 Asynchronous I/O
    operation failed (Failed to attach to completion port:
    参数不正确。 87). -
    2008-05-24 18:33:15 3480 (i)2581234 Core (3480) connection to
    admin accepted. -
    Asynchronous I/O operation failed (Failed to attach to
    completion port: 参数不正确。
    87). Why ?
    Should anybody can help me?

    This works. I change the visible property instead of using
    removeChild, though I don't know why yours does not work.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:WindowedApplication xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute">
    <mx:states>
    <mx:State name="state2">
    <mx:SetProperty target="{popupbutton1}" name="visible"
    value="false"/>
    </mx:State>
    </mx:states>
    <mx:Script>
    <![CDATA[
    [Bindable]
    public var treeXml:XML=
    <Child>
    <Child fatherCategoryId="0" categoryName="expenses"
    categoryId="38">
    <Child fatherCategoryId="38" categoryName="eat"
    categoryId="40"/>
    </Child>
    <Child fatherCategoryId="0" categoryName="income"
    categoryId="39">
    <Child fatherCategoryId="39" categoryName="salary"
    categoryId="41"/>
    </Child>
    </Child>
    ]]>
    </mx:Script>
    <mx:Button x="84" y="32" label="state1"
    click="currentState=''"/>
    <mx:Button x="166" y="32" label="state2"
    click="currentState='state2'"/>
    <mx:PopUpButton id="popupbutton1" height="24" width="150"
    textAlign="left" label="please select..." x="84" y="85">
    <mx:popUp>
    <mx:Tree id="cateTree" dataProvider="{treeXml}"
    labelField="@categoryName" showRoot="false"
    width="160" textAlign="left"/>
    </mx:popUp>
    </mx:PopUpButton>
    </mx:WindowedApplication>

  • Some bidirectional binding not works

    Hello!
    Maybe I do something wrong, but bidirectional binding in thic simple code not works properly.
    package simple;
    import javafx.application.Application;
    import javafx.scene.GroupBuilder;
    import javafx.scene.Scene;
    import javafx.scene.SceneBuilder;
    import javafx.scene.control.CheckBox;
    import javafx.scene.control.CheckBoxBuilder;
    import javafx.scene.paint.Color;
    import javafx.stage.Stage;
    public class BiDiBug extends Application {
      CheckBox checkBoxResizable;
      public static void main(String[] args) {
        Application.launch(args);
      @Override
      public void start(Stage stage) {
         stage.setResizable(true);
        Scene scene  = SceneBuilder.create()
          .width(200)
          .height(100)
          .fill(Color.TRANSPARENT)
          .root(
            GroupBuilder.create()
                 .children(
                    checkBoxResizable = CheckBoxBuilder.create()
                      .selected(stage.isResizable())
                      .text("Is Stage resizable")
                      .build()
                  .build()
           .build();
        checkBoxResizable.selectedProperty()
                .bindBidirectional(stage.resizableProperty());
        // This code not works too:
        //stage.resizableProperty()
        //          .bindBidirectional(checkBoxResizable.selectedProperty());
        stage.setScene(scene);
        stage.show();
    }Is it bug or feature?

    The binding seems to work, in the sense that stage.resizable gets updated accordingly. Try adding the following:
        stage.resizableProperty().addListener(new ChangeListener<Boolean>() {
          @Override
          public void changed(ObservableValue<? extends Boolean> observable,
              Boolean oldValue, Boolean newValue) {
            System.out.printf("stage.resizable changed from %s to %s%n", oldValue, newValue);
        });and you'll see that the resizable property does indeed change when you check/uncheck the checkbox.
    On my setup (Mac OSX 10.7.5), under JavaFX 2.2.7, JDK 1.7.0_17, I observe the same behavior as you: the resize behavior of the stage does not correspond to the value of its property. The [url http://docs.oracle.com/javafx/2/api/javafx/stage/Stage.html#resizableProperty]Javadocs for stage.resizable do say "This is a hint which allows the implementation to optionally make the Stage resizable by the user." So in fairness, there is no guarantee given that changing this value will have the desired effect.
    Interestingly, under JavaFX 8, JDK 1.8.0 (early access, b80), your code works. However, the Javadocs for the stage.resizableProperty() in JavaFX 8 additionally state
    >
    Warning: Since 8.0 the property cannot be bound and will throw RuntimeException on an attempt to do so. This is because the setting of resizable is asynchronous on some systems or generally might be set by the system / window manager.
    so while bindBidirectional(...) seems to work, bind(...) does indeed throw a RuntimeException.
    Given all that, I would not try to bind to the resizable property at all. If you only need unidirectional binding, Shakir's solution above will work. If you genuinely need bidirectional binding (for example, if the stage's resizable property might be changed elsewhere in the application, and you need the checkbox to update accordingly), you can "do it by hand":
        checkBoxResizable.selectedProperty().addListener(new ChangeListener<Boolean>() {
          @Override
          public void changed(ObservableValue<? extends Boolean> obs,
              Boolean oldValue, Boolean newValue) {
            if (stage.isResizable() != newValue.booleanValue()) {
              stage.setResizable(newValue);
        stage.resizableProperty().addListener(new ChangeListener<Boolean>() {
          @Override
          public void changed(ObservableValue<? extends Boolean> obs,
              Boolean oldValue, Boolean newValue) {
            if (checkBoxResizable.isSelected() != newValue.booleanValue()) {
              checkBoxResizable.setSelected(newValue);
        }); which seems to work in all versions (again, on my system).

Maybe you are looking for

  • Is there a way to transfer subtitles (text) from one iMovie file to another?

    Hi, I spent literally hours of my life using iMovie 09 to add subtitles to a video before realising that I'd added them to the wrong one! You see, when I imported the video that I actually wanted to add subtitles to, instead of showing up at the top

  • Monitoring dual core (Supervisor Engine 7-E) through EEM Script.

    Hi, I have a Cisco Catalyst 4500E Supervisor Engine 7-E and configured an EEM Script to monitor the dual core CPU Utilization through PRTG Network Monitor. event manager applet dualcore authorization bypass event timer cron cron-entry "* * * * 0-6" a

  • Time Machine permissions problem!! Help!

    I have important data on my time machines backup and yesterday did a full reinstall of OSX after backing all my old stuff up on the time machine drive. Now time machine wont let me restore my data due to access privileges!! In the permissions it show

  • Weird things going on with my contacts. Anyone else???

    My phone lost almost all internet and phone signal after the last update. I took it in the the local apple store and they traded me a new phone for my old one. New phone still had 1.1.2 on it. Took it home, downloaded the new itunes, and did the sync

  • Move from one environment to another

    how to move universe from development environment to testing and to production??? which tool do we use to ove from one env to another???