Skip to main content
Known Participant
March 7, 2013
Answered

Some questions about apple in-app purchases

  • March 7, 2013
  • 7 replies
  • 1007 views

Hello,

I would like to ask you some questions about in-app purchases in the itunes store.

I would like to create an application and put that application on the itunes store.

The application itself will be a "container" and will contain 1 book. The application will be free.

So far so good. Now i want to use apple's in-app purchases to sell other books from within the application.

So they will see a new book in the app and will be able to buy it.

Now to my question:

I would like to have books available as seperate .swf files (.swf files because i want to add some animation). So people can go to the itunes store and the swf will be downloaded to their device.

Will Apple actually allow this? And if not, does anyone know how i could achieve what i want?

This topic has been closed for replies.
Correct answer natural_criticB837

Yes, that is what it means.. Remember you are not playing in the classic Air environment, so your application just will be unable to run any code from any loaded swfs. The reason for this is obvious: Apple does not want any developer to be able to extend applications or provide additional content without having it approved by Apple / making money with it.

In your case I would recommend you to include all books hard linked through swcs and then just unlock them whenever the user pays.

7 replies

Colin Holgate
Inspiring
March 7, 2013

I just wanted to add that I'm in the process of doing exactly the same thing that you are doing (one book, free app, in-app purchase other books, that would be swfs). I know about the inability to have code in those swfs, but I'm going to try doing it that way anyway.

My book shell app will know everything about those swfs, and my hope is to control which page, and which animations on that page, are played. I think it should work.

natural_criticB837
Legend
March 7, 2013

Hi, you can load swf files, but they will be stripped from all code. So if it is only about having movieclips without code, it should work (though I havent done this myself). If you need custom code for each book, you will have to include it within the main application.

Known Participant
March 7, 2013

What do you exactly mean by "stripped from all code"? An swf is compiled so i'm not sure how they can strip it? But if they can, this means i cant have simple gotoandplay() methods or eventlisteners for buttons or anything like that?

natural_criticB837
natural_criticB837Correct answer
Legend
March 7, 2013

Yes, that is what it means.. Remember you are not playing in the classic Air environment, so your application just will be unable to run any code from any loaded swfs. The reason for this is obvious: Apple does not want any developer to be able to extend applications or provide additional content without having it approved by Apple / making money with it.

In your case I would recommend you to include all books hard linked through swcs and then just unlock them whenever the user pays.