Add Print Function To A Coloring Book?
Mar 6, 2009How can i add a print function to a particular page for a coloring book?
View 2 RepliesHow can i add a print function to a particular page for a coloring book?
View 2 RepliesI'm planning on making an interactive coloring book for a project and was looking around. I see the tutorials that are around but those are mainly click and fill in an area type of coloring books. I was wondering if anyone can point me to a tutorial that will teach me how to make a coloring book that lets the user pick up a color (a red crayon for example) and scribble in the color him/herself.
View 5 RepliesCould you suggest me any tutorial which teach me how can i make a "coloring book?"
I need to do this for my website and only with one shape. (so not a big book:) )
It doesn't really matter the coding language, but i need something "shading" and not "just pick a color and fill with bucket style coloring book".
So i need something "interactive". Visitor use the mouse, pick the weight of the pencil and than start "shading, coloring".
I'm looking for a tutorial to do a coloring book without swatches. there will be no picker, you just click on a color to cycle through the available colors.nyone seen anything like this?
View 8 Repliesi am leaning Flash for about 3 weeks now, and i am quite good in that. I am AMAZED by all cool effects and trying to learn atleast 1 new every day. This tutorial, Coloring Book in Flash , is giving me headache for the last 2 hours. On the beggining of tut, it say to download and open souce FLA file- I saw that there is only drawing in start FLA file, so I make my own. Is that mistake, right at the beginning? If so, where I can find tut in the whole, so I can use my own images?
View 2 RepliesIs there a tutorial or anything on making a coloring book game like this?
View 1 RepliesI want to recreate a coloring book seen on [URL]
I want to use the same concept except I want to use a library of jpegs (bitmaps) as my color swatches.
Here is my version: [URL]
[URL] I want to know how to color a image not with any color but with exact color for example sky we can only color with blue if we color with any other color that image(sky) doesn't color
View 1 RepliesI have a movie with one frame, and movieclips which can be filled with color are attached. The drawings can be printed with color, but the whole stage is printed and the #b thingy doesn't seem to work. (I've got a box with the wanted print size on a separate layer named #b). If I create a keyframe on frame 2 and move the boundary box there, the print size is adjusted to the box, BUT... the colors are not printed, and all the movieclips which have _visible = 0 are also printed. So it seems I have to choose between printing the whole stage and printing the wanted area without color and with hidden lines...
View 2 RepliesIs there way to use bitmap fills instead of solid colors for the Coloring Book by Zelwyn?I want to color shapes with bitmap fills. If the user changes his mind, then he could recolor the shape with a new bitmap.It would be the exact same as the coloring book, except using image bitmap fills.
View 4 Repliesi have been doing this tutorial http:[url]..but i am stuck on PART 8, i have done everything the tutorial has said so far (although my image and the colors used are different) but the large blank box at the top of the color pallet isnt changing color when i click on any color from the pallet.
Also this tutorial doesnt say what version of flash and actionscript is best suited for this.Currently i am using CS4 & Action Script 2.0 but i don't know if this is correct. below there is a link to the fla. file that Coloring_Book.fla.
I made a coloring book game in AS 2.0 (I did it this way so that I could put individual pieces of code for various buttons - there are around 50). I based it off a tutorial I found online. It works really well. These are the codes I used: In a top layer, I have just in frame 1 (there is only one frame in the whole thing):
_root.fillColor = 0xFFFFFF;
Each colorable part of the picture is a movie clip with a button inside, and each of those buttons has the following code:
on (press) {
color = new Color(this);
color.setRGB(_root.fillColor);
delete color;
}
And then I have two color buttons they can "dip" their pointer into, then they can click on the colorable areas and color them. The code for the color buttons is:
on (release) {
_root.fillColor = 0xC71E07;
_root.brush.gotoAndStop(8);
}
Note: the hex code there is for the red button; it's different for the other color.
Button 1: A "show answer" button that pops up a little graphic showing what their picture should look like. I know how to do this in AS 3.0 (I would just have the object fly in from off-stage on the button press), but not in 2.0. One thing I tried was to have it skip to a different scene or even just a different frame in which that object exists in place. The issue there is that it causes the coloring the user has done to disappear.
Button 2: A "clear board" button that resets the whole thing. I've tried using the gotoandPlay(1) action with this button, but it doesn't do anything.
I got a huge problem trying to color objects that are flying around in my space game. When I shoot and hit them - the affected enemies shall blink. The graphics are pre-rendered (i.e. there's an rotation array and function where the degrees and their appropriate rotation for the objects are stored / calculated for better performance).
So - my idea was to enhance that rotation function with a functionality for additional coloring; but the colored AND rotated objects shall be stored apart of the normal rotated objects. To accomplish this I made a nested array: in row one there are 360 rotated graphics of one object and in row two there are 360 graphics of a rotated and colored object.
[Code]...
I have a small client that needs to put information into Flash and prevent people from printing the document out on their printers.
Of course, you can always print anything you see on your monitor (Print Screen and other apps), but I am only concerned with preventing users from printing from 1) any browser and 2) from the Flash contextual menu.
I'm using this code
Code:
on (click) {
var x = 1;
print(x,"bmovie");
}
To print out the current page as displayed on the screen. The command works great, but when the button is pressed all of my variables seem to be reset, along with various combo boxes.The print function works as intended except clearing all my values .Is there a way around this?
Edit: I just ran a small test on a blank .fla with 3 buttons 1 - set variable = 1, 2 - trace variable, 3 - my print code
This does not clear the variables like it does in my application.What exactly goes on during the print function? If I can isolate and trace the problem, I could find a fix for it, but I have no idea whats going on.
There is an output that fits in A4 papersize with a resolution of 827x1169px. I trigger a print function via Flash AS3
[code]...
But the printout does not fit on A4 paper size (it tries to print larger and can see only a small portion on the paper). How can I arrange this with AS3?
how to apply a print function to a button, i have search through the script directory and this was all I could come up with?
on (press) {
printAsBitmapNum(_root.order, "bmovie");
}
order is the name of the movie clip. what i need is to be able to print the screen from the position where the button is situated??
This script does not print: i have played around with the settings in normal mode but there is no response from my printer.
I'm trying to use the print function in a button, a.s. below:
on(press){
print(_root.instance_1, "bframe");
}
This works fine...the mc "instance_1" is the only thing that prints. The problem is that I need to print 2 movieclips at once. So I have tried the following:
on(press){
print(_root.instance_1+_root.instance_2, "bframe");
}
on(press){
[code]....
None of these work though, the entire movie prints instead.
I'm trying to take a variable from a php page and send it to flash to then use in a link.I'm having problems just selecting ONE variable from the print function, the code will help explain:
PHP page
<?
print"fbook=facebook";
print"tweet=twitter-test";[code]....
It collects all the data fine but it does not print it out correctly, it prints out all the variables in the php in one link. For example: If i click the facebook icon, i will be taken to http:[url].... This also happens with the other icons (Youtube and Twitter).
I have a print button with this code in it:
Code:
var pj:PrintJob = new PrintJob();
var printOptions:PrintJobOptions = new PrintJobOptions();
[code].......
Is there any way to print the contents of a textfield or string using the pring command in AS?
View 2 RepliesI am trying to create a print button on the last frame that will allow the user to print just that frame. I've tried using the printjob object, but all that I can get to happen is print a blank sheet of paper. Here is the code that I have so far:
function printScore(event:MouseEvent):void
{
var printJob:PrintJob = new PrintJob();
[code].....
I want my flex 4 application to print proper picture when I click on print in context menu of Adobe Flash Player.Is it possible?
View 1 Repliesi want to simply print 2 movieClips when i press a Print button. so i have the "_root.container_mc" and "_root.logo_mc"... paste the simplest code for printing a "landscape" page with these 2?
View 3 RepliesI am trying to make a print button that will print the contents of a mc...this mc basically holds a dynamically drawn floorplan which can be zoomed and panned...I want to be able to print the contents of the mc, and only what is viewable in the mc at the time of the print...so if you are zoomed in, all that prints are the actual objects visibly seen in the mc...I think it may be with the print command using bmovie but I have no idea how to assign a #b lable to the frame.
View 3 Replies[Code]... and go to the print section and then check out the print pieces. for some reason my resizing gallery movie is doing some weird stuff and i cant figure out how to fix it. my actionscript goes like this :
[Code]...
I am not able to print more than 5 pages in one go. I want to print almost 12 pages in one print job. I am creating the movieclips of each page by adding the dynamic data in to it and store in an array. When all the movieclips created and stored in an array(pagesAry) then it call the following function to print those pages:
private function sendToPrinter():void
{
pj = new PrintJob();
try
[code]....
Getting error: Print job canceled as it took more than 15 seconds to complete.
how do you set a print button so that it does no show up in the print out?
View 1 Replieshow do I go about printing entire, scrollable text area in flash movie, I know how to print entire page but when text file is scrollable it doesn't print whole text.
View 8 RepliesI was getting a strange bug with lines being the wrong color in my app so I determined the minimum code to show the issue -some lineTo calls were using the color of a future lineStyle call.copy and paste this into a function/class and run:
graphics.beginFill(0x000000);//these 2 lines are important
graphics.drawRect(0,0,50,50);//else bug does not appear
graphics.lineStyle(1, 0xFFFFFF);[code]....
//this next call sets color of previous lineTo!?
//if I insert a moveTo(x,y); then its ok (draws line white, correctly, before style change)graphics.lineStyle(1, 0x0000FF);