Access hotspot's url when set via a style

  • Hi there,

    I cannot seem to access a hotspot's url, in an action with the following setup. I hope someone can get me back on track!

    I have a style definition:

    Code
    <style name="style1" style="nestedStyle" url="%SWFPATH%/skin/hotspot.png" />

    And a a hotspot in a scene:


    And the following action, called onstart for the above scene:

    The first trace logs "%SWFPATH%/skin/hotspot.png", as expected.
    The second trace logs null, which has thrown me.

    It was my understanding that style definitions are copied to the destination xmlelement.

    Can someone help me understand where I am going wrong here?

    Cheers,
    Olly

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!