Word count not recognized as integer variable

ok, i have this command:
set mywordcount to do shell script "wc -l < MyFile.txt"
which gives me the number of words of a given txt
with display alert it reports me number 1 when there is one word, number 4 if there are 4 words, etc...
the problem comes when i want to do one action if the file has 1 word, another if it has more than 1...
when i write:
if mywordcount = 1 then
myactions here
else
otheractions here
end if
it doesn't do anything at all...
any ideas?
thanks!

the way to do this in applescript is as follows:
set contentsText to read "/path/to/file.txt"
set mywordcount to count of words of contentText
that will return an integer value.  if you want to use the do shell script approach, keep in mind that dss always returns text, so you'll want to coerce the text value to an integer:
set mywordcount to (do shell script "wc -l < MyFile.txt") as integer

Similar Messages

  • How can I change the word count not to include the words in foot notes?

    Can anyone tell me how to do this?

    I don't think that is possible, it does what it does.
    Peter

  • Import-SPWeb Error - The string was not recognized as a valid DateTime. There is an unknown word starting at index 0

    Using the Export-SPWeb PowerShell command on a server to move a document library from one site colelction in a content database to another site collection in a seperate content database.
    Am using the following command:
    Export-SPWeb
    -Identity
    https://sp.bacl.net/legal/rr
    -Path
    \\bacvsspa01\backups\rr\rr.cmp
    -ItemUrl
    rr
    -IncludeVersions
    All
    -IncludeUserSecurity
    Not all documents are transferred hwoever. I get some errors like the following:
    [11/02/2014 2:21:44 PM] [ListItem] [16Jun11 17.32.09_BAC employees provid_Tom Heading.msg] Progress: Importing
    [11/02/2014 2:21:44 PM] [ListItem] [16Jun11 17.32.09_BAC employees provid_Tom Heading.msg]   Verbose: List URL: /legal/legal/rr
    [11/02/2014 2:21:44 PM] [ListItem] [16Jun11 17.32.09_BAC employees provid_Tom Heading.msg]   Error: The string was not recognized as a valid DateTime. There is an unknown word starting at index 0.
    [11/02/2014 2:21:44 PM] [ListItem] [16Jun11 17.32.09_BAC employees provid_Tom Heading.msg]   Debug:    at System.DateTime.Parse(String s, IFormatProvider provider)
       at System.Convert.ToDateTime(String value, IFormatProvider provider)
       at System.Runtime.Serialization.SerializationInfo.GetDateTime(String name)
       at Microsoft.SharePoint.Deployment.MetaInfoProperty..ctor(SerializationInfoHelper infoHelper)
       at Microsoft.SharePoint.Deployment.FileSerializer.GetMetaInfo(SerializationInfoHelper infoHelper)
       at Microsoft.SharePoint.Deployment.FileSerializer.CreateOrUpdateFile(Object fileOrListItem, SPLoggerObject loggerObject, SPWeb web, Guid id, String& fileUrl, Boolean fileExistsInDb, Boolean isFirstVersion, Boolean hasWebParts, SerializationInfoHelper
    infoHelper, SerializationInfoHelper infoHelperListitem, StreamingContext context)
       at Microsoft.SharePoint.Deployment.FileSerializer.CreateOrUpdateFileAndAssocData(Object fileOrListItem, SPLoggerObject loggerObject, SPWeb web, Guid id, String& fileUrl, Boolean fileExistsInDb, SerializationInfoHelper infoHelper, SerializationInfoHelper
    infoHelperListitem, StreamingContext context, ISurrogateSelector selector)
       at Microsoft.SharePoint.Deployment.ListItemSerializer.AddOrUpdateDoclibItem(SerializationInfoHelper infoHelper, SPListItem& listItem, SPLoggerObject loggerObject, SPWeb web, Guid newId, String& listItemServerRelativeUrl, Boolean bIsPublish,
    Boolean exists, StreamingContext context, ISurrogateSelector selector)
       at Microsoft.SharePoint.Deployment.ListItemSerializer.SetObjectData(Object obj, SerializationInfo info, StreamingContext context, ISurrogateSelector selector)
    I had a look in the .cmp file that was created (Changed extensions to .cab) and had a look at the Manifest.xml file. Relevant XML below:
    <SPObject Id="b18cc711-e5df-4ee7-9639-866e5b6613b0" ObjectType="SPFile" ParentId="1ad76e87-43e6-4cbf-a0a1-53af4975668f" ParentWebId="4be7e61f-b1c7-473f-acc3-0bae06e32024" ParentWebUrl="/legal/rr" Url="/legal/rr/rr/Employees
    giving First Aid/16Jun11 17.32.09_BAC employees provid_Tom Heading.msg">
            <File Url="rr/Employees giving First Aid/16Jun11 17.32.09_BAC employees provid_Tom Heading.msg" Id="b18cc711-e5df-4ee7-9639-866e5b6613b0" ParentWebId="4be7e61f-b1c7-473f-acc3-0bae06e32024"
    ParentWebUrl="/legal/rr" Name="16Jun11 17.32.09_BAC employees provid_Tom Heading.msg" ListItemIntId="37" ListId="020f8304-a50f-413b-be27-40d0ccc9e497" ParentId="1ad76e87-43e6-4cbf-a0a1-53af4975668f" TimeCreated="2011-11-16T07:02:00"
    TimeLastModified="2011-11-16T07:02:00" Version="1.0" CheckinComment="Loaded Using Dell Solutions for SharePoint" FileValue="00000013.dat" Author="29" ModifiedBy="24">
                <Properties>
                    <Property Name="vti_title" Type="String" Access="ReadOnly" Value="BAC employees providing first aid" />
                    <Property Name="source_item_id" Type="String" Access="ReadWrite" Value="source_item_id:1" />
                    <Property Name="vti_foldersubfolderitemcount" Type="Integer" Access="ReadOnly" Value="0" />
                    <Property Name="Attach Count" Type="String" Access="ReadWrite" Value="Attach Count:0" />
                    <Property Name="Created By" Type="Boolean" Access="ReadWrite" Value="Created By:BNE_AIR1\\jbrown" />
                    <Property Name="Importance" Type="String" Access="ReadWrite" Value="Importance:1" />
                    <Property Name="From1" Type="Time" Access="ReadWrite" Value="From1:Tom Heading" />
                    <Property Name="AttachCount" Type="String" Access="ReadWrite" Value="AttachCount:0" />
                    <Property Name="ContentTypeId" Type="String" Access="ReadWrite" Value="0x0101003699C96894FF79479322E4A235852946000530E240279BA54D8F621B39A4E09CF3"
    />
                    <Property Name="Modified By" Type="Boolean" Access="ReadWrite" Value="Modified By:BNE_AIR1\\jbrown" />
                    <Property Name="vti_folderitemcount" Type="Integer" Access="ReadOnly" Value="0" />
                    <Property Name="display_urn\:schemas-microsoft-com\:office\:office#Author" Type="String" Access="ReadWrite" Value="Jenny Brown"
    />
                    <Property Name="Document Created By" Type="Boolean" Access="ReadWrite" Value="Document Created By:BNE_AIR1\\jbrown" />
                    <Property Name="Created_x0020_By" Type="Boolean" Access="ReadWrite" Value="Created_x0020_By:BNE_AIR1\\jbrown" />
                    <Property Name="vti_cachedtitle" Type="String" Access="ReadOnly" Value="BAC employees providing first aid" />
                    <Property Name="Modified_x0020_By" Type="Boolean" Access="ReadWrite" Value="Modified_x0020_By:BNE_AIR1\\jbrown" />
                    <Property Name="ContentType" Type="String" Access="ReadWrite" Value="Legal Document" />
                    <Property Name="Attach_x0020_Count" Type="String" Access="ReadWrite" Value="Attach_x0020_Count:0" />
                    <Property Name="display_urn\:schemas-microsoft-com\:office\:office#Editor" Type="String" Access="ReadWrite" Value="Jenny Brown"
    />
                    <Property Name="vti_parserversion" Type="String" Access="ReadOnly" Value="15.0.0.4535" />
                    <Property Name="To" Type="Boolean" Access="ReadWrite" Value="To:Barry Peach" />
    <Property Name="From" Type="Time" Access="ReadWrite" Value="From:Tom Heading" />
                    <Property Name="Document Modified By" Type="Boolean" Access="ReadWrite" Value="Document Modified By:BNE_AIR1\\jbrown"
    />
                </Properties>
            </File>
        </SPObject>
    Now, looking at the source document library, this document has the field in question set to String, so why has it been marked as a Time filed type in the expiort file?
    Is anyone aware of any issues with the Export-SPWeb commandlet?
    SharePoint 2013 + March PU + AUG 2013 CU.
    Any help appreciated.

    Hi Richard,
    According to your description, the error occurred when you ran the Export-SPWeb command.
    I recommend to verify the things below for troubleshooting:
    Save the document library as an template(include content) and create a new document library based on the template, then run the Export-SPWeb command to export the new document library to see if the issue still occurs.
    Did this issue occur with other document library? If not, you can delete the string field with error, then run the Export-SPWeb command to narrow the issue scope.
    As a workaround, you can save the library as a template and deploy it to the site collection where you want to move the library, then create the new library in the site collection.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • When converting a PDF document to word, the word count feature is not giving me the number of words

    I have been using Acrobat for converting PDF documents to Word.  It had been working just fine, but lately, when I convert a PDF document to Word, it is not giving me the word count, which is why I subscribed in the first place. Someone has any idea of why?

    Hi Robin,
    I would recommend you to use Acrobat software to convert this pdf file, Acrobat software enable you to customize the conversion settings.
    You can download a free 30-day trial from this Link : https://helpx.adobe.com/acrobat/kb/acrobat-downloads.html
    After downloading and installing acrobat, Open pdf file in Acrobat, go to File menu -> Click 'save as other' -> Microsoft Word -> Word Document.
    A pop-up window will appear that would prompt you to choose the file to be converted, after you select the file, click on the settings button on the bottom left of the pop-up window and choose 'Retain Page layout' under layout settings, click ok and then save.
    Hope that helps with your query.
    Regards,
    Rahul

  • Log in pass word or id not recognized

    I have been unable to rent any movies because I keep getting the msg pass word or id not recognized. I have reset the pass word & I still get this msg. My user ID is correct because I get emails back when I reset the password. I have 1st gen ATV. Tried even resetting the ATV. My password is correct because I can access the iTunes store acct information with no problem. Only on the ATV is there a problem. Ready to go to Netflix bx. Been with apple since 1985, but am losing faith in their ATV.

    You are not alone. There is already a thread about this here: <http://discussions.apple.com/thread.jspa?threadID=2623277>. Hopefully Apple will get this fixed soon.

  • User Variable not recognized  in Calculation Manager in V11.1.2

    I am using user variables in a script using a calculation manager in V11.1.2
    When I am using the user variable within a Fix statement I don't have any problems but when I am using it out of the Fix statement it does not work. I have already added the variables in the variable manager
    The error I am getting is the member is not recognized (user variable). I am having problem with only one of the many variables.
    Any suggestions on why I am getting this issue.
    Thanks in Advance.

    Thanks for your input, I have assigned the default values but it still did not work. Then I restarted all the services and it is working fine.

  • ODI variables not recognized in filename

    Hi,
    Do you know how to force ODI to recognize the varieble in the filename ?
    The file name is :
    123#VARIABLE456.xsv
    and the variable #VARIABLE is not recognized by ODI 11g
    If I put the variable at the end of the filename ( eg 123456#VARIABLE.csv ), variable is recognized but this is not exactly that I want.
    Thanks!

    Try to give PROJECT_CODE.VARIABLE name i think it will work
    or try put a Underscore and place your variable and test it, is it working or not.

  • I am writing a dissertation, which I have to send to my university in Word format.  In Pages the current word count is given as 12,000, but when opened in Word on another laptop (not a Mac) the word count was 9,000. How do I know which is correct?

    Is the word count in Pages inclusive of footnotes?

    Sounds like you have a lot of counting to do. Lol jk; I'd test with a new doc with 5 words and see which one gets it right. if they're the same; add footnotes to one and see which one says what. Just standard process of elimination.

  • How can I use word count without it counting the words in the end notes by default?

    How can I use word count without it counting the words in the end?
    Now I have to highlight the text to get a count.

    I don't think that is possible, it does what it does.
    Peter

  • Font not recognized by Word whereas accepted by Mac book of fonts

    Under Snow Leopard, Word for Mac doesn't recognize a new font which is duly accepted by the "book of fonts" of Mac. (By the way font is Max's Handwritin which works perfectly under Windows). could somebody help ? Tks in adv!

    Many thanks for the 2 ideas. Switch off the Mac and reopen Word does not solve. I am reluctant to reboot the MBP as I do not understand enough IT. I would not like to create others problems I couldn't solve. If there is not an easy way to get this font, well I think I would prefer ... using another font. Has somebody another easy idea ? Tks in adv.

  • Oracle Text word count in 10g?

    Given a clob column full of text in 10g and a particular word, is there a way to return the frequency (word count) of this word in the documents search? Not a count of the records returned but an actual count of the number of times the word is in the documents searched. I couldn't seem to find how in the Oracle text documentation, seems like it would be a simple operation, so I may be looking in the wrong place. Any tips?

    In 10g, you can specify algorithm="count" within a query template. I have demonstrated in 11g below, but have used it in 10g previously and it is in the 10g documentaiton.
    SCOTT@orcl_11g> drop table t;
    Table dropped.
    SCOTT@orcl_11g>
    SCOTT@orcl_11g> create table t (id varchar2(20) primary key, text varchar2(2000));
    Table created.
    SCOTT@orcl_11g>
    SCOTT@orcl_11g> insert into t values ('1', 'the cat cat cat dog dog sat on the big brown mat');
    1 row created.
    SCOTT@orcl_11g> insert into t values ('2', 'the big brown mat sat on the big brown mat');
    1 row created.
    SCOTT@orcl_11g>
    SCOTT@orcl_11g> create index ti on t(text) indextype is ctxsys.context;
    Index created.
    SCOTT@orcl_11g>
    SCOTT@orcl_11g> variable search_string varchar2(10)
    SCOTT@orcl_11g> exec :search_string := 'cat'
    PL/SQL procedure successfully completed.
    SCOTT@orcl_11g> select :search_string, id, score (0) as frequency_count
      2  from   t
      3  where  contains
      4             (text,
      5              '<query>
      6              <textquery lang="ENGLISH" grammar="CONTEXT">'
      7              || :search_string ||
      8             '</textquery>
      9              <score datatype="INTEGER" algorithm="COUNT"/>
    10            </query>',
    11              0) > 0
    12  /
    :SEARCH_STRING                   ID                   FREQUENCY_COUNT
    cat                              1                                  3
    SCOTT@orcl_11g> exec :search_string := 'cat dog'
    PL/SQL procedure successfully completed.
    SCOTT@orcl_11g> /
    :SEARCH_STRING                   ID                   FREQUENCY_COUNT
    cat dog                          1                                  1
    SCOTT@orcl_11g> exec :search_string := 'brown mat'
    PL/SQL procedure successfully completed.
    SCOTT@orcl_11g> /
    :SEARCH_STRING                   ID                   FREQUENCY_COUNT
    brown mat                        1                                  1
    brown mat                        2                                  2
    SCOTT@orcl_11g>

  • How do you get word count to print at the end of a document in Pages?

    How do you get word count to print at the end of a document in Pages?

    Pages v5 does not provide a user assignable word count variable. With some AppleScript, and a paste operation from the clipboard, you can have locale punctuated word count in this format: 7,803 — anywhere in your document. The following AppleScript works with Pages '09 v4.3 through Pages v5.5.2 on Yosemite.
    I would suggest that you copy paste the following AppleScript into your [Apple] Script Editor and save it (suggestion) wordcnt.applescript. Then, follow this with an option+Save As… and this time set the File format to Script Bundle, or Application with hidden extension — saved to your Desktop. Provided you have a Pages document open, you are then a double-click from the ability to paste your current word count into Pages.
    Note: If you have Pages word count display enabled, it will automatically count your pasted value as another word which initially may deceive on true word count at the time the script was run.
    AppleScript
    --- copy below this line ---
    property locale : "en_US.UTF-8" -- In Terminal, use the locale command to see yours
    if not ApplicationIsRunning("Pages") then
         display dialog "Pages must be running to use this utility."
         return quit
    end if
    tell application "Pages"
        tell body text of front document
            set wordCnt to count words
            -- Don't want punctuated numbers? Remove the single quote from printf format
            set the clipboard to (do shell script "export LC_ALL=" & locale & "; printf \"%'d\" " & wordCnt)
        end tell
    end tell
    on ApplicationIsRunning(appName)
         tell application "System Events" to set appNameIsRunning to exists (processes where name is appName)
         return appNameIsRunning
    end ApplicationIsRunning

  • When I type .ssh root@10.0.02 it says host not recognized I'm unable to get in to known host file can not fix the problem.

    When I open terminal and do sash [email protected] it says warning rsa key not recognized to go to known-hosts file which ican not grt into I have download pico but am not sure how to launch it or what I ave to do.

    sibeen, please stop starting new posts when you are really just continuing the first post.  "Reply" to one of your existing posts when you are really just continuing the same question.  If I have not lost count, you have posted 3 times about this same ssh rsa host key issue, and Linc Davis and I have been trying to keep track of all the details, but with it spread out across multiple new posts, it is difficult.
    I'm guessing as you again forgot to post the actual error (I'm starting to wonder if you are testing how well Linc and I can guess at your problem ).  Anyway, I'm guessing that you managed to delete the $HOME/.ssh/known_hosts file, and now when you try to ssh to 10.0.0.2 it wants to add the remote system's host rsa key into a newly created known_hosts file.
    The authenticity of host '[10.0.0.2]:22([10.0.0.2]:22)' can't be established.
    RSA key fingerprint is xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx.
    Are you sure you want to continue connecting (yes/no)?
    Generally the command ask if you want to do this, yes or no.  You type "yes" and your Mac memorizes the remote system's host rsa key.
    If this is not the warning message you are seeing, then as Linc has requested, please post the exact error (feel free to mask put the actual key or usernames or IP addresses, but keep the words.
    If you are still getting the original error from 3 posts ago, then I would not try editing $HOME/.ssh/known_hosts, and instead just delete the file, and when you get a message like I have posted above, answer it with "yes".
    WIth respect to pico, Mac OS X already has pico installed, so there was  no need to download it from anywhere.  However, most people just use 'nano' which has essentially replaced 'pico' as an easy to use Terminal based text editor.  But like I said, I think you will be happier if you just delete the known_hosts file and get on with your ssh operations.
    Finally, I think in your 2nd post you indicated you tried deleting a file that had a dash in the name (known-hosts) instead of an underscore (known_hosts).  If that was just a typo when you entered your post, and you were really getting you cannot delete a directory, then something is seriously wrong, or you accidentally allowed a space to be inserted between .ssh and known_hosts.  Personally, I'm going with you actually entered a space and the 'rm' command thought you wanted to delete the .ssh directory instead of $HOME/.ssh/known_hosts.  I could be wrong, but using copy and paste to post actual Terminal screen output as well as the command you entered would be very helpful to anyone trying to provide useful information.  In other words, help us help you.

  • SQL 2012 not recognizing modification of scalar function

    I have two scalar functions which are both very similar. Both required three variables. Then I realized that I needed another variable in both functions so I added it to both.  I then modified the call to each function (e.g. select dbo.function(var1,
    var2, var3, var4)), but within Management Studio editor, only the change in the first function is recognized. Below is the function that is not recognized and the call to it.  The error is 'insufficient number of arguments'.  Its as if Management
    Studio doesn't realize I made the change.
    ALTER FUNCTION [dbo].[InvoicePaidLateInFull](@Invoice bigint, @DueDate datetime, @Total decimal(14, 4), @EndDate datetime)
    RETURNS bit
    AS
    BEGIN
    DECLARE @PaidLate bit, @Paydate datetime, @Amount decimal(14, 4)
    declare @Check int, @CurrentStatus bigint
    declare @AmtTol decimal(14,4), @CID bigint
    Set @PaidLate = 0
    Set @CurrentStatus = (Select top 1 StatusID from RebateData Where InvoiceNo = @Invoice order by ID)
    if @CurrentStatus <> 1
    Begin
    Goto NotDueYet
    End
    Set @CID = (Select top 1 CID from RebateData Where InvoiceNo = @Invoice order by ID)
    Set @AmtTol = (Select AmountTolerance from MasterCustomerProgramContracts where ID = @CID)
    If datediff(dd, @DueDate, @EndDate) < 0
    Begin
    GoTo NotDueYet
    End
    Set @Check = (Select count(*) from Payments Where InvoiceNo = @Invoice)
    if @Check = 0
    Begin
    --No payments have been received at all. Consider as 'Unpaid'
    GoTo NotDueYet
    End
    Set @Amount = isnull((Select round(sum(Amount) , 2)
    from Payments
    where invoiceno = @Invoice
    and PayDate <= @DueDate
    Group by InvoiceNo), 0)
    Set @Amount = -(@Amount)
    If @Amount between (@Total - (@Total * @AmtTol)) and (@Total + (@Total * @AmtTol))
    Begin
    Set @PaidLate = 0
    End
    If @Amount < (@Total - (@Total * @AmtTol))
    Begin
    Set @PaidLate = 1
    End
    NotDueYet:
    RETURN @PaidLate
    END
    The Call:
    Set @PL = (Select dbo.InvoicePaidLateInFull(@Inv, @DueDate, @Total, @EndDate))
    Seems like I read the other day of a script that can be run to 'update' SQL, but I can't remember it now.
    Thanks.
    Ross

    Leaving the Intellisense issue, permit me to point out that incorrectly used, this function can be a performance killer. An occasional call - no problem. But if you do something like:
    SELECT ..., dbo.InvoicePaidLateInFull(invoice_id, due_date) AS PaidLade
    FROM   MillionRowTable
    This is a performance disaster. SQL Server cannot optimize the function, so you will have a cursor in disguise.
    Overall, you should be very restrictive with scalar functions that perfoms data access.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Please help with integer variable matching frame numbers

    hi :-) , could someone please hepl a newbie ?
    I am trying to write a short AS3 script in CS4 that allows me to step backwards and forwards  through an animation.
    I have a stop button a play button , rewind button and a forward button.
    the buttons work ok apart from when I hit the rewind button sometimes it jumps to the start of the timeline rather than just step back a frame at a time.
    when I use the stop button and the timeline stops where it is, the rewind button steps back as required. but, if the rewind button is clicked first it jumps to the start of the timeline, I know the theory as to why I cant get this to work.  I need to know how to increment an integer variable (counter) to increment as the animation playes. i.e. the counter variable to match the frame number.  below is the code I have, could someone please tell me how to match an integer variable to the current frame and tell me where to insert the line of code on the listing. I have added a dummy line or psuedo line of code to show what I am trying to do, but the syntax is wrong .
    var counter = 1;
    gotoAndStop(counter);
    function setupevents()
        buttonplay.addEventListener(MouseEvent.CLICK, playbutton);
        buttonstop.addEventListener(MouseEvent.CLICK, stopbutton);
        buttonrewind.addEventListener(MouseEvent.CLICK, rewindbutton);
        buttonforward.addEventListener(MouseEvent.CLICK, forwardbutton);
    setupevents();
    //this is the dummy or psuedo line of code i mentioned in the question above....
    counter = frame;
    //function to play the movie
    function playbutton(event:MouseEvent)
        play();
    //function to stop the movie using the stop button
    function stopbutton(event:MouseEvent)
        stop();
    //function to step backwards through movie using the rewind button
    function rewindbutton(event:MouseEvent)
        if(counter > 1)
            counter = counter - 1
        gotoAndStop(counter);
    //function to step forward through movie using the forward button. I have used the value of 60 as this is the amount of frames in the timeline
    //I dont know if this is correct way to do things or not
    function forwardbutton(event:MouseEvent)
        if(counter < 60)
            counter = counter + 1
        gotoAndStop(counter);
    I know the code is rough and basic but any help would be greatly appreciated, I have tried to attach the .fla file for anyone who needs more info on this.  But this webpage returned an error "The content type of this attachment is not allowed."
    Auldy66

    var counter = 1;
    gotoAndStop(counter);
    function setupevents()
        buttonplay.addEventListener(MouseEvent.CLICK, playbutton);
        buttonstop.addEventListener(MouseEvent.CLICK, stopbutton);
        buttonrewind.addEventListener(MouseEvent.CLICK, rewindbutton);
        buttonforward.addEventListener(MouseEvent.CLICK, forwardbutton);
    setupevents();
    //this is the dummy or psuedo line of code i mentioned in the question above....
    counter = frame;
    //function to play the movie
    function playbutton(event:MouseEvent)
        play();
    //function to stop the movie using the stop button
    function stopbutton(event:MouseEvent)
        stop();
    //function to step backwards through movie using the rewind button
    function rewindbutton(event:MouseEvent)
    prevFrame();
    function forwardbutton(event:MouseEvent)
    nextFrame();

