Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash








Go Back A Step Tool For Paint App


does anyone know of any actionscript that will act as a go back a step tool by undoing the actions of the mouse back to the last mouse down.

the actionscript used to paint is the following:

****
onMouseDown = function () {
paintClip.moveTo(_xmouse, _ymouse);
onMouseMove = function () {
paintClip.lineStyle(thickness, colour, alpha);
paintClip.lineTo(_xmouse, _ymouse);
};
};
onMouseUp = function () {
onMouseMove = null;
};
****

somehow i need to revert back to the prevouse mousedown thus acting as a go back, does this mean i need code to log every mouse down?

im using flash8 as2 and have included the .fla




FlashKit > Flash Help > Flash General Help
Posted on: 11-03-2005, 01:12 PM


View Complete Forum Thread with Replies

Sponsored Links:

Paint Tool
Who ever seen any paint redactors, that made in flash to
use in web? I v seen one, that you can paint curves , I mean like in Paintbrush. The problem is now to save
this picture somehow on disk, so that I can attach it for example to site also.(like result of the work) It can be
just seemple paint redactor with one color(but as I now color is not a problem)
Tnank everybody

View Replies !    View Related
Constructing A Paint Tool
Hello,
Would it be possible to have a help from you?
I need to build a tool to "tone up" to a childish website.
At the movie I'm using, I have the following structure:

1º frame / 1ºlayer - 4 different colors's buttons, red, green, blue e yellow.

1º frame / 2ºlayer - A cat's draw separated on two movieclips, 1 containing the cat's head, and the other the body.
Actually by clicking a button using a property I can change the color of one of the movieclips. But, what I really need is that:

By clicking in one of the buttons it stores a rgb color and release it on clicking one of the movieclips changing the movieclip's selected color. ( A tool which works as the "flash's paint bucked tool". )

Any suggestions/solution?

Icaro Brito

View Replies !    View Related
Paint Tool Is Going Insane
This is a little embarassing but I've reached my wits end with this! For some reason my paint tool has... reversed its function. Instead of drawing lines and what-not, it only makes full shapes. I'm not sure how to describe it this but here-goes:

When I try to just draw a single line with the paintbrush tool, it simply disappears after I release the mouse. However, when I make a full (closed) shape it fills it in and any lines that intersect the shape are cut out.

If you need a picture, I'll post a few. But please help me out! I'm going insane!

