girardjf
01-23-2003, 01:35 PM
Is this allowed? I know, per the example, that a state can contain <text/>, but can it contain a <resource/>?
Here's two syntax methods i tried:
1.
<state name="state_01">
<resource src="img/Home_Sect01.swf">
</resource>
</state>
The above syntax gives me a compilation warning of "resource not allowed in this context"
2.
<state name="state_01" resource="img/Home_Sect01.swf"/>
</state>
I get no compilation with this syntax but the "state.apply()" method does not seem to be working.
Here's two syntax methods i tried:
1.
<state name="state_01">
<resource src="img/Home_Sect01.swf">
</resource>
</state>
The above syntax gives me a compilation warning of "resource not allowed in this context"
2.
<state name="state_01" resource="img/Home_Sect01.swf"/>
</state>
I get no compilation with this syntax but the "state.apply()" method does not seem to be working.