0
Wire is not functioning correctly
My wire is not functioning correctly. I have an action that runs on initialization that is supposed to load another subwire. Although, this is not happening. I have checked for logical errors and I have not found any. Can anybody help me? My other subwire simply only has a main and a background panel with a color for testing. I have been having some serious issues with The environments functionality recently.
<wire>
<styles>
</styles>
<classes>
</classes>
<main>
<!-- Can be replaced with a startup image -->
<panel name="background" alias="BACKGROUND" width="100%" height="100%" background="#66CCFF" cornerradius="5">
<panel name="title" width="100%" height="11%" lheight="18%" align="center" valign="top" background="#5CB8E6" cornerradius="5" alpha=".6">
<text name="title-text" width="100%" height="100%" alignment="center" size="46" font="Futura" color="#FFFFFF" shadowradius="1" shadowopacity="1" shadowxoffset="1" text="SAMPLE TEXT!"/>
</panel>
</panel>
<include name="login-wire" alias="LOGIN-WIRE" _login="login.wire" _loginname="Login" width="100%" height="100%" alpha="0"/>
</main>
<actions>
<!-- Hide the initial starting text/image and display camera.wire (Will be a different wire) -->
<action name="oninit" oninit="yes">
<sync>
<alpha value="0" delay="3" target="BACKGROUND"/>
<load file="_login" wirename="_loginname" target="LOGIN-WIRE"/>
<alpha value="1" time="0" target="LOGIN-WIRE"/>
</sync>
</action>
</actions>
</wire>
<wire>
<styles>
</styles>
<classes>
</classes>
<main>
<!-- Can be replaced with a startup image -->
<panel name="background" alias="BACKGROUND" width="100%" height="100%" background="#66CCFF" cornerradius="5">
<panel name="title" width="100%" height="11%" lheight="18%" align="center" valign="top" background="#5CB8E6" cornerradius="5" alpha=".6">
<text name="title-text" width="100%" height="100%" alignment="center" size="46" font="Futura" color="#FFFFFF" shadowradius="1" shadowopacity="1" shadowxoffset="1" text="SAMPLE TEXT!"/>
</panel>
</panel>
<include name="login-wire" alias="LOGIN-WIRE" _login="login.wire" _loginname="Login" width="100%" height="100%" alpha="0"/>
</main>
<actions>
<!-- Hide the initial starting text/image and display camera.wire (Will be a different wire) -->
<action name="oninit" oninit="yes">
<sync>
<alpha value="0" delay="3" target="BACKGROUND"/>
<load file="_login" wirename="_loginname" target="LOGIN-WIRE"/>
<alpha value="1" time="0" target="LOGIN-WIRE"/>
</sync>
</action>
</actions>
</wire>
Kundesupport af UserEcho
Here is my wire. A blue background with the text defined above is popping up after the alpha kicks into effect???? This is very very odd. It still happens even after deleting the app and the portfolio and re-copying the code into a new app and portfolio...
<wire>
<main>
<panel name="background" alias="BACKGROUND" width="100%" height="100%" background="#000000" />
</main>
<actions>
<action name="oninit" oninit="yes">
<sync>
<alpha value="0" delay="3" target="BACKGROUND" />
</sync>
</action>
</actions>
</wire>
Are you seeing the Update screen after making snapshots?