Rank: Member
Groups: Guest
Joined: 3/15/2012(UTC) Posts: 12
Thanks: 1 times
|
Hi,
How could I create a layer from PSD which is always on top of the layer collection? How can I change the layer sequence server side?
I managed to load the PSD, but when I load image afterwards that one will be on top.
Please give me some pointer or code snippet.
Best regards, Marc
|
|
|
|
Rank: Member
Groups: Guest
Joined: 3/15/2012(UTC) Posts: 12
Thanks: 1 times
|
Hi Dmitry,
I really do not understand your answer. Are you posting in the wrong thread maybe?
Marc
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 5/29/2010(UTC) Posts: 1,310
Thanks: 8 times Was thanked: 111 time(s) in 111 post(s)
|
Hello Mark, Sorry for this misunderstanding. Quote: How could I create a layer from PSD which is always on top of the layer collection? How can I change the layer sequence server side?
I managed to load the PSD, but when I load image afterwards that one will be on top.
Could you please describe what you need to get more detailed? |
Best regards, Dmitry Obukhov
Technical Support. Aurigma, Inc.
|
|
|
|
Rank: Member
Groups: Guest
Joined: 3/15/2012(UTC) Posts: 12
Thanks: 1 times
|
Hi Dmitry, We are challenged to replace a Flash application on www.wheelchairgadgets.com, where users can design their own spoke protector for wheelchairs. The app can be reached through the following link: http://www.wheelchairgad...d&f=tie-wrap&p=8We use code from your Business Card Designer app (PSDloader) for this. We load the template from a PSD file where the applicable layers are loaded from the parameter settings. The problem that I face at this stage is the following: When I open the app the template is loaded on layer[0]. When I load an image or create a text layer this becomes layer[1]. After this the templatelayer should be on top of the layer collection because it is used as a mask. What would be the best way to set the templatelayer to be always on top of the layer collection? I can think of: Use AJAx to re-order layer collection and then reDraw---use template as a real mask What would be your suggestion to do this? Any code available? Thanks very much for your time. Best regards, Marc
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 5/29/2010(UTC) Posts: 1,310
Thanks: 8 times Was thanked: 111 time(s) in 111 post(s)
|
Hello,
Could you please send me your PSD file? |
Best regards, Dmitry Obukhov
Technical Support. Aurigma, Inc.
|
|
|
|
Rank: Member
Groups: Guest
Joined: 3/15/2012(UTC) Posts: 12
Thanks: 1 times
|
Herewith... Edited by user Thursday, September 6, 2012 2:06:48 AM(UTC)
| Reason: Not specified
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 5/29/2010(UTC) Posts: 1,310
Thanks: 8 times Was thanked: 111 time(s) in 111 post(s)
|
Hello, I recommend you to use the Insert() method to add layers to the canvas instead of Add() method. The Insert() method allows set an index of an added layer. |
Best regards, Dmitry Obukhov
Technical Support. Aurigma, Inc.
|
1 user thanked Dmitry.Obukhov for this useful post.
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.