0

Wire is not functioning correctly

10 jaar geleden bijgewerkt door rarewire 10 jaar geleden 3
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>
I have completely deleted the wire and started over from scratch. Now the the previous code that was there before is STILL there but my action works in hiding the background. But yet there is no code that has anything of my previous wire and when the background is hidden, my previous wire code pops up on my screen. I think this is a serious bug!


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>
Ive figured out that I have to uninstall and re-install the app each time i try to make changes..... That is making this unbearable
I am assuming you are using Fusebox to test. When using fusebox you should not have uninstall and re-install, however if you are running in to issue with seeing previous snapshots, you can delete the app in Fusebox by swiping to the right and pressing the red delete button. Only rare circumstances should make that a requirement. Otherwise, simply making a snapshot and opening.closing the app in fusebox should deliver the changes.

Are you seeing the Update screen after making snapshots?