Maybe you are looking for

  • Mouse Clicks in Captivate

    I have a number of captivate animations that have mouse clicks. However even though I have set and checked all mouse clicks the 'click' audio does not consistently work. Is there a trick to setting the audio click. I am using Captivate V2.0.0 build 1

  • Itunes crashes on Windows Vista

    Two months ago i've posted a question that could be solved by an update with the nforce/nvidea driver. But even after updating this driver vista still crashes (a blue screen with "page fault in nonpaged area 0x0000050) while syncing with my ipod vide

  • Why does Transfer purchases FROM sync TV shows TO ipad?

    Why does iTunes automatically sync my TV shows BACK to my ipad after I choose "Transfer purchases FROM my ipad" under File-->Devices I don't want them on the ipad. I have unchecked all of the boxes next to the TV shows.

  • Inbound proxy with attachment

    Hi All, I have a scenario where in I need to pick one zip file from FTP and pass it to SAP system over proxy communication.I have searched on SDN,find blogs on outbound proxy but didnt get much information on inbound proxy with attachment. Or please

  • Double Artists and not updating

    I have a iPod Touch 1st generation, I am using ISO 1.1.5 and ITunes 10.6 current version, on my music-artists, showing few doubles, I deleted them and re-added by folder and by file, I used the editor on ITunes as well. Still I cant get it to consoli