Windows :: Use External Dll In Air Native Extension?

Mar 22, 2012

The structure of my ANE file looks like this:

<META-INF>
<ANE>
<Windows-x86>[code]....

If ExtensionDll.dll uses the functions in the other Dll, the extension won't load. DllMain is not called. It seems like DllUsedByExtensionDll. dll is not in the Dll search path when the air application uses the extension is running. How should I make the application find the extra Dlls, if I don't want to put them into some common Dll path?

View 1 Replies


Similar Posts:


Ios :: Integrating AIR Native Extension With FLA Project

Oct 24, 2011

I am trying to use the IOS in-app native extension, which is found at [URL], and I have linked the SWC with my flash project... The problem I am having is that all of the usage code talks about integrating with a Flex project rather then an FLA - does anyone know if it is possible to port this extension for use with a flash project?

View 2 Replies

Ios :: Creating An AIR Native Extension From The Facebook Sdk?

Nov 18, 2011

I'm looking into creating an ANE for the facebook ios SDK, just wanted to find out on here whether anyone has already done this / is close to releasing an ANE already ?

View 1 Replies

Android :: Get OnActivityResult To Run In An Adobe Air Native Extension?

Jan 7, 2012

I am writing an extension that will allow a Flex application to access Android's native image picker. I am able to launch the image picker activity without issue, but after it returns to the caller, which is an FREFunction object, onActivityResult is not called. Because of this, I am unable to figure out what image the user has chosen.

When I use the exact same contents of the FREFunction in a native Android app, The app works fine, and I am able to retrieve the URI of the chosen image in onActivityResult. How can I get onActivityResult to fire, or at least retrieve the information returned by the image picker activity?

View 1 Replies

C :: Flash Builder 4.6 Native Extension Error?

Jan 13, 2012

i have an error that i dont understand why appear, the most weird is that happens sometimes but lately happens always, the code that i use is the same and i dont have make any changes to it, in fact i dont execute any code in the start of the application, i use buttons , so i dont get a reason with this error please help me, the error is a dialog that say:Native extension Error: there are packaging errors/warning. Check each native extension in the Flex Build Packaging Page for each target platform. would you like to continue?And when i click yes the program dont start, the debbuger show me the line:

[code]...

View 1 Replies

Actionscript 3 :: Returning A Structure From An Air Native Extension?

Feb 13, 2012

Is it possible to return a struct from your native code? It's relatively straight forward to return an int or a boolean but how do you return a more complex struct back to the actionscript?

View 2 Replies

Objective C :: Failing To Build Air IPhone App (with A IOS Native Extension) With Adt?

Feb 13, 2012

My issue is when I try to compile my .ipa using the adt tool (through Terminal) I get the following error:

ld: absolute addressing (perhaps -mdynamic-no-pic) used in -[MediaCaptureViewController showCamera] from /var/folders/NP/NPNiEhuUEwGiPRg0Bym7Sk+++TI/-Tmp-/97f7f1f9-6d5e-4486-9ba0- 147ff50f7157/libcom.luxson.mediacapture.a(MediaCaptureViewController.o) not allowed in slidable image. Use '-read_only_relocs suppress' to enable text relocs
Compilation failed while executing : ld64

The iOS native extension pops up an instance of the UIImagePickerController and it works apart from the following line of code, which causes the above adt error:

cam.mediaTypes = [NSArray arrayWithObject:(NSString *)kUTTypeMovie];

I have included the MobileCoreServices framework in my project and added the following to my header file:

#import <MobileCoreServices/MobileCoreServices.h>

I'm using Xcode 4.2.Project set to build with the following settings:

iOS Deployment Target: iOS 4.3
Enable Linking With Shared Libraties: No

View 1 Replies

ActionScript 1/2 :: Read Properties From Dictionary Objects In Native Extension?

Aug 29, 2011

I am working on a native extension for Flash. I am going to invoke my native methods from Flash and pass Dictionary objects where those objects have various data members of various data types. These property types are dynamic and might not be known at compile time.So I found that we have a method called FREGetObjectProperty that says it can return the value given the property name. But in this case since we dont know the property name since it is dynamic, how to extract the property names and values from the Dictionary objects?