PS: This also seems to be only happening on ONE of my movie clips (I'm editting inside the MC). All of the other ones work fine.

View Replies !    View Related
Paint Bucket Tool
Hi everyone,

im really new to flash.

Im using flash 8.

When i draw pictures using the straight line feture....i cant fill in the spaces with coulor using paint filler. There is no breaks in the lines everything is connected.

This might be a really dumb question but ive spent ages trying to work out whats wrong.


any help?


thanks

View Replies !    View Related
Paint Bucket Tool
Hello everybody - I am creating a square using the rectangle tool. Then I am using the line tool to draw a diaganal line from corner to corner of the square, dividing it into 2 triangles.

I want to use the paint bucket tool to fill one of the triangles with a blue colour and delete the 2nd triangle.

I am having trouble doing this simple exercise. I can only select one line at a time. I feel that if I can select all the lines of the triangle that I could fill it with the colour that I want. I have tried holding down the shift key to select multiple lines but I am having no luck with this simple exercise.

Any help would be greatly appreciated.

Regards

View Replies !    View Related
Spray Paint Tool In CS4
By now i"m sure a lot of people have worked with the spray paint tool in CS4. If you look at the example on Adobe they spray paint a star movie clip across the sky and instantly upon publishing the stars are all blinking. well it's not really that simple, but it can be.

1st of all making a class with particle type functions will and attaching it to the library item will work. this is how I would do it for myself.

But i want it easier for people that don't really understand ActionScript yet.
I made this class below:

ActionScript Code:
package
{
import fl.transitions.Tween;
import fl.transitions.easing.*;
import flash.events.*;
import fl.transitions.TweenEvent;
import flash.display.*; 
import flash.utils.Timer;
import flash.events.TimerEvent;

public class Particle extends MovieClip
{
    //change the frequency
    private var frequency:Number = 25;
    private var timer:Timer;
    private var r:Number;
   
    public function Particle()
    {
        timer = new Timer(1500, 1);
        timer.addEventListener(TimerEvent.TIMER, doTween);
        timer.start();
    }
    public function doTween(e:TimerEvent):void
    {
        r = Math.round(Math.random()*frequency);
        if(r==5){
            play();
        }
        timer.reset();
        timer.start();
    }   
}
}
Just call the Particle class from your library item.
It works great now you can place a stop action on the 1st frame of your movie clip and the clip will randomly play the MovieClip.

The only problem I see is that you would need to duplicate this class if you want to put it on two library items.

does anyone know a way to call the class twice for use by people that don't know how to create or duplicate new classes, yet?

Maybe I'm just over thinking it...

Thanks!
Quince Wyss
Peak Studios

View Replies !    View Related
A Fill Tool For A Paint App?
hi,
i was trying to get my head round creating a fill tool for a paint program im creating in flash.
I was thinking for example if a user was to draw a circle, when the fill tool was used within that circle it could use a hit test to determin the edge of the circle, i then realised that the hit test methord uses movieclips, this being a bad thing as the shapes to be filled are being drawn in real time by the user

How would i write actionscript that acted as a fill tool? I know there is a fill command in the dictionary but i only know how to use it when drawing shapes in actionscript.

i have included the .fla file, its flash8 as2
Thanks vic.

View Replies !    View Related
How To Create A Cut Tool Like MS Paint...
how to create a cut tool like MS Paint with flash8.Any idea?

-thanx-

View Replies !    View Related
Paint Busket Tool
I'm using Flash 5 for this;

I selected the paint bucket (Fill) tool, selected solid from the Fill panel, and clicked on my empty work space to fill it, nothing happened.

I then drew a complete circle with the pencil tool, tried to fill it, again, nothing happened.

How do you use this tool?

View Replies !    View Related
Constructing A Paint Bucket Tool
Hello,
Would it be possible to have a help from you?
I need to build a tool to "tone up" to a childish website.
At the movie I'm using, I have the following structure:

1º frame / 1ºlayer - 4 different colors's buttons, red, green, blue e yellow.

1º frame / 2ºlayer - A cat's draw separated on two movieclips, 1 containing the cat's head, and the other the body.
Actually by clicking a button using a property I can change the color of one of the movieclips. But, what I really need is that:

By clicking in one of the buttons it stores a rgb color and release it on clicking one of the movieclips changing the movieclip's selected color. ( A tool which works as the "flash's paint bucked tool". )

Any suggestions/solution?

Icaro Brito

View Replies !    View Related
Problem With Paint Bucket Tool
Hi,

I am practicing Ray of Light effect.

I draw a letter, convert it to graphic, then draw a close shape from it.

However, I cannot apply the fill bucket to the shape I have draw. Do you know why? I have check the gaps but it seem to be a close shape.

Thank you for your help,
Phan Dung

View Replies !    View Related
Paint Tool In Flash 2004
hey ,with the paint tool on flash how do i make it so after im done drawing it how do i make it so it don't go all sketchy if u kno what i mean

View Replies !    View Related
Paint Brush Tool Using Flash
I am making a paintbrush tool in Flash.
Though almost finished i am facing the implementation of selection tool.
When I select an object thru the selection and scale it scale abnormally. Plz help me resolving this.

Steps to replicate:
click on "Rectangle" tool button.
Draw within white space area.
click on the shape.
Shape handler will appear.
Now drag the shape handlers.(here is the problem.)

swf: http://testgame.b2yf.nl/help/test.swf
fla: http://testgame.b2yf.nl/help/test.fla

View Replies !    View Related
How Can I Get The Paintbucket Tool To Paint Bitmaps Bigger?
I am trying to make a camo bitmap for my toon I'm working on. I tried making one on MS Paint, and Photoshop; but when i paint with them it comes up too small tell its camo. I tried to make it bigger, and it still didn't work. How do i fix this? I have Flash 6 if that helps.

View Replies !    View Related
How To Create An MS-Paint Like Tool With A Save Option?
hello there!

I am developing an application thats more like a color book.I can think of possibilities for applying colors to an existing art work.But i fail to think of how i can save the contents(the entire draw-board after applying colors) of the dynamically created content.. any help is greatly appreciated!

thanks a ton!

View Replies !    View Related
Coding Colour Fill / Paint Bucket-tool.
I'm developing something of a paint application and need to find a solution for making a paint bucket tool. Users should be able to fill outlines of movieclips with any colour.

How should I go about this?

My first thought is to somehow extract each "area" of the outline, and make a new - separate and transparent - movieclip of them. The paint bucket would simply call setRGB or somesuch, on that overlay.

But how on earth do I do that from actionscript? This version of the application, will only have pre-drawn movieclips (outlines of different motives) for the user to fill in, but I don't want my illustrator to spend time manually creating separate layers for each area of those motives (lots and lots of them).

Perhaps you can see a different approach altogether? Is there a function for doing colour fills (within outlines, not entire movieclips) avaliable in the Flash drawing API?

View Replies !    View Related
Go Back One Step
Can anyone tell me if there is a simple way to go back one step - sort of a back button? The problem is the movie is not sequential so back could be anything - I need it to basically "load previous movie"- or "reload previous .swf" ... something like that. New to ac and using Flash 5 - Thanks!!

View Replies !    View Related
Please HELP ...FLASH Menu With Back Step
Hi, can U help me make "FLASH MENU" with "back step". On the attached LINK u can find little demo how should it work.
(sorry for my english)

http://www.volny.cz/fstyler/help/flash/

Thanks a lot


Edit by admin: no contact info permitted on the forum, thank you

View Replies !    View Related
Player Detection ....this Is A Step Back
With previous versions of flash ( 5/6/7) you were alerted either via a warning message or the appearence of an empty icon (there where your swf was sitting) if you needed to upgrade your flash player on your browser in order to see all the flash contents of the page.
But now, say you have flash player 7 on your machine, and you open a page featuring some flash 8 content, you will not have a clue you are missing something on that page.
And if you right click there where you know (because say you are the author of that page) is some flash 8 content, you will get a pop up window telling you about your flash 7 setting... nothing else.
Is this going to be fixed?
Shirley

View Replies !    View Related
Slideshow Step Back/forth Button Not Stopping
Hi,
I have a simple image slideshow with play/stop back/forth buttons. Everything works fine, except when you hit back or forth, when the movie is playing, eventually it moves on to the next picture.. unless you hit stop. I'd like the the frame to stop automatically when a viewer hits these buttons.

Please view my attached file.

I know this should be very easy but I can't seem to figure it out! I have deadlines up my bum and I'm spending too much time on this! Please help.. a clue, anything.. ! It would be much appreciated, thank you!

View Replies !    View Related
Urgent Help: How To Remove The Accumaltion When Show Movies Step By Step With Buttons
I want to show the movie step by step by clicking the next button. Inside each frame, many movie clips are generated dynamically at runtime, and they can be played interactively.

I achieves the step-by-step display of those frames by adding another layer with the action stop(). But I got one trouble: all the movie clips from previous frames are accumalted. How to remove the accumulation from previous frames?

For the continuous display of the movie, I tried to use onEnterFrame() and change the _visible property of all the movie clips to false in this function. But it doesn't work for the step-by-step display. Once I click the next button, the movie clips at the current frame just show very quickly, then disappear. What should I do?

I need to fix this immediately.

Your help would be greatly appreciated.

- zcx

View Replies !    View Related
Urgent Help: How To Remove The Accumaltion When Show Movies Step By Step With Buttons
I want to show the movie step by step by clicking the next button. Inside each frame, many movie clips are generated dynamically at runtime, and they can be played interactively.

I achieves the step-by-step display of those frames by adding another layer with the action stop(). But I got one trouble: all the movie clips from previous frames are accumalted. How to remove the accumulation from previous frames?

For the continuous display of the movie, I tried to use onEnterFrame() and change the _visible property of all the movie clips to false in this function. But it doesn't work for the step-by-step display. Once I click the next button, the movie clips at the current frame just show very quickly, then disappear. What should I do?

I need to fix this immediately.

Your help would be greatly appreciated.

- zcx

View Replies !    View Related
Step By Step Tutorial To Makin A Flash Movie?
Hi,
Just what the topic says
can anyone help me.

View Replies !    View Related
Step By Step Flash MX 2004 Professional Tutorials?
Are there any online tutorials that will tell you EVERY step (and how to preform every step) for Flash MX 2004 Pro? I am somewhat of a slow learner when starting out but I am determined.

View Replies !    View Related
Emil Form Tutorials- Would Like A Step By Step Guide
Hi all.

I'm wanting to create an email form in my Flash site. So that the user enters details like name, email address and message and that then gets sent to my email address. Now i know this requires back end scripting in PHP etc. And really want to give it ago. But would really like a step by step guide that explains things fully and clearly. I'm no idiot in Flash but this is a new topic for me to learn. So if anyone could recommend a really good tutorial that would be great.

Thanks and merry xmas

Rob A (bobby)

View Replies !    View Related
Is There A Step-by-step Process To Learning Basics?
Is there a step-by-step process to learning the basics of flash on this site other than the tutorial segments?

Or is there a software program available for download that walks you thru simple start-ups?

Quedup4u@yahoo.com

View Replies !    View Related
Could Someone Please Tell Me Step By Step On How To Load Text Into A Textbar
please do not give me a tutorial I want to just be able to read how. THanks but if a tutorial is all you can give me that will work. thanks again

View Replies !    View Related
Erasing LineTo Functions Step-by-step
I have a function that allows the user to draw shapes using the lineTo() function. Is there any way to step backwards and erase the previously drawn segment?

My only thought is to continue to draw, only draw over the previous segment using the background color. This is a little sloppy, though. So I'm looking for something akin to an eraseTo() function.

any thoughts, tutorials, or examples would be greatly appreciated!!

Cheers

Quasi

View Replies !    View Related
Advanced Preloader Step By Step Tutorial
Hi!

I'm trying to make an advanced preloader but I just can't do it.
I'am able to do a simple preloader but I wanted to do one more complicated. I've been looking around for a step by step tutorial and I just can't find one. Can somebody help me ??

I want to do a loading with the % that increase...

Thanks for your help!


JUSTDOIT

mail me at leopetsec@hotmail.com

View Replies !    View Related
Advanced Preloader Step By Step Tutorial
Hi!

Can somebody help me with this!

I'm trying to do an advanced preloader and I just can't do it.

I would need a step by step tutorial to do it...

Thanks for you help

JUSTDOIT

mail me at leopetsec@hotmail.com

View Replies !    View Related
Click*load*content* Step By Step Please
K i click a button I want a loader to move in nice and clean load the content and then go out nice and clean.

But im not sure where to start

View Replies !    View Related
Green To Flash--I Need Step By Step Instructions
I do not know if this is permissible, but I want to take my bland html site and turn it into an awesome flash site.

I saw a site a couple of days ago and I would love to learn how to do the same effects..The picture is SAC *slight adult content* no nudity though.

I can write an html page...but I need step by step instructions on doing a site made in Flash

From what I have been reading, it seems that I could place a fla. file somewhere in my html page...but still, Im totally green! Any, every, and all help is appreciated

Here is the example site of what Im tring to achieve..the menu cannot be seen on the mac Im currently on, whereas I could view it fine on my pc

http://www.aerysoul.com/free.htm

View Replies !    View Related
Clicktag Step By Step Instructions For Ad Banners?
Hi, I’m mostly a beginner with flash actionscript. A site we advertise on asks me to embed a clicktag script to help them track the stats for each banner. I’ve read the directions on macromedia/adobe, I’m still a little confused. I have to make the whole banner clickable, so can I just create a movie clip on the top layer, make the alpha 0% and add this script to it to do so?:

on (release) {
getURL (clickTAG, "_blank");
}

I’m looking for more thoruough step by step instructions to ensure that whatever I hand over to them will work.

Any info or sample flash files would be great, thanks!

View Replies !    View Related
Need A Step-by-step Help In Creating A Complicated Form
Hi! I've asked some help from 'flash8' thread.

but i've decided to ask for help the whole chunk of what i'm trying to do as i'm really new with flash, but i'd like to try doing this as i've been trying to gather bit by bit here and there from kirupa site. but i really am not sure of what i really have to do ...the correct way.

my flash movie would consist of :

a) scrollable menu where my multiple image of png will load into
b) multiple (could also be one image) of png images that will gradually appear into the same folder where my .fla file is.
c) a layer of frame (more of a window, it's scrollable upwards & downwards) - the place for my original sized png image to appear
d) dropdown menu - that will contain form1, form2, form3 [form1, form2, form 3 will represent which part of the png image willl be shown in (b): form1 = top, form2 = middle, form3 = bottom]

