Flex :: Blemish Removal In Digital Image?
Dec 29, 2009
I'm currently writing an image editing application using Flex and I'm trying to make a blemish removal functionality like in picnik.com. I have searched everywhere but couldn't find anything. I have tried to just blur away the blemishes, but the results are bad.
View 2 Replies
Similar Posts:
Feb 19, 2010
for a game I'm working on, I want to make a 'digital display', like a digital clock for example. Every character exists of 7 lines which are either on or off. This picture will demonstrate what I mean.
Currently, I've got a DigitalDisplay class that extends Sprite, which holds a couple of instances of the Digit class that extends Sprite, which in turn holds 7 instances of the DigitLine class, which extends Shape, in which I draw one such line with the drawing API. This would mean that one DigitalDisplay holds 8 Sprite, which all hold 7 Shapes, so that's 8 Sprites and 56 Shapes. This is a bit overkill I think.
Thing is, I want control over every 'DigitLine'. During transition, when the text on the display changes, I want every lines to go on and off in a random pattern, slowly forming the new text. Would this be possible with another less extensive solution? The only thing I could think of was this:
Instead of every Digit object I'd have an Array, which instead of filled with DigitLine objects is filled with Arrays. However, then I'd only have 1 graphics object, which mean I'd need to clear() it every time something changes.
View 4 Replies
Oct 2, 2010
I have multiple MXML custom components that I add on the fly (using a repeater) that is binded to an ArrayCollection. So everytime I add/remove item from the ArrayColleciton new items show/disappear from the screen. Is there a straightforward way to make item fade in when they get created and fade out when they are removed? I thought of using states and state transition effects but that will make things a bit complicated at different part of my application for those components to manage the states.
View 1 Replies
Nov 24, 2010
When I remove an element from a viewstack then the body is removed but the tabbar header is still displayed
I would like them both to be displayed.
View 1 Replies
Jun 15, 2010
I've created a MXML Component that consists of two TextInput boxes (user can input a "name" and "description"). I'm attempting to add and remove this component dynamically to a VBox in an MXML application. I've achieved addition thusly:
[Code]....
However, I cannot seem to get the remove() going after trying various ways with box.removeElement().
View 2 Replies
Jun 16, 2009
I have a NetStream set up and it's supposed to listen for DRMAuthenticateEvent.DRM_Authenticate. When I give it an encrypted file (encrypted using software from drm-x.com), no DRMAuthenticateEvenet seems to be dispatched. The code looks like this:
[Code]...
I have both proxy and drm authentication types in there because drm was not working for me so I decided to try proxy. Am I doing something wrong? I got this stuff off of the Adobe reference pages, is there an easier/smarter way of going about DRM in Flex?
View 1 Replies
Jan 25, 2012
I am changing image through flex every time i change it saved into server directory with same name(which i am referring to show). So when i refresh my page my browser didn't send new request to server since it's already in request.so didn't getting new image.Tip:- when i clear browser history it will come with new image
View 2 Replies
Aug 11, 2010
I have some code that generates dynamic movie clips,and puts them into an array.That all works fine, but at the end of the scene, I want to be able to stop the movie clips being generated, and clear them from my screen. I can clear one at a time, but I need to stop them being generated.
Code:
enemies = [];
evilBreak = setInterval(evilSpawn, 2000);
function evilSpawn() {
evilguy = attachMovie("evil", "evil"+_root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:random(550)+50});
[code]....
View 2 Replies
Dec 23, 2009
I'm pulling some events out of a MySQL db, parsing to an XML file, and having flash pull that in. All works fine, but I'm encountering an XML tag, and I'm not 100% sure why. I searched but the keywords are so vague I didn't find anything of value.
[Code]....
So with one event, it works fine. With more than one, I get in the info.eventNameTxt textfield something like <name>Christmas Afterbash</name>. how to circumvent this? I haven't quite been able to wrap my head 100% around the E4X stuff.
View 2 Replies
May 25, 2010
I have placed a video object on top of a graphic that is a link to another site. Before the user clicks the button to activate the video, they can see my background graphic and use the link. After they play the video, the background graphic is no longer visible. Is there any way to get rid of the remnants of the video after it is played so picture and link are visible again?Here is my great code:
videowindowbutton.addEventListener(MouseEvent.CLICK, videowindowbuttonhandler);
var nc:NetConnection = new NetConnection();nc.connect(null);var ns:NetStream = new NetStream(nc);myvideo.attachNetStream(ns);var listener:Object = new
[code]....
View 11 Replies
Dec 7, 2009
ActionScript Code:
if (pMenu.AccSel.iconSel.child != undefined) {
pMenu.AccSel.iconSel.removeChildAt(0)
}
i was trying to do a child removal method that would work on command instead of me trying to find a child to remove each time in the code... it would find and remove it wisely... however, i've tried this method and it doesn't work... and i was wondering if there was another way for actionscript to check for Children and if there are any it'll remove it...
View 2 Replies
Aug 1, 2010
I have 2 .as files so far, one for the main game and one for the boulders that come hurdling down the screen. I can get the boulders added to the game fine and the animation is fine too but I don't know how to remove the boulder once it goes offscreen (it just keeps floating downwards) so obviously this is not good since after a few levels, there will be 100's of boulders there wasting CPU cycles and memory space I've tried removeChild and parent.removeChild but neither work
Here is my Boulder.as file:
ActionScript Code:
package {
import flash.display.MovieClip;
import flash.utils.getTimer;
[code]....
View 3 Replies
Feb 17, 2011
The structure I have is one where I have a main.swf which loads an external swf named say external1.swf. Then external1.swf loads external2.swf. My question is when I remove external1.swf, is external2.swf also removed by proxy from the display list or do I have to explicity remove external2.swf using removeChild on the relevant loader?
View 0 Replies
Sep 9, 2011
I have an MC of a sea texture which was created using clouds in Photoshop, and uses AS to fade in & out a child MC to look like waves moving back & forth. (The PS image fades to transparent where its close to each side to aid blending).
The user is able to pan the containing MC infinitely so I need some way of automatically overlapping a new instance when the pan gets close to the edges of the MC, but because its a large MC needs to also remove the MCs greater than distance x from the edges.
View 2 Replies
Dec 8, 2005
How can i get it so that i do not have any mouse cursor over my flash movies? The movies are for a presentation and i dont want the cursor to be visable anywhere on the swfs.
View 1 Replies
Feb 18, 2009
So the problem is basicly this: It all works just fine, but when the bullet hits the target it gets destroyed (this is ok) but also any bullet that was shoot before it (meaning also: with a lower y) gets destroyed aswell wich is anoying. Here's the code (left the comments so you can find your way around easier)
Code:
stop();//add a stop function too!
enemyspeed =1
life=3
var gameOver:Boolean = false;
[Code]..
View 2 Replies
May 31, 2009
Below is the function I use to remove the swf which holds an FLVPlayback component and the button that runs the function. The function stops the video then removes the swf. The swf disappears and the sound stops but if I look at the task manager I notice the video is still loading usually at about 1 meg every 5 seconds. I know I'm supposed to be able to use the closeVideoPlayer method which should stop the netstream but I don't how to make it work
function goHome(e:MouseEvent):void myMovie.stop(); this.parent.parent.removeChild(this.parent);// myMovie.closeVideoPlayer(0); meCombo.removeEventListener(Event.CHANGE,
[code].....
View 7 Replies
May 24, 2010
import flash.display.Sprite;
import flash.net.URLLoader;
var index:int = 0;[code].......
I am relatively new to flash and action script as well and I am having a problem getting the sprite to be removed after another is called.I am making emission spectrum's of 3 elements by dynamically generating the mask over a picture on the stage. Everything works perfectly fine with the code I have right now except the sprites stack on top of each other and I end up with bold lines all over my picture instead of a new set of lines each time i press a button.I have tried using try/catch to remove the sprites and I have also rearranged the entire code from what is seen here to make 3 seperate entities (hoping I could remove them if they were seperate variables) instead of 2 functions that handle the whole process.
View 2 Replies
Jun 15, 2011
I'm going to start by saying that i am very new to flash and the concept of Stage is still very new to me.
I have the following problem: at a given time i have:
var foo:MyClass() = new Class();
stage.addChild(foo);
...
foo = new myClass();
stage.addChild(object);
so now i have two or more foo objects on stage. my variable is for one foo, and i need to remove them all from the stage.
View 4 Replies
Dec 21, 2010
I have a registration module done in flash where i create a movie clip like this:var container:MovieClip = _level0.printCardpls.createEmptyMovieClip("contain er", this.getNextHighestDepth());and on completion i go to frame one. Where I would like to check to see if it exists and then delete it if it sill does. Then when the user hits frame 15 for example where it gets created again, its fine.
View 4 Replies
Oct 17, 2002
I m new to this forum & flash. I need to create a wbt which can run thru a 56K modem. also i want to know how can toolbar & menu bar of browser be removed when i publish it.
View 3 Replies
May 5, 2009
I've done two Flash animations, and both, when I use the Simulate Download function, show what appears to be a digital artifact in the upper left hand corner. It looks like a series of small squares or rectangles briefly fluttering from left to right.As far as I can tell, this doesn't show up in the actual .swf. Has anyone else seen this? Is it a sign that I've done something wrong, or should I just ignore it?
View 3 Replies
Jun 3, 2009
Does the digital publication (emag) created using Indesign and flash require any action script knowledge in order to produce the search, zoom and table of contents features seen in most online digital magazine? Or is there a basic "template" that is produced in which you can modify?
View 1 Replies
Jun 3, 2011
I'd like to make an online comic of "swfs" where each swf file is an image with simple animations, and a "next" button.
View 1 Replies
Mar 20, 2004
how to create a digital clock?
View 2 Replies
Nov 12, 2009
I'm having an issue where I am placing a timer inside of a MovieClip instance which is dynamically placed on stage. When I remove the MovieClip from the stage, the timer keeps on running. It is sometimes a bit complicated to be able to stop all the timers inside of this MovieClip so I was wondering if there was a way to either destroy the MovieClip instance and thus destroy the timers within it? or how could I go about making sure the timers stop when their parent Object is not on stage.
View 2 Replies
Jan 23, 2012
I noticed something dangerous while working with AS3 - some objects (namely DisplayObjects / MovieClips) tend to remain in the memory and even perform actions after all references to them have been removed.
I work with Flash CS 5.5 and Flash Builder 4.6.
After getting rid of all references (including removeChild(...) from the Document Class) some objects just seem to stay alive.
This question might come off as a bit broad - but what I am trying to understand is what can I do to MAKE SURE that an object is picked up by the Garbage Collector? More so, how can I get some sort of feedback from the GC that signifies that a certain object has been destroyed? (For example, a console message)
View 2 Replies
Nov 3, 2009
Haveing trouble removing a particular listener:
ActionScript Code:
some_mc.addChild(newTitle_mc);
startEffect(newTitle_mc);
[code]......
View 9 Replies
Mar 27, 2011
Does the impact of event listeners on resources persist after their targets are temporarily removed from the display list? What about when mouseChildren is set to false for their container?
View 2 Replies
May 21, 2009
I am a designer using InDesignCS4 to export a 16 page document as a SWF file with a page curl page transition. I am also exporting a static footer bar that holds a client logo and website address that acts as a hyperlink to the client's website. I currently place these 2 SWF files in Dreamweaver, 16pager above the footer, 1 above the other, and save as .html, upload to an ftp site to get the whole thing to work as a FlippingBook page curl Digital Magazine with static footer bar and hyperlink that directs to the clients website to download the corresponding PDF and print.
I am no Flash developer, but what I would LIKE to do is export from InDesignCS4 as an Adobe Flash CS4 Pro (XFL) document, open up in Flash where I know each spread imports as its own frame, save as a new .fla file, create some great Text effects with actionscript, which I CAN do. But what I can't do is export this as a SWF file AND retain the page curl transition it would have had as a SWF from InDesign??? Is there a way, despite handing over to 'my' Flash developer to encode (according to every video tutorial I have seen on the subject!), where I can 'stitch these page frames together to export my frames from flash with page curl, have the footer bar independently at the bottom, have the whole thing scale as one flash animation but also include some features such as print, zoom and 'goto' page field? At the moment all this appears to be alot of coding work.
View 1 Replies