View 2 Replies

ActionScript 3.0 :: Read Properties From Dictionary Objects In Native Extension?

Aug 29, 2011

i am working on a native extension for Flash. I am going to invoke my native methods from Flash and pass Dictionary objects where those objects have various data members of various data types. These property types are dynamic and might not be known at compile time.

So I found that we have a method called FREGetObjectProperty that says it can return the value given the property name. But in this case since we dont know the property name since it is dynamic, how to extract the property names and values from the Dictionary objects?

View 2 Replies

Android :: Air Native Extension - Receive Broadcast In Flex Application?

Jan 31, 2012

I am developing application with Adobe Flex on AIR platform. Using native extension for Android, it is possible to send SMS from my Flex application. Would it also be possible to receive SMS with my application (receive Broadcast carrying information about incoming SMS)? More generally, is it possible to receive Android Broadcasts in my Flex application?

View 1 Replies

ActionScript 3.0 :: Can't Find This Blog Post - Air Android Music Player Made With Native Extension?

Nov 8, 2011

Recently I came across a long and details blog post or tutorial about creating a music player for air on android, but the audio management was with a native extension.I didn't bookmark it, I have searched quite a bit and I just cant find it again!!!It was only 2 or 3 weeks ago.

View 1 Replies

Windows :: Examples Of Native Apps Using Flash As UI?

Dec 1, 2009

I'm considering using Flash as the UI of a native Windows app, for several reasons, but before I dive in and start building, I figured I'd poll the community to find out whether anyone's got any good examples of this particular approach out there today, just to prove the concept satisfactorily. So I guess that's pretty much the question: Anyone built one specifically? Or better, anyone know of an app in relatively wide distribution that demonstrates the viability of this approach?

View 4 Replies

ActionScript 3.0 :: AIR- Interacting Native Windows Of An Application?

Apr 9, 2009

1. Is there any way to send events from one native window of an application to another native window of the same application? For ex. a login window pops up when the app starts in the main window. Once the login is successful, an event should be posted to the main window, so that it starts displaying other things. Right now, I am posting an event, but it is not reaching the main window (nothing shows up in trace and breakpoint is not hit in the main window).

2. Is there a way for any window to grab focus? For ex. the login window above grabs the focus till the creds are keyed in. I mean, the user should not be able to select the main window at all till this window is active.

View 3 Replies

Windows :: Flex - Adobe Air Start Native Window Hidden?

Feb 16, 2011

How do I open a new window as hidden? (note the visible="false")

<s:Window xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
showStatusBar="false"
resizable="false"
visible="false">

If I declare a window this way, and then call this.open(false);, the window will quickly open and then hide, and then be reshown when I actually display it, I want to do this to be able to load content and fit the window to that size before showing it.

View 1 Replies

Html :: Handling JavaScript Calls To Window.open()- Not Using Native Windows - Adobe AIR

Jul 26, 2010

I am developing an Adobe AIR application which uses both native windows and floating panels. Is is possible to enable the creation of a floating window instead of a native window when a JavaScript window.open() function is called?

It is required that all of the floating windows are contained within one native window, therefore the creation of more native windows is not suitable.

I have used a Custom HTMLHost class in order to enable the creation of a native window but I can't work out a way of creating a MDI window instead. I am using the flexMDI framework for my floating panel interface.

View 1 Replies

Actionscript 3 :: Detect "hidden Files Extension" (windows System ) From Flash App?

Sep 3, 2010

i'm working on an app (flash/As3) that lets the user upload and edit an image, and then save it to the computer, using FileReference. it's posible to know if the user computer have the option "hidden file extensions" (windows system) selected? How can i do it?

View 3 Replies

Flex :: Adobe AIR Application To Receive Back Events From Native Windows Application?

Oct 8, 2010