1) a png image (possible that the png image will come in multiple) will load into my flash movie automatically, specifically all of them will load on a scrollable menu one after another, side by side with the png image size reduced to fit into the menu.
2) once i click one of the png image on the menu, the image will appear beneath its [like what i've explained in (c)]. this image is scrollable only upwards & downwards within the windowframe, and it should be the original size (not the reduced one to be fit into the menu)
3)below, there's a dropdown menu [i've explained in (d)] that will be chosen from, let's say form1 is chosen. the window where the scrollable png image is, will show the part where i set form1 is for.

please help me.

thank you so much if anyone could help me with this.

Dela

View Replies !    View Related
Can I Get Step By Step Help From A FLASH GURU?
I'm new to FLASH, I NEED HELP LAUNCHING AN INTRO PAGE FOR MY NEW SITE. I HAVE ALL THE REQUIRED INFORMATION, BUT FOR SOME REASON I CANT GET IT TO SHOW UP WHEN I TRY TO GO TO MY SITE. WHAT AM I DOING WRONG?

View Replies !    View Related
How To Test A Movie Step By Step.
Hi,

I want to test the error in my movie step by step. How do I do it?

Thanks
Mohammed

View Replies !    View Related
Can Someone Please Give Me A Step By Step Guide...
for the record ive abused the search button b4 i decided to post this,


