Move two objects with a click, without grouping?
Hello
The problem is simple, I have three objects (two of them are related images) in the following order: images (bottom) - path of squares (middle) - (on top)
I would like to move the images only by clicking on one of them without each other, grouping if I combine all the images they would be both on top of the square, I don't want that. I want to preserve order.
So in other words I would like to "bind" the two pictures togheter, just like in photoshop, click on one - move two
Is this possible?
Thank you guys.
ogutuie,
In addition to say Steve, (or) if there is a reason to have and keep them together, you can:
(1) click on top, then right-click and click next object below or last object below, then ShiftClick to have selected both select them only once.
After that, you can move them together, or you can
(2) select > Save selection and give them a name.
After that, you can move the selection by clicking in the Select > selection.
Or you can select through the layers palette.
Hi Steve. Fall with severe wetness.
Tags: Illustrator
Similar Questions
-
Very frustrating. Someone knows how to fix this? I reset all my settings and it's always the case. If I click in the exact Center of the object, I can click and drag as usual, however clicking anywhere else on the subject do not select or move the object.
Take a look if in preferences > selection & anchor display the "Object selection by path only" option is checked.
-
Draw two object with sceneMesh
Hello
I need two draw two independent vertices in the same 3D graphic models, I put the summits and index them in two different application SceneMesh and I tried to display the model in the same 3D graph but it is not possible. So does anyone have an idea how I can do this and be able to control the two items with a camera?
Thank you in advance.
Omar
Hi Omar,.
This link shows 3D how two objects can be added to the same scene. It also shows how to use object translations can be used to move objects around the stage that can be used to create the illusion of a camera moving objects over the stage window. I used these same methods of implementation when creating a ball game and palette in 3D. Translations can be performed on individual objects too, so you can allow objects change their relative position to each other.
Is that what you had in mind?
-
Two objects with the same name
Hi all
In my production database, there is a materialized view and a table with the same name. The two objects have the same number and type of columns.
Record from user_object table
OBJECT_NAME SUBOBJECT_NAME OBJECT_ID DATA_OBJECT_ID OBJECT_TYPE CREATED LAST_DDL_TIME TIMESTAMP STATUS TEMPORARY GENERATED SECONDARY NAMESPACE EDITION_NAME TEST_OBJ 151373 151373 TABLE 22/06/2012 22/06/2012 2012-06 - 22:15:39:30 VALID N N N 1 TEST_OBJ 152287 MATERIALIZED VIEW 22/06/2012 08/03/2012 2012-06 - 22:16:08:46 VALID N N N 19 I have another mode to normal display, TEST_NORMAL_VIEW, which selects the data of TEST_OBJ.
Then, on which table data select. Please give some input on this subject.
Kind regards
Matondo
A materialized view has 2 objects internally for her
1. the materialized view (it is more of a model)
2. the table that stores the actual data.
So when you create a materialized view, you can see 2 objects created by querying the USER_OBJECTS.
See this
SQL> create materialized view my_test_mv as select * from emp; Materialized view created. SQL> select object_type, object_name, data_object_id from user_objects where object_name = 'MY_TEST_MV'; OBJECT_TYPE OBJECT_NAME DATA_OBJECT_ID ------------------- -------------------- -------------- TABLE MY_TEST_MV 1638964 MATERIALIZED VIEW MY_TEST_MV
Now, you may notice that DATA_OBJECT_ID has null for the MV. DATA_OBJECT_ID is the Segment where the data is stored. As MV object is just a model and does not have data to null.
The user has no direct access to the MY_TEST_MV table. See this
SQL> drop table my_test_mv; drop table my_test_mv * ERROR at line 1: ORA-12083: must use DROP MATERIALIZED VIEW to drop "KARTHICK"."MY_TEST_MV"
Also, you can associate an existing table to a materialized using the clause ON TABLE PREDEFINED view.
Here is an example
SQL> drop materialized view my_test_mv; Materialized view dropped. SQL> create table my_test_mv_new as select * from emp; Table created. SQL> select object_type, object_name, data_object_id from user_objects where object_name = 'MY_TEST_MV_NEW'; OBJECT_TYPE OBJECT_NAME DATA_OBJECT_ID ------------------- -------------------- -------------- TABLE MY_TEST_MV_NEW 1638967 SQL> create materialized view my_test_mv_new on prebuilt table as select * from emp; Materialized view created. SQL> select object_type, object_name, data_object_id from user_objects where object_name = 'MY_TEST_MV_NEW'; OBJECT_TYPE OBJECT_NAME DATA_OBJECT_ID ------------------- -------------------- -------------- TABLE MY_TEST_MV_NEW 1638967 MATERIALIZED VIEW MY_TEST_MV_NEW SQL>
Once you associate a Table with a MV direct Table access is limited. You can directly access only the MV.
-
Move a movieclip with every click
Hello
I would like to create a mini game in my game. The purpose of the mini game would be:
To push a cow into a truck by quickly clicking with the mouse. If you're not fast enough, the cow is back to its point of origin.
So I think I need to create the movieclip cow and show the coordinates x something and there something.
Then indicate the code that whenever the player clicks, the movieclip will y + 1.
BUT every 0.5 seconds the movielcip of y-2 (except if it is original of coordinates).
And tells the code that, when the movieclip of cow is at x.somethingelse and y.somethingelse, the puzzle is completed.
Now... Finally and above all... How can I do?
It would be something like this? :
cow = new cowMovieclip; addchild(cow); cow.x = 0; cow.y = 0; cow.addEventListener(MouseEvent.CLICK, push, false, 0, true); public function push(e:MouseEvent):void{ // I don't think it's like that cow.x = +1; cow.y = +1; } if (cow.y = 30){ allPuzzles.room.cowPushed = true; }
And there is the code indicating that the cow for goes-1 if the Player do not click, but I don't quite know how to put this...
So nothing works with this code, so I guess I made a lot of mistakes.
Can you help me?
Thank you very much for your help,
There is another error in the code
if (cow.y = 30)
should be
If (cow.y is 30);
Maybe you have another ones in your code that causes the disorder.
BTW: setTimeOut is considered to be reliable even less then the timers when it comes to actually measure sth.
The code you provided rewriteen with a timer:
import flash.utils.Timer;
import flash.events.TimerEvent;
import flash.events.MouseEvent;
var clickTimer:Timer = new Timer (500);
var cowClicked:Boolean = false;
clickTimer.addEventListener (TimerEvent.TIMER, clickTimeHandler);
clickTimer.start ();
cow.addEventListener (MouseEvent.CLICK, clickHandler)
function clickTimeHandler(e:TimerEvent):void {}
If (! cowClicked & cow.x > 0) {}
Cow.x-= 5;
}
cowClicked = false;
}
function clickHandler(e:MouseEvent):void {}
cowClicked = true;
Cow.x += 5;
}
-
movement of character with mouse click
It is an online MMO game / world. So it must be good.
Hi guys. I'm really happy that I got this works as I am a neebie to AS3, but learn to love its simplicity. My problem is not my AS3 but my math.
I click on the mouse and the movieclip goes up to the x position of the mouse. However, it is in a sense what to say: down and to the right.
I don't have to it go in all directions depending on where you click. I guess it has to do with the comparison x and y positions of mouse and mc - IE: If one is larger than the other, so you can tell where both are positioned and then put the code in. I'm wrong and at - it someone hace some code like this flying around me?
import flash.display.Stage;
import flash.events.Event;stage.addEventListener (MouseEvent.CLICK, myClickReaction);
function myClickReaction (e:MouseEvent): void {}
sunny.gotoAndPlay ("runback")
Sunny.x = root.stage.mouseX
Sunny.y = root.stage.mouseY
addEventListener (Event.ENTER_FRAME, onEnterFrame);
}
function onEnterFrame(event:Event):void {}
var xDistance:Number
var yDistance:Number
MC in increments of 5 until it reaches the mouse - mc (ie the distance)
Sunny.x += 5;
Sunny.y += 5;
xDistance = root.stage.mouseX - sunny.x
trace (xDistance)
If (xDistance < = 0) {}
trace ("Works")
sunny.gotoAndPlay ("static")
removeEventListener (Event.ENTER_FRAME, onEnterFrame);
}
}As I said, my code does not detect when stop well. Perhaps, your the best fact. But your code is not as optimal as mine regarding the places where variables are declared and calculated (in particular, angle and useless statement of distanceY and distanceX). You should review this part.
-
two objects with a single mask image
Hello guys
can someone guide me how to tow mask objects (a box and other image) present in the same canvas with the third image which are also in the same canvas.i may hide a single object at a time, but need of solution both.any mask?
Thanks in advance
Vineet sharma
Try puuting the box and the image in a single container (canvas, Hbox, etc) and mask the container.
-
The transition between two objects with color gradient
Oh no! I want to make a smooth transition between objects of gradient color, but you can see a line. How can I make a smooth transition? It is not a transparant-gum... Please help me!
try to use a gradient instead of the net?
You can use the path search tool to convert forms in one section, then gradient to create the dark lines where are the current limits.
Or you can use "pen" one of them, to blend the overlap, but you may need to add the pen to a slightly larger copy of the object and your current border point to create a mask in order to keep the edges you want to stay strong and just leave an edge of more than in the other form.
-
Illustrator crashes when I try to move an object with the Selection tool
The problem occurs in a new or existing document. I tried all the solutions I can think.
1 reinstalled I
2 remove preferences. It worked temporarily and inevitably HAVE crashes and the problem recurs.
3 disabled my wireless mouse.
I have a similar problem in InDesign. However, InDesign won't crash.
This is a serious shortcoming, and its driving me crazy. The only thing I can think is that my software is bad, or Illustrator CS6 is very unstable.
Have a different work around in addition to what I mentioned above?Hey all - this is Laurel de Pushbullet.
We came across the same issue and have been able to solve the problem on our systems simply by rebooting.
Many of our users who have sent found that Universal copy & paste deactivating solves the problem for them.
Something in the way Chrome handles copy / paste feature seems to be launching programs Adobe to some people for a loop.
Sorry for all this. Certainly let us know what works and what does not.
-
Framework 11 - group movement of objects in a graphical block
In Framemaker 11, how can I move objects grouped in a graphic block at a specific location in the frame (by using the properties of the object, Position/size/Offset) without changing the line and fill of the grouped objects properties? When I apply a new position of offset for objects grouped in Frame 11, the fill and line properties groupled objects (apparently) becomes a kind of default setting. I don't want that to happen - I want that grouped all objects retain their initial line and fill properties. I used previously to frame 9, and grouped objects preserved their initial properties after you apply the new Offset.
When you have grouped objects and you want to use the properties of the object to move these, you must set all of the properties at AsIs everything first.
Select each of the tabs Fill, Stroke and dressing and then click the arrow anti-clockwise at the top right to set these to AsIs first of all. Then in the Dimesions, set the top and left of the grouped objects positrons.
Note: The clear Style button won't do it for you. It erases just any style named to be applied. You must always manually delete each property.
This whole process (Object Styles) still needs some work by Adobe.
-
Because between two keyframes with the same position, there is movement?
Because between two keyframes with the same position, there is movement?
This would be due to the influence or speed?
Quick glance:
1. image: 'x' is 384px
2 image: 'x' is 387px
3. picture: 'x' is 384px
Keyframes to which I refer are selected in the middle.
There is a change in the balance between two key frames that are in the same position, without keyframes between them.
FAQ: Why my layer (camera) moves backward between the keyframes value equal?
-
can perform us two actions with a single button in two clicks, one after the other?
Mr President.
can perform us two actions with a single button in two clicks, one after the other?
I want that when I click on the button Add once it add data to the database and when I click again on this button it clears the form data to the empty fields.
Concerning
TanvirIn the code, it should be easy.
The following code adds that a button called butman with text 'ADD '.
It then registers a listener that will be called if the user clicks the button.This listener then calls the runAddData method if you clicked butman while it contained the text of "ADD" and it calls the runClearData method otherwise.
That's why he will swap the functionality of the button between ADD and CLEAR on each click.final Button butman = new Button("ADD"); butman.setOnAction(new EventHandler
() { @Override public void handle(ActionEvent t) { if (butman.getText().equals("ADD")) { butman.setText("CLEAR"); runAddData(); } else { butman.setText("ADD"); runClearData(); } // END IF-THEN }}); I hope that's what you wanted.
Further reflection.
You might want to run the ADD and CLEAR methods in their own son so that it can run in the background without slowing down your user interface.I also reuse rather a single button for several features instead of to apply with hundreds of nodes used only rarely with masses of code to show and hide as needed.
-
How move partial object arranged without picking up in front of the objects?
Hello
I constantly encounter the problem that I have a lot of objects and when I want to drag the selected object to move it around, the object with forward / or on top of it will be caught and moved to the place. How to avoid shortcutwise to choose an undesirable object when I'm about to drag an object? Is there something like a key to hold, while Illustrator includes I want to spend the already selected object only? Given that it is a 100 times daily task and I can't always to lock / unlock any other layer I work too... Although I could, but that could slow down the work 100 times, because it is not easy to identify / turn on each layer in the layer list, whenever I take another object...
Pls share how it works in Illustrator.
Kind regards
Frank
This situation occurs generally when the object to move in preview mode is completely hidden behind other objects, otherwise only by clicking on the artboard, selecting in the layer panel, unlock or if it.
In this case, I would do it:
1. with the selected object, press Shift + Ctrl + Alt + 2
2 move the object
2. Once finished Ctrl + Alt + 2, then Ctrl + Shift + A. In this step you don't have to lift a finger pressing the CTRL key.
If you use mac, Ctrl = Cmd, Alt = Option.
Edit: another approach that I often use is press SHIFT and one of the arrow keys until the sticks of the object selected out behind others and then drag it by its visible part.
[Edit2: in addition, if the stacking order of the object should be kept, you can organize it in front of the battery with Ctr + shift +], or to move on the top layer highlighted, cut Ctrl + x and paste up Shift + Ctrl + v.
And according to your view and zoom level cut Ctrl + X and paste Ctrl + v may be used after pan in the center of your view instead of that want to move the object.
-
StartDrag, possible to move the two objects?
Hi, thanks for the response. Is it possible to connect the x coordinates y of the two objects so that if there are a bunch on one, when it is moved on the other moves with it?
Thank you very much
FrankFrank,
> Hi David, thanks a lot! I use a.s. 2. Code would be very
> very appreciated!Here's a way to do it.
clipA.onPress = function (): Void {}
this.startDrag ();
var offsetX:Number = clipB._x - this ._x;
var offsetY: Number = clipB._y - this ._y;
clipB.onMouseMove = function (): Void {}
This ._x = clipA._x + offsetX;
This ._y = clipA._y + offsetY;
updateAfterEvent();
};
};
clipA.onRelease = function (): Void {}
this.stopDrag ();
clipB.onMouseMove = null;
};clipA delivery Manager is two things: a) starts a normal for brake
itself and (b) note the distance of its own location from clipB,
then, it sets an onMouseMove to clipB handler that updates to this clip
position with respect to offsets included just. The
updateAfterEvent() function is not necessary, but it makes the smoother movement
to display the lowest rate.Do clipB reciprocate, to manage the same events for clipB, only
reverse the consequences:clipB.onPress = function (): Void {}
this.startDrag ();
var offsetX:Number = clipA._x - this ._x;
var offsetY: Number = clipA._y - this ._y;
clipA.onMouseMove = function (): Void {}
This ._x = clipB._x + offsetX;
This ._y = clipB._y + offsetY;
updateAfterEvent();
};
};
clipB.onRelease = function (): Void {}
this.stopDrag ();
clipA.onMouseMove = null;
};David Stiller
Adobe Community Expert
Dev blog, http://www.quip.net/blog/
"Luck is the residue of good design." -
All my objects in Indesign are locked. I can move objects with the help of the arrow keys on my keyboard, but not with the mouse. I must have done an order by mistake. Any suggestions?
Thanks for your help. I work again InDesign brokedown and after a reboot, everything works perfectly fine.
Maybe you are looking for
-
1078 PXI trigering internal between cards
Hi all I want to use the internal chassis SMU 1078 trigering. I read online about the internal trigers PXI and in my case I have PXI_Trig0 to PXI_Trig7. my setup is this I use a card PXI 6535 DIO card analog 2 and 6115 slot into the Groove 4. I would
-
Ringtones blackBerry Z10 old BB for BB10
Is there a place I can download all the old BlackBerry ringtones, to use my BlackBerry 10?(if this has been asked before, please guide me to the post office).Thank you
-
The gui is simply slow for everyone? Like, expanding or to effondrantes of the items in the Properties menu (as dangle, Minesweeper, face, etc.) takes like 5 seconds? I see people post on the response time of puppet, but I don't have the patience to
-
FolioItemView exception in showDownloadStatus model of Store Configurator
From the library model generated by Adobe Store Configuratoronline, there is an exception thrown within the showDownloadStatus function.When to remove the status of the download, off is called after cancelDownloadButton has been defined with a null v
-
Automatically convert the lowest capitalized
Hi all in my form, I have a textfield. I want to automatically convert lowercase to uppercase. How is possible using java script? Thank you