When using browseForOpen, browseForOpenMultiple and browseForSave in Adobe AIR, the dialogue that comes up is a bit old-fashioned, and looks like a Windows XP dialog, despite me running Windows 7. It has the Windows 7 border, but I mean the buttons and such look a bit like that of Windows XP.
So I'm wondering, is there a way to make it look more "modern"?
Here's what I mean. Basically, I'm getting this:
But I'd like to get something more like this:
It's not strictly essential, but it's something that's been bothering me for a while and I'd just like to know if it's possible.
the only argument that is available for FileReference.browse() is typeFilter, so I'd assume you can't :P
it probably has to do with the implementation of the method onto the native OS. maybe a native extension could solve the case.
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/FileReference.html#browse()
I recently realised that this only happens when debugging an app. When you actually install the application and browse for files, the windows displays as it should.
I'm not sure if this has always been so and I only noticed it now, or perhaps that an AIR update has changed this.
Related
I'm looking for a way to create an executable program where I can use HTML as UI instead of native elements like in a Windows Form application, or a Java form application.
One requirement is that I also need to be able to create text files locally. These text files will be created when a button is pressed somewhere in the HTML UI.
Another thing is that it should be able to run on both Windows and MacOS.
So I'm really looking for something like PhoneGap/Cordova. But then for a desktop OS.
Anyone any idea if something like this is possible?
Chromiumembedded might be what your'e looking for.
You could also have a look at Titanium.
I want to to play around with Actionscript, mostly to compare the language with Javascript (I'm interested in the type system). Is there a straightforward way to do that or do I need to also install Flash or something similar? I'd prefer something that works on Linux but Windows-only is fine too.
Basically, I want to know if there is something for Actionscript that is analogous to v8/NodeJS or Rhino for Javascript, where you can run JS scripts directly (using console.log for output) without having to use a browser, create an HTML page, etc.
There is an amazing online tool capable of compiling Actionscript 3.0, this will aid your investigation of the language!
http://wonderfl.net/
As3Eval also is a good tool. Play around with the demo to get a feel for it.
It's windows only, but download Java, then install FlashDevelop : http://www.flashdevelop.org/
It'll download the flex sdk and everything you'll need to get started.
You'll need flash player to see your tests, and normally the debug player (take the standalone), which you can download here: http://www.adobe.com/support/flash player/downloads.html
As #neil says, you can also use wonderfl to test directly online, though obviously the experience won't be the same as a full ide.
You should be able to develop on Linux directly if you want to install flash builder (eclipse) but it's not free
ANSWER To use this and any new features in 11.2, the swf-version needs to be turned all the way up to 15.
My setup:
FlashBuilder 4.6 Build instructions include "-swf-version=13"
Flex SDK version 4.6.0 (build 23201) playerglobal.swc (current one from
Adobe's page,
http://www.adobe.com/support/flashplayer/downloads.html, said to be
11.2 as well)
Standalone debugger projector (11.2.202.228)
Browser flash player plugin (11.2.202.228)
So by my reckoning, I'm up to date in everywhere I should be, to be able to use MouseEvent.RIGHT_CLICK (Adobe Documentation:
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/events/MouseEvent.html#RIGHT_CLICK) but, if I do
I understand that right-click was initially supposed to be AIR only, but that's supposedly changed, which is supported by the fact that it's in the website documentation and in the class definition for MouseEvent,
I want to play around with a few right-click stuff in Flash, but it seems like something's definitely not working correctly. Anyone got an insight as to what's wrong?
I'm a bit confused by some of the comments, so in case it's me poorly explaining what's going on, so here's an example of my code running and compiled, with source attached,
http://www.tymonrovers.com/seaders/asdf.html
SWF Version in build instructions need to be up at 15... as detailed http://helpx.adobe.com/flash-player/release-note/release-notes-developer-flash-player.html#main_authoring_flash_player
Damnit! I know it looks obvious now, but I do think they should probably detail that in the docs as well, they've got the specific versions of the SDKS for AIR and Flash, but not the swf version info, which while it might sound overkill, would certainly solve irritations like this when you forget that one little bit of a tweak you need to do for new features. Ah well, all working now. :/
-swf-version=15
I am looking for a tool that can help me converting my swf to exe and app. I know that there are several options available. My application will be frequently updated so update feature is essentions for me. Does anybody know a converter that might help me?
Any suggestions are welcome!
p.s. As another option, I can make app and exe out of a loader app that will load main application module every time it is updated.
IMPORTANT (added 22.08.2011)
Guys, thank you very much for your replies, but if you read carefully my question you will probably see that my main concern is about build in update feature inside projector eg. Mac app will be able to check for new version of my app automatically...
create an AIR application with native installers and use air.update and air.update.events for to push updates.
You can use flajector or f-in-box developer's library.
You may already be aware of this, but there is an existing publishing tool you can use inside of Flash Professional.
The publisher is in different menus on different versions of flash (CS4 to CS5) and on different operating systems (Windows vs Mac) so I'll just give you the "hot key"
While inside of flash, press Shift+Alt+F12 and that will bring up some publish options. For an exe file you will want to select Win Projector or the option with .exe. Mac Projector or .app will do the same for mac. Hit publish once your preference is select and viola, that's it!
you really want to use flajector. Cool programm.
I have local html files that I need to know how they look like in various model of Nokia, Android, iPhone, Blackberry. Is there a way to do this? I google some online website for Nokia simulator but they are not working right. I need local test of html. If there is a free software that I can switch around in different phone (or separate software), it is perfect. I know this is not something new but I cannot find it.
Thanks again.
Well, you can download all the relevant emulators (which you should be able to find via searching). Here we use Visual Studio which you can install the emulators into and run them from within the IDE, but if you don't already have VS it seems it won't be helpful for you. I suggest you just download all the relevant emulators.
Well iPhone uses safari so you can test in that