Can anyone help explain why I cannot get my linkedscene to load on a hotspot?
I have the following actions defined for onover and onclick of my hotspot:
Code
<action name="hotspot_setupChange_onOver">
trace(get(linkedscene));
txtreplace(newurl, url, '.png', '_over.png');
set(url, get(newurl));
</action>
<action name="skin_hotspotstyle_click">
trace(get(linkedscene));
if(linkedscene, set(enabled,false); loadscene( get(linkedscene), null, txtadd(MERGE|,%1) , get(skin_settings.loadscene_blend) ); );
</action>
Display More
The onover action traces the linked scene name as expected, but when I click the hotspot it traces "Null" and does not load the linked scene...
If I move the "if(linkedscene, set(enabled,false); loadscene( get(linkedscene), null, txtadd(MERGE|,%1) , get(skin_settings.loadscene_blend) ); );" to the onover action the scene loads as expected.
Cheers,
Olly