I'm building a kiosk and now the client wants the kiosk to save the number of clicks the user makes to a page. I was told to initialize sharedobject the first time it's used and then increment the sharedobject page clicks. Then you can make another app to display the results.
Being I never seen this done before, can anyone offer any advice or links to how this would be done? Basic scripting please, no flex or OOP.
Though unofficial, this website http://www.permadi.com/tutorial/flashSharedObject/index.html pretty much sums it all up.
Please find the official documentation here: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/SharedObject.html
Some basic googling would have done the job for you as well.
Cheers
Related
I received a proposal from a client where I should create an app with facebook registration, so I started searching the web for all kinds of ANE or SWC that do this service, the problem is that the instructions given on how to configure these ANEs are very shallow (many sometimes I miss the tutorial because they seem to skip several parts or leave them incomplete), among which I tried to configure are: myflashlab-facebook-sdk, OverGenANE, freshplanet, marpies-air-facebook-api.
I tried some youtube videos showing facebook-open-graph-api among others, but all I get are piles of errors, I've configured hashkey and every side of the application on facebook Developer the problem is to understand how to configure the ANEs inside Animate CC (that even inserting APP_ID continues to generate errors), even the owner of marpies-air-facebook-api tried to help me with his ANE and I did not succeed, maybe my knowledge is still low for this.
I've rounded the whole web behind information and tutorials, here is my last attempt before giving up the construction of the app, if anyone knows some REALLY easy way to integrate some of these ANEs (or others), have step by step explaining in detail their configuration (where to create the ".fla "within the sample folders of these projects for example), please help me! Thank you very much in advance..
I'm trying to build a program that functions as a "shell" on top of a lot of web-apps that we're using at work. Instead of individually visit every app, the program will get the information and show it to you.
Unfortunately due to security reasons, some of the apps are only avaliable through IE. Socket programming isn't working here, and I tried various things, but some of the websites wont return any data.
So I figured I need to let the data go through IE. I've found a couple of guides, but nothing functional.
If you now any guides that'd help me get data from a url through IE, or know how to do it, it would be greatly appreciated. One of the pages prints a "Getting data..." and keeps doing that for a few settings, of course the program should wait for this, until it gets the data.
Thanks, and have a great weekend.
First time post here, so forgive me for any bad etiquette/format.
I will preface by saying:
I have (over the last few months) been developing an iOS app for work. To be more specific, I am developing an inventory app to track bar inventory (liquor, beer, wine, etc). I can give more specifics on request if needed. I have most of the functionality done, only a couple more things I would like to implement. Eventually I will be porting it to Android as well.
At the moment, I have the model objects being archived to the local filesystem for saving and loading of data. However, my goal would be to database the model objects with the ability to display the information on a webpage. My logic is that no matter where the user is, he/she will be able to sign in to a service using a username and password, and view correctly formatted current/past inventories online. This is to allow the ability for a bartender to record the inventory, and have the bar manager view the inventory instances without having to have the physical device that recorded the inventory in his/her possession.
So here is my question:
Without being too general, what kind of service would I need to pull this off? I have a good amount of relevant front-end experience, specifically with iOS, Objective-C, HTML and CSS. However, I have ZERO experience on the back-end. I have researched around the internet, and I am aware of things such as cloud databases, web hosting and MySQL, etc. However, I cannot seem to find a definitive answer without asking my specific question. I suppose I would just like to be pointed in the right direction before investing money and time into a service that may prove useless to my cause.
Any resources and help would be greatly appreciated. Thank you!
There's not a definitive answer and you have a lot of options.
For me, the simplest is to set up a server with a database incorporated (mysql for example) and with a web service (written in PHP for example) that manages the database and queries on that.
Online you can find tons of guide on how to write a script in PHP that manages a database:
http://www.freewebmasterhelp.com/tutorials/phpmysql/2
For the iOS part you can follow also this guide:
http://www.techrepublic.com/blog/software-engineer/create-your-own-web-service-for-an-ios-app-part-one/
Good luck!
I tried looking on stackoverflow for this, but didn't have any luck.
Does anyone have an as3 script that would work for asking a user to rate the app after app launches so many times? Also, How would I code it so once they hit the "already rated it" button, it doesn't ask them again?
Thanks
If you want to store locally some data look for SharedObject class.
But I suppose that your problem have no sense because nobody knows how one user rates application without spreading this info with server-side support.
I'm a relative beginner using Google Apps Script and JavaScript, but I've been playing around with bot for days now and I've created a few simple programs and I'd really like to try and get started on my dream project, even if it takes me forever. I'd like some advice on what I should use in terms of making the UI and what database I should use to hold the information (and if this app is even possible).
The App
I'd like to create an online novel management app that utilizes Google Drive as it's source for files. The UI would have a tree that showcases all the google drive files in the novel. When a scene is clicked, the scene opens up for editting.
Questions
Is this app a possibility?
If so, in terms of a UI, what do you think I should use? The google
provided UIbuilder? The HTML service - for example, can I have a
frame on the right that the google doc that needs to be editted
can open up in on the right?
Lastly, what database should I use? The database would have to store
chapter names and positions, as well as scene names, positions,
and the google doc ID that the scene corresponds to. I've got a
handle on ScriptDB and Spreadsheets... And if either of these two
aren't the best option, would some other database work better? And
why?
This app will, hopefully, be able to give an overview of a novel in tree form, allow you to open a particular scene and edit it, create new scenes, and also change the order in which the scenes are displayed. And then when the person finishes their novel, the app will compile all the scenes into one novel (also in google Drive).
Any insight or suggestions would be greatly appreciated!
Having a look at the questions you recently posted I think I have a pretty good idea of what you are trying to do and it looks like an exciting project... I can only encourage you to start it as soon as you can even if you're not comfortable with all the tools you will need to use, the best learning method is probably to work on something important to you.
Now your 3 questions : 1 - This is perfectly doable in the GAS environment and shouldn't be too hard to go through.
2 - the GUI builder is an easy way to start with UI but it lacks a number of features and tools that you will be needing (tree for example ) and is not so easy to expand if you ever need to. Depending on your knowledge in html, the choice is mainly between UiApp and html service... I would choose UiApp because I'm not good at all in html (but that's not relevant here ;-) but both are capable of building what you want, are easily expandable and not too hard to debug. The advantage could go to html service if you are going to look for 'nice looking features' because it opens the door to 3rd party tools... but again, this is a matter of personal choice.
3 - A recent post from Mogsdad showed that spreadsheet are faster than scriptDb for data storage and manipulation. I find it also easier since I can have a global view on data in the spreadsheet when debugging. Of course Spreadsheet must be considered as a container and data manipulated at array level to benefit from maximum performance. I use that in a lot of database application with full satisfaction.
Sorry for these "general considerations" that don't comply to sto standards ;-)
Yes, it seems that all of the things you are requesting are not too ridiculous. I recommend sticking to Google services because they are all easily integrated. To start off, you may want to use the UI builder/UI services. There may be a point in this project where you may want some functionality that the UiApp doesn't provide. At that point, you might want to switch over to HtmlService.
My answer is the same for the databases question. You might want to use a spreadsheet for your database so that you will be able to easily edit it by hand if you need to. You may not have the performance that another database would give you, but it will be fairly easy to test and mess around with your spreadsheet "database."
You could start out with getting the basics down. There's a serious amount of data out there. I would suggest you research on an "as-needed" basis. Design some work-/dataflow patterns for your app, for which you could try to use the Fluid UI extension for Chrome. Have a look at this from Mozilla on the designing of apps.
When you've gone through this you might want to have a look at Phonegap and the basics of web development and how you could combine the two.
There's also several ways of using/storing data. You could try WebSQL though it they no longer develop it. You could look at IndexedDB. You could try to use cookies.
Seriously, have a look around. You might also like the books of Wrox. They're very informative and have great work with reading demo's. Though the books are huge ;)