Context? Context is for casuals.4.04 / 5.00 14,434 Views
Hexagon Puzzle Game3.96 / 5.00 12,645 Views
An old style, pixel-art noir adventure, inspired by classical point-and-click games.3.85 / 5.00 7,853 Views
Tired of waiting? Click here to disable ads!
You are not logged in. If you sign up for an account, you can gain additional voting power over time, allowing your vote to have an even greater impact on submission scores!
This is a practice in ActionScript I had lately. The idea was to create a neat interface using script only, without bugs at all (as possible as it is within the boundaries of ActionScript). I drew nothing, designed nothing visually. The whole thing is pure scripting (if there will be a request I'll probably post the script).
As far as I checked, there are currently no bugs or errors, but if you find one, let me know (not that I'll fix it, but I'll be grateful for learning).
Using the interface:
(You can ignore the weird texts on the screen, they only represent some variables I was working with when I developed the code. And don't get scared from the "Layout doesn't exist!" text. It's always there if you don't save any layout in the first place)
+ To create a new "bookmark" you need to hold [Space] and click the left-mouse-button[LMB] (Stated in the SWF). Then you can feed it with information - the address field and the "Description" field. Note that the "Description" field is hidden when the bookmark appears, because the bookmark appears at it's most minimal form.
+ To resize the bookmark, drag the little green square located at it's bottom-right corner. This will also discover the "Description" field.
+ The "Description" field is just an optional field for any textual information you wanna save.
+ The address field is the place where you type the web-address you want to save. On the left to the address field there's a button with a green arrow. When you click it, a new window/tab (depending on your web-browser) will be opened and will navigate to the address you wrote in the address field.
+ Moving the bookmarks is as easy and intuitive as in any graphical-user-interface. Just drag it from it's green top-bar.
+ To close a bookmark/note/window/what ever-you-wanna-call-it, just click the red "Close" button on the top-right corner of the bookmark. The "Close" button is invisible until you move your cursor over it.
+ The bookmarks stay at the same depth even when you drag them, to keep the order. To move a bookmark to the front, Hold [Ctrl] and double-click the bookmark's top-bar. To move it just one depth-level higher, do the same but click only once.
+ You can save numerous layouts, each containing a set of bookmarks of itself.
You do that by writing the desired name for the new layout in the text field on the top of the screen and pressing the "Save" button, or [S + LMB]. This will save a new layout containing all the bookmarks currently on the screen. If the layout name exists, it will remove it and save the new one instead.
+ You can load layouts by typing their names in the same field, and pressing the "Load" button, or [L + LMB], OR by choosing from the list from the "Browse" button (that is only if you saved a layout already).
+ You can delete all saved layouts by using [C + LMB].
Thank you responders and criticizers. Your comments helped me understand that as n00b-ish as may I seem to myself, there is always a n00bier person who won't understand what I'm doing.
That's why I made this detailed guide. I can hardly believe anyone will fail using the interface after reading it.
Yet, if anyone does, please don't hesitate to ask for more information.
I promise I won't laugh.
newgrounds.com — Your #1 online entertainment & artist community! All your base are belong to us.