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


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

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

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

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

Flash :: ActionScript 3 Package Structure And Directory Structure

Jan 23, 2011

I seem to run into compile issues in Flash Builder when I import 3rd-party libraries at the wrong level in the directory structure. For example, sometimes I'll import a library one level too deep into its directory tree, and the package explorer ends up excluding the prefix root-level package, usually "com." or "net.". Even though the content of the source itself doesn't change, this will cause compile errors.

Thus: Is it a 1) convention or 2) language requirement that a class's package structure (e.g., "foo.bar.Class") must match its path location (e.g., foo/bar/Class.as)?
If it's a language requirement, why is it a requirement? Wouldn't that overdetermine the package structure, since it is already specified in the source code and quite happily consuming the first three to eight columns of each line? If it's not a language requirement, are my compile errors just a result of Flash Builder enforcing the convention?

View 1 Replies

ActionScript 3.0 :: Anyone Have AIR 2.5 Extension For CS5?

Apr 22, 2011

Making one last plea on here as two attempts at contacting Adobe support have failed miserably. Both "techs" linked me to 2.6, which as we know, doesn't work with CS5.So before I redo my file code for SWFKit, and ditch AIR for this project, I'm hoping someone on here has a copy of the extension and can get it to me via dropbox or something.

View 1 Replies

Perhaps Someone Could Recommend A Firebug Extension?

Feb 8, 2011

I use firebug a lot for my work. Recetnly I have begun to start embedding swfs into html pages, and they don't always work (no!) - debugging can be quite a slow process.

Is there a way I can use firebug to peer inside my swf - often the errors are stupid like pulling in assets with incorrect urls. Perhaps someone could recommend a firebug extension?

View 2 Replies

ActionScript 3.0 :: How To Create An Extension

Oct 10, 2010

I'd like to create an API for my site. I have all the features almost working for one of my games (save, load, unlock achievement, submit score), but an API would make it a lot easier to integrate the features into new games.

View 3 Replies

ActionScript 3.0 :: Loading Swf Url With No Extension?

Mar 8, 2011

I am working with breeze server (Adobe Acrobat Connect Pro) and when I upload an .flv or .swf it creates a URL to the files location where there is no file extension.ow I got an fla file where I got a movieclip and buttons. Each time a user presses a button it should play the file linked to that button in the movieclip.I managed to get this working using the following:

Code:
function videoTwo(even:MouseEvent): void
{

[code].......

View 3 Replies

ActionScript 3.0 :: Embeding A Swf From A Url Without Extension?

May 24, 2011

I need to know how to take the main file for the forum, which is a swf and load it into the main swf..
without the swf extension. so in other words I need to know how to put a url in flash so instead of being
mysite.net/forum.swf I would need it to be just mysite.net

the reason I cannot load the file directly is because it will just loop and do nothing if I do... were as the url itself loads off of the whole site not just that one file and it works perfectly when I use just the url without the file in it.

I know this is possible with java script and possibly a couple other things such as xml... but I don't know how to do it. so if you can please let me know how I am to embed a website that is based on flash into a current swf, on the same server please let me know in detail how to do it... try and remember I am not very knowledgeable in java or even flash... so please be specific about what I need to do

View 2 Replies

IDE :: Set File Extension With Adobe Air?

May 14, 2008

Is there way to set the extension of a file using Adobe Air's flash.filesystem? Using the browseForOpen function you can set the FileFilter, limiting the files types available. However when using browseForSave you can not set a fileFilter or fileExtension. The file extension has to be entered manually in the SaveFileDialog. The File.extension property associated with the selected file is read-only. Does anyone know of a work around or anything that I could do to not enter the file Extension manually.

View 2 Replies

Professional :: Change The File Extension From .doc To .fla?

Mar 22, 2010

Is there is a way? ASAP

View 3 Replies

Extension Manager Won't Recognize New CS3 Install

Aug 15, 2007

Manager to not recognize the just upgraded Flash CS3 install?Message says: "This extension requires the following products: Flash 9 or greater. The extension will not be installed."

View 3 Replies

Professional :: FrameSync 2.0 Lip Syncing Extension Is Now Available

Aug 16, 2010

FrameSync is a free Flash extension, originally released nearly 2 years ago, that allows you rapidly lip-sync your characters with an audio track. Version 2.0 allows you sync your characters even faster and easier than before. ew features include a keyframe mode, audio playback and frame navigation for Flash CS5, and performance improvements. See this post for more details.

View 2 Replies

ActionScript 3.0 :: Load A Xml File With A .lic Extension?

Nov 4, 2010

when i load an xml file with a .lic extension with .pl in it,  eg  blahblah.pl.lic it errors on me, as if the file is not there.
 
However, if i rename the same file to blahblah.com all works fine.
 
i call the file with
<s:HTTPService id="hsLicAddressCheck" fault="hsLicAddressCheck_FaultHandler(event)" result="hsLicAddressCheck_ResultHandler(event)"  />

[Code].....

View 2 Replies

Flex :: Forcing Extension On A File Name?

Jul 28, 2009

In flex when I allow user to download a file using :

dwFile = new FileReference();
dwFile.download(downloadURL, dwFileName);

Is there a way to ensure that the downloaded file always ends up with the extension .tar or any other extension for that matter? By default I give it a name like xyz.tar, but as of now the user can tamper with filename, including its extension. Can I prevent him from doing so?

View 1 Replies

Disallow A Particular File Extension From Being Downloaded?

Dec 17, 2009

[I posted a similar question on serverfault.com, but had very little feedback so trying here]

I can do this just fine under Apache with htaccess

But at work its all M$ all the time...

I need to lock off access to any .fla files that might come up on a virtual host. We keep them next to the few .swf we use on some of our sites, I just want to be sure they are not being downloaded by people or spiders that may scrape the site.

There isn't really anything sensitive in the fla's but I'd rather keep them in the same folder and have them forbidden to downloaders.

I've tried the MIME type route (check if MIME type is defined under HTTP Headers > MIME Types, remove if it was, etc;), but there is no FLA defined, but I can still download the file by default. I recall this was the opposite if you WANTED to serve .flv files, but not .fla's[code]...

View 1 Replies

Flex :: Check Extension With RegEx?

Mar 22, 2011

For example I've got string /wiki/File:test.JPG I should check if it has one of extention "jpeg","jpg","png","gif"

Currently I've written that link.search(/.[j,p,g][p,i,n][e,g,f][g]?/gi) and it is works, but I'd like better regular expression.

View 5 Replies

ActionScript 2.0 :: Show All The Files With The Extension With .JPG

Jul 24, 2003

i have one list box in my movie. I want that it should show all the files with the extension with .JPG in the local folder where my fla file is. Is it possible? All the files will be saved in a indexed way like jpg1.jpg, jpg2.jpg, jpg3.jpg.

View 2 Replies

ActionScript 2.0 :: Extract The Extension From Image.jpg?

Dec 22, 2008

I'm trying to take "image.jpg" and get ".jpg" and I only know how to find and replace.

View 2 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 3.0 :: Class Extension And Library Symbols

Jan 23, 2008

I've got a question which is primarily an OOP question, but it is specific to AS3 in it's implementation.

I writing an interface which consists of displaying a (circuit) card rack which holds twenty cards of various types. Some of the properties of the cards are common to all cards such as slot number, card type, id, etc. They also behave similar when clicked on, taking you to another view.

It seems to make sense to create an abstract class (Card) that has all the common properties and behavior of all the cards, and then extend that class to create the specific card types, but the problem is that the display objects representing the cards are movie clip symbols in the library.

It boils down to this question: How do I extend a class that is already extending the movie clip class (a symbol in the library)? I know that AS3 doesn't allow it, but I figured someone has probably run in to something like this before.

View 12 Replies

Changing File Extension From F4V To FLV - Any Negative Effects?

Sep 2, 2010

I am uploading videos to my new site (aspirin creative) and the player will not recognize any .f4v videos. I changed the extension on one to .flv and it now appears to recognize and play the video. Also, I didnt build the site myself and the developer not Define terms of video playback (which has been less than great so far) the player seems to be a rather strange resolution (600x340) which is not native 16:9 and wont recognize 4:3 encodes without stretching and warping. I have tried to encode close to this in media encoder but as soon as I select .flv over .f4v in the options my ratios seem to go mad, not keeping the preset and not letting me set to anything that is actually 16:9?!

View 2 Replies







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