I'm trying to develop a simple mxml Flex application to start Skype from the AIR/Flashplayer runtime. Is it possible to get back events from a native Windows application? In the simple example of Skype, the OS returns control to the Flex app when Skype exits. But what about native applications which have their own event model and wants to communicate with the Flex event model. For example, a Face detection system which shows "Hello" on a Flex app when the camera detects a face. Can this be done in the current Flex framework?

View 1 Replies

IDE :: Loading An External Image Extension

Feb 25, 2010

url...Everything works fine, and I am loading the image dynamicly. However I would like to load the image from HTML with SWFObject.[code]I have very few flash experience but can load animated text dynamicly in combination with CMS Made Simple and would like to be able to load images dynamicly too.

View 6 Replies

ActionScript 2.0 :: Using External Editor - Why Better Than The Native Editor In Flash

Apr 24, 2007

Does anyone have any experience using external actionscript editors? I've given a brief look at SE|PY, but not sure why it's any better than the native editor in Flash.

View 1 Replies

Flex :: Manage Windows In External Applications?

Feb 6, 2012

I have 2 AIR applications (A and B) that are able to communicate via a LocalConnection object. I've verified that messages are definitely being sent/received appropriately.

I want to be able to have A tell B to come to the front. Both applications are full screen:

stage.fullScreenSourceRect = new Rectangle(0, 0, 1080, 1920);
stage.displayState = StageDisplayState.FULL_SCREEN_INTERACTIVE;

I've tried several permutations, but as of yet nothing seems to work.

