ActionScript 2.0 :: Adding Highlighter Effect In Sketch Pad Application
Jan 26, 2009
I'm updating a sketch pad application for someone and I'm running into trouble creating a highlighter effect. What I'm trying to do is avoid having the highlighter opacity change when lines are drawn on top of each other. First I tried setting the line opacity to 50%. As expected, the opacity increases where the lines cross. So far, other sketch pad FLAs I've found have the same problem. Then I tried setting the opacity of the movie clip I'm drawing into to 50%, and drew lines at 100%. Surprisingly, the result is the same as above. Finally, I decided to just draw into a mask to reveal a 50% yellow mc below. But of course lines don't work in masks, so that didn't work either. I suppose I could draw a bunch of circles between points to create a line but that doesn't seem like it would be the best solution.
I want to create an paint application or sketch book in flash. But finally the design should get saved for perticular user. need to store it in database.
Can i send Movieclip to PHP? Will i able to retrive that movieclip again to show what user has saved.
I have an AIR app that gets bundled with XML files that the app needs. These get put into the APP Storage Directory, of course. Works great. But when I install a new version ( which includes new XML files) , the new files don't get added or overwrite the ones from the previous version. It seems that if that directory is there from a previous install, the installer will ignore the part where it moves included files.
I am relatively no used to flash but wanted to put a flash effect to my logo for my site. I managed to do the effect on a site I saw on the next. The effect animations I used was hue and saturation effect. Here a direct link to the logo online with the effect. Anyway I cud do that on flash n stick it to my site ? I tried hosting it to the site I did it on n it takes ages to load. [URL].
is there a way to add transitions effect to every letters in a string in actionscript 2? i know how to split the string into and places it into array but how do i apply transitions effect to it?
I've been asked to incorporate a slideshow into a website that I'm working on, which is fine, except they have seen a particular tranition effect that is used between images, this can be seen on these two sites...[URL]. Its kind of a bleach effect? Which I presume is achieved using some sort of tween engine like Tweenmax or the Fusekit? The Honda site also has a nice second transition effect which is pretty cool, where dots kind of fall away? Has this just been done on the timeline?
I am brand new to all Adobe applications but have the CS5 Master Suite and have been taking many courses through Lynda.com for months. I wish to learn how to make a small video of an object being sketched. That is use a drawing tablet and stylus (whatever they are called...I have NO idea) and trace over a photo. When finished I wish to have the video of the slowly created tracing of the object sped up and when complete fade away and the actual photograph of the object traced overlap fade into view. In other words use this as a transition technique for presenting a photograph of an object rather then just have it "pop" onto the screen. My questions are: (1) What special drawing pad and stylus are required (if any....can I do it with just the mouse?) (2) Is Flash Professional the program one would use to make such a video? If not which Adobe program is best suited to this task, and (3) Is there a NAME to this "technique" in whatever program was given in answer to question two so I know where to begin and/or look for a tutorial on how to accomplish this technique?
I'm trying to convert a processing sketch to a flash as3 file, and I'm getting hung up on two of processing's commands - pushMatrix() and popMatrix() - how to convert these in flash?
Essentially I just need to store the matrix of lines I've drawn so far and draw a new line, and this gets done recursively. Here's my code:
var theta; var xpos:Number = 0; addEventListener(Event.ENTER_FRAME,draw) function draw(e:Event) {
I am trying to create a image downloader. I am having some problems with converting the MC...
Code: stop(); if (isset($GLOBALS["HTTP_RAW_POST_DATA"])) { // get bytearray $jpg = $GLOBALS["HTTP_RAW_POST_DATA"]; // add headers for download dialog-box [Code] .....
I get this error when I run the file: ArgumentError: Error #2015: Invalid BitmapData. at flash.display::BitmapData() at DwnImg_fla::MainTimeline/frame1()
I want to show the TEXT with the marquee effect in my application.Marquee effect is only on the text that is in the BOX and that should be in the Vertical.
I was able to take an existing Flash file created in '06 and make a simple slideshow. See it at: [URL]. Now I've been asked to add buttons and make the slides fade instead of slide into each other. They want it like this: [URL]. So I created a very simple mock up: [URL]. I just can't get the buttons to work like the prosolassociates one above. I have attached the FLA here for review. Attachments: slideshow_buttons.fla.zip (9.0 K)
I have a panel with a button in it. Clicking on the button will direct the panel to state "State2" adding another two buttons into the panel. During the state change, I want the panel to resize first and then show the newly added two buttons, so I applied transitions onto the state change.
My question is:
If I put the two buttons within a HBox directly under the addChild tag, it works fine. However, if I create a new component with the same code (HBox with two buttons in it) and then add the new component to the panel (Comp in the code commented), it won't show the resize effect.
I've made a simple picture slideshow. With 10 frames and on each frame a movieclip. On every frame, I use the 'loadMovie' method to import a file..A set of buttons are used to surf through the frames..Okay, I wanted to know, is there any other possible way to add a fade-in fade-out transition while changing the pic from frame 1 to frame 2.. ?The way i know of doing it will be like this;Making a movieclip, MC1, and in there, another movieclip, imagehandler MC, where that image is brought using 'loadMovie' method. And fading in imagehandler MC from frame 0 to frame 10 using motion tweening like we normally do..And putting that MC1 (with MC2 fade in effect inside)to each of the 10 frames in the main slideshow timeline (making different MC1 like MCs for each image)..But this way its much more work and more cramping in the library..
I am working a lot with adobe recently but its the first time for flash. i have been searching the net for the past hours but didnt find whatwhat i need is a small animation that records the pen movements i make as a visible path. I want to sketch a logo for a company and want the the logo to look like its being drawn on the spot for the presentation.all i could come up with is make a dot, next frame next dot next frame next dot and so on. but that does not only look like crap it also doesnt seem like the brightest choice to me.
I have a flex app with lots of custom components, like custom buttons, comboBoxes etc. I am trying to add keyBoard shortcuts to the flex app. In doing so, I added a key-down listener to the app to listen for ctrl+shift key combination like this: this.stage.addEventListener(KeyboardEvent.KEY_DOWN, handleKeyDown);
Then I dispatch a custom event that all of my custom components are listening for: private function reportKeyDown(event:KeyboardEvent):void { var evtObj:Object = new Object(); evtObj.keyEvent = event; dispatchEvent(new CustomEvent(CustomEvent.SHORTCUT_KEYS_PRESSED, evtObj, true, false)); }
In my custom button component I have: this.addEventListener(CustomEvent.SHORTCUT_KEYS_PRESSED, ShortCutKeysHandler, true); So, if I go ctrl+shift+W then I want one instance of the custom button to get clicked. For some reason, the event never gets triggered and never gets to the ShortCutKeysHandler function.
I'm trying to make a quiz in flex and am loading data from an xml file. For each question I want to create a radiobuttongroup so I can associate radio buttons to it. How can I accomplish that with actionscript? I can see that addChild method works for DisplayObjects and I presume that radiobuttongroup is not one because I'm receiving errors. How can I dynamically add radiobuttongroup with actionscript in flex application?
I tried something I did on a soundBoard I made with an external folder, but then I thought that folder will never be added on the phone, so how am I going to do this?
I am fairly new to AS3 but I have been able to build a somewhat dinky app for iPhone and Andoid with Flash CS5.5, and I am wanting to add my Flickr feed to it. I tried going through Flickr's API but that didn't fully work.
By the way i want to make a visualization about a math process to show partial function graph.
I think i can make a scene which in 1000x1000 pixels. I'll start from top of scene and when i press a button i'll move camera to second section which i want to do sketch. I want to make a sketchpad which can draw in a 2 part movieclip. First part is -X section of XY Axis Graph. Second part is +X section of XY Axis Graph. I'll put image of XY Axis Graph to -X and +X section of XY Axis Graph. So it'll be seem like one part. And i'll draw to -X section. After that i'll skip to second sketchpad with camera. And i'll make same thing. But for now i'll draw to +X. And when i press conclusion button camera will skip to bottom of scene and move -X of figure1 and +X of figure2 to bottom. So i can see figure1's -X section and figure2's +X section as merged in bottom. So it'll show to me partial function graph.
But problem is sketchpad is drawing to _root. So i'm unable to move sketch or shapes on XY Axis Graph. But if i can draw that to movie clip i can move it like an object with drawing and merge it like i want.
So i want to make a sketchpad which make drawing in limits of movieclip.
how i can do it ? Also i'm using following code:
Code: import mx.controls.Loader; // 1. SETTING THINGS // ---------------- _root.createEmptyMovieClip("line",1);
I'm trying to do a little comic comedy type video in Flash. I've done an outline sketch with the pen tool of my first character, now I want to color it BUT I want to keep the colors and the outline sketch separated on two different layers. Is there a way I can select the path (outline) on layer A and then colorize it with the bucket tool on layer B? The problem I'm having is that every object I select it automatically jumps to that corresponding layer.
One reason why I want to do it this way is I still want to continue working freely on the outline sketch since it's not fully finished, so that I just can blend the colors out and keep working on the outline, at the same time I want to color it while I go just to see where it's going and to make sure that I'm not wasting my time unnecessarily with trying to do a outline just to find out that it won't work out at the end.
how to do a comic type animation, how to create the characters, how to make them move and talk? It can be a free or paid resource.
I am still using flash MX. I'm pulling random text from a textfile (array.txt) into movieclip instance textbox.[code]All is good, but now my question is if I can have a text effect as well. For example having the random quotes typed out as they appear.
check out: [URL] The typewriter effect here is very fast, much faster than when I use onenterframe to produce the effect. Does anyone know how this is done?
I really like the text effect Pom used in the footer contest, and would like to use the same grid-type method of creating mc letters but with a different effect. i understand how to change the parameters and shapes of the letters, but can't seem to figure out which piece of code is purely for the explosion effect. basically, i want the letters but with the 'Repel' effect from[URL] here is Pom's AS:
[AS] cellSize=3; radius=10; damp=.85;
[code]....
and here is the .fla using the repel effect using pre-made mc:
It's a bit of decoration to go behind a logo. When the dMove var is commented out I get the appropriate line of squares fading in and out at random spots along the x = 78 axis, but when introduced nothing appears at all...
in a nut shell I have found this wicked piece of open source actionscript.
It responds to the cursor and was wondering if it is posible to modify the x_position and y_position actions and make the action respond to a moving object???? (a movieclip with a variable name)
is this to complicated to attempt or is it doable??
I want to be able to make a movie clip (that acts as a button) so the roll over effect finishes before the roll off effect is triggered. Like if a marker circles a button, i want the circling animation to stop before the roll off effects happens. Anyone know how to do this.