to see if I can make myself understood.
I am using the option to open a photo, which I can enlarge with the mouse wheel.
And I choose the option to close when clicking anywhere.
To the code I have in: save_hotspot.xml in onclick I add: switch (autorotate.enabled); tween (plugin [pp_blur] .range, 30.0);
Being that way:
<hotspot name = "hotspot_1" style = "link_hs_sm" type = "image" keep = "true" url = "% SWFPATH% / add_hotspot / picture / image_hotspot1.png" zorder = "5"
ath = "9.6405" atv = "- 16.7448" width = "100" height = "prop" scale = "0.3916" edge = "center"
install_onclick = "6;" scene_EL = "scene_eg" info_Ah = "_ AVF4898.
jpg "fov_EL =" 81 "enabled2 =" true "visible2 =" true "drag_hs =" true "tit_phot =" 0 "phot_h =" 80 "
onclick = "open_photo_add_hs (% SWFPATH% / add_hotspot / photo / _AVF4898.jpg); switch (autorotate.enabled); tween (plugin [pp_blur] .range, 30.0);"
onhover = "showtext (See Work, STYLE1_LinkSM)"
ondown = "drag_LinkSM ()"
/>
and in: style_addhs.xml in Layer close6_photo
add onclick: switch (autorotate.enabled); tween (plugin [pp_blur] .range, 00.0); tween (alpha, 0);
being that way:
<layer name = "close6_photo" keep = "true" align = "righttop" x = "25" y = "22" url = "picture / close.png" zorder = "51"
width = "25" height = "prop" alpha = "0" edge = "center" visible = "true" bgcapture = "true" handcursor = "true"
onover = "tween (width, 25,0.2);" onout = "tween (width, 20,0.2);" onclick = "delayedcall (0.3, close_photo_add_hs ();); switch (autorotate.enabled); tween
(plugin [pp_blur] .range, 00.0); tween (alpha, 0); set (enabled, false);" />
Everything works as it should if I close the photo of the X in the upper right corner of the photo.
But if I close it by clicking anywhere in the window, it doesn't restore autorotation and it doesn't remove the blur plugin.
I would like that just closing anywhere in the image would restore everything