More Progress...

| No Comments
I was able to work on SharpFlash some more this weekend. It's slowly coming around, and I'm finally happy with the interface. Right now it supports the following methods:
sfWindow.getWindowTitle(callback, scope);
sfApplication.exit();
sfSystem.Dialogs.BrowseForFile_Open(fileName, typeFilter, intialPath, windowTitle, callback, scope);
sfWindow.hide();
sfWindow.moveTo(x, y);
sfWindow.setWindowTitle(windowTitle);
sfWindow.show();
sfWindow.toggleVisibility();

.. and I'm continually adding more.

Off the top of my head, there are a few features of Screenweaver that I don't know how to mimic. In no particular order, they are: multiple windows (I haven't tried to tackle this yet, it may be easier than I think), right-click menus, returning values from API functions (I can't get "var title = sfWindow.getWindowTitle()" to work - more on that later), transparent windows, and running more than one program at a time (this will be explained a little later too). However, everything else seems pretty straight forward and I'm happy with progress so far.

I hope I'm not violating any copyright laws here... I read that if you re-create something with your own code than you're not in violation. Being that I'm coding this from scratch, I think I'm alright... Does anyone know if this is the case? If not, then I'll have to re-work the API a little so it doesn't resemble Screenweaver's so much. I don't want to step on any toes, I just want to provide the Flash community with a killer app.

Leave a comment

Flex.org - The Directory for Flex

Archives