PDA

View Full Version : Layers and objects.



Chesso
April 13th, 2007, 10:24 PM
I have no idea what they were thinking, but neither Flash or Photoshop's creators allow drag and drop of selectable objects onto different layers.

But I mean come on it can't be that hard? all they gotta do is changed the objects layer property esshhh.

Is there perhaps another way?

I just want to move my moveclips and graphics etc to a seperate layer as if I had created them in that layer in the first place, copy/paste fails because it does not retain the objects actionscript code.

small_guy
April 13th, 2007, 11:30 PM
Actually Flash does have a pretty cool way to do this.

I work on a Mac. If you are on a PC the three key combinations to doing this might be different (or might not). On a Mac at least it works like this:

Collectively select the items on your layer you want to be on separate layers. (If it is all of them then obviously just select them all. If it is only certain ones then click on each one while holding down the shift key.

Once you have the items selected you want to (again this is on a Mac but I am relatively sure it can be done on a PC as well) hold the control and shift keys down together first and while still holding those two down add the "D" key to the mix. Don't try to press all 3 at the same time as you might not get the desired result.

This will send your objects all to their own layers with the layers named (provided you gave the objects instance names before you did this) and your ActionScript in tact.

(Be aware - in the event that you sent all the items from the original layer to separate layers - that you now have an empty layer in your timeline which was the original layer that had all your items on it.)



I have no idea what they were thinking, but neither Flash or Photoshop's creators allow drag and drop of selectable objects onto different layers.

But I mean come on it can't be that hard? all they gotta do is changed the objects layer property esshhh.

Is there perhaps another way?

I just want to move my moveclips and graphics etc to a seperate layer as if I had created them in that layer in the first place, copy/paste fails because it does not retain the objects actionscript code.

Chesso
April 13th, 2007, 11:58 PM
Yeah that can be achieved using right click and "Distribute to layers".

But this merely creates a new layer with the object on it, at this point this doesn't particularly help much.

I am simply looking to easily move a selection on the stage from one layer to another.

I dunno what the developers were thinking but this is such a simple thing to do, they obviously have some way of telling what layer to draw the objects in the IDE, but they don't seem to give me any options to change it :S.

I'll most likely just have to rip the actionscript out of each one as I go and copy/paste from layer to layer and re-insert the actionscript and make sure everything else is intact.

small_guy
April 14th, 2007, 01:52 AM
Sorry that I misunderstood your question.


Yeah that can be achieved using right click and "Distribute to layers".

But this merely creates a new layer with the object on it, at this point this doesn't particularly help much.

I am simply looking to easily move a selection on the stage from one layer to another.

I dunno what the developers were thinking but this is such a simple thing to do, they obviously have some way of telling what layer to draw the objects in the IDE, but they don't seem to give me any options to change it :S.

I'll most likely just have to rip the actionscript out of each one as I go and copy/paste from layer to layer and re-insert the actionscript and make sure everything else is intact.

Chesso
April 14th, 2007, 02:25 AM
That's ok, I have had to re-phrase to alot of people (none who could find a way to do it lol).

I guess my explanations make more sense to me as I have a fair bit of Delphi/C++ and DirectX programming experience, I'm by no means new to layering, depth, screen co-ordinate system among all the other crap that comes with it lol.

I'm not too far into Flash so I don't know the often used terms, I have to revert to my other programming experience to explain what I mean.