ActionScript 2.0 :: Printing Coloring Book - Choosing Specific Area?
Apr 29, 2003
I 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 Replies
Similar Posts:
Jul 22, 2011
So I've recently started working with ActionScript 2.0 at my internship. I am now working on a game, that already had all its graphic interface designed and I am doing all the programming. Basically what I have to do is get some movie clips (randomly) from a different scene and print them on another scene in a designated area (but also randomly). I am not sure the best way to explain my problem, so I made a sketch of how the scene should look. [URL] So basically I want to print the movie clips on the black space, as if they were the red squares. But the movie clips are stored in a different scene in the same project. So I want to know two things: how do I get the movie clips from the different scene? And how do I print those movie clips on the specific area?
View 1 Replies
Feb 12, 2010
I'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 Replies
Apr 1, 2012
Could 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".
View 1 Replies
Jun 16, 2006
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 Replies
Mar 6, 2009
How can i add a print function to a particular page for a coloring book?
View 2 Replies
Sep 3, 2009
i 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 Replies
Mar 2, 2011
Is there a tutorial or anything on making a coloring book game like this?
View 1 Replies
Jan 12, 2010
I 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]
View 3 Replies
Jul 21, 2011
[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 Replies
Feb 23, 2010
Is 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 Replies
Apr 27, 2009
i 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.
View 1 Replies
Jul 27, 2010
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.
View 2 Replies
Nov 10, 2011
I just want to do not allow editing at some area of text area in flex. How it can be done?let suppose text length in text area is 50 characters, i want to allow editing if cursor position is less than 15, and if cursor position in text area is greater than 15 it should not allow user to add more text in text area.If user press any key it should not add any character in text area.[code]
View 1 Replies
Jan 19, 2006
I am trying to work out printing from Flash. I have seen that to print a frame you make it's frame label '#p'. This however always prints each frame labelled '#p' on a print command.
I was wondering if there is a way to print specific frames depending on what the user has entered. For instance pressing one button prints one hidden frame and pressing another button prints a different hidden frame.
The print command im am using is : print(this,"bmax");
View 3 Replies
May 19, 2009
I've a good understanding of flash but not so good when it comes to actionscript. At the moment I'm trying to build a flash site with a print button which will target specific areas of my site (including the contents of a scrollpane) and then fit them to the size of the page. I've spent a long time trying to get this to work, following different tutorials and Googling until my eyes went blurry, with very little success. The deadline approaches and I am getting desperate. how to achieve all of these requirements? Ideally I would love some magical component like videoMaru but that may be a tall order! I am publishing my swfs for Flash Player 8 with ActionScript 2.
View 3 Replies
Mar 18, 2009
how do I load video into the movie area like in the pic? where I can click on a box on bottom and the video for that will load in movie area?
View 1 Replies
Sep 12, 2011
I have created and added my enemyHolder class with
width:800
height:262
to this class I am adding a bunch of squares using this method
ActionScript Code:
for (var i:int = 0; i < enemyNum; i++)
{
enemy = new Enemy();
[Code]....
I thought this would only add the child within the dimensions of my enemyHolder, but they are being spawned everywhere! I'm sure it's just something with my x and y placements, but I can't figure it out.
View 6 Replies
Dec 1, 2006
Does anyone know how in the world to make the menuItems that appear on right-click be different depending on where the user's mouse is over?
View 2 Replies
Nov 10, 2009
I have a flash cs3 file where I want a mask to move on the y axis (up and down) when the user is scrolling over the navigation area.
In my code, I have:
maskMC.startdrag();
How do I limit the area where the mask will move, then make it return it back to it's original position when the user moves away from the specific area (in this case the navigation).
View 2 Replies
Aug 30, 2009
I would like to export a specific area of the stage. So, for example. My stage is 400 x 400 and I would like to export only 100 x 100 of the stage at xy 0 pos.
View 6 Replies
Sep 4, 2009
I'd like to be able to use a pencil image (custom cursor?) to draw in a defined area - its the 'ol pencil drawing a line idea on a pad. I don't know how to define the area? I've tried creating either a btn or mc instance called pad_mc & trying rollOver/Out which confines the pen but not the line. This is what I have so far, which works (ie it draws the line) but obviously it goes everywhere, not just over the mc of the pad.
Code:
createEmptyMovieClip("Line",1);
Line.lineStyle(1, 0x666666, 65);
onMouseDown = function () {
Mouse.hide();
pen_mc.startDrag(true);
[Code] .....
Also, I've got an onClipEvent on my pen_mc to try & define where its allowed to be dragged.
View 2 Replies
Jun 16, 2011
Is possible to add an EventListener to a specific area of a picture ?
View 1 Replies
Feb 10, 2010
I've created a widget that that, on roll over, starts an animation and allows the user to jump to a url on clicking the widget. It all works well, except that the whole stage area (209x204 pixels) is sensitive to the roll, and I want to somehow make a specific target area start the animation on roll over.
I've tried putting it into another button and adding a hit state to the button, which did create the specific area I was aiming for, but prevented the movie from playing, creating a weird 'stutter' of the cursor.
View 2 Replies
Nov 4, 2010
I have a custom cursor in my Flash document. Now that it is all set up, I want to specify an area that it can be in and nowhere else. Basically, I want to keep it in my navigation area on the top of the stage and not be able to go below it to the rest of the stage.I don't know if it will help or not, but I have the following as my custom cursor code:[code]
View 3 Replies
Aug 14, 2009
Is there any way of applying a ColorMatrixFilter to one rectangular area of a DisplayObject, leaving the rest untouched? The DO is a container, and the user interacts with objects in it, so taking snapshots to change its appearance isn't an option.
View 2 Replies
Jan 19, 2011
Is there actionscript to enable a screenshot of a specific area of the screen? And possibly display this screenshot at a different stage?
View 1 Replies
Jun 16, 2010
I'm making a game where targets popout from behind walls. I have 3 walls, each wall needs to have his own target. I'd like to make the game spawn the targets randomly behind each wall. I'll tween them to make them go up.
I assume I have to link the targets to their own class and delete them from the stage and have the script spawn them instead, right?
View 1 Replies
Apr 2, 2011
I've been using the code below to save the image in my panel.
ActionScript Code:
var bd:BitmapData = new BitmapData(vgrpBottleArea.width, vgrpBottleArea.height);
bd.draw(previewPan);
[code]......
View 0 Replies
Jun 7, 2004
I've never used the drawing function on Flash and I followed the fairly simple tute on it just recently. Is there any way to confine the drawing area to a specific shape. Mine's a rectangluar shape that's rotated. You can download my FLA with the background image here > [URL]. I'd like to try and keep it confined to the notepad area. I think it might be a hitTest thing with if/else. My other thing would be to just rotate the notepad so that it's straight. Even still I'd like it confined to the area beginning with the corner of the notepad, not the corner of my movie.
View 2 Replies