Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
fit2page  
#1 Posted : Wednesday, August 29, 2012 6:48:23 AM(UTC)
fit2page

Rank: Member

Groups: Member
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
fit2page  
#2 Posted : Thursday, August 30, 2012 12:03:53 AM(UTC)
fit2page

Rank: Member

Groups: Member
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
Dmitry.Obukhov  
#3 Posted : Monday, September 3, 2012 1:25:39 AM(UTC)
Dmitry.Obukhov

Rank: Advanced Member

Groups: Member
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.
fit2page  
#4 Posted : Tuesday, September 4, 2012 12:45:01 AM(UTC)
fit2page

Rank: Member

Groups: Member
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=8

We 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

Dmitry.Obukhov  
#5 Posted : Thursday, September 6, 2012 1:50:05 AM(UTC)
Dmitry.Obukhov

Rank: Advanced Member

Groups: Member
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.
fit2page  
#6 Posted : Thursday, September 6, 2012 2:06:13 AM(UTC)
fit2page

Rank: Member

Groups: Member
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

File Attachment(s):
wcg_canvas.zip (38kb) downloaded 7 time(s).
Dmitry.Obukhov  
#7 Posted : Friday, September 7, 2012 1:00:31 AM(UTC)
Dmitry.Obukhov

Rank: Advanced Member

Groups: Member
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.
thanks 1 user thanked Dmitry.Obukhov for this useful post.
fit2page on 9/11/2012(UTC)
Users browsing this topic
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.