Troubleshooting

One Button Stop/Start Action in Flash CS5

4

I am by far, the last person you would want to ask about coding…but, on the rare occasion I can even surprise myself with what I can figure out if I keep at it long enough!

The Issue: I am creating a course for a client and they are using icons that let the end-user know there is additional text to read or audio to play. Because these are icons, I needed to create a button from this image that would play the audio on the first click, and then stop the audio on the second click. I am sure there are easier ways to do this with actionscripting, but again, I am not a code guru, so here is the solution I came up with.

My solution:

  1. Open a new Flash document and set your stage properties.
  2. Import your audio and images to the Library.
  3. Place and position your graphic on the Stage.
  4. Convert your image to a button.
  5. Go to INSERT and choose SCENE.

    On the left, you will actually see SCENE 2, but you can toggle back and forth between the Scenes using the Scene toggle button on the right.
  6. Toggle back to SCENE 1 and copy/paste your button into SCENE 2.
  7. Toggle back and forth to make sure the buttons align from Scene to Scene.
  8. Return to SCENE 1.
  9. Go to WINDOW and open CODE SNIPPETS.
  10. Click once to select your button image on the Stage.
  11. Using the Code Snippets dialogue box, click the arrow next to the TIMELINE NAVIGATION folder to drop down the options.
  12. Double-click STOP AT THIS FRAME
  13. Then double-click CLICK TO GO TO SCENE AND PLAY
  14. Under the Actions tab, select the green text.
  15. At the top of the Actions window, in the Parameters field, change the Scene # to 2.
    (NOTE: You can also select CLICK TO GO TO NEXT SCENE)
     

    This is how the Timeline for Scene 1 should look—>>>

  16. Now, toggle to SCENE 2.
  17. Click once to select your button image on the Stage.
  18. From the Library, drag your sound onto the Stage.
  19. Extend the Frames in your Timeline to fit the length of the audio.
  20. Click once to select Frame 1.
  21. Click once to select your button image on the Stage.
  22. Using the Code Snippets dialogue box, click the arrow next to the AUDIO AND VIDEO folder to drop down the options.
  23. Double-click CLICK TO STOP ALL SOUNDS.
  24. The, under the TIMELINE NAVIGATION folder, double-click CLICK TO GO TO SCENE AND PLAY.
  25. Under the Actions tab, select the green text.
  26. At the top of the Actions window, in the Parameters field, change the Scene # to 1.
    (NOTE: You can also select CLICK TO GO TO PREVIOUS SCENE)
  27. Scroll through the Timeline until you reach the end of the audio.
  28. In the Actions layer, above the audio and button layer, select the next frame after the audio and insert a KEYFRAME.
  29. Using the Code Snippets dialogue box, under the TIMELINE NAVIGATION folder, double-click STOP AT THIS FRAME.
  30. Save, Publish and Play!!!

Remove XP Home Security 2011 Virus

1

