Need help coding Coloring Book App. in AS3

Hello,
I am working on a project for school and I'm having a lot of trouble at the moment. I can't seem to figure out exactly how to start coding for a coloring book type app. I've read through about 6 different tutorials for this type of project and I can't seem to get anything to work for me.
I've drawn out the outline of the image I want to be colorable, and converted the outline into a symbol. I've also made each seperate colorable area it's own symbol as well. In total I have 67 different colorable areas + the outline. I've created a pallete of colors for the user to select from as well.
When it comes to actually coding for all of this to work I am completely lost. If anyone could help me get started and point me in the right direction I'd really appreciate it!

I'm also working on a coloring book app. I have everything working for assigning the colors to the shapes, but I can't seem to access the color assigned to the shape. I"m trying to use an if statement to check the colors of the shapes, so if the colors assigned are the ones that I want them to be a button will be made visible to move to the next page. It looks like this:
var colorChanger: = new ColorTransform();
Red_btn.addEventListener(MouseEvent.CLICK, turnRed);
function turnRed(e:Event):void
     colorChanger.color = 0xff0000;
myShape.addEventListener(MouseEvent.CLICK, shapeColor);
function shapeColor(e:Event):void
     myShape.transform.ColorTransform = colorChanger;
if(myShape.color == 0xff0000)
     Next_btn.visible = true;
I also tried creating a second colortransform variable and putting it in the shapecolor function to hold the same color that is applied to the shape:
myShape.addEventListener(MouseEvent.CLICK, shapeColor);
function shapeColor(e:Event):void
     myShape.transform.ColorTransform = colorChanger;
     otherColorVar.color = colorChanger;
if(otherColorVar == 0xff0000)
     Next_btn.visible = true;
But nothing I do seems to work. No matter how I try to set up the if statement, I can't make the next button visible. Any advice?

