Need help coding Coloring Book App in AS3

Hello

I'm working on a project for school and I'm having a lot of trouble at the moment. I can't figure out exactly how to start coding for a coloring book type app. I read through about 6 different tutorials for this type of project, and can't seem to get anything to work for me.

I drew the outline of the image, I want to be colorable and converted the outline into a symbol. I also have each separated colorable, it's own symbol as well. In total, I have 67 different colorable areas + contour. I've created a palette of colors for the user to select institutions.

When it comes to coding for all this work, I'm completely lost. If someone could help me get started and point me in the right direction I would really appreciate it!

If your object has already a colorTransform assigned, you can use its color property to access the colors of the object.  otherwise, you must use the bitmapdata class (first of all the draw method to create a bitmapdata example using your object then getPixel and getPixel32).

Tags: Adobe Animate

Similar Questions

  • Helps the coloring book for children.

    Hello. I am part of a group of volunteers who give their time to support children with disabilities. The local centre were voluntary we recently received a donation of computers specially designed for children. The team and I thought appropriate activities that could be done on the computer.

    We came up with the idea of having a coloring book interactive were children are able to choose between different colors and customize fundamentally different characters and objects.

    We have a trip to Disney Land Paris coming in February and decided to try to use it as a theme for some activities.

    The idea we came up with is a book coloring Disney interactive.

    Now, I'm no Wizard on the computer but did my best to create using flash. (It is because if we create it ourselves we will be able to change it so suit needs)

    So far, we have been able to get a background etc for the coloring book with speaking of Disney characters, but I'm having great difficulty to do the coloring of the Disney characters.

    I was wondering if someone here would be able to help?

    I tried to use the many guides, but seems not work for me.

    Any help would be greatly appreciated. Here is a link to a picture of Mickey Mouse incase anyone needs.

    The goal will be to make a number of charters in the book, but if we are able to get a finish we should be able to use it as an example and create our own.

    http://sandboxworld.com/wp-content/uploads/2009/11/mickey_mouse.jpg

    The idea is to have all the pieces of its interactive clothing as well as his nose.

    Thanks in advance...

    Yes, draw you shapes behind the hands, making a clip and you're done. I updated the sample and added hands for you and also added the png of mickey in the source.

  • I need aiCS5 pantone color books. Where can I download?

    Hello
    I searched high and low and cannot find a link to download previous pantone color books before Adobe "brilliantly" decided to mess with everyone having only the pantone + books. Having no use for me now that I still have clients that refer to older books.
    I need them now. More specifically coated and not coated PANTONE process books.
    I'm incredibly embarrassed by this STUPID DECISION ADOBE!

    Concerning

    Very well. I fixed it.
    Reason why I asked is because in that thread, he gave links to bypass, which was useless without the books of color themselves.
    After calling upward on the friends, I met someone with Cs5 and received books of him and added to my library and BOOM, it was fixed. That's what I was wondering.

    Thank you. I solved this one for me.

  • Need help, private DPS iPad app distribution

    Hi all.

    I need help. I built an app for iPad unique edition which is a training manual that my client needs to distribute only to customers who have purchased a training course. The application must therefore be distributed privately.

    This work if my customer buys a volume purchase program? I then buy an account business to use the B2B distribution? Or is there another way to get the app to their clients without these?

    Look forward to hearing from any of you.

    Thank you

    Gavin

    Hi Gavin you need an account from company to distribute privately, unless you're happy with content adobe Viewer. No other way of cheering Alistair

  • Need help coding AS3 based

    I just added my first code to make a text field will appear when a mouse user above. The code below works perfectly.

    My question: what is the code I have to add to the text field to disappear when the mouse on the user?

    Thanks for your help.

    / * Here is my code that works well for the mouse_over (now I just need mouse_out) * /.

    FLags.addEventListener (MouseEvent.MOUSE_OVER, fl_ClickToPosition);

    var fl_TF:TextField;

    var fl_TextToDisplay:String = ' UK or US English spelling. "

    function fl_ClickToPosition(event:MouseEvent):void

    {

    fl_TF = new TextField();

    fl_TF. AutoSize = TextFieldAutoSize.LEFT;

    fl_TF. Background = true;

    fl_TF. Border = true;

    fl_TF.x = FLags.x;

    fl_TF.y = FLags.y + FLags.height + 5;

    fl_TF. Text = fl_TextToDisplay;

    addChild (fl_TF);

    }

    You will need create a listener for a MOUSE_OUT event.

    What you can do with what you already have is to instantiate the object textfield (fl_TF = new TextField()); outside the service so that you end up creating a new every time you flipping.  Then you can reuse the textfield even over and over with the addChild (fl_TF) in the function of turning and removeChild (fl_TF) in the deployment feature

  • I need help to restore deleted apps.thks Advisor

    PLSE help me to restore the deleted apps. I have this marking to start Skype and then refreshed the laptop and I lost apps installed

    Hello Kaushal,

    Thanks for posting your question on the forum of the Microsoft community.

    I would like to know some information about the problem so that we can help you better.

    What exactly happened when you say, "this marking to start Skype then the laptop refreshed?

    Thank you for details on the issue.

    Once Windows gets updated, apps that have been installed from DVD and Internet sites are deleted. Get reinstalled the applications provided with your PC and applications that you have installed the Windows store. Windows puts a list of apps removed on your desktop after you refresh your PC.

    For reference:
    How to refresh, reset or restore your PC
    http://Windows.Microsoft.com/en-us/Windows-8/restore-refresh-reset-PC

    You must reinstall any lost applications.

    Please see this link:
    Solve problems with a soft
    http://Windows.Microsoft.com/en-us/Windows-8/what-troubleshoot-problems-app

    Note: Please see the article "reinstall the application" in the article above.

    I hope this information helps.

    Please let us know if you need more help.

    Thank you

  • Need help give color to the cells in a table and in table borders Dreamweaver CC - please!

    Hello

    I am a teacher and use Dreamweaver CC to make my class web page.

    How can I give color for the borders of the cells in a table that I inserted?  How can I give color and thickness of the line

    for table borders, too?

    I bought the DVD of David powers, and it does not show that.

    Help, please.

    Thank you

    John

    Assuming you placed a table in your document and your CSS Designer Panel is open

    1. click on the sign «+»

    2. choose your option. I'll choose 'Define on the Page.

    3. follow the above sequence, 1. Click the table, 2. ensure that the table is selected, 3. Click on the style, 4. Click on the "+" symbol, 5. Displays the switch.

    4. click the selector and choose the required properties.

    You can do the same for the line)) or a cell)). In fact, this is how would you style something in your document.

  • CP1515n: Need help with color CP1515n landslide

    Can someone shed some light on this...

    I have a CP1515n laser printer, connected by Ethernet to Yosemite iMac running.  Printing from Acrobat or InDesign CC produces the same results...

    Whenever I have print on something else that plain paper, ink is drag across the page, as if it hadn't melted.  Used paper is HP Professional Laser Glossy 200 g using authentic HP inks.

    In the printer section of the print in the Finish dialog box I select HP Brochure Glossy 200g, also tried on hardcover glossy 176-220g.  Is this a problem with the printer itself or the software?  I did a factory reset and still the same result.  Close to throw it out the window and buy another brand.

    Hi @Lee81070 ,

    I see that you are having problems printing on photo paper. But printing on regular paper print very well. I will do my best to help you.

    Try and print a self-test on the printer hardware to see if it is a hardware or software problem.

    On the printer, press OK, the arrow for reports, OK, then arrow to demo page and press OK.

    In the same menu on a simple sheet of paper, print the status page to provide.

    Yosemite drivers are installed by the Apple updates. Install a printer driver Mac using Apple Software Update.

    Check the name of the driver that is installed by the printer. Make sure that it shows just the name of the printer.
    Click on the Apple menu, click System Preferences. Click on Printers & Scanners, highlight the name of the printer on the left side and right side of the screen it should show the name of the printer. (Laserjet CP1515n)

    If the full name of the printer is not correctly, delete and add the printer name back from the list. Click on the sign - to remove the driver and then click on the + sign to add the driver might have to drop-down list to select the name of the printer to add a click.

    Try to print again.

    Try another type of photo paper to see if you have the same results.

    Please enter it in detail if you still have questions, so I can help you better.

    Have a great day!
    Thank you.

  • Need help swap colors.

    Hello

    I make a stencil and I messed up a bit.  I have white on black instead of black on white.  There are a few layers in my project, so I hope I can flatten the thing (or export and re-inport it) then to trade my white to black.

    I tried using the magic wand to select every bit of my whites but his proves quite difficult to get it all in a clean way.  Can someone here help me by suggesting a really slick way to do this...?

    Thank you!

    You can flatten (see at the bottom of the menu layer), but you don't have to. There is a Visible stamp command that will create a new layer containing a compound of visible layers. The new layer will appear above the highest targeted layer or at the top of the stack if no layer is targeted. The new layer can then be reversed.

    Mac = Opt + Shift + Cmd + E, then Cmd + i

    Windows: Alt + Shift + Ctrl + E, then Ctrl + i

  • Beginner needs help loading Quick Books

    I'm to assess using VMware Fusion as a way to bring QuickBooks (on the Dell at work) to the House and continue my accounts on my Macbook, then take the data date back to Dell and load the data updates back in the Dell and so on.  Is this really possible?  So far, I have a Virgin copy of Windows XP, downloaded on the merger, how QuickBooks in there, and how do I get my current data in there?

    Yes it works and basically make you the same way you would on a physical computer, or between two physical machines.  You insert the QuickBooks CD and install QuickBooks in the Virtual Machine Windows and then you can use a USB Flash drive to transfer a copy of QuickBooks company data file and or file to backup QuickBooks company from one computer to the other.  It's as simple as that.

  • Need help with the error msg 1120: access of undefined property

    I'm not a coder, so I need help coding. Any help would be greatly appreciated.

    I'm a Flash banner that was given instructions "clickTAG" of Google. The code, they said to put the button is:

    Parameter ClickTAG for ActionScript 3 code:

    import flash.events.MouseEvent;
    import flash.net.URLRequest;
    // ......


    () someButton_or_displayObject_to_receive_mouseClick.addEventListener
    MouseEvent.CLICK,
    function(Event: MouseEvent): void {}
    flash.net.navigateToURL (new URLRequest (root.loaderInfo.parameters.clickTAG), '_blank');
    }
    );

    Replace someButton_or_displayObject_to_receive_mouseClick with the actual name of the button that will receive the click.

    Note that it is not necessary to specify the destination URL of the ad anywhere in this code; This is supported through the use of "clickTAG". In addition, according to the structure of your Flash Ad, it may be necessary to add "_root." or "_level0." for "clickTAG" above, resulting in a "_root.clickTAG" or "_level0.clickTAG". It is strongly recommended to download the ad on your account and check the ad behaves normally until she'll live, granted for the necessary changes.

    And this is the code that I put in (btnClickTag is the name of my button):

    import flash.events.MouseEvent;

    import flash.net.URLRequest;



    () btnClickTag.addEventListener

    MouseEvent.CLICK,

    function(Event: MouseEvent): void {}

    flash.net.navigateToURL (new URLRequest (root.loaderInfo.parameters.clickTAG), '_blank');

    }

    );

    and this is the error I got:

    Scene1, layer 'actions', image1, 1120: access of undefined property btnClickTag. () btnClickTag.addEventListener

    First of all, make sure that you have assigned this name to the button using the properties panel, and then, don't forget to adjust the code so that it is not spread over several lines... normally it must be on a single line.  Do not nest the function where the listener either, so try the following (not necessary for import declarations)...

    btnClickTag.addEventListener (MouseEvent.CLICK, tagClick);

    function tagClick(event:MouseEvent):void {}

    navigateToURL (new URLRequest (root.loaderInfo.parameters.clickTAG), '_blank');

    }

  • I need help I want to retrieve my mac pro book

    I need help I want to retrieve my mac pro book and now I can not bcz Yosimoto os is not avilabe what can do?

    < object edited by host >

    If you have installed Yosemite by downloading it from the App Store, it will be in your App Store purchases tab. If Yosemite is currently installed, when you start in the recovery Partition (command - R on a restart), you can reinstall Yosemite.  In the recovery Partition, you can also restore Time machine and disk utility is available.

  • Need help with creating Swatch palette library book

    I am an employee in a company that produces uniforms and custom clothing.  Our art Department converts and creates logos using embroidery threads and printing inks business tones.

    A major challenge that we are facing on a daily basis is to select the right thread and ink spot of the work provided by the Subscriber.

    Our embroidery in-house manufacturing operation has 300 + thread colors and our printing division has a standard range of 60 +.  Our staff has manually from each wire color in our library of PMS graphics and created an excel spreadsheet that maps all the information of the son that we carry.  From this information, we have created custom color palettes.  Pallets work very well in the creation of art from scratch, BUT they can't help us identify possible closest matching wire color of work provided by the Subscriber using the eyedropper tool.

    I NEED A BOOK OF CUSTOM COLOR THAT WOULD ALLOW THE TOOL PIPETTE THE COLOUR CLOSEST TO WIRE IN OUR LIBRARY, THE SAME FEATURE THAT IS USED TO FIND A MATCH OF PANTONE PMS.

    I have done extensive research on the creation of a custom color book and invested dozens of hours trying to modify/create one in FRANCE following the material I've seen online of programming language.  This task proved beyond my capabilities and I have received no response and I sent to each poster who has never responded to this topic on these forums private messages.

    Anyone here have experience in the creation of a book of custom colors for the purpose of the correspondence of digital art in the library?

    I may be a solution to the problem even if I tried it with only a limited number of colors. The downside is the fact that you need to create a swatch of your color library. On the side: once the graph is saved, you can reference it at any time and apply it. It seems worth your time to test this method.

    Create the color chart:

    1. open a new file, 12 "x 12" 72 dpi RGB 8 bits

    2. choose Image > Mode > indexed Color custom Palette

    3. click in the first box in the grid. The color picker opens.

    4, adjust the RGB values of the color first in your personal library of color

    5. click on the next box and repeat the procedure to add color chips

    6. when the graph to complete (or as big a levy that you choose for the test) choose Save, name the file and save it to your desktop. Close the file,

    Locate the closest color:

    1. open the client file and use the pipette to a choose a color in it.

    2. choose Image > color > Color Table. Your personal color table will be redisplayed.

    3. click on the eyedropper in the table

    4. click on the foreground color that you put in the foreground color patch

    5. the box in the graph which is closest to this color will be chosen.

    6. option click on return to the table to its State unmarked

    close

  • Need help with spot colors PMS Pantone

    I'm building a document in Illustrator CS6 using CMYK color. I need to add, and in some cases, substitute and identify the correct most closely matched PMS Pantone spot colors but don't see even the PMS library represented in Illustrator. Can anyone help me find Pantone swatches, or is it an add-on for the program Illustrator?

    Thank you

    Ken

    Hello Ken,

    Window > swatches.

    Then, in the window of color chart: Open Library of Swatch, color books, solid coated Pantone (more current book)

    The Canada Gazette

  • I need help to connect my iPhone apps on El Captian Office

    I need help to connect my iPhone apps on El Captian Office

    Without knowing exactly what you're trying to do, this article from Apple can help:

    Continuity allows you to connect your iPhone, iPad, iPod touch and Mac - Apple Support

Maybe you are looking for

  • Safari problem

    Safari has stopped loading on my powerbook Mac pro after Apple software update has been downloaded.

  • Pavilion dm4 2300: status 0xc000009e

    My Pavilion does not start and do not show this message in a black screen "Windows has encountered a problem communicating with a device connected to your computer.This error can be caused by unplugging a removable storage device, such as a USB exter

  • dll issues.

    At startup is displayed 3 items informing me that palmcmn.dll and calc.dll scandisk.dll is not found, application could not start what is it and how is it fixed?

  • My Dell XPS 15 audio Jack does not work.

    Hello, my new Dell XPS 15 audio Jack does not work. I just got this thing out of the box. I have updated the drivers and stuff, which doesn't seem to be the issue. I tried several headphones as well, the helmet is not the issue. I've isolated to this

  • Redirect the user to a specific page after submitting a webapp

    I create a user page secure custom where users can create their WA and then when they edit, I would like to return them to the Gallery of items listed.Basically on submit to save the changes and return to the gallery page.Any ideas?Much appreciated h