How to reuse symbols moveclip in my drag and drop?
Morning
My problem is that I want to do not continue to draw the movieclip even start over, but reuse to drag and drop off at different locations in the project I'm working on.
Please consider my Flash project and tell me how this can be done, I told me about cache bitmap, but that doesn't seem to work or I'm missing some necessary code, I really need support on this issue
New clip is one of the projects with the action script please take a look and tell me what I'm missing to get the result I want.
hyp1.onPress = function() {}
startDrag (this);
}
hyp1.onRelease = function() {}
stopDrag();
}
hyp2.onPress = function() {}
startDrag (this);
}
hyp2.onRelease = function() {}
stopDrag();
}
Hyp3.onPress = function() {}
startDrag (this);
}
Hyp3.onRelease = function() {}
stopDrag();
}
Post edited by: Seal55
f (closespace3b);
function f(mc:MovieClip):Void {}
mc.onPress = function() {}
{if(!this.index)}
This.index = 1;
} else {}
This.index ++;
}
var d: Number = this._parent.getNextHighestDepth ();
this.swapDepths(d+1);
var mcDup:MovieClip = this.duplicateMovieClip (this._name + this.index, d);
this.startDrag ();
f (mcDup);
}
mc.onRelease = function() {}
this.stopDrag ();
}
}
Tags: Adobe Animate
Similar Questions
-
How to make the clip video symbols communicated once I drag and drop them in place
Hello all and kglad, I have a problem with the actionscript code that was given to me which works very well but the only problem is that once I drag and drop the movie clip symbol it will not release the symbol in the case of sum I send you the code and someone please help this project is hot on my plate.
See code below:
f (subject2);
function f(mc:MovieClip):Void {}
mc.onPress = function() {}
{if(!this.index)}
This.index = 1;
} else {}
This.index ++;
}
var d: Number = this._parent.getNextHighestDepth ();
this.swapDepths(d+1);
var mcDup:MovieClip = this.duplicateMovieClip (this._name + this.index, d);
this.startDrag ();
f (mcDup);
}
mc.onRelease = function() {}
this.stopDrag ();
}
}Seal55
You must add:
mc.onRelease = mc.onReleaseOutside = function() {}
this.stopDrag ();
}However, I find it odd that you set the anonymous functions inside another function that is a very bad strategy.
Something more like this would be better, I think:
function f(mc:MovieClip):Void {}
mc.onPress = handlePress;
mc.onRelease = handleRelease;mc.onReleaseOutside = handleRelease;
}function handlePress() {}
{if(!this.index)}
This.index = 1;
} else {}
This.index ++;
}
var d: Number = this._parent.getNextHighestDepth ();
this.swapDepths(d+1);
var mcDup:MovieClip = this.duplicateMovieClip (this._name + this.index, d);
this.startDrag ();
f (mcDup);
}}
function handleRelease() {}
this.stopDrag ();
}
-
How to add a code so my drag and drop movie clip will not stick when he's slipped to o final place
Hello everyone and kglad, I have to use the old drag and drop code on my video clips, but the problem is when I drag the movieclip to the area on my .swf file as soon as I release it, it sticks to the author of the hand.
I am encloseing I am using the action script could someone or kglad tell me what is missing in the code so that once he is out it does not stick, see the code below
circle.onPress = function() {}
startDrag (this);
}
circle.onRelease = function() {}
stopDrag();
}I am desperate for help on that must get ready for this afternoon
Seal55
the following is preferred:
Circle1.onPress = function() {}
this.startDrag ();
}
Circle1.onRelease = circle1.onReleaseOutside = function() {}
this.stopDrag ();
}
-
How to create the Table using the column Drag and Drop feature
Hello:
I'm new to Data Modeler tool Oracle SQL dev and would like to know if there is a way to create a new table by reusing existing columns or groups of columns. The idea is to maintain consistency and save time of table design. If the columns created previously can be reused and require, drag and drop column in the right pane, then only new columns must be created manually.
Any thoughts on this will be appreciated.
Thank you!Yes - just change the name of the model table in the script (t_name = "table_template") then save this new transformation for later use.
I don't know how to apply only some of the tables. Seems like something you could do to a secondary view level?
Perhaps someone else on the forum can advise how to change the script to work on a subview only instead of the whole model.
-
Moving bookmarks from URL in Firefox from one Mac to another
How do I drag-and - drop my web "Bookmarks Toolbar" folder from a Mac to an external zip USB drive. Mac network and use the feature of migration impossible. Need to proceed manually. Thank you!
Hi RMcMullen,
You should look at article in the Knowledge Base to back up and restore the information contained in the profiles of Firefox . It will give you all the information you need to save everything so you won't lose a thing.
Hope this helps!
-
Export of Photos - how to change the drag and drop non-original standard 'export '.
Hi all Mac experts.
I'm on OS X 10.11.3 and 1.3 on an iMac Photos 2009.
Like other users, I had been frustrated by the slow export of files by drag / move.
I have already learned that at least one of the reasons are that the files are converted if simply to slip and fall.
Here's my question: is it possible to define the standard action on drag-and-drop to be 'non-original export?
and if so, how?
Thanks and best,
What.Ever.Flies
You can't and can never change how to drag and drop work - if you hold down the option key by dragging and dropping a picture, you will get the unmodified original or are you export the unmodified original, you will get it
LN
-
MacBook Air, OSX 10.10.3, 128 GB; 2 TB Time Capsule ME177LL/A.
Final objective: use Time Capsule as a Time Machine for my MacBook Air and as a storage solution for large files that I don't want permanently on my MacBook Air.
So far, I've implemented the TC and set up Time Machine on the TC. I was able to create 2 partitions on the TC using disk utility then that TM was a backup and the disk was recognizable in disk utility.
Under Finder/shared, I see the TimeCapsule 'airport', and when I click on it it is a file called "Data". I was expecting to see my two partitions here. Under 'Features' is a ' Zissou31 MacBook Air (3)"sparsebundle file and I can also create folders here and drag and drop files on the TC here. I can see the partitions in disk utility, but how do I see/use the partitions I created in the Finder?
I fear that this may not be set up correctly and I'm either losing on an entire partition I created or these files dragged/dropped may be at risk of overwriting of TimeMachine. How can I make sure that the file analysis is on the appropriate partition?
I disabled TimeMachine and go back to see if I could 'point' to one of the partitions, but the "Data" folder is the only thing that TimeMachine seen. How do I point time Machine for one of the partitions?
Thank you!
In addition, in disk utility, I can see one of the partitions TC is related to the time Machine, indicated by the icon Time Machine green bottom left, but two partitions seem to fall under "Zissou31 of the MacBook Air (3) .sparsebundle.
-
I have a file on a cd - rw that I try to copy to a different folder, I open the file, but how can I get the new folder the long side so I can drag and drop
Hi tommckeith,
· What version of the operating system is installed on the computer?
· You try to move the file on the CD to the computer or inside the CD?
If you want to move the file on the CD for computer, follow the steps in the article.
Move and copy files using drag and drop
http://Windows.Microsoft.com/en-us/Windows7/move-and-copy-files-using-drag-and-drop
Copy and paste a file
http://Windows.Microsoft.com/en-us/Windows7/copy-and-paste-a-file
If you try to move the file to the CD, then it is not possible to make changes on the data stored in the CD. You must copy the data to the computer, and then make the necessary changes. You can also make the changes before saving the data to a CD.
-
Virtual PC for Windows 7 - How to drag-and - drop or transfer files
I am trying to use Virtual PC for Windows 7 and be able to identify ways to transfer files from my host system in a virtual PC, I created.
I was previously using Virtual PC (VPC) 2007 under Vista and am familiar with just the files dragging and droping to and from my host on the virtual computer system.
I enabled the integration services and am unsure of what the user really wants that the VPC. that is he doesn't want configure me a Local user on the virtual machine or the host.
I was able to connect to the virtual computer by using a local user on the computer virtual account, but for the life of me can not find out how to transfer files that I used to.
To achieve what I need, I copy files to a shared location on my network as my PC and the virtual computer has access.
Can anyone suggest how to get the 'integration' works correctly then drag and drop files between the Bureau of the VPC and host is possible.
Thank you.
Integration features allows the WVPC7 to share resources and readers. Open the virtual machine settings, and these options are available:
- Audio. Without integration, sounds played inside the virtual machine are emulated using a SoundBlaster 16 card. Audio output is fairly shrill and unpleasant to play using MP3s that imitated the sound card. With audio integration, sounds inside the VM are routed via Protocol Office remotely to your physical card. Audio output will be much better.
- Clipboard. Host OS and guest OS supported can share contents of the Clipboard.
- Printer. Applications within the virtual machine can print using your physical printer. This is useful if you have a parallel printer (LPT1). For USB printers, click on the "USB" menu on the toolbar of the virtual machine monitor, then attach your USB printer to your virtual machine.
- Smart cards. (I do not have any device of smart card, experts, please answer)
- Readers. Guest operating system can access and write files directly to your physical hard disks (or DVD or USB flash disk drive); is based on the physical disks, you have shared.
For drag / drop, until today (2 July here) does not. I used to drag-and - drop files from my desktop windows vista to the desktop of the virtual machine (windows XP inside) you do, but now we can't. Another approach is to share your disks in has integration of options described above.
After I shared my C: drive, a new 'shared' drive appeared in my virtual Windows XP [workstation], which is 'C on RYAN-PC' (the name may be different on your PC). Whenever I need to copy some files from my virtual computer on the desk of my windows 7, I just opened that shared drive, navigate to \\tsclient\C\Users\Ryan\Desktop\, copy the files and they come to my office windows 7.
Personally I agree that even this method is simpler that the copy of the shared network files, drag-and - drop is much easier.
-
How to import or drag and drop photos into Windows Live Movie Maker?
I'm unable to either import or drag and drop photos into Windows Live Movie Maker. I just finished a movie and when I try to open a new project, I click on "Add photos and video", taking me to 'my pictures', but when I try to open him "add photos and video", the "file name" has so much history, it doesn't allow me to click on the location of my file. How can I get rid of this story? The first film was so easy, but this new project has been up to this impossible after about 7 hours of attempts. Help, please!
Hi Anniebp2,
I think perhaps the best next step after all your efforts of trying to fix the program. For this, since it is part of the Windows Essentials pack, you can go to the page Windows Essentials and re - download and re-install the package, which will update and fix the movie maker if necessary. I hope that this solves the problem for you. Please let me know how it goes.
-
How can I fix the "drag and drop" feature in Windows 7? It used to work, but now does not work, for no apparent reason!
What happens when you try? Make sure you drag the icon image and not the text of the name.
If it still doesn't work there are some registry changes that can try to alleviate the problem. But because the changes to the registry are tedious and dangerous, I recommend to leave the system to repair it for you. Here's how:- Type of restore in the search box of the start menu to find and open to restore system files and settings from a restore point.
- Click Next, choose a date before the problem started, then click Next once more.
- This process only takes around 2 minutes and only restores your system files/settings: it will not affect any of your files, documents, photos, emails, or anything else.
If the system restore does not resolve the problem try this to replace missing or corrupted system files. Here's how:- Type cmd into the start menu search box, and then press Ctrl-Shift-Enter to launch as administrator.
- At the command prompt to start the File System Check, type sfc/scannow .
-
I just installed PS 13 items on my system Windows 7 Pro 64-bit. Mouse clicking works, but how I have difficulty drag and drop works do not? For example, I can't create a selection rectangle or drag the sliders or move the panels of the tool or resize a text box, I tried as an administrator (it does not help). Same "ClickLock" in Windows does not drag. No other program on my machine has problems. Help!
Reset preferences did not set anything. Even reinstall 13 elements PS has not fixed anything.
However, late breaking new...
See other discussions on this topic, which suggests a conflict of startup program that might be the cause, I did some experiments.
All the functions of the mouse to 13 PS elements worked well if I started my Windows 7 in "safe" mode
So, back in 'normal' mode, I manually disabled all startup programs. Returned mouse problem.
Enter the control panel "services", I disabled 'Synergy' (a program that allows me to share my keyboard and mouse between two computers). Fixed a problem.
The reactivation of all the startup programs while leaving a synergy service is turned off, everything works still fine.
Start all programs present and re-empowerment synergy, but turned off its 'high privilege check box. Everything is still fine.Conclusion: Synergy in high privilege mode service was the only culprit.
Synergy in non high mode allows my PS 13 items and keyboard/mouse sharing to coexist.The strange thing is that only PS elements 13 was affected by synergy. I detect no problems anywhere else. But it doesn't matter; the new arrangement (no high synergy) works fine for everything.
Al
-
How to automate drag and drop a VM to a folder?
As we can easily drag and drop a virtual machine from a virtual computer folder to another folder VM in the computers view virtual and patterns of vSphere Client, how this should be perfectly automated with vCloud API? I looked at a lot of places, but he was talking about vMotion from one host to another, or a data store to another. Anyone know about this? Furthermore, I would like to make this shape vCO.
Thanks to Suresh Thoppay. It is available in the vSphere API. Search for moveIntoFolder_Task in the API of the vCO Explorer.
TargetFolder.moveIntoFolder_Task (VM)
where TargetFolder is of type VC:VmFolder and VM is table of VC:VirtualMachine
-
How can I get intelligent forms to appear as feedback on my drag and drops?
Hello
In general, the comments that the user sees when he "fails" a drag and drop comes in the form of a "form of failure." Which is the case when the "accept" and "reject" check boxes are clicked to drop targets - you get "success shapes" and "forms of failure", respectively. This gives you immediate access to several styles of form in the "First name" drop-down box
In one of my projects, feedback for drag and drops come in the form of 'success stories' and 'Legends of failure. " It's frustrating because it gives me access to a new set has styles - styles of legends, and I can't use the typical failure and success smart shape of styles that I want to use.
My work around was to copy the slide in a new project, create the drag and drop and goes back the slide in the project of the moose.
Does anyone have an idea on how to fix this? It seems to be only a problem in a project. The theme used is not the issue because I use the same theme in many projects where I don't have this problem.
Thanks for any help!
& Glide will use forms instead of legends, if this option is checked in the preferences, default values
Maybe it was the case in this project? Use the approach of the stem to convert subtitles in forms.
-
I need to know EXACTLY how to drag and drop digital pictures into LTRM. WHERE to put them. HOW to find them. How to MOVE in the DEVELOPMENT MODULE.
When you drag / drop photos, you actually perform a step to import, so it would be wise to figure out how to import your photos and all of the affected options. I agree with Jim Hess and al., drag / drop are an easy way to screw up your organization. Importing is a much more organized way to manage things. There are a lot of tutorial vid3os on import.
Maybe you are looking for
-
How can I keep this stupid air to play whenever I open a new tab? Very annoying!
Why would anyone even want that?
-
Cannot publish photos on Facebook from the native photo app until the wifi
Hello. I have an iPhone 6 (software update)... during the last two months, I've noticed that if I post a picture on Facebook of my iPhone photos application is not publish on Facebook immediately if on 3G/4G...instead it holds on it and as soon as I
-
I can't text people with iphones after swinging back on android
Hi, half the people I text with have iphones and I can't receive text messages from phone calls I went from 5 c to Samsung Note5 iPhone I was getting texts from users of the iPhone on my note3 without any problem. IPhone News: it has a capacity of 12
-
I HAV updated security updates n of 2008,2009 2010 n of windows. now I can remove these programs without hurting my pc? any one any help is appreciated.
-
Cookies in XML applications?
Sorry for the Crossposting this sub discussions XML-application as well, turned out there's not much business so I could be better from here... In the Cisco application developer notes it says cookies are supported, but I am unable to get my SPA504G