Hi nelk !
Thank you for your help !
I've seen your blog, very interesting. I'm also french !
Concerning my question :
You can find an example here :
http://www.reflexion-graphic.com/krpano-1-forum/voiture.html
Editor is on, you can watch the code.
You'll see 2 green hotspots.
When you click on them, a window appears with a video. You can play/stop the video. Try to click on the link "close window" while a video is playing. You will heard the sound even if the window is hydden.
I'm using this plugin :
|
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
28
29
30
31
32
33
34
|
url="%SWFPATH%/plugins/textfield.swf"
keep="false"
visible="false" enabled="false" handcursor="true" capture="true" children="true"
zorder="0"
alpha="0.00" blendmode="normal"
smoothing="true"
origin="center" edge=""
x="0" y="0"
width="660" height=""
scale="1"
onloaded=""
onover=""
onhover=""
onout=""
ondown=""
onup=""
onclick=""
autosize="center"
background="true"
backgroundcolor="0x333333"
blur="20"
bordercolor="0xFFFFFF"
borderwidth="1"
css="data:css1"
glow="0"
glowcolor="16777215"
html="data:html1"
roundedge="0"
selectable="false"
shadow="5"
textblur="20"
textglow="0"
textglowcolor="16777215"
textshadow="0"
|
Then, in the htmlfield, i've placed a swf file with a video in it (autoplay : false). There is a control of the video in the swf file (play/stop/...). The video plays, it's perfect !
I use this action to hyde the window (as in the exemple textfield) :
|
Quellcode
|
1
2
3
4
5
|
set(plugin[%1].enabled,false);
tween(plugin[%1].alpha,0);
tween(plugin[%1].blur,20);
tween(plugin[%1].textblur,20,,,set(plugin[%1].visible,false));
|
The window hyde correctcly but the video is still playing. I can hear the sound !!
How could i make the window close (no need to control the video), but close, make the window unload or someting like this.
Thank you again !