Detect CD drive from Flex-AIR desktop application???
Can we detect CD drive from Flex-AIR destop application even though there is no CD or Blank CD inside the drive?
AIR 2.0 supports native code integration.
http://labs.adobe.com/technologies/air2/
This may be useful in hooking into native CD/DVD writing capabilities.
Similar Messages
-
How to load a FLEX application in an AIR desktop application.
I am creating an AIR desktop application (mx:WindowedApplication). I need to load another remote FLEX application (mx:Application) inside my AIR application.Is it possible ? If then ,please mention how to achieve this ..
If it is bundled with the air app, then it's as easy as using the SWFLoader class.
If it's loading from a remote host, you need to load it into your app as a ByteArray first.
More info here: http://aaronhardy.com/flex/loading-a-remote-module-into-a-local-app/
The example is for Modules, but the principal is the same I believe. -
Re: Flash Air desktop application
Hi there,
I have developed a flash air desktop application with the help of a flash programmer.
Soon I will put it online for sale. How could I avoid illegal copy from spreading around?
I need a lot of info regading this.
Please help me with this issue.
Many thanksA possible solution is described here:
http://nsdevaraj.wordpress.com/2009/01/20/licensing-flex-air-application/
HTH. -
Change Encore Project into a adobe air desktop application with password
Good afternoon,
I am trying to find a a way that i can change or inport a Encore project into a adobe air desktop application so that a can password protect it. I have a training simulator built in Encore that has a large number of menus and videos that i would like to tern into a tesk top application that i can password protect. Encore out puts this as a swf file. Is there any way to do this? I have bin looking around an the web and can't seem to find any information on this kind of problem. Any help would be greatly appreciated.
Many thanks,
JustinHi Justin,
ok, assuming that your external SWF tries to access some hosting application context (methods/properties) you could try:
<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
applicationComplete="applicationCompleteHandler(event)">
<fx:Script>
<![CDATA[
import mx.controls.Alert;
import mx.events.FlexEvent;
private var loader:URLLoader = null;
protected function applicationCompleteHandler(event:FlexEvent):void
loader = new URLLoader();
loader.dataFormat = URLLoaderDataFormat.BINARY;
var url:String = "MyApplication.swf";
loader.load(new URLRequest(url));
loader.addEventListener(Event.COMPLETE, loaderCompleteHandler);
loader.addEventListener(IOErrorEvent.IO_ERROR, loaderErrorHandler);
protected function loaderCompleteHandler(event:Event):void
// allow cross-scripting in case loaded content tries to access
// that context properties or methods
var context:LoaderContext = new LoaderContext();
context.allowCodeImport = true;
swfLoader.loaderContext = context;
swfLoader.load(loader.data);
cleanup();
protected function loaderErrorHandler(errorEvent:IOErrorEvent):void
mx.controls.Alert.show(errorEvent.text, "ERROR");
cleanup();
private function cleanup():void
loader.removeEventListener(Event.COMPLETE, loaderCompleteHandler);
loader.removeEventListener(IOErrorEvent.IO_ERROR, loaderErrorHandler);
loader = null;
]]>
</fx:Script>
<!-- ui -->
<s:SWFLoader width="100%" height="100%" id="swfLoader"/>
<!-- -->
</s:WindowedApplication>
See that doc for some details "allowCodeImport":
http://www.adobe.com/devnet/flashplayer/articles/fplayer10_1_air2_security_changes.html
note: I'm not sure if that would 100% work. I don't know what Encore authored .swf really do, for that you could ask on Encore forum:
http://forums.adobe.com/community/encore/encore_general
regards,
Peter -
Air desktop application: how to make a menu item bold?
Hi, I'm using Flash CS6 to develop an AIR desktop application for OSX. I've created my menu using NativeMenu and such, but I can't find a way to make the first menu item bold, like a true OSX app. So far the little I've found on this always referred to Flex, not Flash. Any hints?
Thank you.Thank you, kglad.
I think I forgot to mention I'm building an Application Menu. The NativeMenu contains NativeMenuItems and there is no format property or method that I can see. Also, the name the menu item displays is its label property, which you can set, but it's a string, and I believe the htmlText applies to textfields, right? -
Hi.
My Application scenario it's apparently easy.
1) I have written AIR application where I have inside MovieClip/Component or something simlar.
2) Through my AIR application i draw on my MovieClip/Component some circles and add image.
3) I get this MovieClip/Component and generate te external .swf file. Now You can grab that .swf file and put anywhere You want.
And Point 3 it's really problematic. How I can generate .SWF file from Flex AIR? Or maybe other ideas how I can realize that scenario??
Cheers.Send information to the server so it can compile the SWF
-
Calling a soap web service from a java desktop application
Hi,
Does anyone know how to call a soap web service from a java desktop application? I've seen examples using Apache Axis, but it sounds like Axis needs to run on a web server and we are trying to avoid that. My initial thought was that, "of course we need a web server", but I'm wondering if there is a way to do this without a web server.
Any help is greatly appreciated.
thank you,
JulieIf you are the consumer you don't need any web server. The web server is only needed in the provider end.
In java 6 there is a built in framework to call web services without the need of third parties (such as apache axis)
take a look at:
https://jax-ws.dev.java.net/guide/Developing_client_application_with_locally_packaged_WSDL.html
http://java.sun.com/webservices/technologies/index.jsp
For the provider end there is also a built in http server to expose web service via HTTP without the need to
use any external web server.
take a look at:
http://java.sun.com/javase/6/docs/api/javax/xml/ws/Endpoint.html -
Applications missing from Creative Cloud Desktop application
If you are unable to locate a specific application then it is likely the computer you are using does not meet the current system requirements. In the following example you can see that After Effects and Premiere Pro are missing from the list of available applications.
When I look at the System information for my Windows installation I am informed that I have a 32-bit version of Windows 8.
This means that I will be unable to install Premiere Pro or After Effects as my current computer does not meet the minimum system requirements. You can find a list of Creative Cloud system requirements at Adobe Creative Cloud – Tech specs.
For additional information please see Not all apps displayed for download | Creative Cloud desktop app, Adobe Application Manager.
If you have confirmed that your computer meets and exceeds all of the listed System requirements then please see CC desktop lists applications as "Up to Date" when not installed.
Message was edited by: Jeff Wright
Updated ink to http://helpx.adobe.com/creative-cloud/kb/all-apps-displayed-aam.html.Hi Jeff,
I have a lot of problems. First og all the system will not accept my account and even I have downloaded CPLauncher and can see the software, I will not genereate password. Nothing works, and if do not, I have to stop paying, because my boss are a little angry.
He says: We pay and it do not work. Find other software. We can’t afford you sitting doing nothing. If Adobe makes such a software that causes us trouble, we will change to something else, we do not need Aobe for our projects.
So Jeff – The software are very complicated, it can run, It can’t genereate license, and on top of all this, I have to defend Adobe. Well – I will not. I have been fighting in 3 weeks and this week is the last. Monday morning I will stop using Adobe coud and stop my membership.
Med venlig hilsen / Kind regards
Michael Peters
Tlf.: (+45) 70 25 25 85
Mobile: (+45) 30 76 54 50
www.europeanmannequins.com
Fra: Jeff A Wright
Sendt: 18. november 2014 17:51
Til: Michael Peters - European Mannequins & Shop
Emne: Applications missing from Creative Cloud Desktop application
Applications missing from Creative Cloud Desktop application
created by Jeff A Wright<https://forums.adobe.com/people/JeffAWright> in Creative Cloud Download & Install - View the full discussion<https://forums.adobe.com/message/6940856#6940856> -
Hello there,
We developed an application.
The window of our application cannot be maximize after it is install on our desktop.
How could we get this fonctionnality?
Please help.
Many thanksAre you saying that it is possible to get this fonctionality (maximise
without stretching) when using flash air desktop application?
Yes, you can maximize a window without distorting the contents. When using Flash, the stage scale mode defaults to one of the scaling modes. For your app it sounds like you should set the scale mode to the "noScale" option.
If yes, Do you recommend the utilization of aire for the distribution of our
application?
I don't know enough about your application to make any kind of recommendation, and anyway my opinion might be biased since I am an Adobe employee.
Also could you recommend us a way for limiting the illegal distribution?
I don't think there is a fool proof way to do it (in general DRM is a race between the publishers and the hackers). Adobe doean't provide any tools for this. Presumably, there are 3rd party tools for application DRM that you could use (but that's outside my area of expertise).
For a homegrown approach to the problem, you could require that users of your application create a user account on your web site and download a license file in order to run the application. This isn't perfect, because someone could hack your application to remove the check for the license, but it would prevent casual copying. -
Convert Air Desktop Application to Android apk Please help!
I developed an Air Desktop Application by using Flash Builder 4, it's a pure ActionScript 3 application. I used a few PNG image files and mp3 audio files in the application. After I build it, I got the swf file, xml file and all the image mp3 files in the bin-debug folder. If I run the swf file with all other files (png and mp3 files) in the bin-debug folder, it works great. If I run the swf standalone, the application will miss the images and sounds.
Now I'm converting the swf to apk, and run it on android device, it will NOT show the images or Doesn't play the sounds. I was wondering if there is a way to merge the png and mp3 files into the swf when I build/compile it? Or is there some other way to convert to apk which includes all the image and audio files? Please help.Please see adt -package command here
http://help.adobe.com/en_US/air/build/WSfffb011ac560372f-5d0f4f25128cc9cd0cb-7ffb.html
in this example icons folder is packaged along with swf and app xml.
What you can do is that specify each of the mp3 and image files one by one separated by space at the place where icons is used in examples.
In this case you will find all mp3 and image files in same directory as your swf when you run on android.
Make sure you use app:// urls for accessing those files -
Sharing image URL on Twitter from Adobe AIR Desktop
Hi All,
Does anyone has worked with sharing image URL on Twitter from Adobe AIR Desktop. I am able to post data but with multiple libraries still not able to post images over twitter. Any help will be appreciated.
Thanks,
Sunil RanaCan you help ?
I can't use scout because my other systems are 32 bit and it doesn't seem to be working with them.
The problem seems to come from the fullscreen mode from adobe air since in windowed mode it runs smoothly (even on a 7 years old notebook).
I even have 3 different rendering options in fullscreen and all of them are lagging (no scale, show all, exact fit). Not sure what the issue can be when even the no scale mode lags, so i'm guessing it's related to the fullscreen.interactive mode of air.
edit: Or not.
I managed to get it run smoothly by using CPU mode as renderer option for adobe air.
Not sure what the issue was with direct but i will test it some more (on the other computers as well) and will get back to you.
edit²: it only helped on one computer. The mac still has big slowdowns in fullscreen and the core2duo now has screen tearing with that option.
edit^3: I tried using the fullScreenSourceRect on the stage for hardware scaling. It seems to run smoothly. Sadly, everything is a bit blurry with it and i can't chose other rendering options (no scale or exact fit), those don't work anymore with the sourcerect.
I would like to be able to use the hardware scaling and change the aspect ratio, is that possible ? -
How to allow multiple instances of air desktop application
hi all
Adobe air desktop application only allow single instance of
application. How to allow multiple instances like in other desktop
applications?.
thanksThanks a lot morgair, i will check with exe4j tool.
Actually the problem is, thread is not waiting for second request.
thatswhat i thought it may because of thread.
Thanks & Regards
Sudha -
Call JSFL from Flex Air application
Hi,
I have a Flex Air application that converts old style flash
text var txt files into XML. As part of the process it creates a
jsfl file that when run will automate through older FLAs and
upgrade them with changes required.
My question is this. Using the command
fl.runScript(locationOfJSFLscript) in flash, it will automatically
call the script and execute it. How do I do the same in Flex? i.e.
I have a button in the application. I press it and it sends the
call to run the script.
Thank youOf course you may have some unstated reason for doing this in Air, but if not...
Google photoshop droplet....
Bob -
Is it possible to converted Presenter 7 to a FLEX / AIR desktop app?
I have an Adobe Presenter 7 course with multiple modules. These are PowerPoint files converted to flash with Presenter 7. I want to make them available as desktop applications by using Flex / Air. Can this be done?
I am a novice in these applications, but a quick learner. Please let me know if it is possible and kindly point me in the right direction. Thanks for your help.
BobWow, thanks so much Bob - that is some absolutely fantastic information.
I converted one of my Presenter courses to a fully functional EXE file in about 5 minutes with the SWF Maestro Exe trial! I have been trying for years to find a solution to turn my Presenter files into single, flat file and that seems to do exactly what I need.
Your sample training course is really nice - you did a great job with it! I know how much work it can be to get the PPT file, transitions and audio to work just right like you have. I have 15 eLearning files that have hundreds of hours of work on each one! -
Flex AIR iOS application with rtmps
Hi,
If I am accessing flex AIR application from Mac or iOS (iPad) using secure rtmp then it gives me error. It is not able to connect to the server. I have a self signed certificate generated using java keytool. I have configured it on tomcat and it works for the ssl in browser with https://localhost:8080, but fails when using rtmps from flex application especially in Mac and iPad. It works in Android tablet and windows machine though.
Here is the configuration in I gave in the server for ssl.
<server id="secure-nio-server" class="flex.messaging.socketserver.SocketServer">
<properties>
<keystore-file>D:/keystore.jks</keystore-file>
<keystore-password>password</keystore-password>
</properties>
</server>
<channel-definition id="mobility-rtmp"
class="mx.messaging.channels.SecureRTMPChannel">
<endpoint url="rtmps://{server.name}:@flex.rtmp.port@"
class="flex.messaging.endpoints.SecureRTMPEndpoint"/>
<server ref="secure-nio-server">
<properties>
<idle-timeout-minutes>20</idle-timeout-minutes>
<!-- for deployment on WebSphere, must be mapped to a WorkManager available in the web application's jndi context.
<websphere-workmanager-jndi-name>java:comp/env/wm/MessagingWorkManager</websphere-workman ager-jndi-name>
-->
</properties>
</server>
</channel-definition>
Here is the exception I am getting on server side.
INFO: [LCDS] 01/21/2012 17:14:44.258 [ERROR] [SocketServer.General] Thread[secure-nio-server-WorkerThread-2,5,main] failed to read Connection '521330370' or process the data; Connection is in the 'Handshaking' state and will be forced closed.
javax.net.ssl.SSLException: Inbound closed before receiving peer's close_notify: possible truncation attack?
at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLEngineImpl.fatal(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLEngineImpl.fatal(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLEngineImpl.closeInbound(Unknown Source)
at flex.messaging.socketserver.SSLConnection.handshake(SSLConnection.java:298)
at flex.messaging.socketserver.Connection$ConnectionReader.run(Connection.java:845)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Jan 21, 2012 5:14:44 PM org.apache.catalina.core.ApplicationContext log
INFO: [LCDS] 01/21/2012 17:14:44.258 [DEBUG] [SocketServer.General] Thread[secure-nio-server-WorkerThread-2,5,main] Connection '521330370' has changed state to: Closing
Jan 21, 2012 5:14:44 PM org.apache.catalina.core.ApplicationContext log
INFO: [LCDS] 01/21/2012 17:14:44.258 [DEBUG] [SocketServer.General] Thread[secure-nio-server-WorkerThread-2,5,main] closing Connection '521330370'.
Jan 21, 2012 5:14:44 PM org.apache.catalina.core.ApplicationContext log
INFO: [LCDS] 01/21/2012 17:14:44.258 [DEBUG] [SocketServer.General] Thread[secure-nio-server-WorkerThread-2,5,main] Connection '521330370' has changed state to: Closed
Jan 21, 2012 5:14:44 PM org.apache.catalina.core.ApplicationContext log
INFO: [LCDS] 01/21/2012 17:14:44.258 [DEBUG] [SocketServer.General] Thread[secure-nio-server-WorkerThread-2,5,main] closed Connection '521330370'.
Jan 21, 2012 5:14:44 PM org.apache.catalina.core.ApplicationContext log
INFO: [LCDS] 01/21/2012 17:14:44.258 [DEBUG] [SocketServer.General] Thread[secure-nio-server-WorkerThread-2,5,main] Connection '521330370' finished a read. -1 bytes were read.
Please help.
Thanks,
Swathi.Did you get anywhere with this, I'm having a similar issue?
I have an Air app that works fine using rtmp in iOS but not rtmps (it works fine in Android for both). The release notes for 3.1 (http://kb2.adobe.com/cps/923/cpsid_92350.html) suggest there was a problem for rtmps on iOS, but I'm using the latest 3.1 SDK version.
I'm suspecting an SSL certificate issue as in Android I get prompted as to whether I trust the certificate, but not on the iPhone. I have installed the certificate manually but to no avail.
Maybe you are looking for
-
9.0.4: XSQL-003/XSQL-007
My colleague is creating XSQL/XSL pages to return query results from an XML Schema in the DB. I have some JSPs that provide front-end UIs for these queries. We devoloped this in 9.0.3.3 and it worked fine. She sent the XSQL files and I included them
-
I can't open downloads from my optonline e-mail. I get the message: Could not complete your request because Photoshop does not recognize this type of file.
-
Can't get iphone to work due to zoom
Can I disable zoom? iTunes does not recognize my phone... it asked me to respond on my phone, but the phone isn't working due to the oversized cover photo Thanks for any help!
-
Run external programs using runtime class
Okay, I'm experiencing a really annoying problem with java.lang.runtime I'm building a GUI that needs to run some external programs, via a button say. These generally produce a text file or something, so I don't need to stream the output or anything
-
I understand we can create schemas on HANA Database using this command. <Create schema schema_name;> My questions is do I need to grant privileges to other user to access this schema? If yes how we can do this?