Skip to main content
Unblazon
Participant
March 26, 2016
Question

Help with Flash Please!!

  • March 26, 2016
  • 2 replies
  • 470 views

I've spent the last week drawing out a colouring book for a college assignment and when I went to code I realized that I cannot fill any of my shapes as I drew the using lines. Can someone please help me, I'm trying to figure out a way to create the colouring book without having to redraw everything as it's due soon! I'm using Flash CS5.5 and it needs to be in AS3.0

Thank you in advance!

This topic has been closed for replies.

2 replies

robdillon
Participating Frequently
March 27, 2016

If you draw something on the stage with lines, or the pencil or the paintbrush, you need to convert that drawing into a symbol before you and apply Actionscript to it. Did you do that?

Ned Murphy
Legend
March 26, 2016

If you need help with code you need to identify the code that is not working or at least indicate what you need the code to do.  If you provide a complete explanation of what your plan of attack is for this project, and where you are having a problem, then it might be possible to offer some help.

Unblazon
UnblazonAuthor
Participant
March 27, 2016

Hi yeah I've solved that problem then created the whole application then realised it was in AS2 do you by any chance know how I can convert the line of code

stop();

_root.fillColor = 0xFFFFFF;

from AS2 into AS3?

robdillon
Participating Frequently
March 27, 2016

If what you are trying to do is to change the background color of the stage, then you could use:

stage.color = 0xffffff;