Similar Messages

  • Need help with audible books app. It is telling me to redownload a book because it needed a better quality download but I don't see where to download it.

    I Have the audible books app on my phone. I downloaded two books, but after about 30 minutes of listening, they both stopped and brought up a message block saying to go into settings and change the download quality to high and then redownload the books. I changed the quality, but I don't see where I can redownload the books .Until the books are redownloaded, I  am unable to listen to them.

    That's not an Apple product.
    Support for the Audible iPhone app can be had here: https://www.audible.com/mt/test_support_iphone

  • I need help with color pallette in iPhoto 11. I have created a book and would like to use a different color background than those given in "background." I have found the color palettes but can't seem to incorporate them into my backgrounds palette.

    I need help with color pallette in iPhoto 11. I have created a book and would like to use a different color background than those given in "background." I have found the color palettes but can't seem to incorporate them into my backgrounds palette.

    That is not a feature of iPhoto - suggest to Apple - iPhoto Menu ==> provide iPhoto feedback.
    Additionally I have no idea what you are saying here
    I have found the color palettes but can't seem to incorporate them into my backgrounds palette.
    And it always helps for you to dientify the version of iPhoto that you are using
    LN

  • Need help installing CC desktop app.

    Need help installing CC desktop app. I tryed to update Creative Cloud, like it asked for. It didn't update, so I uninstalled CC app. Now it will not re install/ I ran AdobeCreativeCloudCleanerTool also, so now all my apps are gone.

    I've got the same issue.  Adobe only allows me to go to these forums instead of support chat.  I have tried every single option that a google search suggests...

  • I need to need help with changing my app store to canada to us but i have 49cents balance can you remove it please

    I need to need help with changing my app store to canada to us but i have 49cents balance can you remove it please

    Contact iTunes Support - http://apple.com/emea/support/itunes/contact.html - and ask them to clear your balance.

  • Need help in developing mobile app using SAP

    Hi
    I have a team of Android, iOS and Windows developers and we are planning to start developing mobile using SAP and SAP Fiori. Need help in getting started with SAP mobile development like i need plugins and development kits that i need to use.
    Thanks
    Ram

    Hi,
    What help needed ?
    For SAP Fiori  Use this link : http://scn.sap.com/docs/DOC-41598
    For SAP Fiori Installation and Configuration Steps: http://scn.sap.com/community/mobile/blog/2014/06/10/fiori-technical-installation-and-configuration-of-one-app-from-a--z
    Which Software you will use to  develop Mobile Apps in SAP Platform ?So that i will suggest what to do ..
    Regards
    Lokesh

  • I need help with my instagram app...it wont finish installing??

    I need help with my iphone 3g.I tried to update my instagram app and all it reads is waiting...its been 3 days!!!

    Delete it. Turn your device off, then on. Then try to install again.

  • Need help with my Newsstand app!!!

    Hi!
    I need help for someone to quickly test my app and see if it works, I have nobody else to ask!
    I have a free Newsstand application for iPad and iPhone called Flipshion, but one of my users says it is not working for her. I currently have 1 free magazine inside of the app, and my user says when she opens the app she cannot see the magazine. I checked on my devices it works perfect. Can someone download Flipshion on their iPad and let me know if it works? PLEASE THIS WOULD HELP ME SO MUCH!
    THANK YOU!!!!!!

    Hello Keewee_777 and welcome to the BlackBerry Support Community Forums.
    If you are referring to apps such as Farmville, Mafia Wars etc you will need to block each application, managed in your Privacy settings.
    Log into your Facebook on a computer, go to each application fan page. On the fan page, scroll down and on the left hand side you will see Block Application. Once you block the app ensure it shows up under your Privacy settings in Blocked People and Apps.
    Once you have blocked these apps, on your device go into Facebook>Menu>Options and clear the chache. Once done reboot by pulling the battery and check your Facebook news feed once the reboot has completed.
    Let me know how you make out.
    -HMthePirate
    Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)!

  • Need help with my facebook app on my BB 9810

    Hello everyone! I need help because i have been trying to remove the stupid apps from posting on my facebook, more precisely on the NEWS FEED OF MY FACEBOOK APP. Now i did go and block each and every stupid app from my facebook profile on the cpu, and ut did do something as they no longer appear when i log in on my cpu. But, for the love of me they STILL appear on my facebook app and i CANT GET RID OF THEM!!! I went as far as to uninstall and re-install my facebook app thinking it would somehow update itself to my profile settings and remove them, but no success........... Anyone can help me with this?

    Hello Keewee_777 and welcome to the BlackBerry Support Community Forums.
    If you are referring to apps such as Farmville, Mafia Wars etc you will need to block each application, managed in your Privacy settings.
    Log into your Facebook on a computer, go to each application fan page. On the fan page, scroll down and on the left hand side you will see Block Application. Once you block the app ensure it shows up under your Privacy settings in Blocked People and Apps.
    Once you have blocked these apps, on your device go into Facebook>Menu>Options and clear the chache. Once done reboot by pulling the battery and check your Facebook news feed once the reboot has completed.
    Let me know how you make out.
    -HMthePirate
    Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)!

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

    Hello
    I have searched high and low and cannot find a link to download previous pantone color books before Adobe "brilliantly" decided to mess with everyone by only having the pantone+ books. Which have no use for me now as I still have clients that refer to the older books.
    i need them now. Specifically the Process Coated and Uncoated Pantone books.
    I am incredibly annoyed by this STUPID DECISION ADOBE MADE!
    Regards

    Okay. I fixed it.
    Reason why I asked is because in that thread, it gave the workaround links, which was useless without the color books themselves.
    After calling up on buddies, I found someone with Cs5 and got the books from him and added to my library and BOOM it was fixed. That is what I was asking.
    Thanks. I solved this one for me.

  • Need help with Color Matrix Filter.

    need help. still can't find the answer. thanks in advance!

    Darin.K wrote:
    Yes there are two bugs, I found the other one first but figured if you fixed the result the other would be obvious.  This is homework so only a hint:
    look at what happens (and does not happen) to pixel. 
    the first bug was that i had to use the 'result[][]' array instead of the 'image[][]' array in my last loop, right?
    the 2nd bug I really can't find :s been lookin at it for almost an hour now and trying new stuff but nothing works, 
    first i thought i had to put this line " result[x][y] = min(max(int((factor2 * pixel) + bias2), 0), 255);"  inside the for loop above but that didn't fix my problem,
    maybe the problem is in my 'imageX' and 'imageY' variable, i don't know? any more tips?
    I'm sorry for being such a newb but programming isn't my strongest quality.
    cedhoc wrote:
    Just one more advice:
    Look at the format of the "image" array. The way how to use the values from this array depends on the "image depth" parameter. 
    In your case, because the image is 8bit, you need to use the "colors" array containing the real RGB value.
    Look at the Help for the "Read BMP File VI", you should be able to properly handle your pixels from there.
     thanks for pointing that out for me, so I connect the 'totalpix' array with the 'colors' array from the image data instead of the 'image' array, that's correct right?

  • Need help with this book problem...Pig game...can ANYONE help!??

    I need help with the following book problem...could someone write this code for me?? Thanks!!
    First design and implement a class called PairOfDice, composed of two six-sided Die objects. Using the PairOfDice class, design and implement a class to play a game called Pig. In this game, the user competes against the computer. On each turn, the current player rolls a pair of dice and accumulates points. The goal is to reach 100 points before your opponent does. If, on any turn, the player rolls a 1, all points accumulated for that round are forfeited and control of the dice moves to the other player. If the player rolls two 1s in one turn, the player loses all points accumulated thus far in the game and loses control of the dice. The player may voluntarily turn over the dice after each roll. Therefore the player must decide to either roll again (be a pig) and risk losing points, or relinquish control of the dice, possibly allowing the other player to win. Implement the computer player such that it always relinquishes the dice after accumulating 20 or more points in any given round.
    I realize this is a long code, so it would be greatly appreciated to anyone who writes this one for me, or can at least give me any parts of it. I honestly have no clue how to do this because our professor is a dumbass and just expects us to know how to do this...he doesn't teach us this stuff...don't ask. Anyways, thanks for taking the time to read this and I hope someone helps out!! Thank you in advance to anyone who does!!!

    Nasty comments? It's not a matter of not liking you, it's a matter of responding to the
    "I'ts everyone else's fault but mine" attitude of your post.
    If you are genuine, the program is very easy to write, so, your Professor is correct when he said you should
    be able to do it. I'm still very much in the beginner category at java, and it took me only 20 mins to write
    (+5 mins to design it on paper). 2 classes in one file < 100 lines. Most of the regulars here would do it in half the time / half the lines.
    All of the clues are in the description, break them down into their various if / else conditions. Write it down on paper.
    Have a go. Try to achieve something. Post what you've tried, no-one will laugh at you, and you will be
    pleasanty surprised at the level of help you will get when you've "obviously" made some effort.
    Again, have a go. If you don't like problem-solving, then you don't like programming. So, you gotta ask
    yourself - "what am I doin' here?"

  • Need help translating menu from as2 to as3

    Ive been at this for a week now, trying to build a
    straightforward accordian menu, translating an existing as2 menu
    into as3. I desperately need help, I've reach my conceptual ends in
    terms of code knowledge. Could someone please take a look at what
    I've got and what I need to do to get it working? I've included the
    AS3 file I've been working on and well as the AS2 files I've been
    referencing and attempting to translate. Any help really be
    appreciated...also, here is the code I have so far below.

    you have a 4 enterframe loops running continually when they
    only need to run after a menu item has been clicked and can stop
    after all menu items have reached their final positions.
    and you need to compute the final positions for each menu
    item after one of them is clicked.
    you might do better to check for an as3 tutorial for an
    accordian menu. it's a bit more involved than you're thinking.

  • NEED HELP! email, youtube & APPS

    Hi,
    Ive had my blackberry 8520 for about a month now & i really need help.
    I want to set up my personal hotmail email account on my phone but i need an enterprise activation password & i do not have one! & i dont know how to get it or who i need to contact to get it ( my provider 02? or
    blackberry?)
    Ive tried going to advanced options on Enterprise Activation & Host Routing Table but nothing happened.
    Why cant it just be simple? Im sick.....
    Also having problem with internet, i cant view youtube videos because it say "XML is not well formed" so i sick of that aswell.
    Furthermore i cant get any APPS because i dont have my email.
    IM SICK OF THIS PHONE!
    I dont even know if this is the right place to ask for help, please can somebody please help me?

    What your carrier will do is set up your BIS (Blackberry Internet Service) account on their system. That will then, when you go into the email setup app, present you with a Personal Email option (in addition to the Enterprise option). So, they will set up the BIS account...then you, via the email setup app, will configure BIS with the settings necessary for your various email services. See this demo:
    http://na.blackberry.com/eng/support/blackberry101/setup.jsp#tab_tab_email
    But, the very first thing is to have your carrier set your BIS account up...and, yes, at whatever additional fee they require.
    And, you can completely ignore the Enterprise things...never ever select anything to do with Enterprise...unless you go to work for a large firm that has BES...then they should have BES admins to take care of the Enterprise stuff.
    Best.
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Need help in itunes and app store

    hey, i have a iphone5 i made an account in app store and i put it in the settings and when i go to the app and update twitter or any app it doesnt give me my email to put password but give me another email called "[email protected]"  and i have already change it in the features and put my email instead of this email but when i update any app appeared to me this email"[email protected]" and ask me to put password     thank you and i need help please

    It sounds like someone else owned this iPhone before you. Giving you the benefit of the doubt that you don't have a stolen phone but bought it used, if there are apps on this phone from the previous owner this phone needs to be completely erased and restored to the factory settings. These apps are not yours and for you to use them is software piracy. You should go to Settings/Gerneral/Reset/ and Select Erase All Content & Settings. Then set this up as your own iPhone with your own accounts.

Maybe you are looking for