Ihre Kommentare

The good news is that you are very close. Try this code. Make sure you compare yours with this one. There are some pretty minor UI changes to take note here.

When you use leftof or rightof, etc. you only have to put it on one of the objects.



<wire>
<main>
<panel name="count" width="50%" height="50%" valign="center" align="center">
<image name="up" alias="UP" source="AAA.png" height="70%" width="50%" onclickup="increment" onclickuptarget="ENTRY" ></image>
<textfield name="E1" alias="ENTRY" width="15%" height="15%" rightof="UP" font="helvetica" background="D3D3D3" size="35" text="0" alignment="center" valignment="center" align="center" valign="center">
</textfield>
</panel>
</main>
<actions>
<action name="counter" oninit="yes">
<assign property="var:counter" value="0" />
</action>
<action name="increment">
<sync>
<assign property="var:counter" value="[eval:[var:counter]+1]" />
<assign property="object:ENTRY.text" value="[var:counter]" />
</sync>
</action>
</actions>
</wire>
Ok. Your text field tag should be ok as is then.

Were you able to make the other changes I mentioned ok?
When you use a textfield tag, it should automatically launch a native keyboard when you select the field and allow you to type into the field. Is this not working?

Also the object property for text in a textfield will always be available for reading and writing through an action tag.

Can you please clarify your question?
I understand. I meant, do you want your number to appear in within a textfield or as plain text?
Your "counter" action doesn't need an onclickup assigned. When you set "oninit="yes" to an action, that means it will trigger when the App is launched. Instead, make the value of the onclickup for the UP image to "increment".

Also you aren't quite using alias correctly. For your "increment" action you are calling object:E1.text when you should be using the alias and calling object:ENTRY.text

And finally, are you trying to populate a textfield with the number or just a normal text tag?
Make sure your ANSWER text is long enough and tall enough to display the extra characters. It might be too small to display "negative four", but big enough to display "four"
Are you embedding the alert into the if statement to confirm that the "if lhs="[var:answer]" operator="e" rhs="-4" is rendering true?
While we don't have any direct examples of this scenario, you can achieve what you want by using a combination of setting a wire variable oninit that will store a value of 0 and an eval tag to increment your display counter.



<action name="counter" oninit="yes">
<assign property="var:counter" value="0" />
</action>


Then every time you perform a defined action that will move the counter, add an assign tag to the action that does this:



<action name="increment">
<assign property="var:counter" value="[eval:[var:counter]+1]" />
<assign property="object:DISPLAY.text" value="[var:counter]" />
</action>


So above your DISPLAY object will be the counter that you want to display, so once you know the variable, you can use object properties to update that value on your object.
RSS feeds are handled differently. I would check out our Tutorials page for more information. http://content.rarewire.com/wordpress...
The name that displays in the App Store is set in itunes connect, so as long as you don't update that you should be ok.