IDE :: Undo Hiding Of Frames?
May 3, 2009I somehow hided the frames:How du i undo that?
View 2 RepliesI somehow hided the frames:How du i undo that?
View 2 RepliesI have a problem with functions, i'm creating a painting app in flash as3. i want to draw two different style a pen and rectangle.
When i draw pen style in first frame there is no problem, but when i click rectangle style in second frame it is drawing with both style. How can i stop or kill other function?
How do I make both of the not drawing. And How can i undo my last action in drawing?
[code]...
I have developed an small application in flash 8. It is creating xml at runtime and add new nodes,delete particular nodes at run time. I want to use undo option in this application.
View 5 RepliesHow to implement undo/redo functionality? Actually I have a painting canvas in flash in AS3.0. For it I need UNDO/REDO functionality as user draws.
View 2 RepliesIm wondering how to implement undo redo functionality with a TextArea. I already have an undoredo framework functionality working, now I have two questions.When do I start/stop a new undo/redo command, eg when a user hits undo, how far back do I go. How do I implement this(1.) in a normal TextAreay thinking:I thinking that I should create a new undo command, when anything but a alphanumber+space is hit. To do this I would use the keyDown event and test if the key is alpha num if it is not I will reset the command.
View 3 Repliesi've been unsuccessfully attempting to create my own undo/redo classes that work well with any type of possible undo and redo commands.
for example, my simple class works perfectly with undoing/redoing x and y positions of display objects or undoing/redoing values of sliders, etc., but things get dicey when i try to tailor my classes to also work with things like adding and removing items to a list.
is there any well known and well documented solution for general undoing and redoing for actionscript (without Flex)?
I am going to create an application in that i have to implement an Undo and Redo feature. In the application there will be multiple objects located on stage and user can customize the position of the objects. But when user clicks on Undo the object go back to their default position and after clicking on redo object will move on the new position. So my question is how can I apply these feature in my application? Is there any library or any third party classes?
View 3 RepliesI created some Combobox and, when you select each item, a Movieclipappears with a different width,height and name.When it's in the scene you can Drag it to the position you wish.I made two button:Undo(), Redo()for the user who wish to make a previous action,in other words,put the Movieclip to its previous place.I try something with some Arrays that capture the different position when Drag is stopped.I place a Shared Object for registring all the previous position but I don't know how to make it work.So,I show you my code.function of the combobox:
Code:
ComboBoxclassic.addEventListener(Event.CHANGE,select);
function select(evt:Event)
[code]......
i'm currently devolping a drawing board out of flash but i was wondering instead of erasing all the pen lines drawn just the last pen line drawn,im using kirupa drawing board tut for the all erase just stuck to gewt the last line erase done
View 9 RepliesI 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;
[code].....
Loads an image to an Image component Transform the image (rotate, flip) with the Matrix Apply filter(s)
Now I am thinking about to create some undo redo functionality. Each time I do a transformation / add an filter I want to be able to go back to the previous image (before the action).
My thought is to have an Array and add the previous bitmap to the stack. But I see that there are some differences between transformations and filters I have also seen the ImageSnapshot and whot i can do and it looks like what I am after.
im currently developing a flash paint app for the psp and im stuck in a little rut here i need a way to allow the user to change brush size depending on what they press aka if they press pencil get a thin line stroke,if big brush big line stroke is there anyway of doing this?
and the next one how can i make a undo button so it undos the last line done
[Code]...
i'm making a drawing tool in flash with the ability to draw shapes, put text, etc. i need to incorporate undo/redo facility in it. is there some efficient way to go about it? or will i have to go the hard way, remembering in some way the last three actions performed by the user in an array or stack or something??
View 2 Replies1. Can I create an UNDO button to my runtime editing website?
2. Can I create a REFRESH button which will only refresh the current frame?
I have a simple TextArea
[Code]..
Everything works as expected, but the undo buffer is reset / stops at the point that a tab was inserted.Is there a way to ensure that the undo buffer remains in tact even with the tab inserted
I wnat to make my movie clip undo redo how to make them in flash application similar to Microsoft office 2003 application..
View 1 RepliesI'm assisting my professor with a class helping students build an online portfolio. Yesterday, one of the students sent me a bunch of .fla files to review and I made some changes, inserted a bunch of comments in the code and told her to change the rest of her files into the same format. (Adding keyframes, frame labels and button codes, etc.)
Then she emailed me to tell me that she keeps getting this error message every times she makes a mistake and tries to "undo" something.
"Every time I open up the drawing page and another one of my subpages like logo design for example, I work on what you said to do, but if i make a mistake and undo it, I get this error message and all my images disappear completely from the time line. I have attached a screenshot of the error message, maybe you know whats going on but I'll keep working on it and try to not have to undo something because at the moment that seems to be the problem. I have to close flash and reopen everything to make it go away."
[Code]...
Like, I perform some operations with bitmapdata (puttin' pixel there, filling with color)I have those two functions. bmdCavas it tied to actual Bitmap with image, which is placed on screen.
[Code]...
But this code is not working. Should I redraw image after changing itx bitmapdata or something? or maybe I have to do undo function with bitmap itself?
I want to create a preloader that plays a certain amount of frames as it loads the rest of the frames. So, I have labels on the frames basically and need a preloader to play the "loading" frames as it is loading the "content" frames. Does that make sense? I have no idea how to even start this one... p.s. I am using AS 2.0, but if it can be done in 3.0 easier, I can switch over its no biggie
View 4 Repliesthere seems to be no accepted method of playing multiple flv using buttons. My latest attempt has me putting multiple instances of the flvPlayback component in different frames and using buttons to navigate to those frames. It works but nothing anyone has posted anywhere will result in removing the flv when you go to a different frame and instance. This was simple in AS2. Load movie to a traget and each time you load a new movie the other one goes away. REALLY goes away.
View 7 Repliesbasically im making a quiz on my main timeline ive got my questions and answers and on the last frame i want it to say how many answers the user got right. ive made a movie clip on this last frame. in the movie clip ive got 11 frames with the posible totals so frame one would be 0/10 frame 2 would be 1/10 etc what i want to do is when the user clicks the correct answer on the other frames i want flash to make the frames within the movie clip to go 1 step forward.
View 2 Replieswhenever I publish a FLA file I have, and load it onto a website, I see elements which aren't suppose to be within the frame sitting outside the frame.These elements are outside the canvas in flash and come in for brieft flashy moments but then fly back out again.How do I hide all files outside the canvas? I tried masking the top layer and adding everything underneath it and locking it but that never worked.
View 3 RepliesI have a small microsite built using Flash 4. It contains 5 'pages' assigned to individual keyframes, each keyframe separated by 5 frames (F5s). Each Keyframe is labelled 'page1' through to 'page5'. I have a navigation bar for the entire site which includes NEXT and PREVIOUS buttons. When the user reaches the LAST PAGE/KEYFRAME I do not want the NEXT BUTTON to show. I suspect it is something simple like nextbutton.visible = true - but I've spent a day trying to work out how to do this but without success.I am using AS3 and the existing coding is shown below.[code]
View 1 RepliesI download a flash template to take apart and play around with to make sure i still know my way around the software. Everything was going great until I discovered there are part of it that I can not find. The animation are not in the timeline or anywhere else I've looked. When I scrub through it they aren't there, but when I preview the movie (F12) they are always there. I managed to delete the pictures in those particular animations, but can not edit or find anything else.
Here is the link to the file... [URL]
I have a flex app that I want to hide in a div until the user clicks a link or element of some type. I've noticed that embedding the swf in a div with style display:none does not actually hide the swf, so how would I go about accomplishing this? The goal is to have the flex app loading in the background while the user does other things.
View 2 RepliesI created set of classes which generates a 3D Graph. its in as files and I have to had it ofer to someone else.
How can i include all the classes and compile it with the swf, so no one can see the source code.
I converted a bitmap to vector. I am removing all the useless extra points which get created in that process. Occasionally I will mis-click and end up moving or deleting a shape. When that happens I want to use "undo". But ctrl-z and undo from the menu do not simply undo the last action. It also goes and adds useless extra points all over the place. Why? Is there a way to make it quit doing that? It looks to me like it is a very bad bug.
View 3 RepliesI am attempting to hide a SWF file that has the AS2 FLV component in it only after the FLV has finished playing. How would I go about this?I've searched google fairly extensively and had no luck.I've found a way to hide the Div the SWF is in using a timed Javascript event that is external to the SWF, but I'd like to find a more elegant solution.
View 4 RepliesI am not a strong AS3 programmer but I have managed to get 90% of what I need done for a current project:
[URL]
I am having one problem that I am not having much luck with though, I would like to have the two buttons visible set to false when the movie loads, which I hope would stop the initial flash that happens when the movie loads.
I'm building an mp3 player expressively to make my music URLs a little less steal-able. Forgive my hacking ignorance here, but would it be better to embed my playlist XML (with the URLs) in the SWF rather than having the SWF read the XML file from my server? Seems that the latter approach would be easier to intercept...
I'm pretty sure that no one wants my mp3s badly enough to decompile the code. But with the player currently at my site, my XML playlists -- with the URLs -- started to come up in Google searches. Would rather avoid *that* level of exposure.