[FLASh CS3] Detectar inactividad del teclado

Hola.
Estoy ahciendo una aplicación interactiva, en la que
necesito que tras
un determinado tiempo de inactividad todo vuelva aun punto
determinado.
Hasta ahora utilizaba un script que detectaba unactividad del
ratón,
pero ahora me encuentro en un caso difrente, ya que debo de
detectar
inactividad de teclado, ya que la aplicación se maneja
desde el teclado.
Este es el script que venía usando para detectar
inactividad de ratón:
> onClipEvent (enterFrame) {
> if (mousePos == _parent._ymouse) {
> if (inicio == 0) {
> inicio = getTimer()+6000;
> // 600000 equivalen a 10 minutos....dado que getTimer
cuenta en
milisegundos.
> } else {
> if (inicio<=getTimer()) {
> _root.gotoAndStop(1);
>
> // aqui pondrias en que frame tienes tu menu principal;
> }
> }
> } else {
> inicio = 0;
> }
> mousePos = _parent._ymouse;
> }

podrías capturar los eventos de teclado. Entonces
siempre que se pulse
una tecla invalidas tu código
sinclair escribió:
> Vaya, no me digáis porque pero el anterior correo
se quedó cortado por
> la mitad. Aquí va la parte que faltaba
>
> ¿Me podríais ayudar a modificar este script o
bien a decirme como
> detectar inactividad de teclado para conseguir lo que
busco?
>
> Mil gracias a todos de antemano.
>
> saludos
> Juan