all i want is a button that plays music when clicked on and when clicked on again it pauses.
i have created the button and tried to follow examples but to no avail,
ive imported my sound file into the library and have named it "firstsound" with the identifier "myMusic01"

the button i wish to use has been converted to a button with no linkage selected and have given the name "Symbol 6"

i just wish to know what i do from this point on, please don assume i know where to enter the codes. i know there is action script but i am unsure as to where abouts within i have to enter certain codes.

please, any help i would really appreciate...
im sure this is fairly straight foreward to alot of ppl out there, please have some patience i will get the hang of this i hope eventually!

View Replies !    View Related
ActinScript Animation Step By Step
Hi!

Any one knows how to animate a mc step by step i.e. 1. Zoom out and object 2. rotate object 3. _x and _y object and 4. zoom in object)? I've tried with getTimer and setInterval but it doesn't work, maybe with switch () function...

View Replies !    View Related
Need Step By Step FME To FMS To Web Client Info
I am new to FMS and FME. I have streamed media for several years using Windows Media Encoder (WME) to a third party server and then to clients on the net. I am trying to do the same thing with FME and FMS while bypassing the third party server. I am having no luck and getting errors when I just try to stream to FMS from FME even after trying other forum threads. Here's my info:

Wnidows 2003 server
Server IP address 192.168.0.1
Router Address 192.168.0.2: port 3601 open
Dynamic IP address on ISP (I can get my current ip address from "whatismyip.com. I also use "No-IP.com to provide a static address).
I am using a Viewcast 230 Video capture card which seems to be working perfectly with FME. So that's not a problem.

