Simple onRollOver code no longer works?

I'm really starting to hate AS3. I'm a basic user and I was
BASCIALLY just starting to get the hang of AS2 when Adobe had to go
start changing things with AS3.
grrrr...
so now:
mc.onRollOver = over
function over() {
this.gotoAndPlay(2)
No longer works. I'm being told that I need to
addEventListener('mouseOver',callback_handler)
I tried throwing that in (not fully understanding it) and now
the animation for my mc just plays repeatedly nonstop.
Help?

I have constructed a simple example below to try and help you
mate, ignore all the button building bit if you don't need it, it
is for the example only... Go through it and try and impliment into
your workings, to be honest, events in AS3 are easier than AS2,
just gotta get your head around it.
Simply attach you event listener to your mc, state the event
object type i.e mouse event, then property i.e. MOUSE_OVER, then
the event handler, the method with all the functionality to run on
mouse over...
Hope it helps,
Simon

Similar Messages

  • Uninstalled elements 13 and now activation code no longer works

    Elements worked for awhile and kept crashing lately so I uninstalled it and re-installed it and now activation code doesn't work. Can't deactivate it since it is not on my computer and stuck on the activation code.... totally upset since I have a deadline.

    Good morning apathykillz, 
    Ordering on BestBuy.com with a Movers Coupon is a great way to save time and money while shopping for your latest device! It is discouraging to hear we may have been unable to verify some of your information, leading to your order's cancelation. It is also unfortunate to hear that you may have been provided some misinformation in regards to the Movers Coupon. Sadly, the Movers Coupon is a one-time use coupon, and cannot be refunded or reissued. I apologize for any hassle that this issue may have caused you.
    With that said, I was unable to locate your order using the email address you registered with the forum, and I would like to look further into this with you. Please be aware that I am sending you a private message to gather further information. You may check your private messages by signing into the forum and clicking the envelope icon in the top right corner of the page. 
    Sincerely, 
    Tasha|Social Media Specialist | Best Buy® Corporate
     Private Message

  • Checking the update of HP Simple Pass is no longer working.

    Hi,
    This is the version of my HP simple pass
    However, whenever I check for a new  update  of it, I faced this error.
    Also, when trying to visit Authon Teck Store, I found 'This page can’t be displayed'
    NOTE: I have a broadband internet with a speed of 512Kbps.

    Cooperator,
    I realize you are not using the latest version in the version 6 series.
    From the guide:
    sp63224 HP SimplePass V6.0.100.276 Win7-8
    You should install V6.0.100.276 over the top of version 6.0.100.272.
    Someone on the Forum has reported that the VERY latest Chrome may not be working with HP SimplePass V6.0.100.276.  The 276 version did work with Chrome as of a few weeks ago.  If the LATEST version of CHROME does.not work, consider downgrading Chrome - or changing browsers - or waiting for a fix - or checking online for a fix.
    Print all Webcards does not appear to work.  This has been the case for a while.   You will need to find a workaround.  I created a .jpg Snip of the web face in SimplePass, edited it Paint with text and hints I desired, and then saved it in an appropriate offline location.  You may select a different method that appeals to you.
    There is no way to output the .tsd (or .opi) file into a readable format -- it would defeat the purpose of the file being encrypted.  As with any file, the encryption can be easily broken with the right tools; keep the file stored in a safe location.
    You are correct; as stated in the guide:  The AuthenTec 6.x series of the HP SimplePass program and the Softex 8.x series of the HP SimplePass program are not compatible.  The programs are written by different code writers; the encrypted webcard export files are in different formats.   To some extent the decision to run one version or the other is a matter of choice.  For some systems, the type of hardware dictates the decision and the older or the newer version (8 series) is the best or only option.
    Click the Kudos Thumbs-Up!
    It is a nice way to say “Thank You" for the help.
    Although I strive to reflect HP's best practices, I do not work for HP. 
    Kind Regards,
    Dragon-Fur

  • Moving from dev to prod -- code no longer works

    I'm moving my app from development (running on Oracle 10g) to production (running on Oracle 9i)
    This page validation code (Function body returning boolean) returns an error
    DECLARE
    l_pg_total number;
    BEGIN
    l_pg_total := 0;
    FOR ii IN 1 .. apex_application.g_f01.COUNT
    LOOP
    IF nvl(apex_application.g_f03 (ii),0) <> 0
    THEN
    l_pg_total := l_pg_total + 1;
    END IF;
    END LOOP;
    IF l_pg_total <>0
    THEN
    RETURN TRUE;
    ELSE
    RETURN FALSE;
    END IF;
    end;
    I'm having trouble figuring out why -- unless it's the different versions of the database?

    I'm looping through a collection to validate the entry before moving onto the next page. I automatically present 7 rows in a grid that the user can fill in (7 fixed types of transaction, then begin date, end date, amount.) I just want to make sure they've filled in an amount on ANY line before moving on to the next page which gives an "Are you sure?" type of screen.
    Any other suggestions how to do this?
    I have a second validation after this that validates date ranges and isn't working either, but I figure if I can lick the simpler one the second one likely has the same problem, which appears to be how I'm referencing the fields in the collection?

  • My WebService with soap headers code no longer works in Flex 3

    In Flexbuilder 2 this code works like a charm but when I run
    it from 3 I'm getting errors. I can't seem to find any info on the
    changes in the Help. I posted this problem on another forum and got
    a lot of great feedback but we haven't been able to find the
    problem, can someone lend a hand, maybe an Adobe person? Below is
    my error and code.
    Thank You,
    Mark
    --ERROR--
    (mx.rpc::Fault)#0
    errorID = 0
    faultCode = "Server.Error.Request"
    faultDetail = "Error: [IOErrorEvent type="ioError"
    bubbles=false cancelable=false eventPhase=2 text="Error #2032:
    Stream Error. URL:
    http://radar.us.na.ey.net/RadarXML.asmx"
    URL:
    http://radar.us.na.ey.net/RadarXML.asmx"
    faultString = "HTTP request error"
    message = "faultCode:Server.Error.Request faultString:'HTTP
    request error' faultDetail:'Error: [IOErrorEvent type="ioError"
    bubbles=false cancelable=false eventPhase=2 text="Error #2032:
    Stream Error. URL:
    http://radar.us.na.ey.net/RadarXML.asmx"
    URL:
    http://radar.us.na.ey.net/RadarXML.asmx'"
    name = "Error"
    rootCause = (flash.events::IOErrorEvent)#1
    bubbles = false
    cancelable = false
    currentTarget = (flash.net::URLLoader)#2
    bytesLoaded = 0
    bytesTotal = 0
    data = (null)
    dataFormat = "text"
    eventPhase = 2
    target = (flash.net::URLLoader)#2
    text = "Error #2032: Stream Error. URL:
    http://radar.us.na.ey.net/RadarXML.asmx"
    type = "ioError"
    --MXML--

    I agree with Sean in avoiding 'updateStage' and updating much of your syntax.
    I started writing some exampels of syntax and loop improvments and ended up going through almost your entire script..Here goes
    on mouseDown
        set me = the castNum of sprite (the clickOn)
    could be replaced with
      on mouseDown me
        myMember = sprite(me.SpriteNum).member
    You can remove all the 'set' words, like the above and:
      dropList = ["Effective", "Not_effective"] 
      temp = EMPTY
    Replace the following (assuming you used the myMember statement above):
      put temp into field me
    with
      member(myMember).text = temp
    There are 2 if.. then conditions in the repeat while the stillDown loop that look wrong:
      if the mouseCast = me then set newLine = the mouseLine
      else set newLine = 0
    I would expect it to be:
      if the mouseCast = me then
        newLine = the mouseLine
      else
        newLine = 0
      end if
    You can get away from the 'repeat will the stilldown' by adding the code to an exitFrame event that can be within this behavior:
      on exitFrame me
        if the mouseDown then
        if the mouseCast = myMember.number then
        newLine = the mouseLine 
        else
        newLine = 0
        end if
      if oldLine <> newLine then
        if newLine then
          member(myMember).line[newLine].hilite()
        else
          member(myMember).text = temp
        end if
        oldLine = newLine
      end if
      end if
    end
    Taking the approach of having multiple events in 1 script and having variables shared in each, it would be best to make thise variables property variables, declaring them as such at teh top of the script.
    Then for the 'clean up and close out' code, yu could put that into an on MouseUp event.
    In Lingo 1 is TRUE, 0 is FALSE. Since, you're using 0 when setting the visible property, I'd say use 1 instead of TRUE.
    Dean
    Message was edited by: Dean Utian

  • [rant] Order cancelled and promotion code no longer works despite being told I can reuse it

    I need to get this off my chest, as I see 2 similar posts regarding this same problem.  If bestbuy.com proceeds to take in an order and cancel it, you should also be able to reissue a promotion code.  Particularly because bestbuy.com customer service admits that the order was cancelled because something in your system flagged the credit card, but could not explain why, and said that it looks like all the credit card information was correct.
    I tried to purchase an item with a mover's coupon.  Order went through with the promo code.  Great!  Then I get an email saying that it was cancelled.  I immediately called and spoke with someone for 19 minutes who told me that she couldn't tell why the order was cancelled, but that it looks like all the credit card information was correct despite the system saying credit card could not be verified.  I explicitly asked her about the promo code I applied, and she stated that I could reuse it since the order was cancelled.  She even told me that I could go into a physical store and place the order with a salesperson there to redo the order and use the same credit card if I wanted.  So somehow that credit card won't work online, but it would work in a store.
    I then proceeded to try to reorder online with another credit card.  To my surprise, the promo code was rejected.  My blood started boiling because I had asked about this exact thing.  Cue second phone call to customer support.  This time I was on the phone for 49 minutes, only to get hung up on.  Now, I am livid.
    So, everytime an agent comes on the phone, they ask for my phone number and email address.  How convenient for you to take all that information down, hang up on me, and not call me back.  I'll give you the benefit of the doubt -- maybe you accidently hit the wrong button or had a bad connection, but you should have at least called me back since you were actively working on my case.  After another call to customer service, and being on hold for 5 minutes, I gave up.
    As far as I'm concerned, you are worst than Comcast.

    Good morning apathykillz, 
    Ordering on BestBuy.com with a Movers Coupon is a great way to save time and money while shopping for your latest device! It is discouraging to hear we may have been unable to verify some of your information, leading to your order's cancelation. It is also unfortunate to hear that you may have been provided some misinformation in regards to the Movers Coupon. Sadly, the Movers Coupon is a one-time use coupon, and cannot be refunded or reissued. I apologize for any hassle that this issue may have caused you.
    With that said, I was unable to locate your order using the email address you registered with the forum, and I would like to look further into this with you. Please be aware that I am sending you a private message to gather further information. You may check your private messages by signing into the forum and clicking the envelope icon in the top right corner of the page. 
    Sincerely, 
    Tasha|Social Media Specialist | Best Buy® Corporate
     Private Message

  • Date/Time stamp JS Code no longer working in Adobe 9

    Hey all,
    I work in the healthcare industry and we timestamp all our documents with the pretty popular javascript code of
    var f = this.getField("today");
    f.value = util.printd("mm/dd/yyyy
    ", new Date());
    But recently our dept. switched to Adobe 9, and now this same code only pulls the date, and the time reads 0:00am.  I know how to fix it, but I'm wondering what is the cause, and if there is anything we can do about the other 40,000 documentes we already have that is stamped with this older and seemingly defunct code, as inspectors and regulators will probably ask why we have 0:00am on our pages that are viewed in Adobe 9.  Any information would be greatly appreciated!
    -Thomas

    var f = this.getField("today");
    f.value = util.printd("mm/dd/yyyy
    h:MM tt", new Date());
    Will now display the time also, given the same text field properties are set which were present on the original time-stamp document.  Which is great going forward, the only problem is that we have 40,000 docs on our intranet that when opened with Adobe Acrobat version 9, stamped with the old code with those same text field properties, will now display 0:00am as the current time.  I don't know the cause of this except that some kind of functionality of one of the methods had to have been changed somehow in Adobe 9.  I know that Adobe 9 now uses Javascript 1.7, Adobe 8 used 1.6.  The only way I can think of so far to fix this is to manually go into each document and place this new code in there, or go back and change the text field properties format, both options of which require us to handle each individual document.  That's why I asked if there was some kind of universal setting that I could set that would interpret the javascript code a certain way, but i don't know if that exists.

  • Promo code no longer works

    Hi All,
    First post - be gentle..
    My Sister received a promo code throught the post for BT Broadband at 5.25 per month. I tried to order it for her but it was around the time of the BT Sport promo and was unable to complete the order due to the site timing out.
    I left it until the evening and now and ever since BT.COM reports the code as invalid. I tried the online help but that went around in circles and kept saying to contact them via the sales line. However they are unable to honour the Sainsburys 25 voucher unless the order is completed online.
    Does anyone know how I can get the code reset, the card through the post says valid until September, or get a new code so I can sort out her order,
    Thanks in advance,
    Paul T

    Special offers normally only apply to online orders.
    If you would like to try Live Chat they may be able to help you.
    There are some useful help pages here, for BT Broadband customers only, on my personal website.
    BT Broadband customers - help with broadband, WiFi, networking, e-mail and phones.

  • Key code 24 using control down - no longer works in 10.6

    I have a script that should open a dialog box to make a picture using Copernicus. the command I try to invoke is 'Control ='.
    here is the script.
    tell application "Copernicus"
    activate
    delay 2
    tell application "System Events"
    key code 24 using control down
    end tell
    end tell
    or alternative I tried:
    tell application "Copernicus"
    activate
    delay 2
    tell application "System Events" to keystroke "=" using control down
    delay 5
    end tell
    However both do not work, it does do nothing on - key code 24 using control down -.
    If I do a manual 'Control =' it works regardless if the Application is active or in the background.
    Has anything changed in 10.6 that this sort of code no longer works? How do I set it up for this to work?
    Message was edited by: ChangeAgent

    Pierre L. wrote:
    I have downloaded Copernicus 1.5.2 (Build 15) just to better understand the issue.
    is what I use.
    However, I am unable to find any “Control =” keyboard shortcut in any menu of that application. Does that shortcut belong to Copernicus, or is it a shortcut that you have added yourself in the Keyboard pane of the System Preferences?
    I added it replacing 'F7' for various reasons. however “Control =” works if I do it via the keyboard.
    As for me, after assigning a “Control =” keyboard shortcut to a TextEdit menu command, I have no problem invoking it from the following script.
    *tell application "TextEdit" to activate*
    *tell application "System Events"*
    *key code 24 using control down*
    *end tell*
    OK. as said it works using the keyboard, but not via the script. could it have something to do with Copernicus? I simply do not understand as to why it does not work using a script.

  • Lumia 1020 SIM unlock code no longer accepted afte...

    I am the original owner of an AT&T Lumia 1020. At some point AT&T sent me a SIM unlock code on my request, which allowed me to use a T-Mobile SIM without any problems. After a few months I sent this 1020 to a Nokia repair center for warranty service because of unstable reception. I received the repaired phone, and the reception seems to have been fixed.  But.. 
    After receipt I found that the phone had been re-locked to AT&T. The IMEI shows up as being the same as before (makes sense), but the old unlock code no longer works. Contacting Nokia at the time they told me, sorry, talk to AT&T. Unfortunately AT&T sent me the exact same unlock code as they had given me before (also makes sense, it's the same phone), but it doesn't take. 
    My questions; 
    - am I making some kind of obvious newbie mistake?
    - can a repair or component replacemetn change some info in the hardware that prevents unlock?
    - will unlock services find the same non-working unlock code if I try to have them unlock it? 
    Thanks for any help!

    I see. Thanks for sharing your experience, Joe1020. Have you coordinated this with your network provider to see if they can provide you another code? Let us know how it goes.

  • Dvd player no longer works, says it needs 10.7

    Just tried to run DVD player on my 10.6.8 Macbook Pro but it says it requires 10.7 or later. I can't upgrade to Lion since it drops support for older applications using PowerPC code. Who in Apple decided to update applications on 10.6 so they will no longer run?

    My version on 10.6.8 is 5.5 last modified on 6/14/2011. I also have a newer iMac that I upgraded to 10.7 last month. Was not pleased to learn that several of my applications using older PowerPC code no longer worked so I elected not to upgrade my MacBook for now.
    I pulled version 5.4 of DVD Player off of my Time Machine backup disk and it works fine. Thanks for the lead.
    Now the question is how did my DVD Player get updated to version 5.5 on my 10.6.8 system? Seems like Apple has a bug in their update system.

  • Php code is not working as intended in a simple spam block solution

    Hi. I'm trying to get some simple php code (as suggested on a tutorial page I found) to work on my form submission test page in order to reduce/stop spam. However, the results so far have not quite been what I expected. Any help will be appreciated.
    Basically I used the code given in the two grey boxes on this tutorial page http://myphpform.com/form-spam.php (but had to add this <?php ... ?> around the code given in the second box, otherwise it wouldn't have worked!) for my test page, and the result was supposed to look something like shown on this page http://myphpform.com/contact.php and indeed when I previewed my page in offline mode it displayed as intended with the extra field similar to the "Access code:" as on this example page, however that's not what I got when I uploaded my page.
    What happens when I go to the live page is that as soon as it loads it gives me the message: "Wrong access code" before I even have a chance to look at the form there. It's the message the user is supposed to get when they input the suggested code incorrectly, but not when the page first loads! This is what the live test page basically looks like when I go to it http://www.scotiauk.com/contact/forms/smotsContactTest.php. I wonder what's going wrong?
    I actually noticed a short while ago, after 'viewing page source' (source code) on the live test page that the page is for some reason only displaying less than half of the html code and cuts off the rest of it (including all of the <body>) just at the point (at the end of the <head> section) where the couple of lines of php script (borrowed from the second grey box in the tutorial) were meant to be - the script that includes "Wrong access code". So I get why it shows a blank page with only that message in it but not why it removes all of the <body> code once it is live!
    Just for information, this is what the page is really meant to look like - minus the php code: http://www.scotiauk.com/contact/forms/smotsContact.html. That is the original page that I copied and tried to modify with the new code. So, any ideas will be appreciated, thanks!

    Just for information, this is what the page is really meant to look like - minus the php code: http://www.scotiauk.com/contact/forms/smotsContact.html. That is the original page that I copied and tried to modify with the new code. So, any ideas will be appreciated, thanks!
    The page that you have quoted contains an infection as the following warns.
    As far as your problem is concerned, you need to know how a from works. Have a look at this video.

  • Hi, I got my Mac in 2009 with photoshop elements on it - it's recently been wiped, however before the process we put Photoshpp onto a hard drive, we then copied it back over and it no longer works, I'm getting error code 150:30 and I'm being asked for a p

    Hi, I got my Mac in 2009 with photoshop elements on it - it's recently been wiped, however before the process we put Photoshop onto a hard drive, we then copied it back over and it no longer works, I'm getting error code 150:30 and I'm being asked for a password... any ideas how to get it working again?

    You can never, never migrate an installed copy of PSE. It's just too complex and you can't get to all the bits and bobs.
    First you will have to download and run this:
    Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6
    which will not seem to do anything, but is necessary to break the links within PSE so that you can pitch the bits manually. Then you will have to go around, not only to applications, but also to your username>library>preferences and most importantly to the library at the top level of your hard drive>application support>adobe, and remove everything you can find. Spotlight will not help with this kind of search, so don't try that.
    Then you can install PSE from scratch.

  • After recently installing itunes on my new PC running windows 8, the CD/DVD drives no longer works, gives a code 19 message. Seems itunes is impacting the registry of the DVD drive. What is best solution to keep running itunes

    After recently installing itunes on my new PC running windows 8, the CD/DVD drives no longer works, gives a code 19 message. Seems itunes is impacting the registry of the DVD drive. What is best solution to keep running itunes normally in the future & get the CD/DVD drive working again? if I delete the upper / lower registry keys what other functions are impacted? I see others say itunes asks for a reinstall...then same problem all over again! THX

    Have you revieved this support document?
    TS2308: iTunes for Windows: Optical drive is no longer recognized, or "Disc burner or software not found" alert after install.
    tt2

  • Why does timer code (by dbasnett) no longer work splendidly?

    Using timer code supplied by dbasnett back in May2014, I was able to see FPS of near 500 for a simple animation. Now, with a more recent 64bit laptop Win 8.1 - -  I run the same code - - - and see poor results similar to standard timers - - where the
    results are "stepped" - - -like either 16FPS or 32FPS or the max I can get is 64FPS.
    This thread back in May2014  - -https://social.msdn.microsoft.com/Forums/vstudio/en-US/9ddb2f16-796a-483a-aa3f-0f9b959e0eea/the-use-of-systemwindowsformstimer-for-time?forum=vbgeneral
    And here is the code that dbasnett supplied - -
    Public Class Form1
    Dim R As Integer
    Dim D, T As Double
    Private Sub Form1_Load(sender As Object, e As System.EventArgs) Handles Me.Load
    Me.ClientSize = New Size(500, 500)
    Me.DoubleBuffered = True
    T = Environment.TickCount
    timeSubThrd = New Threading.Thread(AddressOf timeSub)
    timeSubThrd.IsBackground = True
    timeSubThrd.Start()
    End Sub
    Private Sub Form1_FormClosing(sender As Object, e As FormClosingEventArgs) Handles Me.FormClosing
    If Not slp.WaitOne(0) Then
    'RemoveHandler Me.Paint, AddressOf Me.Form1_Paint
    slp.Set()
    e.Cancel = True
    End If
    End Sub
    Private Sub Form1_Paint(sender As Object, e As System.Windows.Forms.PaintEventArgs) Handles Me.Paint
    Dim rct As Rectangle = New Rectangle(250 - R, 250 - R, 2 * R, 2 * R)
    Using spen As New Pen(Color.FromArgb(83, 32, 69))
    spen.Width = 4
    e.Graphics.DrawEllipse(spen, rct)
    End Using
    End Sub
    Dim timeSubThrd As Threading.Thread
    Dim slp As New Threading.ManualResetEvent(False)
    Private Sub timeSub()
    Dim A As Double = -1
    Do
    D += 0.125663707
    If D > (2 * Math.PI) Then
    A = 50000 / (Environment.TickCount - T)
    T = Environment.TickCount
    D = 0
    End If
    R = CInt(Math.Cos(D) * 60) + 180
    Me.Invoke(Sub()
    Invalidate()
    If A <> -1 Then
    Me.Text = A.ToString("##0.0##") & " FPS"
    End If
    End Sub)
    A = -1
    Loop While Not slp.WaitOne(20) '<<<<<<< the timer interval
    Me.Invoke(Sub()
    Me.Close()
    End Sub)
    End Sub
    End Class
    With timer interval set to 20 - - - - it used to give about 50FPS (which is should), but it doesnt anymore - - - it gives 32FPS.
    Can anybody shed some light on what has gone wrong? My present laptop also a I7 is 4 years younger than my old laptop and has far betters specs. Why is it slower? or why is this timer code no longer acting the same?
    Thanks
    Leon Stanley - ♪Don't pay the ferryman - till he gets you over to the other side♪ . um . I apply this to corporations - not to God.

    @ Reed Kimble. Thanks for your point about not being OS related. That make sense anyway.
    @ Mr.Monkeyboy. Thanks for your links and points. I had a bit of a read. Mostly over my head. To me it should'nt be a thread priority question because the program is so simple - there is only one thread anyway.
    And I don't think it is a graphics issue, because I altered the program to only manipulate a bitmap - not activate a paint event -  - - but it still performs poorly. I only get 32 Cycles Per Second instead of 50 CPS. See - this is how I altered the
    code - but no change in performance:-
    Public Class Form4
    Dim bmp As Bitmap
    Dim gfx As Graphics
    Dim R As Integer
    Dim D, T As Double
    Private Sub Form4_Load(sender As Object, e As System.EventArgs) Handles Me.Load
    bmp = New Bitmap(500, 500)
    gfx = Graphics.FromImage(bmp)
    Me.ClientSize = New Size(500, 500)
    T = Environment.TickCount
    timeSubThrd = New Threading.Thread(AddressOf timeSub)
    timeSubThrd.IsBackground = True
    timeSubThrd.Start()
    End Sub
    Private Sub Form2_FormClosing(sender As Object, e As FormClosingEventArgs) Handles Me.FormClosing
    If Not slp.WaitOne(0) Then
    'RemoveHandler Me.Paint, AddressOf Me.Form2_Paint
    slp.Set()
    e.Cancel = True
    End If
    End Sub
    Sub test()
    Dim rct As Rectangle = New Rectangle(250 - R, 250 - R, 2 * R, 2 * R)
    Using spen As New Pen(Color.FromArgb(83, 32, 69))
    spen.Width = 4
    gfx.DrawEllipse(spen, rct)
    End Using
    End Sub
    Dim timeSubThrd As Threading.Thread
    Dim slp As New Threading.ManualResetEvent(False)
    Private Sub timeSub()
    Dim A As Double = -1
    Do
    D += 0.125663707
    If D > (2 * Math.PI) Then
    A = 50000 / (Environment.TickCount - T)
    T = Environment.TickCount
    D = 0
    End If
    R = CInt(Math.Cos(D) * 60) + 180
    Me.Invoke(Sub()
    test()
    If A <> -1 Then
    Me.Text = A.ToString("##0.0##") & " CPS"
    End If
    End Sub)
    A = -1
    Loop While Not slp.WaitOne(20) '<<<<<<< the timer interval
    Me.Invoke(Sub()
    Me.Close()
    End Sub)
    End Sub
    End Class
    PS - I changed the code so that it does not deal with bitmaps or graphics at all - - - but still no improvement.
    Maybe it is Framework Version issue ??
    Thanks all
    Top Tip: Toothache? Cut paper towel to 2"square. Smear with olive oil. Sprinkle on Cayenne Pepper. Fold over few times to form small wad. Tuck in between wall of mouth and gum. Leave 1 - 2 hrs. You will thank me!

Maybe you are looking for

  • Can I get my kids apple IDs on my account?

    We have 4 devices between 3 people. Is it possible to get my kids apple IDs connected to my iTunes account? Or do I need 3 different itunes accounts on my computer?

  • Windows 8 App Deployment in School Lab environment?

    After doing some reading and research on Windows 8 Store app deployment from sources like http://www.microsoft.com/en-us/download/details.aspx?id=39685 and this forum and I am getting pretty depressed.  Here is one part of my scenario which is pretty

  • FM : AC_DOCUMENT_RECORD for vendor invoices

    Hi friends, I am working on to get the accounting document from the vendor invoice which was created in tcode MIR4. For this requirement, i am trying to use the FM AC_DOCUEMNT_RECORD. I am passing the AWTYP = RMRP and the vendor invoice number. But i

  • IPhoto Library:  explanation of directory structure for purposes of backup

    I am sure this has been addressed elsewhere, but my search attemps were not particularly fruitful. I am about ready to replace the hardrive in my MacBook (after doing a Migration Assistant maneuver from a PowerBook) with a 120 GB drive. Since I no lo

  • Read only fields in selection screen

    Hi, I have a parameter in a selection screen and wanted it be read only, mean only values could be displayed but it should not allow the user to either enter or modify existing values. Can any one please suggest how to do this ? Thanks and best regar