Similar Messages

  • Flash CS3 + Air 1.0 = no test?

    I just installed the new AIR 1.0 plug-in for Flash CS3. I've
    been developing an AIR app in Beta3 and when I open one of my FLAs
    since the update, I can't test or debug my movie from within Flash.
    Is this no longer supported? or have I botched that really
    annoying 4,000 step
    "uninstall/manuallydeleteabunchoffiles/install/butdon'tinstallthisbeforethat/nowyoumayins tall"
    process?
    Any help on how to remedy the problem would be greatly
    appreciated...

    jcedens,
    Please try deleting the application descriptor file
    (swfname-app.xml) that is in the same directory as your swf, then
    test movie again. The problem is because the xml file is of a Beta
    format. Another way to reset it to the release format is to open
    the application and installer settings dialog. Also make sure
    adl.exe is not running in the processes (ctrl alt del, select Task
    Manager > Processes).
    Thanks,
    San

  • [flash cs3] fscommand

    Estoy haciendo un ejecutable en flash con los típicos :
    fscommand ("allowscale", true) ;
    fscommand ("fullscreen", true) ;
    fscommand ("showmenu", false);
    pero en cs3 el exe no funciona? en cambio en el 8 si... como
    se soluciona?
    Gracias

    Gracias Juan a tu respuesta... espero que lo solucionen
    pensaba que debía
    ser un problema mío pues es un tema ciertamente
    preocupante.
    Gracias.
    "Juan Muro" <[email protected]> escribió en el
    mensaje de noticias
    news:gg72el$ib1$[email protected]..
    > Guaj:
    > Pues ciertamente Markus, el problema existe, dado que
    fsCommand está
    > contemplado como acción válida y documentada
    en AS3 y no sé cómo diablos
    > no se ha hablado aquí antes, ya que este es uno de
    los peores bugs
    > conocidos de Flash Player 9, tanto del standAllone, como
    de los plugins de
    > IExplorer y de Firefox.
    > El problema se produce no solo con el fscommand, sino
    también con el
    > getUrl (o igualmente si escribes en AS3 navigateToURL()
    ) y es un bug
    > difícil de explicar.
    > En realidad lo que te sucede es que Flash Player ni
    siquiera ejecuta los
    > primeros comandos, aunque sí el último, y esto
    puede ser debido -a falta
    > de que Adobe saque una mejor explicación- a la
    manera de cargar las
    > ordenes en el mapa o matriz asociativa basada en el
    valor del argumento.
    > La solución en aplicaciones a ejecutar sobre
    navegadores es más complicada
    > que sobre ejecutables. En estos la única manera
    -hasta el momento segura-
    > que conozco para evitarla es poner cada una de las
    órdenes fscommand en un
    > frame diferente, aunque hay quien dice que si pones los
    argumentos en
    > case-sensitive diferentes también funciona:
    > fscommand("trapallkeys","true");
    > fscommand("fullscreen","TRUE");
    > Salu2
    > `8¬]
    > Juan Muro
    >
    > "markus" <[email protected]_nospam> escribió
    en el mensaje de noticias
    > news:gfv34s$qgi$[email protected]..
    >> Estoy haciendo un ejecutable en flash con los
    típicos :
    >> fscommand ("allowscale", true) ;
    >> fscommand ("fullscreen", true) ;
    >> fscommand ("showmenu", false);
    >> pero en cs3 el exe no funciona? en cambio en el 8
    si... como se
    >> soluciona?
    >> Gracias
    >

  • Adobe Flash CS3

    Adobe Flash CS3 will not load. The program tells me to close
    Internet Explorer.
    Internet Explorer is not even open.

    to close internet explorer, even if you don't think it is
    open:
    On a winXP:
    try ctrl-alt-del to the task manager and check the Processes
    tab for the IEXPLORE process. If it is there, then select it and
    click the End Process button.
    If Vista, I imagine the process is much the same, as it is
    still Windows, though I couldn't say it is exactly the same for
    sure without Vista experience.
    If Mac, then right-click (or option-click if you don't have a
    2-button mouse) on the icon in the dock and tell it to quit.
    If the Flash installer still won't work, then fully shut down
    the computer, and restart it, trying to install Flash again as soon
    as you sign in (before you open anything). If it still won't work
    after that, then contact adobe directly (
    http://www.adobe.com/support/contact/)

  • Communications.xml Adobe Flash CS3

    Hi,
    I am very new on the field of flash media (streaming) server
    and i am just trying to follow the examples i found to the
    Developer center. I am using Flash CS3. One of the first things
    that training videos note is to import the Communications.xml file
    on the D:\Program Files\Adobe\Adobe Flash CS3\en\First
    Run\ActionsPanel\CustomActions directory and then reboot the Flash
    CS3.
    Unfortunately, i couldnt manage to find the new features
    (actions). Am i missing anything?
    Thank you very much.
    regards.
    Manos

    to close internet explorer, even if you don't think it is
    open:
    On a winXP:
    try ctrl-alt-del to the task manager and check the Processes
    tab for the IEXPLORE process. If it is there, then select it and
    click the End Process button.
    If Vista, I imagine the process is much the same, as it is
    still Windows, though I couldn't say it is exactly the same for
    sure without Vista experience.
    If Mac, then right-click (or option-click if you don't have a
    2-button mouse) on the icon in the dock and tell it to quit.
    If the Flash installer still won't work, then fully shut down
    the computer, and restart it, trying to install Flash again as soon
    as you sign in (before you open anything). If it still won't work
    after that, then contact adobe directly (
    http://www.adobe.com/support/contact/)

  • Flash CS3 will not exit

    I have installed the CS3 on a Dell workstation with Windows XP SP3 and when I try to exit when finished, Flash will not exit. It seems like it is trying but will not close. There is no error, the program just sits there. You have to right click on the program and click close to get it to close. Then the program wants to send a error.
    Can anyone help?
    JDThornton

    I am having a similar problem. Looks like this issue is languishing in Adobe's legendary support netherworld...

  • Flash CS3 now crashes randomly after 0-30 minutes

    Hello,
    I've been using flash CS3 for years without problem.
    Since the beginning of nov.2010, it crashes after some time of use. More precisely the toolbar disappears, then reappears, some GUI elements blink. It's not related to a specific user action. When this happens, closing flash is difficult (the window remains here). When switching to another app, some Flash parts remains. The graphical memory seems saturated. Launching another app is met with a window error message. A windows restarts becomes necessary.
    This problem arises only in Flash, and with no other apps from CS3 suite.
    2 colleagues of mine has the same issue, also in the last weeks (= nov 2010). We work in separate places. We didn't exchange files.
    We are on Win XP Home Edition, Dell computer.
    They have more recent PCs than mine (which clearly meets the CS3 requirements), with enough memory,etc..
    One colleague has reinstalled winXP. The problem arised again, but I don't know when. He also tried CS4 and CS5 and had the same problem.
    Today he un-installed all Adobe products with this utility: http://www.adobe.com/support/contact/cs5clean.html.
    After this hour of uninstall process, he reinstalled Flash CS3 and used it without network/internet (no funky updates): The problem was still here.
    Does anyone has an idea?

    After desinstalling Avira Antivir (and installing another antivirus software), the problem disappeared.
    Just disabling Antivir is not enough.
    Check this post on Avira forum (in french) for more info from Avira.

  • Flash CS3 will NOT export my flash video

    Alright, so I want to start out by saying, I hate Microsoft
    (always will, they will never get anything right) and if I had
    1500+ bucks I would buy a mac, but I'm stuck with my XP machine.
    My machine is a Dell (reformatted so that I don't have all
    Dell's "junkware"). I have a Pentium 4 3.4 Ghz with HT, 2GB DDR2
    RAM, and a Radeon x600 HyperMemory 256MB graphics card. I also run
    Windows XP and my version of CS3 is Web Premium (Student, but that
    shouldn't make a difference.) So my machine is more than compatible
    with Flash Pro CS3. But for some reason, when ever I do ANYTHING to
    "Publish" my flash video, it (the one and only Windows XP) will
    come up and say that Flash CS3 needs to close. I have tried Debug,
    I'm pretty sure I've tried everything.
    This is my first flash movie and so far I'm getting the worst
    impression from my software. It's not anything that is REALLY
    complicated, All I have is text tweening in and out of my canvas
    (and yes they are converted to symbols).
    Not quite sure what else to do other than give up. Please
    help me!

    I am having a similar problem. Looks like this issue is languishing in Adobe's legendary support netherworld...

  • How do I use a Flex swc in Flash CS3?

    My engineering team has used Flex to create a nice little swc
    for me to use inside of Flash CS3, but now I'm having trouble
    finding any documentation on how to actually import it. Placing it
    in the Components folder doesn't work, as it's not recognized by
    the Components window (either as an AS2 or AS3 swc). Is it even
    possible to use swcs from Flex in Flash? Thank you very much for
    the help.
    -- Jeremy

    Use these links
    Modular Applications
    http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7f22.html
    Creating Flex Libraries
    http://help.adobe.com/en_US/Flex/4.0/UsingFlashBuilder/WS6f97d7caa66ef6eb1e63e3d11b6c4d0d2 1-7fe6.html
    -Pramod
    http://www.flexmycode.com

  • Problem with FLVPlayer in Flash CS3 (need to save out as Actionscript 3.0 SWf file)

    I am using Flash CS3 and am trying to publish a SWf file that
    makes use of the "FLVPlayback" component. I need for this SWF file
    to be published as an Actionscript 3.0 file, so I have set my
    publish settings to Flash Player 9.0 and Actionscript 3.0, but keep
    getting an error as follows:
    "WARNING: The component 'FLVPlayback' requires ActionScript
    2.0."
    Has anyone encountered this?? I am doing something wrong? I'm
    pretty comfortable within Actionscript/Flash 2.0, but am only
    beginning my first steps into the relam of CS3 and AS3.
    I have also attached a screenshot of the files that represent
    my FLVPlayback component (or so I assume). (see this link for
    attachments
    http://www.actionscript.org/forums/showthread.php3?t=140886)
    Thanks all,
    Mark
    http://www.actionscript.org/forums/showthread.php3?t=140886

    Mark,
    > I have set my publish settings to Flash Player 9.0 and
    Actionscript
    > 3.0, but keep getting an error as follows:
    >
    > "WARNING: The component 'FLVPlayback' requires
    ActionScript 2.0."
    Gotcha. You must have started the document in AS2, then
    changed the
    publish settings. Each version of the language has its own
    version of the
    FLVPlayback Component (written in the relevant language).
    Start over and
    compare two compleley new FLA documents: make one for AS3 and
    one for AS2.
    Open the Components panel and note the differences between
    the two. There
    are a different set of Components depending on the language
    chosen for the
    document. Drag the FLVPlayback Component from the Components
    panel in an
    AS3 document, and you'll have the AS3 version.
    David Stiller
    Co-author, Foundation Flash CS3 for Designers
    http://tinyurl.com/2k29mj
    "Luck is the residue of good design."

  • Error embed / insert Flash CS3 9.0 swf in Acrobat 8.1.2

    Goal: embed Flash swf file in Acrobat pdf.
    Software: Flash CS3 9.0, Acrobat Pro 8.1.2, Mac OS 10.5.2 (all updates applied as available 3/27/08). If it matters: Quicktime Player 7.4.1. All swf files are associated to open with Flash Player 9 (9,0,115,0).
    Hardware: PowerMac Dual 2GHz G5, 9.5 GB RAM
    Error Description: This error is seen on 2 out of 3 PowerMacs; the 3rd PowerMac will inexplicably work. Here is what is done to receive error: Open pdf document in Acrobat. Select Movie Tool from Advanced Editing Toolbar, choose swf file from Desktop (pdf file is also saved on Desktop to eliminate network considerations). All defaults are retained in dialog window, when "OK" is pressed, status message "Initializing authoring system" appears and remains indefinitely. "Cancel" is pressed and produces following error message window: "Cannot create the movie annotation because the movie could not be loaded. This can occur if the file cannot be found or the URL is unreachable (make sure proxy server settings are correct)."
    Adobe Support claims Leopard incompatibility with embedded Quicktime 7.3.1 (I have updated to 7.4.1). Also, AS recommended file association of swf to Flash Player exclusively. Have taken all actions recommended...still have problem.
    Anyone have any ideas?

    I believe that the latest version of QuickTime which you no doubt have installed does not support the latest version of Flash (9.0). Since Acrobat depends on QuickTime for multimedia in Acrobat 8 Professional, this feature breaks.
    What needs to happen is for the next version of Acrobat to support Flash directly, not using QuickTime.

  • Quicktime movie export from Flash CS3 is skipping frame.

    When I try to export Quicktime movie from Flash CS3, the
    resulting mov file is skipping frames. i.e.: The movie is showing
    frame number 1, 2, 3, 4, 5, 6, 7, 7, 7, 10, 11, 12, 12, 12, 15
    etc...
    As you can see the frame number 7 is repeated 3 times and
    frame 8 and 9 are nowhere to be found.
    The last configuration I used is 960x540, Sorenson video 3
    medium quality, 25 fps, keyframe every 25 frames. 6400 kbits/s.
    I tried various configurations,with different codecs and even
    with keyframe all frames and I always get simillar problems.
    Anyone have an idea what is going on, and how to fix this?
    Thank you,
    Olivier.

    The QT exporter in Flash is honestly my least favorite
    feature - not the feature itself but how it
    works (or how it doesn't work in some cases). For me it is
    almost unusable unless you have a very
    short timeline, small stage, lower frame rate - like AS
    generated effects or something - otherwise,
    for true frame accuracy to video output - it is not reliable
    enough and not fast enough for any real
    world production environment.
    So typically for me - I love SWF2Video (www.flashants.com) as
    it takes any SWF and makes it into an
    AVI that is frame accurate no matter what the frame rate is -
    quite incredible - enough so that I
    always felt it should have been bundled with Flash (as well
    as Wacom tablets).
    Harmony is an incredible product - as is SOLO and TBS (Toon
    Boom mStudio) - each of those programs
    are dedicated animation programs designed for output to video
    - Flash has a lot of hats to fill and
    it was never really designed for animation to video even
    though many of us have found it suitable
    for all intents and purposes as an animation program for full
    production.
    But all in all - the quicktime exporter doesn't really
    deliver how we would expect it too I am sorry
    to say - I only hope it works as well as it does on the Mac
    (Mac users could always choose to export
    to Quicktime Video but not PC users).
    For now if I am exporting to video I keep it all on the
    timeline or nested in Graphic symbols or use
    the SWF2Video tool.
    hope this helps.
    -chris
    Chris Georgenes / mudbubble.com / keyframer.com / Adobe
    Community Expert
    OBastien wrote:
    > Thank you for your reply Chris.
    >
    > I tried different possible solutions you listed but it's
    not working.
    > Disabling sound had no effects. Changing the FPS is not
    an option, it has to be
    > 25 FPS. I lowered the resolution to 300 something, it
    seemed to be a little bit
    > better, but it still dropped some frame, and the image
    quality was horrible.
    >
    > I think it is really sad that we have to try different
    settings in the hope
    > that flash will grab all the frames. I'm really
    disapointed in Adobe. I'm
    > pretty sure it is the fault of Adobe and not Apple,
    because I don't have does
    > problems with Quicktime in ToonBoom Harmony. What is
    strange is when I do an
    > AVI export I never noticed a dropped frame. I'm not
    using AVI video right now
    > because I can not find a codec that gives me small size,
    fast encoding times,
    > the ability to seek in the movie by dragging the
    timeline progress bar, and the
    > possibility to edit in After Effects. If you know an AVI
    codec that does all
    > that it would be really great news.
    >
    > Thank you again,
    > Olivier.
    >

  • How to add special characters in Flash CS3

    Hi, i need the help of some flash guru… these last weeks we were working with cloversites.com to build a community website… the interface is awesome etc etc however we in Malta have eight special characters (GCZ with a dot on top of them and an H with a second strikethrough). Those at cloversites wrestled with the problem, they could see the characters on their computers but when they entered the text in the site, flash couldn't render the special characters. Here is their message:
    I am extremely sorry about this, but we were unable to add in your characters. We attempted to add them into our software but they did not work. We worked on it all morning and realized that we need an extra add-on for our keyboards. Adding special characters is nothing new to us and have answered this request for many of our international users. For some reason, the Maltese characters did not work in our sites. For example, our "option-G" is the copyright symbol so it will need to be transferred over to international characters.
    Unfortunately, we thing that this has to do with Adobe Flash CS3. The software allowed me to embed the characters, but we were unable to render them on the web. Which led us to think it had to do with the version Adobe is running and its inability to render the text through its software on the web. None of the characters worked on the web, and it looks like its just an Adobe bug. So we are able to type and use the Maltese characters, but Adobe Flash is having trouble with them.
    Does anybody know of any possible solution?

    see if codepoints-to-string() is suitable for you ..
    Re: how to concatenate hexadecimal value to string in XQuery in PS Message Flow

  • How to create a comment form in Flash CS3

    I am trying to create an add comment form in Flash cs3. I
    have the background design and the text input areas and sub mit
    buttons. But how do I get the submit button to add the comment to a
    different area in the same flash file? My inputs and buttons are on
    the left side of the stage and my display comments is on the right
    side of the stage. How do I connect the two?

    The user types something into a text input space and when the
    user then uses the submit button, you want that same, user entered,
    text to display in another, different, text area? If that's the
    case then make that second text area a dynamic textfield and set
    its text property to the text property of the input text
    space.

  • How to creating a web banner in Flash CS3?

    Hi all,
    I'm very new to Flash CS3. Can anyone give me a step-by-step
    instructions on how to make a banner for a web-site? Or a link were
    i can find step-by-step instructions?
    I have googled it but found no real help. I have tryed
    "Youtube" hoping to even fine any one (most likely a child) with
    directions on how to do this. Funny thing is that it seems most 8
    year olds are better at Flash CS3 than I am & i'm 45.
    Anyway, if you can help please make it simple or for the
    simple minded. :)
    Thanks to all!!
    BJ

    I understand your pain...I just posted a similar request
    earlier today for help but finally figured it out on my own. I've
    done lots of searching online and used Adobe's Flash Classroom in a
    Book and also took an online ed2go class and I still don't have a
    good handle on Flash. Nothing seems to give clear step by step
    directions on animating images for web banners. You just have to do
    a lot of trial and error. These websites may help if you don't have
    time for the classes:
    http://www.smartwebby.com/Flash/default.asp
    http://animation.about.com/lr/flash_animation/150331/1/
    mek113

Maybe you are looking for

  • Can not view (some) emails with attachments

    There has already been some discussion about individuals getting the "This message has not been downloaded from the server" error. http://discussions.apple.com/message.jspa?messageID=4983643 Has anyone found a solution to this problem? I am using GMa

  • How to change the default template for a concurrent prog ?

    Hi i have Std Conc prog "Payables Posted Invoice Register". It has a std template with same name "Payables Posted Invoice Register". Now i have created a custom template and attached it to the same Data Definition. The Requirement is that only partic

  • JMS & Servlets

    Hi I'm wondering if anyone could help, I've been looking at creating a servlet with various methods and also sets up its own sleep time, Also these methods of the servlet can be invoked at any time using a JMS message. Im not exactly sure how to go a

  • Ipod taking all music and videos of slowly

    so far my ipod has taken half my music, 2 episodes of tow and a half men, 1 episode of family guy, and 5 episodes of survivor but not all at once it has come off slowly over the past week i try to restore it, but it says your hardware cannot be resto

  • Do I add BI_CONT to ERP?

    Dear Experts I've been given the task to install BI on our demo system (IT scenario Enterprise Reporting, Query, and Analysis). Everything is hosted on a single machine that consist of one AS ABAP instance with ERP ECC6 (Retail) and one JAVA instance