Aqua-Soft Forums: Nested Child Layers within child layers. Is this possible? - Aqua-Soft Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Nested Child Layers within child layers. Is this possible? Rate Topic: -----

#1 User is offline   SirSmiley Icon

  • Douchebag
  • Group: Member
  • Posts: 1,885
  • Joined: 28-June 05

Posted 17 June 2006 - 12:09 AM

As the question says. Working on an Ave Desklet Dock (dashboard) in AveScripter & was wondering if it's possible to have an additional child layer within a child layer?

Reason I ask is for adding the slide effect to the dashboard layer. ie. Dashboard Opens (Slides Up) then icons slide in from right. Oh, and I'm trying to do this completely in the AveScripter xml file. I'm almost positive that it can be done this way without an external script.

Sample code:

<sides>

			<side id="0" width="1152" height="164" closex="10" closey="10"/>

		</sides>

		<layers side="0">

			<layer name="dkBack" src="body.png" x="0" y="46" width="1152" height="118" alpha="255">

				<layer name="dkLauncher" src="launcher_back.png" x="-1140" y="46" width="1152" height="118" alpha="255">

					<layer name="dkSC01" src="icons/wm_icon.png" x="15" y="15" width="67" height="73" alpha="255" >

				</layer>

				<layer name="dkLauncherShow" src="!HITSPOT" x="0" y="46" width="12" height="118" mousecursor="IDC_HAND" onclick="!EFFECT:SLIDE,dkLauncher,0,0,1152,118,-1140,0,1152,118,-10,0,0,0,15" />

				<layer name="dkLauncherHide" src="!HITSPOT" x="1140" y="46" width="12" height="118" mousecursor="IDC_HAND" onclick="!EFFECT:SLIDE,dkLauncher,-1140,0,1152,118,0,0,1152,118,10,0,0,0,15" />

			</layer>

			<layer name="dkCross" src="cross.png" x="10" y="0" width="36" height="36" alpha="255" mousecursor="IDC_HAND" />

			<layer name="dkManage" src="manage.png" x="66" y="0" width="136" height="36" alpha="255" mousecursor="IDC_HAND" />

			<layer name="dkOpen" src="!HITSPOT" x="10" y="0" width="22" height="22" mousecursor="IDC_HAND" onclick="!EFFECT:SLIDE,dkBack,0,-118,1152,118,0,0,1152,118,0,10,0,0,15" />

			<layer name="dkClose" src="!HITSPOT" x="66" y="0" width="22" height="22" mousecursor="IDC_HAND" onclick="!EFFECT:SLIDE,dkBack,0,0,1152,118,0,-118,1152,118,0,-10,0,0,15" />

			</layers>

		<controls>

0

#2 User is offline   AndreasV Icon

  • Group: Developers
  • Posts: 2,137
  • Joined: 22-November 03

Posted 17 June 2006 - 07:46 PM

I'm not really sure to what extent avescripter supports child-layers. AveDesk 1.3 does not support child-layers at the moment, so child-layers in AveScripter are an extension.

(AveDesk 2 will have child-layers :) )
0

#3 User is offline   SirSmiley Icon

  • Douchebag
  • Group: Member
  • Posts: 1,885
  • Joined: 28-June 05

Posted 18 June 2006 - 01:14 AM

AndreasV said:

I'm not really sure to what extent avescripter supports child-layers. AveDesk 1.3 does not support child-layers at the moment, so child-layers in AveScripter are an extension.

(AveDesk 2 will have child-layers :) )


Sounds great! :)

Looking at Phil's SDK and taking it literally from a programming perspective he refers to "child layer" so, it appears to be just the one. Which is probably more than enough I'm just too lazy to use masks.
0

#4 User is offline   pcm Icon

  • Group: Member
  • Posts: 617
  • Joined: 02-May 05

Posted 18 June 2006 - 11:48 AM

Ya.

Child layers is only one. I didn't "bother" adding more support since I know that Andreas was adding it and making it better. Rather spend time on other areas then double "handling" upcoming work,
0

#5 User is offline   SirSmiley Icon

  • Douchebag
  • Group: Member
  • Posts: 1,885
  • Joined: 28-June 05

Posted 18 June 2006 - 12:15 PM

Thanks.

Like I said, there are other ways to do this. :)

Ps. Was checking out the Opera Crossword widget which may be something I'll try in the future. Oh the layers. :D
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic