I'm Trying to make a very simple E mail form using textinput boxes and sending variables to php.Thing is that my erase button stops functioning once I hit the Submit button.[code]
I'm Trying to make a very simple E mail form using textinput boxes and sending variables to php.Thing is that my erase button stops functioning once I hit the Submit button.here are the scripts for Submit and Erase:
Submit script: on (release) { name = _parent.mailer.name.text;[code].....
Im building a pretty simple drawing board in flash, i got this code from this forum and it works fine (there is more to it but this is the drawing part)[code]This works fine. But i want to be able to erase the drawings, step by step this is ths tricky part, ive looked everywhere(ok not everywhere) but in a whole lot of places but the only thing i found is how i could delete everything with removeChild and that in not what i want. Maybe i need to change the function abowe? Please help me to get in the right direction. What should i read about /look at?
I have a flash form that need to submit values to a PHP file.I am using in flash: varsToSend.send("subsrcibe.php","process","POST"); The "subsrcibe.php" contains a form that is connected directly to a database.What i want to do is, to load the variables from Flash to this PHP file, and then submit them automatically to the database (The PHP page should not open to the users).
I have an HTML form that I want to upload to MySQL with PHP. That part's easy, but the thing is I want the submit button to be a Flash object. Somehow I need the Flash button to submit the form, but I think I can figure that out. The tricky part is that I need it to set another PHP variable before submitting the form. The variable will be determined by a bunch of stuff, but I can code that in actionscript later. I just need to figure out how to pass the variable back to the webpage. A $_POST variable would probably be fine.
edit: What if the flash object returned some javascript and set a variable that way? making it submit the form as well while still catching a variable?
I recently saw "Remove or Reuse" by badaboom, in which he set the the invader instance to "null".In my constructor, I have a sprite variable as [code]When the user clicks the start button, the trail sprite is used.[code]After the user click the start button, a timer starts and the trail is drawn [code]Since this is a simulation, the user will want to erase all the trails drawn at some instance to show new examples. In in the reset button, if I set:[cod]Then do I lose the trail variable? Because I need to re-use it later in the start button and in the timer. I also learned somewhere that garbage collection only collect when the variables does not link to any other instances. In this case, the trail is still sticking onto the container_mc right?I have tried container_mc.removeChild(trail) alone, but when I addChild(trail), none of the trails drawn are deleted.
I have a picture in a BitmapData object. And an array of points. I nead to erase the part of the picture inside a polygon specified by the points. In other words, draw a polygon specified by the points and fill it with transparency.
I have a Sprite that I draw into using lineTo. Later the sprite is drawn into a bitmap to add to a mask. That works great. The issue is erasing the vectors in the Sprite once they are drawn.
To draw I just do something like: userDrawing.graphics.lineStyle(12,0x000000,1); userDrawing.graphics.lineTo(mouseX,mouseY)
I have this file http:[url].... Basically lines gets drawn where ever I tween the animation.arrow MovieClip. What I'm wanting to do is be able to rewind the MovieClip and have the line erase its self step by step.
Is there any algorithm to perform erase operation in a bitmap? I would like to create functionality similar to how photoshop or other graphic application performs erase. Is erase operation so difficult that there isn't much help (for bitmaps) available? I am OK even with name of an algorithm, I can proceed from there.
I need a short code for erasing lines drawn on an Android device. This is the code that generates my line:
this.graphics.lineTo(event.stageX, event.stageY);
I cannot seem to get the code right for erasing this line with movement detected by the accelerometer. I want to shake it like an 'etch-a-sketch' to erase the lines.
If I press the button for the photogallery it creats new Objects, and dont erase it after i go back to main. So long its load all the objects in the memory and its exists all the time...
But I want that, delete all the objects from the memory after i go back to the main!
here is the source code:
Code: /* Created by Min Thu http://www.flashmo.com AS3 References and Credits
I am trying to write some code which allows the user to add an object to an array each time they click on the stage. However, when they click on an object, I want that object to be removed from the array. My code so far is below but it does not work. It seems to crash when I try to add more than one object to the array.
//CODE------------------------------------------------------------------- stage.addEventListener(MouseEvent.MOUSE_DOWN, mouse_down); var boxArray:Array = new Array();
I'm trying to get this effect [url].. on a iPad app I'm working on in Flash. The thing is it is running very slow. Is their a way I can speed up this script?[code]...
I trying to realise an eraser effect but... no tutorial found... till now I make this... but don't know how to erase at specific zone-under sponge- whitout erase all like in this fla. Fornow is smth like:I have a layer for car, one for spongee and a layer for dust...Till now I just realize an alpha decrease for each sponge drag...
If I have a sprite, with which I have drawn some stuff, how do I erase part of what I have drawn? Preferably I could use drawRect with some "alpha=0" paint. However, I don't believe beginFill lets you set an rgba color (like you can in bitmapdata). Setting alpha = 0 in beginFill doesn't really do anything -- it just draws nothing. In my particular use case, masking isn't an option. Also, calling clear() isn't a good solution since it clears away everything.
We are using PopUpManager to bring some screens up, and every time I create one, I need the new one to be totally unique from the old one. Right now, every time I create a popup, it has cached the last one in memory somewhere, and the variables are all still set.
I have a dynamic textfiled on stage and I am appending some lines of text each time in a new line with " ", so it like expand downwards.(it just currently serves me as a trace output online so I can check something)
what I would like to do is when that textfield reaches certain height that the first line at the top of the textfield gets deleted as a new one appers on the bottom and so on...
I'm using FlashDevelop, trying to create a wipe away effect. But for some reason, if you hold the mouse button down for a little while in one place, the underlying image (ice) gets erased and reveals the default background. How do I prevent that from happening?
I have an input field that when it's accessed for the second time by an user i want it to erase it's content automaticaly so the user can't see what he previously inserted. I want this to work on EnterFrame if it's ok.
I found this code on a forum which allows for an undo and erase button for a drawing application (and is perfect for what I need) but it's in AS2 and I can barely make sense of it:
Code: _root.attachMovie("canvas", "canvas", 0); d = 0;
In the previous version, the eraser tool only erase things on the single current active layer, but then in CS4 (maybe it's just my problem), the eraser tool simply erase everything on the stage, no matter which layer they are in, except in locked layer.
Is it a bug for cs4 or hv I set something wrong or what?
Is it possible to detect (dynamically) the white pixels of an image and delete them? Actually i have some images that i load on stage but they are square without the actual image be a square sized. So i want to make the hit area exactly the shape of the image and not the whit border they have.
I am making a flex whiteboard application where lines are drawn over an image here is the scenario:
1: main canvas holding the background image and drawing canvas 2: user can move image by dragging image 3: user can draw over image, which is actually drawing on canvas over image.
I'm having problem on erasing lines like it eraser in paint. Searched evry where but didnot find a way to erase drawn lines
I found this awesome text effect class. Can anyone give me any ideas on how I would go about making this work multi-line? I'd also like it to reverse and erase itself on call.
I have a textfield, and I put the field legend inside it. I want the text "type your name" to be erase once user click inside the textfield. How can I do that? And the reverse, if the text was lived empty show again "type your name"?