AS3 script to detect spacebar press and score using incremented var

Hi,
Continuing work on eLearning project exercise see: http://forums.adobe.com/message/4682999#4682999
Based on kglad's script there, I am trying to add scoring by detecting a spacebar press when a specific text item is displayed. If the user presses the spacebar while the text is in the text box, then it would increment a variable by +1 (++).
The script I've written to test this (using 1 var for one type of correct "hit" and a second var for a second type of "hit"), when added to the other script, doesn't work. The Flash debugging player freezes. A trace does not show anything, including incrementing of the variable.
Here's the script:
stage.addEventListener(KeyboardEvent.KEY_DOWN,checker);
var targetHit:int;
function checker(e:KeyboardEvent){
while (wordT.text = "3")
   if(e.keyCode==Keyboard.SPACE){
       targetHit++;
       trace(targetHit);
stage.addEventListener(KeyboardEvent.KEY_DOWN,checker2);
var distractorHit:int;
function checker2(e:KeyboardEvent){
   while (wordT.text = "5")
   if(e.keyCode==Keyboard.SPACE){
       distractorHit++;
       trace(distractorHit);
Any suggestions on fixing this script would be appreciated.

Thank you for this helpful suggestion.
By way of explanation:
If the user sees a specific correct "target" word displayed during the 1000ms that it is displayed in the text box, and they press the spacebar, they would receive a +1 added to a score var (targetHit).
The exercise also needs to score/keep track of incorrect hits: when the user presses the spacebar when a specific distractor word is displayed during the 1000ms that it is displayed in the text box. This spacebar press would add +1 to the var distractorHit.
Substituting "if" seems to work.
Now, with the practice blocks of 16 each working sufficient (can tweak them later), need to move on to a slightly more challenging part of the exercise: the 70-word trial blocks.
Will close out this posting as "correct" and post a new question related to the more challenging 70-word versions.

Similar Messages

  • Detect Key Press and Mouse Motion in ONE event?

    Hi
    I am trying to create a functionality where a mouse motion from left to right performs one action, and the same motion while a given key is pressed performs another action.
    How can i combine the two events? How do I unify the KeyEvent and MouseEvent, particulary when I need to capture the directional motion of the mouse together with the key press?
    many thanks for any insight

    you cannot actualy combine them into 1 event but there is an easy way around this:boolean mouseKeyPressed = false;
    public void keyPressed (KeyEvent e)
      if (e.getKeyCode () == ??) \\ or e.isCtrlDown(), e.isAltDown(), ...
        mouseKeyPressed = true;
    public void keyReleased (KeyEvent e)
      if (e.getKeyCode () == ??) \\ or !e.isCtrlDown(), !e.isAltDown(), ...
        mouseKeyPressed = false;
    public void mouseMoved (MouseEvent e)
      if (mouseKeyPressed)
        //processAction
    }hope this helps,
    greetz,
    Stijn

  • Run AS3 script via html codetag?

    From what I know, it is possible to add <a href="....">
    or <a href="mailto:..."> in order to set dynamically a
    specific substring of a text to do either navigation to other page,
    or open to e-mail client. But is it possible to do much more
    important things, by just calling an AS3-function?... I am talking
    about a hyperlink to AS3 script code, instead to email client /
    browser.
    I.e. I want to download dynamic text with the names of
    Authors of papers from a database, and parse them serial i.e.:
    Authors:
    Author1Name,
    Author2Name, ...,
    AuthorKName".
    When the user press on a name, to open a vector flash pop-up
    (MovieClip) as a data-card of the specific Author. This could be
    done if there was an Flash-HTML tag like <a
    fref="loadModule(1)">
    Author1Name</a>, which would run the
    loadModule(1) function of the parent MovieClip that contains
    the dynamic text.
    I know something like this doesn't exist (
    add it to wishlist for future versions! :) ), but is there
    any other way to do it, except from creating one Object per author
    with MouseEvent listeners and place them dynamically to correct x,y
    positions?...

    It's as you describe it, with one problem: the "button"
    position and size is dynamically text-depending and not known
    before the data parsed to screen.
    Example:
    Create a textField and add inside it a dynamic text like:
    "Bill Gates created Microsoft". If this text was static I could add
    2 transparency buttons (listening to: MouseEvent.CLICK), one over
    "Bill Gates" and one over "Microsoft", where the first would make
    visible a movieclip talking about Bill Gates, and the second would
    make visible one movieclip talking about Microsoft.
    But the text can come as: "Microsoft was created by Bill
    Gates", or "There is a company named Microsoft, which was created
    by Bill Gates", or "Windows is a software created by Microsoft.
    Bill Gates was the one that created Microsoft". Thus you can't have
    apriori knowledge on where to put the buttons. In more advanced
    examples, I might not know how many buttons I should place also
    (i.e. of authors - i don't know apriori how many authors a paper
    has).
    This is same as in case of hyperlink: We don't know where a
    hyperlink can be, thus we place a tag for every hyperlink into the
    text that defines that hyperlink position and action.
    The only way to overcome this problem (just though of it) is
    to create my own tag, and before parse the text to check for that
    tag. For every tag to find the starting coordinates of it's inside
    text on the parent movieclip (x,y) and the ending coordinates - and
    providing that they have the same y-coordinate (no line change), to
    create a transparent button at the specific area over the text.
    If this is the only way to do it (thus making my own
    pseudo-html tag inside flash),
    I must know if it is possible to take (x,y) coordinates (in
    pixels) of a letter (upperleft corner) in a dynamic textbox.
    kglad, do you know if this is possible and how to do it?... (It may
    need to open new thread for this)...

  • Need automation script to detect deadlocks in a system.

    Hi ,
    I need a automation script to detect deadlocks in my system.  If any body have any scripts. please share with me.. that would be very helpful to me.
    Note : if i ran the script that would show the list of deadlock occurred in my system that must be automatic process..
    Thanks in advance
    Yangamuni Prasad M

    Hi pradas,
    you can even runthe following and as uri Said Traceflag 1222 must be on (DBCC TRACEON(1222, -1).
    IF
    OBJECT_ID(
    'dbo.usp_DeadlockNotification')
    IS NOT NULL
    DROP
    PROC dbo.usp_DeadlockNotification
    --GO
    CREATE
    PROC dbo.usp_DeadlockNotification
    @FilterBIT
    = 0,
    @Minutes
    INT = 30
    AS
    DECLARE @ErrorLog
    TABLE
    LogDate
    DATETIME NOT
    NULL,
    ProcessInfo
    VARCHAR(75),
    LogInfo
    VARCHAR(MAX)
    create a SQL job and run
    DECLARE @Count
    INT,
    @StartDate
    DATETIME,
    @EndDate
    DATETIME
    SET @Count
    = 0
    SET
    NOCOUNT ON
    -- Step I: Import Errorlog
    INSERT
    INTO @Errorlog
    EXEC
    xp_readerrorlog
    ---- Step II: How to search Errorlog
    IF
    (@Filter
    <> 0)
    BEGIN
    SELECT @EndDate
    = GETDATE()
    SELECT @StartDate
    = DATEADD(mi,
    -@Minutes, @EndDate)
    SELECT @Count
    = COUNT(*)
    FROM @Errorlog
    WHERE LogDate
    BETWEEN @StartDate AND @EndDate
    AND LogInfo
    LIKE '%Deadlock%'
    END
    ELSE
    BEGIN
    SELECT @Count
    = COUNT(*)
    FROM @Errorlog
    WHERE LogInfo
    LIKE '%Deadlock%'
    END
    ---- Step III: Send Email
    IF
    (@Count
    > 0)
    BEGIN
    EXEC msdb.dbo.sp_send_dbmail
    @profile_name
    = 'ABC',
    @recipients
    = '[email protected]',
    @subject
    = 'Deadlocks',
    @body
    = 'Deadlocks'
    END
    Create a agent job and schedule it accordingly as per you requirment and add following step in the job
    EXEC dbo.usp_DeadlockNotification 1, 30
    Thanks,Suhas V

  • Not responding before press and hold any key

    I have to press and hold any key on my blackberry 8520 before it response. This started after downloading some app from the appworld. If I leave the phone for one minute idle and gets a call, I have to press and hold the send key for about 30 seconds before I can pick the call. I hv perfomed the security wipe for more than 3 times and still the problem exist. Need some help pls

    Hi and Welcome to the Community!
    It sounds like those apps may have corrupted the OS, and therefore an OS reload may be required. The simplest way is to, on a PC (you cannot do this on MAC):
    1) Make sure you have a current and complete backup of your BB...you can find complete instructions via the link in my auto-sig below.
    2) Uninstall, from your PC, any BB OS packages
    3) Make sure you have the BB Desktop Software already installed
    http://us.blackberry.com/software/desktop.html
    4) Download and install, to your PC, the BB OS package you desire:
    http://us.blackberry.com/support/downloads/downloa​d_sites.jsp
    It is sorted first by carrier -- so if all you want are the OS levels your carrier supports, your search will be quick. However, some carriers are much slower than others to release updates. To truly seek out the most up-to-date OS package for your BB, you must dig through and find all carriers that support your specific model BB, and then compare the OS levels that they support.
    5) Delete, on your PC, all copies of VENDOR.XML...there will be at least one, and perhaps 2, and they will be located in or similarly to (it changes based on your Windows version) these folders:
    C:\Program Files (x86)\Common Files\Research In Motion\AppLoader
    C:\Users\(your Windows UserName)\AppData\Roaming\Research In Motion\BlackBerry\Loader XML
    6a) For changing your installed BB OS level (upgrade or downgrade), you can launch the Desktop Software and connect your BB...the software should offer you the OS package you installed to your PC.
    6b) Or, for reloading your currently installed BB OS level as well as for changing it, bypass the Desktop Software and use LOADER.EXE directly, by proceeding to step 2 in this process:
    http://supportforums.blackberry.com/t5/BlackBerry-​Device-Software/How-To-Reload-Your-Operating-Syste​...
    Note that while written for "reload" and the Storm, it can be used to upgrade, downgrade, or reload any BB device model -- it all depends on the OS package you download and install to your PC.
    If, during the processes of 6a or 6b, your BB presents a "507" error, simply unplug the USB cord from the BB and re-insert it...don't do anything else...this should allow the install to continue.
    You may also want to investigate the use of BBSAK (bbsak.org) to perform the wipe it is capable of.
    You may also want to try the "Bare Bones OS Reload Procedure" to attempt to narrow down the precise causal item:
    Load your OS "bare bones"...if anything is optional, do not install it.
    If the behavior presents immediately, then try a different OS with step 1
    If the behavior does not immediately present, then run for as long as it takes for you to be sure that the behavior will not present.
    Add one thing -- no matter how tempting, just one.
    If the behavior does not present immediately, then again run for long enough to be sure it will not have the same problem
    Repeat steps 4 and 5 until all things are loaded or the behavior presents
    When the behavior presents, you know the culprit...the last thing you loaded.
    If the behavior does not re-present, then you know that either step 1 or 2 cured it.
    If the behavior presents no matter what, then you likely have a hardware level issue for which no amount of OS or software can cure.
    You may also need the use of these tricks:
    KB10144 How to force the detection of the BlackBerry smartphone using Application Loader
    KB27956 How to recover a BlackBerry smartphone from any state
    http://crackberry.com/blackberry-101-lecture-12-ho​w-reload-operating-system-nuked-blackberry
    If you are on MAC, you are limited to only your carriers sanctioned OS packages...but can still use any levels that they currently sanction. See this procedure:
    KB19915How to perform a clean reload of BlackBerry smartphone application software using BlackBerry Desktop Software
    Good luck and let us know!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Hand tool pressed and its option

    Hi,
    can the hand tool, when it's pressed and when you get the gigantic red rectangle, which zooms out, be stopped in the middle of that process and leave the magnification position of where I stopped?
    I tried with alt, command, ctrl, shift, nothing...

    This is the one and only time I've managed to get a script to work for me, every other script I've attempted to do has failed miserably.
    try {app.layoutWindows[0].zoomPercentage = 130 } catch (e) {};
    Just copy that text and save it in a text editor as something like zoom130, but you can change the figure of 130 to your preference. You can then assign a kbsc to the script.
    I know it's not what the OP wanted, but I think it could be a solution. You could even have two or three of them.
    30%
    130%
    170%
    under shortcut keys F2 F3 F4 or something.
    Just save them as different files with different percentages.

  • Toshiba Portege R705-35 Fails to detect video cam and speakers

    My Portege R705-P35 laptop has stopped detecting my video cam and speakers. I have updated the system Bios, audio (Realtek) and video drivers and recently reformated to reinstall original settings and drivers.  Nothing has worked.  The device manager does not detect the video cam or the standard speakers.  When I connect my Logitech headset through the USB port it picks up both the headset and the microphone.  Both work fine through Skype and in online videos.
    Has anyone else encountered this problem and, if so, figured out the solution? 

    My Portege R705-P35 laptop has stopped detecting my video cam and speakers. I have....recently reformated to reinstall original settings and drivers...The device manager does not detect the video cam or the standard speakers....
    This seems strange for these 2 seperate devices to both fail at the same time. You could also try a proper system reset and see if this helps bring them back.  Power off your system, unplug everything including the AC, remove the battery, press and hold down the power on button for 30 seconds, replace battery and AC, power on, when you see the Toshiba logo press the 'F2' key to enter BIOS Setup, in setup press 'F9' to load setup defaults, press 'F10' to save and exit, boot into Windows, and test your webcam and speakers again.
    But, when you say that you "recently reformated to reinstall original settings and drivers", do you mean that you performed a Toshiba Recovery to return your unit to its factory default out-of-the-box setup, as directed starting on page 60 of your User's Guide? This is considered the gold standard test on whether you have an actual hardware problem/failure or not.
    Mike

  • Reporting Progress and Scores in LMS

    Hi all,
    I am having some trouble incorporating my Captivate presentations into an LMS and getting it to report both progress and assessments correctly.  This could be a lengthy post, so I apologize in advance.
    Let me start by including my current setups:
    The desired outcome is as follows:
    Progress
    - I want to report progress up until the exam; for instance, if a user leaves midway through, on slide 15 of 30, Captivate should relaunch on slide 15 for that user
    - Once I get to the exam, users should not be able to backtrack to previous slides.
    - If the user starts the exam, but doesn't finish, it should report to the LMS whatever score was earned, counting unanswered questions as 0's.
    - Once an exam is failed, and this is the tricky part, I want the course to completely restart.  Right now, it's loading mid-exam, and if I try to go back, it chain-pauses the presentation; possibly a conflict since I have it set to not allow users to go back once the exam is started.  Essentially, once a score is reported, I want to wipe the cookie saving the progress clean.
    Is there a way I can achieve all of this through Captivate?
    Any help would be MUCH appreciated.  Right now, the best compromise I can come up with to check "Never Send Resume Data" and not save a users progress - but when I turn this off, it also isn't communicating the exam scores to the LMS either.
    Thanks in advance!

    I can't promise that you can have everything you want, but perhaps some of your wishes are certainly doable in Captivate.
    I note from your settings that you have the course Report Status set to track Complete/Incomplete rather than Pass/Fail, yet you talk about wanting the user to complete "exam" quiz questions and you also have Report Data set to Quiz Results Only.  There's something inherently contradictory about these settings. Complete/Incomplete is mostly for recording slide views. If recording quiz results is most important, I think you should really be using Pass/Fail.  It's an either/or decision. Most LMSs are far more likely to be reliable on the Pass/Fail setting and some just don't do Complete/Incomplete at all anyway.
    I would also recommend you change your Report to LMS setting to Percent rather than Score.  In my experience, Percent is more LMS "friendly".
    For starters, there are two mechanisms available for allowing the user to resume a course module at the same point they left off:
    One option is to tick the option in TOC settings for Self-paced Learning.  This writes data to a Shared Object (Flash Cookie) on the user's PC that records the slide they finished on.  Captivate doesn't provide a means to erase this cookie out of the box.  You'd have to get some programming done in AS3 to achieve that extra functionality.
    Option 2 is to untick the box in LMS Customisation Settings for Never Send Resume Data.  This then will mean the Captivate lesson DOES send resume data to the LMS.  With this option you are depending on the LMS to keep track of where your user got up to.  But be warned.  This setting is more reliable when it comes to tracking which scored object (e.g, a quiz question slide) the user got up to.  I'm not sure how reliable it is when it comes to tracking slide views because each LMS is slightly different as to it's abilities to track data. In my experience, using Self-Paced Learning is better for straight out slide view tracking, but it's also a pain when users that completed the course come back later to browse the content again because they get shunted straight to the last slide.  Quite annoying.  So I don't use it.
    Now for some of your other wishes:
    To prevent users backtracking to previous slides once they've reached the exam, simply disable Backward movement under Quiz Settings.  Remember that as far as Captivate is concerned, the quiz begins at the very first scored object, which might be a button or click box, not necessarily the first quiz question.
    If a user only partially completes an exam, the LMS should still receive a score for each completed quiz question slide as long as you have Reporting Level set to Interactions and Score.  But be aware that this means the LMS will be getting pinged by the course after each and every user interaction, which can place quite a load on the LMS if there are lots of simultaneous users.
    By default in Captivate, if a user gets a question wrong they get no score for that question.  So that one is easy.
    Your final wish is to force the entire quiz to restart if the user flunks it.  I may be misunderstanding your drift but why not just allow the user multiple attempts at the quiz?  You can set this under Quiz > Settings > Pass/Fail.  Tick the box for Show Retake Quiz Button and place this button right over the top of the Review Quiz button on the Quiz Results slide.  The user will only see the Retake Quiz button if they fail the quiz and when they click it, their previous quiz answers are erased, effectively forcing them to redo the entire quiz.  Wouldn't that get you what you want?
    One more thing.  Beware of the options in the drop down menu under Quiz > Settings > Required. I generally set this to Optional, as some of the other settings can cause unpredictable results with LMSs.
    Hopefully this info will get you closer to your goals.

  • Detecting click ( single and double) on row (displayed using iterator)

    Hello All,
    I am using jdev 11.1.1.6
    I am displaying a list as below.
                                   <trh:tableLayout>
                                        <af:iterator value="#{pageFlowScope.Bean.List}" var="temp">
                                         <trh:rowLayout>
                                          <trh:cellFormat>
                                           <af:outputText value="#{temp.value1}"/>
                                          </trh:cellFormat>
                                          <trh:cellFormat>
                                           <af:outputText value="#{temp.value2}"/>
                                          </trh:cellFormat>
                                          <trh:cellFormat>
                                           <af:outputText value="#{temp.value3}"/>
                                          </trh:cellFormat>
                                          <trh:cellFormat>
                                           <af:outputText value="#{temp.value4}"/>
                                          </trh:cellFormat>
                                        </trh:rowLayout>
                                        </af:iterator>
                                      </trh:tableLayout>
    My requirement is, when user clicks on a row, that row should be detected in backend and those value will be used.
    My requirement is, On single click row should be detected(in backend/bean)
    On double click, the values is saved(in backend/bean).
    How can i detect single and double click on a particular row ?

    I have updated the code as below, single click and double click are getting detected on a row
        <af:resource type="javascript">
                function singleClick(){
                    alert("Single Click");
                function doubleClick(){
                    alert("Double Click");
        </af:resource>
                                   <trh:tableLayout>
                                        <af:iterator value="#{pageFlowScope.Bean.List}" var="temp" onclick="singleClick()" ondblclick="doubleClick()">
                                         <trh:rowLayout>
                                          <trh:cellFormat>
                                           <af:outputText value="#{temp.value1}"/>
                                          </trh:cellFormat>
                                          <trh:cellFormat>
                                           <af:outputText value="#{temp.value2}"/>
                                          </trh:cellFormat>
                                          <trh:cellFormat>
                                           <af:outputText value="#{temp.value3}"/>
                                          </trh:cellFormat>
                                          <trh:cellFormat>
                                           <af:outputText value="#{temp.value4}"/>
                                          </trh:cellFormat>
                                        </trh:rowLayout>
                                        </af:iterator>
                                      </trh:tableLayout>
    Now,
    suppose i have following values for some/any row,
    value1=20, value2="abc", value3=009, value4="Language" 
    How can i retrieve these values in java script (if in backing bean then very good)

  • Flash 9 Prewiev. As3 script check

    Please, let me ask your immediate help - in case anybody
    knows Flash 9 Prewiev.
    When I check As3 script it outputs err msg: " The class or
    interface 'Sprite' could not be loaded."
    I cannot check script at all.
    $(LocalData)/Classes is set in Preferences -
    though As3 is compiled, but script check does not work.
    Thanks Lant

    Well, in fact that's all the help you need.
    For instance:
    flash.geom.ColorTransform -> Examples.
    So, how to use this in the Public Alpha. Well, create a new
    ActionScript file, copy and paste the code and save the file as
    ColorTransformExample.as
    Now open a new Flash file. Go to the Publish Settings and
    click on 'settings' next to the dropdown that says 'ActionScript
    3.0'. A new option! Document Class (you can 'connect' a base class
    to the -what was called - _root). Type in: ColorTransformExample
    (without .as) and click ok. Save the fla in the same directory as
    where you saved ColorTransformExample.as. Test the movie. Attached
    for your convenience the class.

  • Script for alsa, alsamixer dmix and modules

    First, excuse me for my bad english
    Hi
    I've wrote my first script in bash and this is for archlinux.
    This one install all necessary packages, check with hwd what are the sound cards modules that have to be probe, write the /etc/rc.d/alsamixer module and install dmix
    It also modify /etc/rc.conf to had the modules and the deamon and add a user to the audio group.
    The script works fine on my computer but i'd like to know if it really works well.
    install_alsa.sh

    Hi,
    I used this script on pretty much computers now, so it has already saved me pretty much time Thanks again!
    May I give a few suggestions:
    In the begin you check if the user is root with $USER, maybe it is better to use whoami instead. Because whoami will also see that you are root when you are root in su
    Maybe clean up the output a bit, you probably know that you can pipe the output of a program to /dev/null, for instance instead of
    amixer set Master 70 unmute
    you could use
    echo -n 'Setting Master volume to 70...'
    if amixer set Master 70 unmute > /dev/null
    then
    echo 'done'
    else
    echo 'failed'
    exit 1
    fi
    And maybe use the same layout of output pacman uses.
    Also something goes wrong with the /etc/rc.d/aslamixer script. It keeps al the n signs in it instead of new lines. I think it is better to have a seperated file alsamixer and distribute you script in a tarball, so you can easiely copy the file to /etc/rc.d. But of course this is just my opinion.
    You often add something to the rc.conf file, because this happens often and is nearly the same everytime you maybe could use a function where you send the parameters, file (in this case rc.conf) variable_name (here it is DAEMONS or MODULES) and of course the value. (for instance alsamixer)
    On the end of the script you ask width users you want to add to the audio group. You can check if the user is already in the audio group (cat /etc/groups | grep audio etc) and don't show that user because he's already in it and maybe filter out groups as ftp, svn, etc
    This is just a very rough idee but what about that every configuration script that's (going to be) written for arch uses the same file and output layout. For instance that every configuration script has:
    1: A standart name, for instance arch-config-audio, arch-config-grub etc
    2: As I already mention the same output to the users
    3: Two scipts, one called configure, this script would do (if needed) some hardware detection and ask the user questions. The second called install, this would do the time consuming installation and would never ask a question to the user. This way one can do all the configuration of the 'install scripts' directly after each other and than install everything, where the user can leave the computer.
    4: And of course add those script to the one of the ftp servers so you can install them with pacman
    Don't take the last idee too serious, I often have a lot of stupid idees
    Cheers,
    David

  • Abobe Flash CS3 Stage width and height Using script

    Hi,
         How do control the stagewidh and stageheight USing script in AS3?
    Thanks.

    stage.stageWidth=whatever;
    but check the stagescalemode class.

  • IMovie Scene detection when capturing and hot keys

    Two questions please (this is on a new imac) :
    1) I have scene detection turned on for capturing (using a XL2), but it doesn't seem to stop and split up the scenes.
    Does the scene detection only work when the time-code is broken - ie;
    when the machine is powered off and on? Does it detect when it is paused?
    2) Is there a list of hot keys for editing like the RAZOR tool etc?
    Thanks in advance,

    Scene detection normally works, so there must be something going on with you old camera.
    I have a bunch of old analog 8MM tapes that I imported through a DV 8MM Digital camera. These all came in as 1 long clip.
    It is true you can delete a frame and then use iMovie to split the events. However, I have found a much quicker way that is non-destructive and allows you to enter the date metadata.
    1) Download and install MPEG Streamclip from Squared 5. You can google it.
    2) Drag your long clip into MPEG Streamclip. (If you don't know where it is, Right-click on the clip in the imovie event and select "Reveal in FInder".
    3) Think if dividing your long clip into Events (everything you shot on a single day, for example) - and Scenes (clips) - an individual unit of footage within the Event.
    4) Move the MPEG Streamclip playhead to the beginning of the 1st scene and press I for in point. Movie the Playhead to the last frame of the scene and press O for out point.
    5) Now, FILE/EXPORT TO DV. Save it to a location you can easily find, like a folder on your desktop. Give it name in the following format: clip-yyyy-mm-dd hh;mm;ss.dv This will preserve the time metadata for later when you are editing. You may want to have your camera handy so you can easily see this data.
    6) Repeat this process until you have all clips done. You should find that the playhead is still at the out point. You can simply type I and you have set the in point for a totally nondestructive capture of the next clip.
    7) Finally, open iMovie and use FILE/IMPORT/MOVIES... and navigate to the place where you saved all these clips. iMovie will import and sort into Events (you may have to check "split days into new events". Let it generate thumbnails and you are done.

  • I used YesScript to stop scripts on a certain website and now Disqus doesn't show up on that website. What do I do?

    Every time I go to any Breitbart.com website, my computer slows down so much, I can barely scroll or type a post in Disqus. At least twice I've gotten the "scripts" error message. So I did some research on how to fix the "scripts" problem and I used the YesScript solution. Now when I go to Breitbart.com, the pages run fine, but I can't get the Disqus comment section; it's just gone. So I assume that Disqus on Breitbart was causing the "scripts" problem, but by blocking the scripts, I've blocked the whole purpose of going to the website.
    HELP!

    Do a malware check with several malware scanning programs on the Windows computer.
    Please scan with all programs because each program detects different malware.
    All these programs have free versions.
    Make sure that you update each program to get the latest version of their databases before doing a scan.
    *Malwarebytes' Anti-Malware:<br>http://www.malwarebytes.org/mbam.php
    *AdwCleaner:<br>http://www.bleepingcomputer.com/download/adwcleaner/<br>http://www.softpedia.com/get/Antivirus/Removal-Tools/AdwCleaner.shtml
    *SuperAntispyware:<br>http://www.superantispyware.com/
    *Microsoft Safety Scanner:<br>http://www.microsoft.com/security/scanner/en-us/default.aspx
    *Windows Defender:<br>http://windows.microsoft.com/en-us/windows/using-defender
    *Spybot Search & Destroy:<br>http://www.safer-networking.org/en/index.html
    *Kasperky Free Security Scan:<br>http://www.kaspersky.com/security-scan
    You can also do a check for a rootkit infection with TDSSKiller.
    *Anti-rootkit utility TDSSKiller:<br>http://support.kaspersky.com/5350?el=88446
    See also:
    *"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked
    *https://support.mozilla.org/kb/troubleshoot-firefox-issues-caused-malware

  • When I was updating I Phone version 4  from iTunes. it got stuck in middle of updating, after uninstall the version 3 and new version 4 was not installed. Now iTunes is not detecting the iphone and my iphone is also not working n showing connection cable

    When i was updating i phone version 4 from Itunes. It got stuck in middle of updating, after uninstall the version3. But new version was not installed. Now itunes is not detecting the iphone and iphone is also not working and showing connection cable with itunes. Pls help..

    Check your system for possible Malware. But you have to do it in WIndows Safe Mode.
    (Do not use your own Anti-virus to SCAN)
    Start your computer in "Safe mode with networking", go to this link download a free version of Malwarebyte.
    http://www.malwarebytes.org/products/malwarebytes_free
    Install and perform update immediately, then do a full SCAN. Remove malware if it indeed finds any. Restart computer to regular windows to let Malwarebyte complete the removal.
    To start your computer in safe mode
    Press and hold the F8 key as your computer starts. You need to press F8 before the Windows logo appears. If the Windows logo appears, you'll need to try again by waiting until the Windows logon prompt appears, and then shutting down and restarting your computer.
    On the Advanced Boot Options screen, use the arrow keys to highlight the "safe mode with networking" option, and then press Enter. Log on to your computer with a user account that has administrator rights.
    When your computer is in safe mode, you'll see the words Safe Mode in the corners of your screen. To exit safe mode, restart your computer and let Windows start normally.

Maybe you are looking for