This virus looks like a real antivirus program, namely Total XP Security. It blocks all or many of your antivirus and internet applications from running properly, or running at all. Before you begin, understand, I AM NOT an expert, especially when it comes to the REGISTRY KEYS. Be very careful when making any edits in the registry as this will mess up your computer. If you do not feel comfortable performing the Registry edits below, PLEASE seek an expert!

  1. To get rid of this virus, restart your computer.
  2. Hold down the F8 key
  3. Choose Safe Mode with Networking
  4. Choose your operating system
  5. When your computer loads, press Ctrl, Alt, Delete to open your Task Manager
  6. Click on the Processes Tab
    NOTE: Keep an eye on this list. If the rogue program has not launched yet, chances are, it will soon. If it has launched, and a window or windows have opened, close them. They will reopen, but when they do, watch your processes. This will help you identify the virus (.exe file). 

    Some names it could show up as:
    rqo.exe
    2gN8deTMs.exe
    a62a.exe
    i8xE577Kdj65.exe
    YqP852V.exe
    mshta.exe
    (random digits).exe

  7. Try to launch your antivirus program, like Malwarebytes…this should call up the virus program to launch instead.
  8. When you see the new .exe file show up in the Task Manager Processes, select it and write down the name.
  9. Choose END PROCESS
  10. If you have your Folder Options set to view hidden files, go to the next step. If you’re not sure…go to START > CONTROL PANEL > FOLDER OPTIONS > VIEW tab > under HIDDEN FILES AND FOLDER select SHOW HIDDEN FILES AND FOLDERS > click APPLY > close the window
  11. Open MY COMPUTER
  12. double-click drive C:/
  13. double-click DOCUMENTS AND SETTINGS
  14. double-click on your folder (whatever your username for the computer is)
  15. double-click LOCAL SETTINGS
  16. double-click APPLICATION DATA
  17. delete the rogue .exe file in this location; if it’s not in this location, chances are, you may have deleted it if you were able to run a virus scan previously. This happened to me. However, you are NOT finished. Check all other user (username) files by repeating steps 11-17. Once all of these locations have been checked, proceed.
  18. Select START
  19. Select RUN
  20. Type: regedit
  21. Select EDIT
  22. Choose FIND
  23. Type in the name of the rogue file without the .exe
  24. If you see 2 files in this area, you should only see 1. The correct file says (Default) under the Name heading. Delete the other file.
  25. If you see your rogue virus name under the Data heading for your (Default) file:
    EXAMPLES:
    rogue-virus-name.exe “%1″%*
    rogue-virus-name.exe %1
    [system information]rogue-virus-name.exe %1
    [system information]rogue-virus-name.exe “%1″%*
  26. then double-click on the (Default) file name > in the Value Date field and delete the rogue-virus-name.exe ONLY;  “%1” %* or %1 must stay!
  27. The Value Date field for the following Registry Keys should also be checked:
    HKEY_CLASSES_ROOT\batfile\shell\open\command
    HKEY_CLASSES_ROOT\piffile\shell\open\command
    HKEY_CLASSES_ROOT\htafile\shell\open\command
    HKEY_CLASSES_ROOT\htfile\shell\open\command
    HKEY_CLASSES_ROOT\exefile\shell\open\command
  28. Repeat steps 24 and 25 if the rogue virus name is present
    NOTE!!!!! If you find another .exe file, like I did, in one of these registries, open another internet browser window, type the full name into a search engine to see what comes up. If you start finding information links about removing the .exe file because it’s maleware, a virus, etc., chances are, it’s a virus. Delete it. Otherwise, leave it alone.
  29. Run a full Virus Scan using a antivirus program like Malwarebytes, STOPzilla, etc. This may take several hours.
  30. Remove any viruses the software finds.
  31. IF you have CCleaner, a freeware program, RUN CLEANER; then SCAN REGISTRY and fix any issues.
  32. RESTART under normal mode.

 

Problem Running Games in Game Maker?

2

#1: Check your Graphics Card and System Memory

Check that your graphics card meets the required specifications to run the software. PC’s must be running Windows 2000, XP, Vista, 7, or later. A graphics card with at least 32MB of memory is required for most created games. When designing and testing games, the memory requirements must be at least 128 MB and preferably more, depending on the operating system.

#2: Check for DirectX and its settings

Your graphics card must be DirectX 8 (or later) compatible graphics and sound card. Make sure you have the most recent drivers installed. Game Maker requires DirectX version 8.0 or later to be installed on your computer which can be downloaded at: http://www.microsoft.com/windows/directx/.

To check the DirectX settings, you must open the DirectX Diagnostic Tool:

1. Choose the START menu
2. Select RUN…
3. Type “dxdiag”
4. Click OK
5. Choose the DISPLAY tab
6. Under DirectX Features, click ENABLE on DirectDraw, Direct3D, and AGP Texture Accelleration
7. You can click TEST DIRECTDRAW to make sure DirectX is now active on your computer
8. Click EXIT

#3: Registry modification if running Active Directory

If your School District uses Active Directory software it will block Game Maker from running games. To fix the problem, you have to modify the registry. Please note: making adjustments to the registry can cause problems with your computer. Only make adjustments if you feel comfortable doing so.

1. Choose the START menu
2. Select RUN…
3. Type “regedit”
4. Click OK
5. From the left column, choose HKEY_LOCAL_MACHINE
6. Choose SYSTEM
7. Choose CURRENTCONTROLSET
8. Choose CONTROL
9. Choose GRAPHICSDRIVERS
10. Choose DCI
11. From the right column, double-click TIMEOUT
12. Type “7” in the Value Data field
13. Select DECIMAL under the Base section
14. Press OK
15. Close out the Registry Editor

Go to Top