I do not have Dreamweaver or Flash CS3 on this machine. However I do have them on another computer.

I need the "type this for Dummies" approach. And, then, what do I tell clients to enter in their browser in order to view my stream?

View Replies !    View Related
Preloader:step By Step Tutorial Please?
Hello,

I have searched a lot of places concerning making a preloader with a percentage indicator in 2004.

Is there a step by step tutorial just for Flash MX 2004? Not for any other version but Flash Mx 2004?

Yes I read the sticky and no it doesn't solve all of my preloading problems becuase I don't really understand what it is talking about lol


I need something concrete and easy to follow. Everything I've tried doesn't work or is really for another version.

Thanks.

Velo

View Replies !    View Related
Step By Step, How To Create A Flah Ad
Hi all,
I'm new to flash MX 2004. I need some informations, so that instead of jumping into things I don't need right now, I get quickly what I need.
I want to make ads with flash. How do you do yours? Step by step? What should I learn step by step?

Thanks a lot.

View Replies !    View Related
Get Some One Teach Me Get Bounds Step By Step?
i want to build a game with getbounds but i dont know how can someone teach me it please?

View Replies !    View Related
Step By Step Flash And Usability
I know this may be annoying to some but I'm wondering if there is a tutorial or site that explains the development of a site step by step from preloader, thru intros to how objects animate into position to form the site layout and navigation. sort of like http://www.one9ine.com to give one example.