private function initSlave(channel: String): void {
conn = new LocalConnection();
conn.client = {

[Code]...

If I leave both applications in windowed mode (stage.displayState = StageDisplayState.NORMAL), then toggling alwaysInFront actually works. Calling activate() or orderToFront() still do nothing. If I try to toggle alwaysInFront and then set the application to fullscreen, the application ends up fullscreen behind my windowed app. Maybe there is an event I should wait for before setting the app to fullscreen?

I found a thread mentioning that orderToFront() only works relative to windows within the same application, which explains why it doesn't seem to do anything.

Does anyone have any insights into pulling this off? Maybe there is a way for me to embed B into application A so they are actually the same application? I am not sure how to do this with an AIR application as simply as just loading the SWF due to requiring external resources.

View 1 Replies

ActionScript 2.0 :: External Text File Popup Windows?

Feb 8, 2009

I have an externally loaded file in flash. I'm trying to create a pop up from the text file. In order to do so I place a function into my actionscript, then place the link inside my external text file. It works fine but only while publishing in flash 6 and not 8.Below is the example of the function and the internal link.

openWin = function (url)
{
getURL("javascript:window.open('"+url+"','newWin', 'toolbar=no,width=760,height=560'); void(0);");
};
<a href='asfunctionpenwin,http://adobe.com'><font+color="#0000ff"><b>Link</b></font></a>

View 2 Replies

ActionScript 3.0 :: Projector External Files Don't Work At Windows?

Nov 23, 2009

I have a projector published from Mac into two formats: Mac and Windows. The main movie loads an intro flv, and it has a button to skip which loads another swf.When I run the .app in MacOS, it works fine. The video is displayed and the button jumps to the mentioned swf. However, when running the .exe in Windows, no video is showed and the button does nothing.I think it's a path problem. I'm using relative ones, and have tried in all forms:

./video/myvideo.flv
/video/myvideo.flv
video/myvideo.flv

[code]......

View 3 Replies

ActionScript 2.0 :: External Audio Not In Sync With Text/screen On Windows XP?

Sep 23, 2011

I created a Flash program that utilizes audio and text. The audio is located in an external folder and is loaded using .loadSound(). The text is located on the timeline and appears based on a certain time in the audio. I have a pre-loader that looks to ensure all of the external audio is loaded before the user can move onto the appropriate screen and the audio would play. This is using a combination of the .getBytesTotal and .getsBytesLoaded.

It works fine on Windows 7 but doesn't seem to be working one particular user's Windows XP on IE 7 (So it's not happen on all Windows XP). On a particular user's computer, the text is slow to load while the sounds loads pretty quickly leaving the text out of sync. After a few screens, the text will catch up with the audio.

View 6 Replies

Windows :: PDF Displaying Correctly In Flex Mx:HTML Control In Windows / Reader X

Oct 28, 2011

I'm having an issue with the PDF displaying outside the viewable area of the mx:HTML control in Flex. When the application starts up - the mx:HTML is set to a certain size, but can be enlarged if the application is maximized. These are the following conditions to replicate it: Issue only happens in Windows (Windows 7, not on Mac) Issue only happens with Reader X installed (not with previous versions) Issue only happens when running the built app, does not happen in debug / development mode from FlashBuilder

[Code]...

View 1 Replies

Embed Flash Games Into Windows Forms Application.net Compact Framework Under Windows Mobile 6?

Feb 5, 2010

I want develop an application on windows mobile.In this app, i need to show some Flash games to the end user.ow should I do?embed an Flash ActiveX Control (in Windows mobile Form application) ?embed an IE control?BTW (because i do not have a windows mobile device now)Can I views flash in IE of the windows mobile device?for play flash, Macromedia Flash Player 7 for Pocket PC should be installed on your windows mobile emulator.DIT2:after practice i found following package should be installed before your windows mobile progr

Vista SP2
Visual Studio 2008 SP1
Windows Mobile Device Center

[code].....

View 2 Replies

Windows :: Flex - MXMLC Throws A Java.lang.NullExceptionPointer When Compiling In Windows (not In Mac Nor Ubuntu)

Feb 23, 2011

I'm running ant to compile a Flex application, and the build keeps failing when running it on a windows command line. Other people in my team can successfully run the very same build under mac and linux. This is the error shown in the command prompt:

[Code]...

All tokens are set in corresponding build.properties and filter .properties files (and, as I said before, it compiles perfectly under mac and linux). The windows version is 7 Ultimate, FLEX_HOME is set as an environment variable to the Flex SDK 3.5 (the 3.5.0.12683 build that comes with Adobe Flash Builder Burrito). ${compiler.fork} is set to false, to avoid an issue with the SDK and the source files being in different logic drives.

View 1 Replies

Windows :: Flex - FileReference: Loading A Windows-locked File?

Mar 8, 2010

I'm using Flex in Flash Player 10 on Windows, using FileReference to load a file into memory, as below.My issue is that when a file is locked by Windows, my FileReference is not giving me any feedback that the file is inaccessible--it simply never dispatches any events after my calling load().Does anyone have insight into how to tell that Flash Player is unable to open the file?

var fileReference:FileReference = new FileReference();
private function onClick():void {
fileReference = new FileReference();
fileReference.addEventListener(Event.SELECT, onSelect);

[code]....

View 1 Replies

Windows :: Flex - Adobe Air - Lauch Windows Virtual Keyboard Osk.exe

Nov 25, 2011

From an Adobe Air application, I need a function to launch the Windows Virtual Keyboard (c:windowssystem32osk.exe). I tried the Native Process, but it didn't work when telling it to execute cmd.exe /C osk.exe. How should I launch the keyboard application from an Adobe Air application?

View 1 Replies

Windows :: Flex - Air - Alwaysontop - Does Not Work In MAC But Works In Windows

Aug 29, 2009

i setup alwaysOnTop="true" in mx:WindowedApplication alwaysOnTop="true" tag. but this does not work in MAC but works in windows.

View 1 Replies

Windows :: Embed Windows Media Player In Flex?

Aug 24, 2010

I have a mp4 file which is to be used in an application. Currently i am in the stage of figuring out the technology to be used for this job. I am familiar with flex and am hoping that i be able to use it for the application. But i can not figure out a way to play the file in flex. I have been able to play the file only in windows media player and that required the installation of three codecs : Mp4Audio.ax, Mp4Video.ax, Mp4Src.ax.

As i see it, it will be very convenient if i could embed a windows media player plugin in flex or i could specify the audio and video codecs in the flash player

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved