Disabling effects scratch after that the whole screen is scratched
Hey
I'm pretty new to Flash, but I managed to find a script that looks like this:
var mouseclick:Number = 0;
var mask_mc:Sprite = new Sprite();
maskedbg_mc. Mask = mask_mc;
addChild (mask_mc);
stage.addEventListener (MouseEvent.MOUSE_DOWN, speckled);
stage.addEventListener (MouseEvent.MOUSE_MOVE, horse);
stage.addEventListener (MouseEvent.MOUSE_UP, mouseU);
function mouseD(event:MouseEvent):void {}
mouse click = 1;
}
function mouseM(event:MouseEvent):void {}
If (mouseclick == 1) {}
mask_mc. Graphics.beginFill (0x000000);
mask_mc. Graphics.DrawEllipse (mouseX, mouseY, 70, 60);
mask_mc. Graphics.endFill ();
}
}
function mouseU(event:MouseEvent):void {}
mouse click = 0;
}
It adds a scratch card effect, but the thing is I want the Flash to evolve towards a new animation after the entire screen was scratched.
Hope you can help.
Thank you.
:
import flash.utils.Timer;
import flash.events.TimerEvent;
import flash.display.BitmapData;
Import 12345678910111213import;
to import flash.geom.Matrix;
stage.addEventListener (MouseEvent.MOUSE_DOWN, speckled);
stage.addEventListener (MouseEvent.MOUSE_MOVE, horse);
stage.addEventListener (MouseEvent.MOUSE_UP, mouseU);
var t:Timer = new Timer (100.0);
t.addEventListener (TimerEvent.TIMER, checkF);
var mouseclick:Number = 0;
var mask_mc:Sprite = new Sprite();
maskedbg_mc. Mask = mask_mc;
addChild (mask_mc);
mask_mc.x = maskedbg_mc.x;
mask_mc.y = maskedbg_mc.y;
var bmpd:BitmapData = new BitmapData(maskedbg_mc.width,maskedbg_mc.height,false,0x00aa00);
function mouseU(event:MouseEvent):void {}
mouse click = 0;
t.Stop ();
}
function mouseD(event:MouseEvent):void {}
mouse click = 1;
t.Start ();
}
function mouseM(event:MouseEvent):void {}
If (mouseclick == 1) {}
mask_mc. Graphics.beginFill (0x0000);
mask_mc. Graphics.DrawEllipse (mask_mc.mouseX - 35, mask_mc.mouseY - 30, 70, 60);
mask_mc. Graphics.endFill ();
}
}
function checkF(e:TimerEvent):void {}
If (mask_mc.width > = maskedbg_mc.width & mask_mc.height > = maskedbg_mc.height) {}
maskedbg_mc. Mask = null;
bmpd. Draw (mask_mc);
maskedbg_mc. Mask = mask_mc;
for (var x: int = 0; x)<>
for (var y = 0; y)<>
{if (bmpd. {(GetPixel(x,y)! = 0)}
return;
}
}
}
t.Stop ();
this.gotoAndPlay (2); Goto frame 2
menu_mc. Visible = true; make some visible menu_mc
some_mc. Play(); some_mc times
}
}
p.s. Please check the useful/correct.
Tags: Adobe Animate
Similar Questions
-
AIR application that fits the WHOLE screen
I have an AIR application that manages the mode full-screen, but I was wondering is there a way to get rid of the gray bottom bar so that the application fills the whole screen entirely? It seems a bit pointless because it is there and for me it takes away the effectiveness of full-screen completely in my opinion.
It's the bar, I mean: -.
http://i223.Photobucket.com/albums/dd147/jimmyoneshot/bar.jpg
Use ShowStatusBar = 'false' remains in the WindowedApplication tag.
-
After that the effects cannot continue: error when access to the files instead of inside "/ users/me/Library/Preferences/Adobe/After Effects / 13.8", if it please check the file permissions and try again.
[Fixed spelling - Mod]
Go to the folder listed in the path and change the permissions to read/write. Do you know how? It is in the info file.
-
All of a sudden my Acer Iconia One 10 will not close or disable. It flashes just the splash screen "Acer Explorer beyond the limits; Powered by Android.
What should I do?
Problem with the cord/charge plug unit... is very loose and since I bought it. It takes an extraordinary amount of time to load. Is it defective?
According to the description of the connection of the power supply or you have a problem with the power outlet (perhaps folded ut of shape enough to cause free adjustment) or Charger (connection flashing in-house, exit misfeed or simply that bad). If I was in your position I would take back and get one without load problems. You can send it through Acer support and they will fix it for you, but back to the seller will be faster.
-
After that start monitor/screen becomes black with visible vertical lines
After that start monitor/screen becomes black with visible vertical lines. Move the mouse shows an activity going on behind the disorder. My son says video card?
Hi Melissa,
· Since when are you facing this problem?
· Have you checked the issue by connecting a different monitor?
Step 1: It seems to be a hardware issue to me. Check if the cables are well connected.
Step 2: Connect another monitor to the computer and see if the problem persists.
-
Original title: user profile
My administrator user profile does not work properly, but I have a user profile that has activated the parental control that worked well for about a year and yesterday when this user logs on the desktop comes up, but after that the computer does not respond when that user tries to do anything. There are actually turns off the computer with the power button. I ran a virus scan and spyware scan in my user admin profile and he has not found anything. I don't know what to check.
Hello rhunter15,
There may be a program to interfere with Parental controls so that we can try a few things to see if we can determine the application or program that is causing problems.
First of all, we run System File Checker to see if you have a corrupt file system.
- Click Start
- Click on all programs
- Click Accessories, and then right-click on the command prompt.
- Select the Security tab and choose "Run as Administrator"
- Click on command prompt
- Type SFC/scannow.
It will scan and repair any damaged operating system files.
To determine if there is a program because of a conflict, we recommend that you perform a "clean boot" of the computer. A clean boot is designed to disable programs and services in the background as much as possible. This helps determine which service or program can be the cause of the problem. For more information about how to perform a clean boot for troubleshooting, click the number below to view the article in the Microsoft Knowledge Base.
KB 929135 - how to solve a problem of performaing a clean boot in Windows Vista.
http://support.Microsoft.com/kb/929135Once you have finished the clean boot, check again and see if you get the error of parental control.
If please post again and let us know if that helped pinpoint the problem or if you still need help.
Thank you
Marilyn
Microsoft Answers Support Engineer
Visit our Microsoft answers feedback Forum and let us know what you think. -
After that the upgrade of my URL bar no longer displays the Protocol.
After that the upgrade to Firefox 7.0 my URL bar is no longer shows me what protocol is used when you use http port 80. How can I turn this feature on?
The Protocol (http://) was removed from the URL in the location bar for pages http:// only. https:// pages will always have the Protocol. This can be confusing for some users. There is also a bug known, where if you copy the URL after selection of the awesome bar dropdown (but before loading the page) it does not include the http:// part.
Users can revert to the old behavior by setting browser.urlbar.trimURLs to false in about: config
- type of topic: config in the URL/address bar and press the Enter key
- If you see a cautionary, accept it (promise to be careful)
- Filter = browser.urlbar.trimURLs
- Double-click the pref in the lower panel of toggle it on 'false' OR , do a right-click on the pref in the lower panel, then choose "Toggle" switch it on "false."
- close the topic: config tab
If this answer solved your problem, please click 'Solved It' next to this response when connected to the forum.
Not related to your question, but...
You may need to update some plug-ins. Check your plug-ins and update if necessary:
- Plugin check: https://www-trunk.stage.mozilla.com/en-US/plugincheck/
- Adobe Shockwave for Director Netscape plug-in: install (or update) the Shockwave with Firefox plugin
- Adobe PDF plugin for Firefox and Netscape: Installation/update Adobe Reader in Firefox
- Shockwave Flash (Adobe Flash or Flash): updated Flash in Firefox
- Next-generation Java plug-in for the Mozilla browser: install or update Java in Firefox
-
After that the last update 12.3.3.17 itunes will not recognize my devices on windows 10
Have you tried these steps? If iTunes does not your iPad, iPhone or iPod - Apple Support
-
server control of automatic release after that the server took control
Hello
I have a vi that is not automatically "lock control" after that the server has regained control.
Currently, in labview 8.2, when the server takes over the control of a vi, one must first unlock control of vi (by right-clicking and selecting "unlock") before a customer can request control again. Does anyone know how to prevent the automatic locking of the vi from the end of the server when it regains control.
See you soon,.
BrissyDrew
Thanks NathanK,
I found a solution. When I used the vi at the server end I was selecting the wrong option when I right click. I was by selecting "take back control" when I should have been by selecting "controller of report. This last option helped a client to regain control when he asked for it without the server having to give it up first.
Thanks for your advice.
See you soon
BrissyDrew
-
IR remote stops working after that the system will switch to standby
IR remote no longer works after that the computer goes to sleep. I use Windows Media Center (Vista) to the TV and use the remote a lot. The ONLY way to make it work is to restart the machine, which is a PITA.
In the device, here is what is displayed Manager...
Windows cannot load the driver for this hardware device because a previous instance of the device driver is still in memory. (Code 38)
I tried uninstalling, reinstalling the driver, unpluging the receiver IR USB, displacement of ports, etc., the software MS difficulty he tried, but nothing works. It allows to work all the time, but these last few months, you must restart the computer to operate the remote control.
Any ideas? Help, please.
BTW, it is a HP Desktop Media machine, and the remote control is the standard HP remote given out with their machines.
Here is the official Microsoft fix for error code 38:
Code 38: Windows cannot load the driver for this hardware device because a previous instance of the device driver is still in memory
http://TechNet.Microsoft.com/en-us/library/cc772090%28WS.10%29.aspxHave you tried to deactivate "standby" and checked for the repetition of the problem with the IR remote?
You can ask your question to the Media Center experts at the green button forum:
Have a Word with the help of HP to see if they have a fix for the same.
-
Epson Aculaser C 1100 printer does not print after that the text of the error 'install C Tnr basket' black and printer doenst photography black and white or grayscale pages
the printer is not the shades of grey even print cartridge is not yet empty
y at - it software for hauler color printing?
Thanks for your comments
Hello Nilsvolkel,
Thanks for the reply.
I'm sorry for the late reply.
I appreciate your patience and time.
Do not require any special software.
However, you can use the steps in the following articles and check.
Reference:
http://eSupport.Epson-Europe.com/ViewArticle.aspx?LNG=fi-fi&kbid=328037&data=FCFfEfoyEiGLYDIUqzWyE0QE3127X87y&CL=1http://Windows.Microsoft.com/en-us/Windows/choosing-print-options#1TC=Windows-7
Please keep us informed.
Thank you
-
After that the most recent windows update, my computer starts a little more slowly and the start bar at the bottom rises gray and rasterized. In addition, all pages that I opened on the internet are coming with the same blocks of old, gray. Any ideas on what was past, and how to fix it?
Original title: old start bar
Right-click on your desktop, go to customize and then make sure that any theme in the 'Aero' section is currently selected.
-
Silverlight has been installed on my dell with media player and after that the tuner has stoped running silverlight would have something to do with it? I get a low rate and no signal tuner.
Hello
Thanks for the quick response.
What web browser do you use to access the links in my previous post?
If you use Internet Explorer, I suggest to optimize Internet Explorer settings and check if it works.
How to optimize Internet Explorer
http://support.Microsoft.com/kb/936213/ro
Warning: Please note that the reset Internet Explorer (IE) resets all of the settings defined by the user, including those established by the installed extensions, toolbars and other add-ons for IE by default. This includes all the security, privacy and settings area. Also this will erase browsing history, delete all temporary Internet, cookies, form data files and especially all the passwords.
If the problem persists, you can reinstall the drivers for the Tuner card and check with the question.
It will be useful. For any other corresponding Windows help, do not hesitate to contact us and we will be happy to help you.
-
Can embed you fonts in a pdf file after that the pdf has been created? I received a PDF of an another designer, made a few minor corrections, and now the printer cannot be used because the original pdf didn't have all fonts embedded. Any ideas?
Use the Acrobat Pro preflight!
To incorporate the missing fonts in Acrobat Preflight profile will incorporate the missing fonts in your PDF file assuming that:
(1) the fonts in question are installed on your system and
(2) the police themselves is not protected against the incorporation (they can at least see and print incorporation.
-Dov
-
My pc was broken and I had to by one. I did backup cd:s. I downloaded backups on CDs in the new pc, but I can, t open Premiere pro cs 5.5 application. How can I download Premiere pro cs 5.5 in my new pc after that the old pc was broken?
You can download at the bottom of the link:
Maybe you are looking for
-
Toshiba Windows 10 Upgrade information site
Hi members of the community. I found the last page of Toshiba information on the process of upgrading Windows 10 and details on the unique availability of driver for the laptop models. All products listed below are eligible for an upgrade of Windows
-
When I'm on a website and there is an image that says click to enlarge, I click on it, a window opens, but nothing is there. This works in just trying to open what should open in its own window. I uninstalled firefox, reinstalled, upgraded to flash p
-
DAQmx Multi channel simple control triggered Pulse
Hello I work with a USB-6218 of to create a continuous reading and writing applications. The goal is to have 16 channels analog voltage reading, output 2 analog channels configurable throughout their range, 4 Digital Out channels configurable for hig
-
Today while I was in class, my computer has started very well and I was able to work on it as usual. When the class was done, I saved my job and turn the computer off. Not even 10-15 minutes later, I turn on my computer turn it on again to finish my
-
HP 8610: problem printing of PDF files with iMac
I have a HP 8610 all-in-One powered by an iMac. I have a problem with printing of PDF files. When I print, the page moves approximately 1.5 inches down and doesnot print page as seen on the screen. I checked with Apple and you s not a problem with th