Sie sind nicht angemeldet.

mds

Fortgeschrittener

  • »mds« ist der Autor dieses Themas

Beiträge: 152

Wohnort: Athens, GA

Beruf: Designer

  • Nachricht senden

1

Freitag, 10. Juni 2011, 19:51

Dynamic Hotspot (keep = false)

I've got a <scene> with several dynamic hotspots being added.

Even though I'm trying to set the keep to false like this:

Quellcode

1
set(hotspot[right_2].keep, false);


The hotspots are staying constant in all scenes.

Any ideas?
Say "Hi!" on twitter

2

Freitag, 10. Juni 2011, 20:52

that code is correct without seeing more of the surrounding code it would be hard to say why.

mds

Fortgeschrittener

  • »mds« ist der Autor dieses Themas

Beiträge: 152

Wohnort: Athens, GA

Beruf: Designer

  • Nachricht senden

3

Freitag, 10. Juni 2011, 21:01

here's a few more snippets

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<scene name="scene_lounge" title="lounge" onstart="ceilingcycle();" thumburl="panos/lounge.tiles/thumb.jpg">

<action name="ceilingcycle">
     		if(xml.scene==scene_lounge,
     			if(isflash=="true",
     				delayedcall(3,	add_set_1(); );
     			);
     		);
     		removecycle();
 </action>
     	
 <action name="add_set_1">
     		if(xml.scene==scene_lounge,
	     		add_front_1();
	     		add_up_1();
	     		add_right_1();
	     		fade_set_1_in();
	     	);
	     	removecycle();
</action>

<action name="removecycle">
	     	if(xml.scene!=scene_lounge,
	     		delayedcall(.5,   remove_set_1();	);
	     		delayedcall(.5,   remove_set_2(); );
	     	);
 </action>
Say "Hi!" on twitter