Localization in Flash CC

Hi guys, I made an app a few years ago and the client is now asking for a german translation, where is the best place to look for tutorials on localization? The whole app is being updated now as it was starting to look dated. Most things I've found are for CS5 or CS6 using the Strings panel, but this is no longer supported in CC. What do I need to search for? From what Ive read you use XML files which contain the different languages, is this still correct? Sorry if this is a simple question but I've been searching for hours and every time I find something I think is useful it turns out to be for an older version and is no longer supported
Any help, or links would be great
Thanks Steve

you use the urlloader class to load your xml files.  eg,
var xml:XML;
var urlloader:URLLoader=new URLLoader();
urlloader.addEventListener(Event.COMPLETE,loadcompleteF);
ulrloader.load(new URLRequest(xml_english.xml));
function loadcompleteF(e:Event):void{
xml=XML(e.target.data);
//do whatever with xml

Similar Messages

  • Captivate 4 - Localize the Flash Player

    Hi,
    I'm a new user of Captivate 4. I've created several tutorials in Captivate 4 and need to localize them into French. I've attempted to follow the steps outlined in the Help document to add a French Play bar (e.g. CPPlaybar_FRA.swf). However, when I check my Captivate files I cannot find the Localisation folder identified in the Help document.
    Do I need to re-install Captivate 4? Any assistance would be greatly appreciated.
    Thanks, Tom

    Hi Lilybri,
    I using Windows XP Professional as OS.
    In the meantime, would it be possible for someone to send me a copy of CPPlaybar_FRA.swf from the Localisation folder?
    My email is [email protected]
    Thanks, Tom

  • How do I localize Flash CS5.5 iOS app to one language

    What method or process do I use to set an iOS app to only one language?
    I recently had an iPad app written in Flash CS5.5 approved at the iTunes app store. I noticed at the iTunes store, it indicates that my app is localized in 14 different languages. I never set this up; it seems that there is a process that automatically adds several default language localizations to the ipa binary when the file is published. I tried the strings panel, used a var to set the localID, went into the SDK for flex and flash builder and deleted the locales (could not find anything similar for Flash itself), but none of this seems to prevent Flash from adding the language defaults. I have found many examples on how to localize my app for several languages, but nothing on how to set it to only one.
    Thanks much, Jon

    Well, I followed the iOS language list in iTunes thread   in this forum and was able to get rid of them all. I have to say that not any single reply in the thread was exactly right. It took a combination of Saumitra Bhave's and spinlight's replies and mass of trial and error to get it all to work. Even the App loader utility came up as obsolete! I have uploaded the updated binary to Apple and am awaiting their approval. The biggest issue is the placement of and actual coding in the entitlements plist; spinlight had the right idea, but, at least in my case, was coded out a bit different. Also, it was not exactly apparent that you had to use the teminal untility to recodesign the app after tearing it apart. Thank the heavens I have a least a basic understanding of how things work on the Mac and was able to puzzle it out. If Apple approves the app and all things look good, I will follow up here with what I did. Of course, if Adobe would kill this bug with a giant can of bug spray, this crazy work around wouldn't be needed...
    Thanks much,  Jon

  • Flash Localization Scripting

    Hi
    Does anyone know if it is possible to access some of the
    functions of the Strings panel (used for localization) through JSFL
    or AS3 ?
    I would like to automate parts of the process of converting
    single-language Flash files to multi-lingual files.
    Thanks

    Sometimes there are no easy solutions to complicated problems, you just pick the one that you can accomplish that gets the job done. If the text in the movie are symbols, instances of objects, and are named/labeled then they can be changed to different ones without going through all frames, you would have to know and use the names of those objects however, and then code them to globally change to different instances of other objects (transltd .vs.) with some event/function, all in one block of code on frame one on an action layer, so to speak.
    I am far from an expert, but I don't see a magic bullet here if it wasn't set up that way to begin with, like with XML, or the .fla library built and named well enough to identify the names of instances/objects to create the code that will change them.

  • Force flash builder 4 plugin localization

    Hello there,
    I've successfully installed the flash builder 4 plugin in a Spring Tool Suite IDE. The IDE is localized in english, but the text content related to flash builder appears in french, as my operating system is localized in french (I didn't choose that ). Could someone please tell me if there is a conventional way to set up the english localization ?
    Thanks for your help.

    Hi,
    Eclipse/java will default to the system locale settings, but you can override that by using two lines such as these at the top of your eclipse.ini file:
    -nl
    en_US
    -Chris

  • Java.lang.NoClassDefFoundError: flash/localization/ILocalizer

    After I installed Flex_Module_for_Apache_and_IIS in Linux, I
    found that it doesn't work.
    Then I try to compile the mxml file using compiler.sh, but
    the error found:
    compiler.sh SubmitUsingGet.mxml
    Exception in thread "main" java.lang.NoClassDefFoundError:
    flash/localization/ILocalizer
    at flex2.tools.apache.Client.main(Unknown Source)
    But the class flash.localization.ILocalizer can be found in
    swfkit.jar, and I have added it to CLASSPATH.
    Any idea?
    Thanks very much!

    Remove the below entry in web.xml and try
    <context-param>
    <param-name>org.apache.myfaces.trinidad.ALTERNATE_VIEW_HANDLER</param-name>
    <param-value>org.apache.myfaces.trinidadinternal.facelets.TrinidadFaceletViewHandler</param-value>
    </context-param>

  • Flash CS5.5 + AIR2.7 : How can i affect the localizations of the App Binary

    Hi,
    i have already produced an iPhone App with CS5.5 / AIR2.7 and it was accepted by Apple.
    BUT: In the Store there is a whole bunch of languages listed, which are announced to be supported.
    How can i disable them? The App is only for english und german.
    Obviously these localizations are listed in the "Binary Details" of the App, visible in iTunesConnect.
    But i can't find a way to disable the other languages.
    How can i solve this problem?
    Thanx,
    Mike

    Hi,
    i have already produced an iPhone App with CS5.5 / AIR2.7 and it was accepted by Apple.
    BUT: In the Store there is a whole bunch of languages listed, which are announced to be supported.
    How can i disable them? The App is only for english und german.
    Obviously these localizations are listed in the "Binary Details" of the App, visible in iTunesConnect.
    But i can't find a way to disable the other languages.
    How can i solve this problem?
    Thanx,
    Mike

  • Firefox is constantly freezing up, and I can't get it going again until I close pluginscontainer.exe which, when freezing, is quite large (sometimes even as big as 300MB). What is causing this? It seems to happen on pages with Flash.

    I have already tried reinstalling Firefox, using both the BETA and Stable releases. I've cleared all of my plugins and started over with them, reinstalling Flash multiple times as well. After an uninstallation, I even went as far as deleting Mozilla from my Appdata folder on my user account and from Program Files to assure complete uninstallation.
    This crash happens multiple times in a day, I can't go 20 minutes of browsing without this happening.
    Also, there are multiple instances of plugin-container.exe running (right now, 5).
    Thank you so much for your help, this issue has been driving me up the wall and I just could not get it to stop.

    There is a known issue where multiple instances of plugin container open if history or cookies are cleared. Are you, or some utility clearing firefox cookies or history, that could be the reason. This problem continues even if plugins are disabled in Firefox.
    *Are you opening multiple instances of Flash Player ?
    * Is the problem reproducible ? <br/> for instance does it always crash the plugin or cause it to hang if you use a particular site ?
    If you get the FlashPlayer plugin crashing use the option to submit the crash reports, it is then possible to follow them up. It is possible to stop the plugincontainer opening, but that could result in a firefox crash. Of course the firefox crash can also send crash reports out, and that could be useful.
    * see [[plugin crash reports]]
    * [[what is plugin-container]]
    * [[firefox crashes]]
    There are some problems with FlashPlayer currently under investigation, and there may be other threads in the forum about problems. (e.g. Bug 561019 - Plugin waveOutOpen hangs )
    Sometimes using Firefox 3.6 is a workaround that helps with FlashPlayer problems, if you wish to experiment with that consider installing firefox Portable and using Firefox 3.6.23 (or soon 3.6.24) for tests with flash player, whilst keeping firefox 7 for day to day browsing.
    * [[http://portableapps.com/apps/internet/firefox_portable/localization#legacy36]]

  • HP Mini 110-3520ca constantly restarts when trying to restore from usb flash drive

    Hi,
    I have a HP Mini 110-3520ca that I upgraded to Windows 8, but was having issues with freeze ups and shut downs so I decided to go back to Windows 7 Starter.    When I tried to restore to factory default the files were corrupted and I couldn't restore from the recovery hard drive or my external back up files.  I ordered the recovery  USB flash drive from HP and tried to restore from it.  It completes the Recovery Preparation and the Software Installation finishes, Windows starts to load, but Ithen it goes back to welcome to Recovery Manager.  When I try to start Windows without the flash drive I get an error log that is below.  Can someone tell me how to fix this or what needs to be done to get my Windows working again, any help would be greatly appreciated.
    Carol.
    Error Log: 
    Component: TDC Preinstall Diagnostic Tools for Windows 7 - TDC
    Timing: Factory Update
    This is not a Regional SKU
    This is not an RCTO P2PP SKU
    Error: Different LOC# detected:
    Error: SKU number LOC# = 00
    Error: REGSKU/OptionDashCode.ini value for ABC = 12
    Error: SKU number incorrect for this LOC#=ABC.
    Next Step: Please dash sku number with xxxxxx-12x
    Next Step: Or use EEPROM and change LOC# in either SKU Number or CTO Localization Code
    [17:16:38.37] ------------------------------------------------------------------------------------------
    ***CTO Error condition has been dtected in [Factory Update] phase !! ***
    [17:16:38.38] Suggest to create PIN-log and send to TWN PDC NB-PreinPM for further analysis ...
    [17:16:38.38] ------------------------------------------------------------------------------------------
    [17:13:54.75] Start BBOffline.cmd...
    UPDrv=[C:]
    [17:13:54.77] Set UIA Error Code to 951
    [17:13:55.39] WinPE is 32bit.
    [17:13:55.39] Starts [FixUps].
    [17:13:55.41] ---------------------------------------------------------------------
    [17:13:55.41] FixUps.cmd...
    [17:13:55.41] create overall progress info...
    [17:14:15.89] FixUps.cmd completed...
    [17:14:15.89] ---------------------------------------------------------------------
    [17:14:15.91] Starts [Tweaks for SSRD].
    [17:14:15.92] ---------------------------------------------------------------------
    [17:14:15.92] SSRD Tweaks to change user default locale...
    [17:14:15.92] Copy C:\System.sav\Util\TDC\MCPP\FBIRES\FBIUSRES.DLL.
    [17:14:16.09] Run "Dism.exe /image:C:\ /Set-SKUIntlDefaults:en-US -image:C:".
    [17:14:23.50] ---------------------------------------------------------------------
    [17:14:23.50] Launch PININST.exe for Offline ...
    [17:14:33.78] Starts [Sleep 10 sec].
    [17:14:43.86] Starts [Create RStoneFUpdate.INI].
    [17:15:20.91] Starts [create 1GB Pagefile for offline].
    Volume in drive C has no label.
    Volume Serial Number is 868D-C760
    Directory of C:\system.sav\bbv
    10/27/2014 05:15 PM 1,073,741,824 pagefile.sys
    1 File(s) 1,073,741,824 bytes
    0 Dir(s) 38,502,694,912 bytes free
    [17:15:21.04] move boot.wim from FactoryUpdate to 2ndCap.
    [17:15:21.10] Brand detection.
    [17:15:21.80] ---------------------------------------------------------------------
    [17:16:10.26] Start SysID Check...
    [17:16:13.30] Start Option Code Checks...
    SKU_DEF_COUNTRY=[39]
    SKU_DEF_SYS_LOC=[fr-CA]
    Reset country in administrator...
    Reset country in Default user...
    Reset System localed
    Deployment Image Servicing and Management tool
    Version: 6.1.7600.16385
    Image Version: 6.1.7600.16385
    Reporting offline international settings.
    Default system UI language : en-US
    System locale : fr-CA
    Default time zone : Pacific Standard Time
    User locale for default user : en-US
    Location : Canada (GEOID = 39)
    Active keyboard(s) : 0409:00000409
    Keyboard layered driver : PC/AT Enhanced Keyboard (101/102-Key)
    Installed language(s): en-US
    Type : Fully localized language.
    The operation completed successfully.
    Updated System Locale info..
    [17:16:27.37] Start PIN Tweaks...
    [17:16:28.38] ---------------------------------------------------------------------
    [17:16:28.40] PIN Tweaks to hide All for BurnBoot BBV and BBV2 on restored image...
    [17:16:28.40] ----------------------------------------
    [17:16:28.40] Tweaks for OOBE's Unattend.xml
    [17:16:28.40] to pick up the proper file...
    [17:16:28.41] ----------------------------------------
    [17:16:28.41] rename unattend.org to unattend.or_
    [17:16:28.44] ----------------------------------------
    [17:16:28.44] without Light Sensor..
    [17:16:28.48] ----------------------------------------
    [17:16:28.49] This is Restored image by SSRD [SSRD.flg]...
    [17:16:28.51] ---------------------------------------------------------------------
    [17:16:29.40] Start MIR Tweaks...
    [17:16:30.43] ---------------------------------------------------------------------
    [17:16:30.43] [MIR Tweaks] ...
    [17:16:30.43] ---------------------------------------------------------------------
    [17:16:31.44] Start Factory Update(s)...
    [17:16:33.45] Start QFE Offline installation...
    [17:16:38.13] PININST_OFF: PASSED...
    [17:16:38.21] Type C:\System.sav\Logs\BBFindEr.log...
    [17:16:38.23] Type C:\System.sav\Logs\BBFindE0.log...
    ---------- C:\SYSTEM.SAV\LOGS\PININST_OFF.LOG
    Result=PASSED
    [17:16:38.24] There was no QFE installation...
    [17:16:38.24] Check FUList.log if there is duplicate Desc...
    Couldn't access C:\System.sav\logs\FUList.log...
    [17:16:38.35] No Duplicated Desc is found... PASSED.
    [17:16:38.37] There was no Factory Update...

    Hi @Savvy58
    I did some further looking into that Error Log you posted. Basically, it means that is looking for a certain location that doesn't seem to be there. This could be a problem with the USB Recovery drive that you have. I would recommend that you contact HP. You can reach HP Total Care at 1-800-474-6836 in North America or start here if you live outside of North America.
    Please click “Accept as Solution ” if you feel my post solved your issue.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Thank you,
    BHK6
    I work on behalf of HP

  • USB flash disk is not mounting, Xfce doesn't remember the setting

    Hello,
    I'm new in Archlinux and I think I can't set up it well. I use Linux for four years /Ubuntu, Debian/.
    Now I have installed system with X server, Slim and Xfce.
    1/ I have one big problem. I want to automount my flashdisk but it doesn't work like in Debian. I don't know what is wrong. When I put my flashdisk to USB, it's blinkig but nothing else happened. But I see the flashdisk in lsusb
    [root@arch martin]# lsusb
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 004 Device 003: ID 04d9:048e Holtek Semiconductor, Inc. Optical Mouse
    Bus 001 Device 003: ID 1005:b113 Apacer Technology, Inc. Handy Steno 2.0/HT203
    2/ Xfce doesn't remember the settings... When I log out and log in again, the panel, desktop and keyboard have the default settings all the time.
    3/ All is in english. I'm from Czech Republic /excuse my bad english/ and I want to have applications in czech language. I've set up and generated locales but nothing happened...
    Thank you a lot to solve those problems!!
    Some files...
    rc.conf
    # /etc/rc.conf - Main Configuration for Arch Linux
    # LOCALIZATION
    # LOCALE: available languages can be listed with the 'locale -a' command
    # DAEMON_LOCALE: If set to 'yes', use $LOCALE as the locale during daemon
    # startup and during the boot process. If set to 'no', the C locale is used.
    # HARDWARECLOCK: set to "", "UTC" or "localtime", any other value will result
    # in the hardware clock being left untouched (useful for virtualization)
    # Note: Using "localtime" is discouraged, using "" makes hwclock fall back
    # to the value in /var/lib/hwclock/adjfile
    # TIMEZONE: timezones are found in /usr/share/zoneinfo
    # Note: if unset, the value in /etc/localtime is used unchanged
    # KEYMAP: keymaps are found in /usr/share/kbd/keymaps
    # CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
    # CONSOLEMAP: found in /usr/share/kbd/consoletrans
    # USECOLOR: use ANSI color sequences in startup messages
    LOCALE="cs_CZ.utf8"
    DAEMON_LOCALE="no"
    HARDWARECLOCK="localtime"
    TIMEZONE="Europe/Prague"
    KEYMAP="cz-qwertz"
    CONSOLEFONT="lat2-16"
    CONSOLEMAP="8859-2"
    USECOLOR="yes"
    # HARDWARE
    # MODULES: Modules to load at boot-up. Blacklisting is no longer supported.
    # Replace every !module by an entry as on the following line in a file in
    # /etc/modprobe.d:
    # blacklist module
    # See "man modprobe.conf" for details.
    MODULES=(nvidia)
    # Udev settle timeout (default to 30)
    UDEV_TIMEOUT=30
    # Scan for FakeRAID (dmraid) Volumes at startup
    USEDMRAID="no"
    # Scan for BTRFS volumes at startup
    USEBTRFS="no"
    # Scan for LVM volume groups at startup, required if you use LVM
    USELVM="no"
    # NETWORKING
    # HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
    HOSTNAME="arch"
    # Use 'ip addr' or 'ls /sys/class/net/' to see all available interfaces.
    # Wired network setup
    # - interface: name of device (required)
    # - address: IP address (leave blank for DHCP)
    # - netmask: subnet mask (ignored for DHCP) (optional, defaults to 255.255.255.0)
    # - broadcast: broadcast address (ignored for DHCP) (optional)
    # - gateway: default route (ignored for DHCP)
    # Static IP example
    #interface=eth0
    #address=192.168.0.2
    #netmask=255.255.255.0
    #broadcast=192.168.0.255
    #gateway=192.168.0.1
    # DHCP example
    interface=eth0
    address=
    netmask=
    gateway=
    #interface=
    #address=
    #netmask=
    #broadcast=
    #gateway=
    # Setting this to "yes" will skip network shutdown.
    # This is required if your root device is on NFS.
    NETWORK_PERSIST="no"
    # Enable these netcfg profiles at boot-up. These are useful if you happen to
    # need more advanced network features than the simple network service
    # supports, such as multiple network configurations (ie, laptop users)
    # - set to 'menu' to present a menu during boot-up (dialog package required)
    # - prefix an entry with a ! to disable it
    # Network profiles are found in /etc/network.d
    # This requires the netcfg package
    #NETWORKS=(main)
    # DAEMONS
    # Daemons to start at boot-up (in this order)
    # - prefix a daemon with a ! to disable it
    # - prefix a daemon with a @ to start it up in the background
    # If something other takes care of your hardware clock (ntpd, dual-boot...)
    # you should disable 'hwclock' here.
    DAEMONS=(hwclock syslog-ng dbus udev evdev network netfs crond slim)
    eth0="dhcp"
    INTERFACES=(eth0)
    ROUTES=(!gateway)
    /etc/X11/xinit/xinitrc
    #!/bin/sh
    userresources=$HOME/.Xresources
    usermodmap=$HOME/.Xmodmap
    sysresources=/etc/X11/xinit/.Xresources
    sysmodmap=/etc/X11/xinit/.Xmodmap
    # merge in defaults and keymaps
    if [ -f $sysresources ]; then
    xrdb -merge $sysresources
    fi
    if [ -f $sysmodmap ]; then
    xmodmap $sysmodmap
    fi
    if [ -f "$userresources" ]; then
    xrdb -merge "$userresources"
    fi
    if [ -f "$usermodmap" ]; then
    xmodmap "$usermodmap"
    fi
    # start some nice programs
    if [ -d /etc/X11/xinit/xinitrc.d ] ; then
    for f in /etc/X11/xinit/xinitrc.d/* ; do
    [ -x "$f" ] && . "$f"
    done
    unset f
    fi
    #twm &
    #xclock -geometry 50x50-1+1 &
    #xterm -geometry 80x50+494+51 &
    #xterm -geometry 80x20+494-0 &
    #exec xterm -geometry 80x66+0+0 -name login
    exec ck-launch-session startxfce4
    /etc/slim.conf
    # Path, X server and arguments (if needed)
    # Note: -xauth $authfile is automatically appended
    default_path /bin:/usr/bin:/usr/local/bin
    default_xserver /usr/bin/X
    xserver_arguments -nolisten tcp vt07
    # Commands for halt, login, etc.
    halt_cmd /sbin/shutdown -h now
    reboot_cmd /sbin/shutdown -r now
    console_cmd /usr/bin/xterm -C -fg white -bg black +sb -T "Console login" -e /bin/sh -c "/bin/cat /etc/issue; exec /bin/login"
    #suspend_cmd /usr/sbin/suspend
    # Full path to the xauth binary
    xauth_path /usr/bin/xauth
    # Xauth file for server
    authfile /var/run/slim.auth
    # Activate numlock when slim starts. Valid values: on|off
    numlock on
    # Hide the mouse cursor (note: does not work with some WMs).
    # Valid values: true|false
    # hidecursor false
    # This command is executed after a succesful login.
    # you can place the %session and %theme variables
    # to handle launching of specific commands in .xinitrc
    # depending of chosen session and slim theme
    # NOTE: if your system does not have bash you need
    # to adjust the command according to your preferred shell,
    # i.e. for freebsd use:
    # login_cmd exec /bin/sh - ~/.xinitrc %session
    #login_cmd exec /bin/bash -login ~/.xinitrc %session
    login_cmd exec ck-launch-session startxfce4
    # Commands executed when starting and exiting a session.
    # They can be used for registering a X11 session with
    # sessreg. You can use the %user variable
    # sessionstart_cmd some command
    # sessionstop_cmd some command
    # Start in daemon mode. Valid values: yes | no
    # Note that this can be overriden by the command line
    # options "-d" and "-nodaemon"
    # daemon yes
    # Available sessions (first one is the default).
    # The current chosen session name is replaced in the login_cmd
    # above, so your login command can handle different sessions.
    # see the xinitrc.sample file shipped with slim sources
    sessions xfce4,icewm,wmaker,blackbox
    # Executed when pressing F11 (requires imagemagick)
    screenshot_cmd import -window root /slim.png
    # welcome message. Available variables: %host, %domain
    welcome_msg Welcome to %host
    # Session message. Prepended to the session name when pressing F1
    # session_msg Session:
    # shutdown / reboot messages
    shutdown_msg The system is halting...
    reboot_msg The system is rebooting...
    # default user, leave blank or remove this line
    # for avoid pre-loading the username.
    default_user martin
    # Focus the password field on start when default_user is set
    # Set to "yes" to enable this feature
    #focus_password no
    # Automatically login the default user (without entering
    # the password. Set to "yes" to enable this feature
    #auto_login no
    # current theme, use comma separated list to specify a set to
    # randomly choose from
    #current_theme default
    current_theme archlinux-darch-white
    # Lock file
    lockfile /var/lock/slim.lock
    # Log file
    logfile /var/log/slim.log
    locale -a
    [root@arch martin]# locale -a
    C
    POSIX
    cs_CZ.utf8
    en_US
    en_US.iso88591
    en_US.utf8
    Last edited by Zelva (2011-09-05 18:19:15)

    With xfce4 I use .....mount /dev/sd(xx) /mnt/md...
    Setup .../mnt/md in /mnt with ..cd /mnt...mkdir /mnt/md
    This will mount the flash drive.
    I do not know automount for xfce4.

  • Flash player crashes in videoseek

    Hi,
    I have a very difficult problem, because I cannot find the point where my osmf player crashes of video seek.
    It is different from time to time. In some cases it crashes after the third seek, sometimes on the first.
    The main scenario is that the rtmp video starts playing and after a few quick seeks in the timeline which call the seekTime() function the whole browser crashes. Can it be caused by to many positions behind the dot, if the number is decimal?
    Here a small code preview:
    private function seekTime( value:Number ):void {
        if ( mediaPlayer && !!seeking ) {
            if ( mediaPlayer.playing ) {
                pause();
            var mediaTime : TimeTrait = mediaPlayer.media ? mediaPlayer.media.getTrait( MediaTraitType.TIME ) as TimeTrait : null;
            var mediaSeek : SeekTrait = mediaPlayer.media ? mediaPlayer.media.getTrait( MediaTraitType.SEEK ) as SeekTrait : null;
            if ( mediaTime && mediaSeek ) {
                if ( mediaSeek.canSeekTo( value ) ) {
                    mediaSeek.addEventListener( SeekEvent.SEEKING_CHANGE, onMediaSeekChange );
                    seeking = true;
                    mediaSeek.seek( value );
                } else {
                    trace("seek failed");
    private function onMediaSeekChange( event:SeekEvent ):void {
        seeking = event.seeking;
        if ( !event.seeking ) {
            var seekable : SeekTrait = event.target as SeekTrait;
            seekable.removeEventListener( SeekEvent.SEEKING_CHANGE, onMediaSeekChange);
            if ( mediaPlayer ) {
                play();
    The videoplayer is created in this class:
    private function createVideoPlayer( startTime:Number=-1, endTime:Number=-1 ):void {
        this.removeEventListener( VIDEO_CONNECTION_CLOSED, onVideoConnectionClosedByPlayRequest ); // this eventlistener is only important for play request & timeout
        if ( playerConnection ) {
            playerConnection.removeEventListener( NetStatusEvent.NET_STATUS, onConnectionStatusChange );
            playerConnection = null;
        if ( !netLoader ) {
            var connection : NetConnectionFactory = new NetConnectionFactory( false );
            connection.addEventListener( NetConnectionFactoryEvent.CREATION_COMPLETE, onNetConnectionCreated, false, 0, true );
            connection.addEventListener( NetConnectionFactoryEvent.CREATION_ERROR, onNetConnectionError, false, 0, true );
            netLoader = new NetLoader( connection );
        var streamRes : StreamingURLResource;
        if ( startTime >= 0 && endTime >= 0 ) {
            streamRes = new StreamingURLResource( videoUrl, null, startTime, endTime );
        } else {
            streamRes = new StreamingURLResource( videoUrl);
        streamRes.urlIncludesFMSApplicationInstance = true;
        mediaElement = new LightweightVideoElement( streamRes, netLoader );
        var loadTrait : LoadTrait = mediaElement.getTrait( MediaTraitType.LOAD ) as LoadTrait;
        loadTrait.addEventListener( LoadEvent.LOAD_STATE_CHANGE, onMediaElementLoadChange );
        var layout : LayoutMetadata = new LayoutMetadata();
        layout.width                = uint( videoContentHolder.width );
        layout.height               = uint( videoContentHolder.height );
        layout.scaleMode            = ScaleMode.LETTERBOX;
        layout.horizontalAlign      = HorizontalAlign.CENTER;
        layout.verticalAlign        = VerticalAlign.MIDDLE;
        mediaElement.addMetadata(LayoutMetadata.LAYOUT_NAMESPACE, layout);
        if ( !mediaPlayer ) { // mediaplayer existing -> set new clip
            mediaPlayer                           = new MediaPlayer();
            mediaPlayer.currentTimeUpdateInterval = 100;
            mediaPlayer.autoRewind                = false;
            mediaPlayer.autoPlay                  = true;
            if ( !mediaContainer ) {
                mediaContainer = new MediaContainer();
                mediaContainer.graphics.beginFill( 0x000000 );
                mediaContainer.graphics.drawRect( 0, 0, videoContentHolder.width, videoContentHolder.height );
                mediaContainer.graphics.endFill();
                videoContentHolder.addChild( mediaContainer );
        // init eventlisteners only when needed
        mediaPlayer.addEventListener( MediaErrorEvent.MEDIA_ERROR, onError );
        mediaPlayer.addEventListener( MediaPlayerStateChangeEvent.MEDIA_PLAYER_STATE_CHANGE, onMediaplayerStateChange );
        mediaPlayer.addEventListener( TimeEvent.DURATION_CHANGE, onDurationChange );
        mediaPlayer.addEventListener( TimeEvent.CURRENT_TIME_CHANGE, onTimeChange );
        mediaPlayer.addEventListener( MediaPlayerCapabilityChangeEvent.CAN_BUFFER_CHANGE, onCanBufferChange );
        mediaPlayer.addEventListener( MediaPlayerCapabilityChangeEvent.CAN_SEEK_CHANGE, onCanSeekChange );
        mediaPlayer.addEventListener( TimeEvent.COMPLETE, onMediaplayerComplete );
        mediaPlayer.addEventListener( BufferEvent.BUFFERING_CHANGE, onBufferingChange );
        mediaPlayer.media = mediaElement;  
        mediaContainer.addMediaElement( mediaElement );
    I would be really glad if someone could help me.
    Thank you,
    Chris

    As far as I remember when we tried to "localize" the bug for FM-1134 there seems to be a strange behaviour at NetStream itself.
    Sometimes when a seek was performed the following behaviour took place. Here is an abstract from the discussion:
    6) We assume the problem may lie in NetStream itself. The first time we came across the problem we used our serial element implementation inside a parallel. That implementation is used to simulate "playlist" (with prev/next ability) and does not proxy SeekTrait of underlying child. In that case the stack trace (above) was showing a loop between ParallelSeekTrait and NetStreamSeekTrait itself. During an "endless loop" the onNetStatus handler did not get NetStreamCodes.NETSTREAM_SEEK_NOTIFY message after netStream.seek in seekingChangeStart. Moreover previousTime == expectedTime clause in seekingChangeStart was always true - netStream.time (at line 104) always had the same (the one before seek attempt) time - so no ssek was performed inside the NetStream itself or, at least, it was not performed before the next "endless loop" attempt. So the easiest way to "fix" it is may be a use of delay or breaking a chain of loops with waiting of some NetStream status there.
    So (may be) you are in the same kind of endless loop here but affected by the different sircumstances.
    Does your browser crash instantly or hangs at first? If latter, could you pause a debugger and get the stack trace for the moment player hangs?
    Our main concern was the behaviour of composite elements  - and the problem is fixed for us now. However we would like to implement a buffer seek sometimes (as you have described). And there was another problem described in original bug report post that is difficult to reproduce but it is the one  that appears occasionately:
    During the experiments on this issue I've came across another strange video playback behavior.
    When seeking a VideoElement (during the first "pass" or consequent) video display freezes as if paused but the sound continues to play.
    So it somehow continues a playback without screen updates.
    When the reel is over (considering the sound) video stops and rewinds to the first frame or advances to next item in composition.
    May be that issue somehow goes to 10.1 cycle-saving feature (no screen updates when flash player is not visible)?
    Considering the DisplayTrait of VideoElement is just a Video it may be an effect of Flash Player itself.
    Not sure it should go to separate issue due to inconsistent reproduction and seeming affinity to described before.
    However it appears on different computers (both PC and Macs) in our company.
    It is somehow "connected" to seekeing to. So, as I've said above, may be all the problems described are the effects of Flash player malfunction itself?

  • Load a Captivate movie in a Flash movie

    I'm trying to load a captivate 5.5 swf into flash, even with a simple script like:
    import flash.display.MovieClip;
    var request:URLRequest = new URLRequest("captivate.swf");
    var cargar:Loader = new Loader()
    cargar.load(request);
    var mc:MovieClip = new MovieClip();
    this.addChild(mc);
    addChild(cargar);
    I get an actionscript error:
    ReferenceError: Error #1065: No se ha definido la variable pbcBtnTips_FRA.
    at Aluminum_fla::MainTimeline/frame1()
    ReferenceError: Error #1065: No se ha definido la variable pbcBtnTips_SPA.
    at Localization/frame1()
    This seems to be happen only to non-english Captivates, ie Spanish version.
    Any ideas?

    You could pause the Captivate project when you start to preload it by using the Captivate system variables. Then when your file has been loaded 100% you could resume it again by using a different system variable.
    You can see a list of the various system variables here: http://www.cpguru.com/2009/04/28/system-variables-in-captivate-4-%e2%80%93-a-complete-list /
    The relevant variables for you would be:
    rdcmndPause = 1; (to pause the project)
    rdcmndResume = 1; (to resume playback)
    Naturally you need the instancename (where you load your Captivate movie into) infront of the variable name.
    myLoaderContainer.rdcmndPause = 1;
    /Michael

  • Flash CS4 Help File Offline What Happened to Tag Defintions Showing UP?????

    Ok I know I can set the help system to browse offline however
    this doesn't work correctly for any less then ActionScript 3. When
    you highlighted a word in the past such as "null" it use to pull up
    the word and the info in all the books. Now all I see is a web
    browser that doesn't do this for me. I mean who sits there at
    adobe's end and thinks up of ways to slow someone down like this??
    How can you remove the core help quick linking from the program.
    Number 1 not everyone is on AS3 and some of us still have to update
    AS2 code.
    Bigspace ships has an air application that installed AS3 flex
    reference but again useless unless you are on AS3. Has anyone found
    another way to get this old school functionality to work on
    CS4???

    Jay Armstrong here. I’m one of the writers who works on
    the Flash docs.
    Regarding this comment and the many others in other threads
    that have added important details about the issues with the help
    workflow, and in particular the ActionScript help workflow: We hear
    your pain and we are working to implement solutions to these
    issues.
    I understand that this new help workflow is more painful than
    in CS3 when you had the Help right in its own panel in the product.
    Here’s some background:
    The implementation of Help within the Flash Help panel prior
    to CS4 required that *all* the Help files be installed on the local
    drive with the product, resulting in some issues that we tried to
    address in CS4. Including Help on the installation disc caused
    issues including:
    - Required that Help be completed much earlier for
    localization and end-game testing.
    - Resulted in static Help files that had been completed early
    in the development cycle, sometimes not accounting for last minute
    UI or other changes.
    - A long install process.
    - Crowded the installation disc.
    These aren't meant to be full explanations of why we made the
    changes, but just some background as to some of the things we were
    thinking about. Clearly the decisions we came to weren't the right
    ones for many users. We are intent on making things better.
    Moving Help online makes it possible to update Help on an
    ongoing basis, allows users to comment on and embellish the Help,
    and allows us to add links from the help out to new articles,
    tutorials, videos, and code samples on adobe.com and throughout the
    Flash web community. One of you rightly pointed out that the Adobe
    Updater could have been used for some of this, but I believe that
    the updater would have required much more rigorous certification by
    us of any update packages and the update/install process for each.
    We actually are updating the online help files very frequently, so
    this process would have been a major barrier to these updates.
    We’ve had a struggle about how to deliver the Flash
    Help for a long time, as we have a lot of users who have been quite
    vocal about not liking the Help panel consuming space within the
    Flash window as well as users who really want it there so they
    don’t have to leave the IDE.
    Having said all that, I still totally understand what
    you’re saying about losing your code, glance, code, glance,
    code workflow. As you probably know, we’ve been getting a lot
    of feedback about this, along with other issues that online Help
    has caused. We are actively looking at ways of solving these, but
    the Help-in-a-browser issue a difficult problem, as this aspect of
    the Help implementation is baked fairly deep into the CS4 product.
    Since CS4 shipped, we have implemented solutions to some of the
    issues with Help raised by users, such as allowing you to select
    the default destination of F1 (though Flash CS4 always went to the
    actual Help system rather than the Flash Help and Support page,
    which is what these users wanted in other products). I just
    don’t know if there will be a solution in the CS4 time frame
    for viewing Help within Flash itself. As noted in this thread,
    there are a few independent developers working on non-browser help
    viewers, such as Jamie Kosoy, Technical Director at Big Spaceship,
    whose AIR application for the CS4 Language Reference docs is
    available at
    http://labs.bigspaceship.com/2008/12/09/air-app-as3-language-reference/.
    We knew that people use the AS3 Language Reference a lot, so
    we did install a local, abridged version of that with the product.
    You only see it when not connected to the internet or if you
    disable online connections as described earlier in this thread, and
    it still opens in a web browser and still has the same navigation
    interface as the online version. You can also download a local copy
    of the AS Reference, which does get updated periodically and can be
    viewed locally regardless of the state of your internet connection,
    but it also is all html and opens in a web browser. As previously
    noted, the download is available here:
    http://help.adobe.com/support/documentation/en/flash/10/ActionScript3LangRef.zip.
    I know this thread started off with AS2 concerns, and we hear
    those too.
    In some of the other threads out there about the Help, people
    have raised issues about the contents navigation in the CS4 version
    of the ASLR as well. We are listening to all these issues and
    actively working on solutions that will address these questions.
    We’d really like to give you better control over whether you
    see online or local content, whether you see it inside the IDE or
    in a separate application, etc.
    I know that you are all really frustrated at some of these
    help changes, and so I want to say how much we appreciate your
    feedback. I’m sorry that my reply doesn’t give you the
    magic bullet that you are understandably hoping for.
    -Jay

  • Multiple problems with Firefox 3.6.6 - Java Console, Flash, PDF & opening

    running Windows XP with Firefox 3.6.6. I just upgraded to 3.6.6 & since then have been having multiple problems. 1) 3.6.6 takes a LONG time to load or hangs 2) As recommended Flash plugin updated to Flash 10.1. Subsequently Flash doesn't work. All I get when I use Firefox on any site is the F in a circle that indicates that flash is necessary to display the page. I have no problems with Flash on Google Chrome. 3) Java Console having issues. When 3.6.6 opens it says Java Console must be updated. So I update it. Then when it opens it says it's not supported & needs to be removed. Each time it wants me to restart Firefox to complete the task. If I say restart later cause I'm sick of opening & Closing again & again it pops up every 5-10 minutes & asks again. Please HELP!! 4) PDF files will not open since upgrade to 3.6.6. Having no issues with Google Chrome. It opens in miliseconds & runs everything but I prefer Firefox if it can be gotten to work right. Desperately need help.
    == Upon upgrade

    Please respond with a list of all of your Extensions.
    -type '''about:support''' in your URL/address/location bar and press the Enter key
    -click "Copy all to Clipboard"
    -paste into your reply
    <u>'''1).'''</u> Please explain "long time to load" in more detail; approximately how long? Hanging when: on startup of Firefox, during use (please list some sites/pages, if so), at shutdown?
    For hanging at exit:
    <u>'''Kill Application'''</u>
    In Task Manager, does firefox.exe show in the <u>'''Processes'''</u> tab?
    See: [http://kb.mozillazine.org/Kill_application Kill Application]
    '''<u>Causes and solutions for Firefox hanging at exit:</u>'''
    [[Firefox hangs]]
    [http://kb.mozillazine.org/Firefox_hangs#Hang_at_exit Firefox hangs at exit]
    [[Firefox is already running but is not responding]]
    <u>'''Safe Mode'''</u>
    You may need to use '''[[Safe Mode]]''' (click on "Safe Mode" and read) to localize the problem. Firefox Safe Mode is a diagnostic mode that disables Extensions and some other features of Firefox. If you are using a theme, switch to the DEFAULT theme: Tools > Add-ons > Themes <u>'''before'''</u> starting Safe Mode. When entering Safe Mode, do not check any items on the entry window, just click "Continue in Safe Mode". Test to see if the problem you are experiencing is corrected.
    See:
    '''[[Troubleshooting extensions and themes]]'''
    '''[[Troubleshooting plugins]]'''
    '''[[Basic Troubleshooting]]'''
    If the problem does not occur in Safe-mode then disable all of your Extensions and Plug-ins and then try to find which is causing it by enabling <u>'''one at a time'''</u> until the problem reappears. <u>'''You MUST close and restart Firefox after EACH change'''</u> via File > Restart Firefox (on Mac: Firefox > Quit). You can use "Disable all add-ons" on the Safe mode start window.
    <u>'''2).'''</u> Could be caused by a Flash-blocking Extension (the reason for asking for your list of Extensions) or could be in your Firewall or AV/AS application. What Firewall and/or AV/AS applications to you use?
    See: [[Firewalls]]
    <u>'''3).'''</u> Again, the reason for asking for your Extensions. Is it Java Console or Java Deployment Toolkit in the error message. Need version numbers on both of the above. You may have some Java remnants from a prior Java version; Java does not clean-up after itself and we can help you remove some of those remnants, if you will supply the information. See:
    http://support.mozilla.com/en-US/kb/Java-related+issues
    http://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox
    http://support.mozilla.com/en-US/kb/Java+Deployment+Toolkit+Blocked
    http://kb.mozillazine.org/Java
    Some users get confused about Java and JavaScript; here is some information:
    http://kb.mozillazine.org/JavaScript_is_not_Java
    http://support.mozilla.com/en-US/kb/JavaScript
    <u>'''4).'''</u> What are the results when you try to load a PDF file off of the internet? You need to check for an update of Adobe Reader (yours appears to be an older version) and after checking for updates to Adobe Reader, check your settings in Tools > Options > Applications for "Adobe Acrobat" Content Types. See:
    http://support.mozilla.com/en-US/kb/Options+window+-+Applications+panel http://support.mozilla.com/en-US/kb/Managing+file+types
    http://kb.mozillazine.org/File_types_and_download_actions
    <u>'''You'''</u> ~~red:<u>'''MAY'''</u>~~ <u>'''need to Update Adobe Reader for Firefox (aka Adobe PDF Plug-In For Firefox)'''</u>: your ver. N/A; current ver. 9.3.3 (important security update release 06-29-2010; see: http://www.adobe.com/support/security/bulletins/apsb10-15.html)
    ~~red:Check your version here~~: http://www.mozilla.com/en-US/plugincheck/
    See: http://support.mozilla.com/en-US/kb/Using+the+Adobe+Reader+plugin+with+Firefox#Installing_and_updating_Adobe_Reader
    ''<u>You may be able to update from the Adobe Reader installed on your system</u>'' instead of going to the Adobe site and downloading. Start > Program Files, find and click Adobe Reader to open, click Help, click Check for Updates.
    ''<u>If you go to the Adobe site to download the current Adobe Reader:</u>''
    -'''<u>use Firefox to download</u>''' and <u>'''SAVE to your hard drive'''</u> (save to Desktop for easy access)
    ~~red:-See the images at the bottom left of this post to see the steps to take on the Adobe site~~
    -exit Firefox (File > Exit)
    -check to see that Firefox is completely closed (''Ctrl+Alt+Del, choose Task Manager, click Processes tab, if "firefox.exe" is on the list, right-click "firefox.exe" and choose End process, close the Task Manager window'')
    -double-click on the Adobe Reader installer you just downloaded to install/update Adobe Reader
    *<u>'''NOTE: On Vista and Windows 7'''</u> you may need to run the plugin installer as Administrator by starting the installer via the right-click context menu if you do not get an UAC prompt to ask for permission to continue (i.e nothing seems to happen). See this: http://vistasupport.mvps.org/run_as_administrator.htm
    *'''<u>NOTE for IE:</u>''' Firefox and most other browsers use a Plugin. IE uses an ActiveX version. To install/update the IE ActiveX version, same instructions as above, except use IE to download the ActiveX installer. See: [[ActiveX]]
    *Also see: http://kb.mozillazine.org/Adobe_Reader ~~red:'''''AND'''''~~ [[How do I edit options to add Adobe to the list of allowed sites]]

  • Automation testing Flash 8

    Our project is currently faced with having to build an
    automation testing framework for our flash games. We are currently
    using Flash 8, flex, and ActionScript 2, but we are wrapping
    everything for easy transition into Flash 9 and AS 3 as soon as it
    is released.
    The challenge with most industry products like QTP (mercury)
    is that they cannot programmatically interpret Flash UI elements.
    QTP 9.0 professes to have compatibility to Flex 2 through MXML, but
    we are not using MXML because it severely limits the productivity
    of our designers.
    Our flash framework is abstracting all interactive visual
    elements into a component library, so that all versions of a
    particular game are forced to use the same UI element IDs (for
    example: the spin button for a slots game). This allows us to
    implement automation testing scripts that refer to that button ID
    and not the bitmaps x,y location. So, for any variation of this
    game, including localization and branding, i have the luxury of
    using a single script to do my functional testing.
    Here is the problem however. What technology exists out there
    that will allow me to do this? The flash community is huge and i
    find it hard to believe that my research has yielded very little on
    this topic. I've come across things like MSs Active Accessibility,
    but i'm not convinced QTP 9.0 can implement this interface to read
    Flash UI elements. I have looked at an open source tool called
    AutoTestFlash, but i'm not confident it is robust enough.
    Anwyay, what are you guys using to test your flash
    applications? Have you automated these tests? Is it bitmap x,y
    based, or have you attempted to do what i am proposing above? If
    so, what technologies exist out there in the internet ether that
    can help us all save time in the QC grindstone? :)
    Thanks in advance,
    RabidFly

    You can try to test the movie using flash player 8, but more
    than likely code from flash 6 will not be parsed correctly using
    the flash player's engine. You can always uninstall flash player 8,
    install a lower flash player and then test it, but that seems like
    more trouble than what it might be worth.

Maybe you are looking for

  • Safari keeps crashing - do I have a trojan?

    Hi My Safari has been crashing regularly for the last few days. It generally happens soon after waking up the computer from sleep, but also happens randomly after 10-30 minutes use (approx - I'm not really sure). I have been looking at various discus

  • JDBC for JDK1.1 connection with Oracle 8.0.5

    I have a client running Oracle 8.0.5 on an NT machine. I have downloaded the 8.0.5 OCI8 and thin JDBC from Oracle web site. Using the JdbcChecker.java sample code, I am unable to make a connection to the Oracle DB. I tested JDK1.1.8 with the new jdbc

  • How to count the per group-entries and put them in the new table

    Hello Guru, I want to sort the table cdhdr. for example :   SELECT objectclas objectid changenr   *******   INTO TABLE cdhdr_data   FROM cdhdr   WHERE ( ********) AND         objectclas = i_objectclas The problem that I need to order the table by obj

  • IMovie cropping is ignored when move clip to iDVD

    I'm having an annoying problem. I have an existing iDVD project that I want to add some clips to. I have edited some new clips in iMovie and I want to send them to iDVD. I can't share or export them to iDVD because it creates a new iDVD project. I ca

  • Sensors compatibility

    Hello everyone, my name is Santosh and i am from India doing my graduation in mechanical engg and currently in my final year. Our final year group is based upon labview. We are going to use simple ultrasonic sensors and a small servo motor for the pr