Also wondering if there are any on accessability and usability - something that seems to be not thought of very thoroughly in many Flash sites.

View Replies !    View Related
Preloader:step By Step Tutorial Please?
Hello,

I have searched a lot of places concerning making a preloader with a percentage indicator in 2004.

Is there a step by step tutorial just for Flash MX 2004? Not for any other version but Flash Mx 2004?

Yes I read the sticky and no it doesn't solve all of my preloading problems becuase I don't really understand what it is talking about lol


I need something concrete and easy to follow. Everything I've tried doesn't work or is really for another version.

Thanks.

Velo

View Replies !    View Related
Step By Step, How To Create A Flah Ad
Hi all,
I'm new to flash MX 2004. I need some informations, so that instead of jumping into things I don't need right now, I get quickly what I need.
I want to make ads with flash. How do you do yours? Step by step? What should I learn step by step?

Thanks a lot.

View Replies !    View Related
Breakpoints For Step-by-step Debugging
with Flash MX, i could easily add breakpoints for step-by-step debugging. With MX 2004 AS2, the classes now reside as external files.

how do i add breakpoints to these exrernal classes for step-by-step debugging?????

View Replies !    View Related
How Do I Make This Paint Brush Paint?
I am a beginner at Flash so maybe their is an easy answer to this question.

I want to make the following image to paint a purple streak as it scrolls across the screen. How can I do that in Flash without having to create it frame by frame? I want to use Motion tween, but not sure how to go about it.

http://www.furnituregalleryinc.com/images/painting.gif

Any help is greatly appreciated.

Jeff

View Replies !    View Related
Does Anybody Have Step By Step Instructions
does anybody have step by step instructions on how to make a scroll pane and a dragable content?

View Replies !    View Related
Looking For A Step-By-Step Tutorial
Hey all,

I have searched the forums, the tutorials, and Google but with little luck. I am looking for a tutorial/guide/book that goes step-by-step the process of creating a flash website from scratch using Flash MX 2004. I know there are a lot of really great tutorials on this site, but they seem to be more geared towards one or two tasks in each one.

I did find a tutorial that was supposed to be a step-by-step guide, but it was for Flash 5 so the directions did not work and/or the pictures were not the same as in Flash MX 2004.

I know the way I learn and I think I would do best with a step-by-step (w/pictures) guide that shows how to make a flash website from absolute scratch (ground zero, day one, etc... ). I am more than willing to purchase a book or CD/DVD-type course, I just haven't been able to find a good one. I work during the day, and have other responsibilites in the evening, otherwise I would look to take a class at night. I would be open to taking an online course too if there are any available.

Thanks in advance for any help that anyone can provide!

View Replies !    View Related
Step By Step Preloader
I have a file of 1mb
I want only first 25kb to be loaded and played.
at the end of this animation there is a button which says view more
and by clicking that flash loads rest of movie and then shows it.
but in the start it should only load 25k not whole 1 mb

I know we can do that by making 2 movies and loading first and then
on view more i can load 2nd movie but i want this all done in one movie.

any ideas how can we do that

thanks

View Replies !    View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved