Can't see the additional toolboxes for purchasing

0 views
Skip to first unread message

Eduardoo

unread,
Feb 16, 2011, 11:54:51 PM2/16/11
to iLuaBox
In the Toolbox info, the only thing displayed is the built-in toolbox.
How do I purchase the additional packages?

Regards,

Eduardo

Tom Skwara

unread,
Feb 17, 2011, 7:49:11 AM2/17/11
to ilu...@googlegroups.com
Eduardo-

iLuaBox v1.2 just went live and I suspect the App Store is just catching up with the In App products within their system. Please check back later in the day. Also, in what country are you located.

Thank you.

Tom Skwara
MobileApp Systems

Eduardoo

unread,
Feb 17, 2011, 1:02:02 PM2/17/11
to iLuaBox
Hi Tom, I am in Ecuador. Today I was able to purchase the extra
packages. I am trying to figure out how to implement an event-driven
app to receive user input. If you can direct me to some examples I'll
appreciate.

Best regards.

On Feb 17, 7:49 am, Tom Skwara <tskw...@mobileappsystems.com> wrote:
> Eduardo-
>
> iLuaBox v1.2 just went live and I suspect the App Store is just catching up with the In App products within their system.  Please check back later in the day.  Also, in what country are you located.
>
> Thank you.
>
> Tom Skwara
> MobileApp Systems
>

Tom Skwara

unread,
Feb 17, 2011, 1:38:49 PM2/17/11
to ilu...@googlegroups.com
Eduardo-

Glad to hear In App purchasing is now available on your device.  Example scripts are in development and will be made available, but here are a few tips to help get you started.

Asynchronous callbacks are quite simple to implement.  Simply:

  • Create the UI object, a button in this example, and add it to a view (background or your own custom view).
  • Set the event field on the UI object to the name of the function.

When the control event fires, the function set in the control event field is executed asynchronously. The event types are documented for each control type and the included example script, 'guidemo.lua' should help in getting started.

Here is a quick example where a push button is added to iLuaBox's background view, and when pressed, executes the 'testButtonPressed' function.



function testButtonPressed ()
  gui.alertView("User Action",
                "Test button was pressed.",
                nil,
                {"OK"})

  button:destroy()
end

dofile("gui.lua")

button = gui.newButton {title = "Test", frame = {origin = {x = 30, y = 30}, size = {width = 80, height = 30}}, buttonType = gui.buttonTypeRoundedRect}
button.controlEventTouchUpInside = testButtonPressed
gui._BACKGROUND:add(button)



Tom Skwara
MobileApp Systems


Eduardoo

unread,
Feb 17, 2011, 3:25:26 PM2/17/11
to iLuaBox
Thanks a lot. everything looks very nice so far!

A question: when an object is destroyed, are all the contained objects
destroyed as well? Or do you have to make individual calls to
destroy().

Best regards,

Eduardo.

Tom Skwara

unread,
Feb 18, 2011, 10:05:25 AM2/18/11
to ilu...@googlegroups.com, iLuaBox
Eduardo-

No need to manually destroy contained objects. Destroy the container, and all child objects are destroyed in the process.

Tom Skwara
MobileApp Systems

Sent from my iPad

Reply all
Reply to author
Forward
0 new messages