You are not logged in.

to2hov

Trainee

  • "to2hov" started this thread

Posts: 57

Location: Bulgaria

Occupation: Panoramic Photography

  • Send private message

1

Wednesday, January 25th 2012, 7:35am

set(repeat)...

Hi guys,

It's being a long time I haven't visit your cool place in here that it's because I stopped doing 360 but there is this friend of mine who asked me to make one for his music club and now I stuck into something I can not solve myself. In other words I will need your help

You can check the project here...

http://to2hov.com/studio5/ - (you need to click on the fisrt screen in order to start the pano)

I'm sorry it's all Bulgarian language for thoose of you who doesn't understand :( can't do much at the moment. Anyway my problem comes with the carosel masked add on the side I'm trying to fix. I'm using mask but it seems the mask applies to only one of the 3adds do you know why? Here is my code..

Quoted



<plugin name="add-box" url="gfx/schedule-box.png" keep="true" scale9grid="5|5|25|25" parent="adchoose" visible="true" align="topright" x="0" y="20" width="290" height="190" />

<plugin name="adsense-01" url="gfx/sense-add-01.jpg" keep="true" parent="add-box" visible="true" zorder="20" align="topright" x="0" y="0" mask="add-mask" />
<plugin name="adsense-02" url="gfx/sense-add-02.jpg" keep="true" parent="add-box" visible="true" zorder="30" align="topright" x="-290" y="0" mask="add-mask" />
<plugin name="adsense-03" url="gfx/sense-add-03.jpg" keep="true" parent="add-box" visible="true" zorder="40" align="topright" x="-290" y="0" mask="add-mask" />

<plugin name="add-mask" url="gfx/schedule-mask.png" keep="true" parent="add-box" visible="true" align="topright" x="0" y="0" width="290" height="190" />
</plugin></plugin></plugin></plugin></plugin>

</plugin></plugin></plugin></plugin></plugin>
The second thing is that... I want this to repeat forever but I don't really know how. I found this post but I didn't really get it. This is my code now...</plugin></plugin></plugin></plugin></plugin>

Quoted



wait(10);
tween(plugin[adsense-01].x, 290, 0.5, default);
tween(plugin[adsense-02].x, 0, 0.5, default);
wait(10);
set(plugin[adsense-01].x, -290);
tween(plugin[adsense-02].x, 290, 0.5, default);
tween(plugin[adsense-03].x, 0, 0.5, default);
wait(10);
set(plugin[adsense-02].x, -290);
tween(plugin[adsense-03].x, 290, 0.5, default);
tween(plugin[adsense-01].x, 0, 0.5, default);
wait(10);
set(plugin[adsense-03].x, -290);
tween(plugin[adsense-01].x, 290, 0.5, default);
tween(plugin[adsense-02].x, 0, 0.5, default);
wait(10);
set(plugin[adsense-01].x, -290);
tween(plugin[adsense-02].x, 290, 0.5, default);
tween(plugin[adsense-03].x, 0, 0.5, default);
wait(10);
set(plugin[adsense-02].x, -290);
tween(plugin[adsense-03].x, 290, 0.5, default);
tween(plugin[adsense-01].x, 0, 0.5, default);
</action>


Thank you in advance
Best,
N.

This post has been edited 1 times, last edit by "to2hov" (Jan 25th 2012, 7:46am)


to2hov

Trainee

  • "to2hov" started this thread

Posts: 57

Location: Bulgaria

Occupation: Panoramic Photography

  • Send private message

2

Wednesday, January 25th 2012, 7:47am

Oh crap, I just saw that wait(10); actually blocks the entire website functionality :(

to2hov

Trainee

  • "to2hov" started this thread

Posts: 57

Location: Bulgaria

Occupation: Panoramic Photography

  • Send private message

3

Wednesday, January 25th 2012, 8:05am

Ok this was quick. I just solved my repeat problem by setting up this code...


Quoted


<action name="delay-01">
delayedcall(10, add-01());
</action>

<action name="add-01">
set(plugin[adsense-03].x, -290);
tween(plugin[adsense-01].x, 290, 0.5, default);
tween(plugin[adsense-02].x, 0, 0.5, default);
delayedcall(10, add-02());
</action>

<action name="add-02">
set(plugin[adsense-01].x, -290);
tween(plugin[adsense-02].x, 290, 0.5, default);
tween(plugin[adsense-03].x, 0, 0.5, default);
delayedcall(10, add-03());
</action>

<action name="add-03">
set(plugin[adsense-02].x, -290);
tween(plugin[adsense-03].x, 290, 0.5, default);
tween(plugin[adsense-01].x, 0, 0.5, default);
delayedcall(10, add-01());
</action>

but I still have this mask problem any solutions?

to2hov

Trainee

  • "to2hov" started this thread

Posts: 57

Location: Bulgaria

Occupation: Panoramic Photography

  • Send private message

4

Wednesday, January 25th 2012, 9:55am

Problem solved ;) thanks for your attention! Klaus can simply delete/lock the post.

I simply added mask plugin with different names (same parameters) for every add.

Best,
N.