ActionScript 3.0 :: Making A Undo Button With SharedObject?

Apr 30, 2010

I 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]......

View 0 Replies


Similar Posts:


ActionScript 3.0 :: Undo And Erase Button For A Drawing Application?

May 16, 2010

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;

[code].....

View 5 Replies

ActionScript 1/2 :: Create An UNDO Button To Runtime Editing Website?

Nov 24, 2009

1. 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?

View 2 Replies

Media Server :: SharedObject.NoAccess Error When Trying To SharedObject.getRemote?

Feb 18, 2012

I've installed developer version of Flash Media Server 4.5 and trying to get remote object, but no matter how I call my object all i get is this error .I've rad configuration guide and it told me that I should set StorageDir for shared objects, enable RPC (<RPC enabled="true">) and allow shared object (<Allow>users</Allow> in <RPC> - <SharedObject> tags)

View 1 Replies

ActionScript 3.0 :: SharedObject Error: Error #2134: Cannot Create SharedObject?

May 9, 2011

Gives me this error:

Error: Error #2134: Cannot create SharedObject.
at flash.net::SharedObject$/getLocal()
at as3_shared_objects/showVar()

[code]....

View 2 Replies

IDE :: Undo Hiding Of Frames?

May 3, 2009

I somehow hided the frames:How du i undo that?

View 2 Replies

ActionScript 3.0 :: Undo Last Action In Drawing?

Jan 12, 2011

I 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]...

View 4 Replies

ActionScript 2.0 :: Use Undo Option In Application

Feb 22, 2007

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 Replies

ActionScript 3.0 :: Implement Undo/redo Functionality?

Sep 5, 2009

How 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 Replies

Flex :: Implementing Undo/Redo Within A TextArea?

Dec 2, 2009

Im 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 Replies

ActionScript :: Create Own Undo/redo Classes?

Jan 17, 2011

i'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)?

View 1 Replies

Flash - How To Implement Undo And Redo Feature In AS3

Nov 16, 2011

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 Replies

ActionScript 2.0 :: Drawing Board Undo Last Pen Line?

Aug 5, 2005

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 Replies

Flex :: Undo, Redo Functionality With Image Manipulation?

Jan 21, 2010

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.

View 1 Replies

ActionScript 2.0 :: Brush Size Change And Undo For Paint App?

May 8, 2006

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]...

View 7 Replies

ActionScript 2.0 :: Simulating Undo/redo In Flash Movie?

Apr 11, 2007

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 Replies

Flex :: Actionscript 3 - Spark TextArea InsertText Breaks Undo Buffer?

Jun 9, 2011

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

View 1 Replies

ActionScript 3.0 :: Make Undo Redo A Movie Clip In An Flash Application?

Aug 7, 2010

I wnat to make my movie clip undo redo how to make them in flash application similar to Microsoft office 2003 application..

View 1 Replies

Making A Button On An Imported PSD?

Aug 12, 2010

it seemed like a simple process but I cant seem to get this right... I got a button there, but the URL wont go, ie, the click does nothing.I imported a PSD layered image to Flash CS3, into a new blank layer. I need basically an area of this PSD to be "image mapped" so what I did was create a rectangle with the rect tool, over the area I needed the hot spot.Here I tried to do a transparent box and border (alpha 0) but the outline is still there even though the box is "empty." I did select the transparent box, no color, and tried alpha, both same result)I made that into a symbol, then I double clicked into there to fill in the key pts for the over, hit, etc., states.... I dont have any effects here btw, as simple as we can get.After that I right clicked on the buttonand entered the action script ("reserve" is the name of my button symbol)

reserve.onRelease=function(){
getURL("http://www.redeggnyc.com/menu2.htm");
}

[code].....

View 2 Replies

Making A Link From One Button To Another Sc4?

Sep 12, 2009

i have a friend who are dentist and ive agreed to do a web site for him. I do it in cs4. Like so: ive made a pretty simple and nice layout i plan to use for all pages with some images an so on .Now ive made lots of buttons wich all opens in a timeline nice and slow (not to slow). On the index page i have a menu called "treatments" wich requir some room. I want to make a button called "treatments" wich can open and collaps to 3-4 minor buttons wich then again can link to diffrent pages describing different treatments. Now i need the treatment button to open up the 3-4 minor buttons one by one smooth(tweened with the alpha slider) with same frame rate as the other ones on the page and collaps again.

View 1 Replies

Making A Button Link To A URL?

Jan 10, 2010

I have an object on the stage (with an instance called mcBlackboard) that contains two buttons.I'm trying to make these buttons link to pages on my site but I get the following error(s):1120: Access of undefined property buttonAboutUs1120: Access of undefined property buttonFAQsMy guess is that it's not finding the buttons in the movieclip (since the script worked fine when the objects were on the stage).I may have done things in an odd way, but it's the result of days trying to figure this out mysel

Code:
function myButton(button:MovieClip,url:String) {
var buttonPath = "mcBlackboard." + button;

[code].....

View 5 Replies

ActionScript 2.0 :: Making MC Into A Button?

Dec 10, 2003

i am looking to use mc's for my buttons instead of buttons. what is the as i need to give a mc to geturl [URL] and a diff one to load another mc is it..

View 8 Replies

IDE :: Making A Button On An Imported PSD?

Aug 12, 2010

I got a button there, but the URL wont go, ie, the click does nothing.I imported a PSD layered image to Flash CS3, into a new blank layer. I need basically an area of this PSD to be "image mapped" so what I did was create a rectangle with the rect tool, over the area I needed the hot spot.

Here I tried to do a transparent box and border (alpha 0) but the outline is still there even though the box is "empty." I did select the transparent box, no color, and tried alpha, both same result)

I made that into a symbol, then I double clicked into there to fill in the key pts for the over, hit, etc., states.... I dont have any effects here btw, as simple as we can get.After that I right clicked on the buttonand entered the action script ("reserve" is the name of my button symbol)

[Code]...

which gave no errors on validation.When I preview in Flash, everything looks good except the thin black border and the fact that when the button is pressed, nothing happens.

View 4 Replies

ActionScript 2.0 :: [CS3] : Making A Switch (button)?

Feb 18, 2009

I have made a button to function like a switch in that it has both an on and off state. However, I can only get it to switch between the on and off state once when it's pressed, with nothing happening after it has been turned off.The code is as follows:

Code:
switch1.onPress = function() {
switch1.gotoAndStop("on");
_root.onEnterFrame = function() {

[code]....

is there a way to make it so that the switch works continuously, not just one time?

View 1 Replies

CS3 - Making Button Open An Image

Jun 26, 2009

I need help making a few of my buttons open images, I need the images to basically pop-up full size, and with a click on the image, it goes away. I require some sort of framework script for this

View 1 Replies

ActionSctript 3 :: Making A Button Invisible ?

Jun 7, 2009

I have one button instance that stretches across many frames, and I would like to make it invisible in some of the frames and visible in others. How do I do this with ActionScript 3?

View 1 Replies

Making Button To Start Animation

Nov 15, 2009

I'm very new at Flash and while Ive picked up the basics of tweening and creating animations. I'm trying to create an image of a post it note that is revelaed via a mask when a user rolls over a seperate image. I have created the animation of the mask and it revelas the note fine. My question is how do I create an invisible button and code it in action script so when I roll over image 1 my mask tween begins playing to reveal the post it.

View 2 Replies

ActionScript 1/2 :: Making Sure A Button Does Not Get Focussed?

Jun 12, 2010

I'm currently building a small search banner which comprises of three fields and a search button.
 
The banner works great and all the fields respond well however if I use the tab key on the keyboard to move from one field to the next the search button becomes highlighted.
 
At this point my keydown Enter causes the button to not function as a release but instead takes my file to another portion that is reserved for button B rollover functionality.
 
Is there anyway I can make sure that by hitting the tab key after the last field will take the user back to the first field?

View 5 Replies

Professional :: Making Button On Imported PSD

Aug 12, 2010

It seemed like a simple process but I cant seem to get this right... I got a button there, but the URL wont go, i.e., the click does nothing. I imported a PSD layered image to Flash CS3, into a new blank layer. I need basically an area of this PSD to be "image mapped" so what I did was create a rectangle with the rect tool, over the area I needed the hot spot. Here I tried to do a transparent box and border (alpha 0) but the outline is still there even though the box is "empty." (I did select the transparent box, no color, and tried alpha, both same result). I made that into a symbol, then I double clicked into there to fill in the key pts for the over, hit, etc., states.... I don't have any effects here btw, as simple as we can get.

After that I right clicked on the button and entered the action script ("reserve" is the name of my button symbol)
reserve.onRelease=function(){getURL("[URL]");}
Which gave no errors on validation. When I preview in Flash, everything looks good except the thin black border and the fact that when the button is pressed, nothing happens.

View 4 Replies

ActionScript 3.0 :: Making Button Using Labels?

Dec 22, 2010

Still a newbie, I am trying to understand how labels work with buttons. So eventually, I can create a rollover effect and have a button on a menu either glow or have an effect.
 
So far just testing how labels work, I have made a movieclip with labels in it. Then made a test button to try to trigger movement from label to label.  Nothing works. The movie clip simply runs over and over again.I have tried some tutorials, but using their as, still does not work.

[Code]...

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved