IDE :: Custom Extensions In AIR

Feb 7, 2009

I was wondering if anyone had heard of a way that you could access the file that was used to open an AIR application. That is, you know how you can double click a .fla and it will open Flash? I want to be able to do that with a AIR application. I've already tried it and I know I can select a specific application to open the file with when a user opens that file, I just need to know how to access it.Also, is there a way to register a AIR application for a specific file type?

View 2 Replies


Similar Posts:


Php :: Set Allowed File Extensions?

Dec 4, 2011

For a download.php I need to set allowed file extensions. What do I need to insert for an Adobe Air file (.air) file?

$allowed_ext = array (
'zip' => 'application/zip'

View 2 Replies

ActionScript 3.0 :: Air For Android Cs5 Extensions Available?

Oct 10, 2010

i dont know why i cant figure this out. android market now has adobe Air, and developer beta testing sign up is closed. I assumed at this point you would be able to upgrade or buy the extentions or plugins for flash cs5 for air for android?I didnt sign up for the beta testing pre release. Is it still in beta or something? how would i get the plug ins for flash cs5?

View 4 Replies

Admob In Flex 4.6 Native Extensions?

Nov 24, 2011

Has anyone found a way to get a Native Extension running for Admob yet? Or for iAd for that matter?

There seem to be a number of issues with the ANE, with compiling and with the manifest. Has anyone found a way to have it all sorted?

View 1 Replies

ActionScript 2.0 :: Where Does A Sane Person Put Their Extensions

Feb 7, 2007

I am using Flash 8, AS2. I have a nice code library called the Fisix Engine. Within the unzipped folder is the subfolder 'Bin' and within is an empty folder named 'generated' and FisixEngine, a seemingly non-editable 'Flash Component File'. At the moment, this Flash Component File rests in C:Program FilesMacromediaFlash 8FisixEngine_Alpha_0.5Bin ... but where is it supposed to go? I have heard that it doesn't matter where. In that case, what is the best practice?

EDIT: For that matter, I cannot even seem to get this component file to be listed in my components browser no matter what I do with it. Furthermore, the examples included #include files which appear to be HTML files instead of .as files. This confuses me very much... What's the fastest way to organize this so that I can make instances of the custom classes included in the component?

View 4 Replies

Opening Old Flash Movies With Lost Extensions?

Oct 6, 2009

I have three very old flash movies that have lost their extensions and can not open them any more. how can I open them in the newer Flash 9.0 that I have they were originally done on a PC Flash 3.0.

View 1 Replies

ActionScript 3.0 :: Filereference.save And File Extensions?

Feb 13, 2009

I'm using Filereference.save() to save a jpg file. It'sbasically working fine, but is there anyway to force a fileextension on the saved file? I'm using "untitled.jpg" as thedefault filename, but if the user changes it to say "myfile", itgets saved as "myfile", rather than "myfile.jpg".

View 11 Replies

Professional :: Mac OS X Native Extensions Framework Error?

Mar 28, 2012

When I try to publish an Air app out of CS5.5 I've started to get this message:It happens with a blank document. I'm using Air 2.5 & 2.6 on SnowLeopard

View 2 Replies

Flash :: Getting Icons For File Extensions In Adobe Air?

Sep 11, 2010

I'm working on an Adobe Air Desktop App ATM. My question is how to get the icon for a given file extension, but without actually loading up a file of such type.

I had the idea to just create a blank file for the extension and then delete it once i have the bitmap for its icon, but that seemed like too much trouble and kinda inefficient.

So for example i want to get the icon associated with a .txt file, or .html file. Is their any way of doing such without having to directly reference and existing file , or create a temporary one as mentioned above?

View 1 Replies

Flex :: Sorting DatagridColumn According To FileType Extensions?

Oct 28, 2011

I have a DatagridColumn in flex with two names, TYPE and NAME. Now, when I am sorting a datagridcolumn, TYPE, it sorts the type using sortcomparefunction and gives the result which contains grouped and sorted order of elements. Ex. if I sort for type I get elements in pdf, doc, ppt in grouped order, but they are internally not sorted, ex: for the pdf part, I have elements such as:
TYPE NAME
pdf A1.pdf
pdf X2.pdf
pdf B1.pdf

Here the filetypes are sorted, but for a particular filetype, the elements are not, please notice that B1 occurs after X2, which should be sorted. Is there a way I can sort the second datagridcolumn after sorting the first one according to filetype extensions? I am using sortcomparefunction for sorting the elements according to type , which works fine. The signature is:
private function sortTheTypeColumn(itemA:Object, itemB:Object):int

View 1 Replies

ActionScript 2.0 :: FileReference.download Losing Extensions?

Mar 19, 2007

I need to allow a user to download images from my app, but everytime a user attempts to download, the extension is stripped from the filename I provide.This is only happening in Firefox & IE on Windows. It's working just fine on OSX.

I'm using FileReference.download(), and specifying the filename as "imageX.jpg". However, when the file dialog opens on Windows to save the document, only "imageX" is shown as the filename, and the extension is never saved. In the "Save As type..." field, there is only the "*.*" option available.

The majority of our users aren't technically savvy, so a lot of them don't realize that if they put a .jpg extension on the file they just downloaded, they'll be able to view the image.

View 3 Replies

Android :: Adobe Native Extensions - Voice Recognition

Dec 12, 2011

currently I am coding a android mobile app in Flex with the Flash Builder. I am tring to get the Voice Recognition of the Android Platform working but it seems to be complicated. I managed to write a Native Extension that at least displays the Android style voice recognition that asks for speech input. I found out that for the android system the speech input dialog represents an activity where you can wait for the activity's response and overwrite the onActivityResult function. And there is the problem. Since I have to call the Activity "Voice Recognition" in the FREContext the response of the Voice Recognition Activity gets lost.

[Code]...

View 1 Replies

ActionScript 3.0 :: Integration - Create WebGL Extensions Or Classes?

Jan 27, 2010

i'm trying to find something that can boost Flash display performance. I nicely ended up with WebGL, promoted by the guys behind OpenGL. I wonder if the WebGL can in any way be ported or used with actionscript 3.0. I saw someone have created plugin to use flash with Unity 3D, but it's a little complicated to manage and too little "tricky" for me. How hard could be create WebGL extensions or classes for actionscript? Any guru here that want to start doing something?

View 0 Replies

ActionScript 3.0 :: Flash FileReference.save() - File Extensions?

Jun 18, 2010

I'm using FileReference.save() method for Flash10 to save a file. It looks like this:

Code:
fr.save(BytesArray, "default.xml");
When I use default name - everything is ok. But when I change file's name in "Save Dialog

[code].....

View 2 Replies

Flex :: Flash Player 10 Filereference.save And File Extensions?

Jun 8, 2010

I'm using Filereference.save() to save a XML file. It's working fine with default filename.But is there a way to force a file extension on the saved file? I'm using "untitled.xml" as the default filename, but if the user changes it to say "myfile", it gets saved as "myfile", rather than "myfile.xml".

View 1 Replies

Actionscript 3 :: Adobe AIR 3 Native Extensions - Android Res Folder Not Included In The .ane File?

Nov 9, 2011

I am trying to develop an android extension for air, but I have a problem with resources.According to this : Official adobe doc - FREContext and this Extending AIR by Oliver Goldman We simply have to add the resources we need in the res file of the Native part, then they are added inside the .ane file and passed to the final apk. In order to access them though we have to use getResourceId( "drawable.background_image" ) instead of R.drawable.background_image

But when I generate my extension, the res file is actually not even included anywhere inside the .ane file and also not inside the final apk. And I have found not a single extension on the net using resources (not even in the adobe samples)For this test I simply use the basic Hello world Vibrate test, but I added a new png in the drawable folder.As you can see while unziping the .ane file, then going to META-INF/ANE/Android-ARM the res file is absent.As a result, the program crashes when I try to access my resource FREContext.getResourceId("drawable.ppy_accessory_manage.png")

PS, here is my batch to compile the ANE :

set adt_directory=C:Program FilesAdobeAdobe Flash Builder 4.6sdks4.6.0in
set root_directory=C:UsershugoAdobe Flash Builder 4.6
set library_directory=%root_directory%HelloANELibrary

[code]....

View 1 Replies

Flash :: Flash CS5 Extensions For Android Unavailable From Adobe?

Apr 6, 2011

I'm totally new to developing apps for android and am just getting started in flash CS5. According to most tutorials that I can find on the web I need to install an extension from adobe.
 
see this tutorial Creative Sweet TV - Publish to Android 2.2 from Adobe Flash CS5 | Adobe TV However, when I go to adobe's site they say that the extension isn't available anymore and will be integrated with their new version of Flash Adobe Flash Professional CS5 Extension for Adobe AIR 2.5 - Adobe Labs
 
I just bought a new Mac to run CS5 and can't believe that now it looks like I'll have to upgrade my software, at more expense, in order to do something that was possible only a short time ago

View 27 Replies

Actionscript 3 :: Flex 4 Disptaching Custom Event From Custom Component (why Flex Converting Custom Event To Mouseevent)?

Mar 2, 2012

This is NOT duplicate of my earlier post (its is slightly different)But this is similar issue with similar error but its not the same error The error I am getting now is below while dispatching the custom event from my custom component

TypeError: Error #1034: Type Coercion failed: cannot convert events::MapEvent@a74ab51 to flash.events.MouseEvent.
dispatchEvent(new MapEvent(MapEvent.CLICKED_ON_MAP));

Note: The error in my earlier post is giving below error message

Type Coercion failed: cannot convert flash.events::Event@81ecb79 to com.events.ShopEvent

The difference here are two things, the earlier error is while converting flash event to custom event and now this one is while converting custom event to flash event and secondly, I have no clue why it is trying to convert to the mouseevent where I am just dispatching my custom event with proper listeners.

This is my custome event

package events
{
import flash.events.Event;
import ui.map.MapElement;

[code]...

View 1 Replies

Actionscript 3 :: Flex 4.5 Not Listening To Custom Event Dispatched In Custom Class?

Nov 4, 2011

I have the following situation:I have an event handler, that displays small messages in my application's statusbar.These messages get passes through by dispatching events from custom components.A simple message could be like "HTTP Error" or so.Now, the main event listener, in the main application file, listens to the event dispatched by any custom component,but seems to refuse listening to events dispatched by custom AS classes.Here is my code for the custom event:

package main.events
{
import flash.events.Event;[code]..

So to sum it all up:

- The event listener listens to the custom event dispatched by any custom component.

- The event listener does not listen to the custom event duspatched by an AS class.

Those who wonder, the event really gets dispatched, that's why I added a trace call.

View 2 Replies

Flex :: Put Custom Code In A Custom Component In Flash Builder?

Dec 11, 2010

In the main file, I would write[code]...

But if I want the component to have that behaviour innately, where do I write it in the mybutton mxml file to have it reference itself?[code]...

View 2 Replies

ActionScript 3.0 :: Custom Property With Custom Event- A Quick Way?

Aug 25, 2009

i am a bit embarassed to ask this, but i do this so much i have to ask. Occasionally, i need to pass/handle custom events on the fly. Rather than creating a whole custom event class, i will just do something like

Code:
myObject.dispatchEvent(new Event('thisCustomEvent'));
//and then handle it later

[code]....

View 12 Replies

Flex :: Access A Custom Property In A Custom Class?

Jan 25, 2010

I couldn't work it out yet...

package components {
public class templateSelection extends VBox {
static public var tempSelectionBag:Dictionary;

[Code]....

I want to have a custom class tempSelection with a Dictionary as a public accessable property of that class. If I use this code, the compiler tells me:

1046: Typ wurde nicht gefunden oder war keine Kompilierungszeit- onstante:Dictionary

Which translates to:

Type was not found or was not a compile-time constant: Dictionary

View 1 Replies

Css :: Add Custom Style Property To MXML Custom Component?

Jun 22, 2011

I have a Custom Component that has a couple of Canvas with some background colors assigned to them. Now i have hard coded the colors, i want to move them to an external css file. So i would like to have the css declaration like this :

[Code]...

My question is if i can define custom style names like dividerRightColor and if so, how can i use that value inside my MXML Component? I have seen examples of using them inside Pure AS components.

View 2 Replies

Flex :: Dispatching Custom Event From A Custom Component?

Sep 8, 2011

I have a custom Flex 4.5 component (to be used in a List) -

Game.mxml (represents a clickable playing table in a card game):
<?xml version="1.0" encoding="utf-8"?>
<s:ItemRenderer [code].......

But I never see the "game clicked: " trace. Does anybody please know why? I'm probably missing something minor, because I can see the "Clicked: 8946" trace.

View 3 Replies

Flex :: Disptaching Custom Event From Custom Component?

Feb 16, 2012

This is similar to the question asked here. I am dispatching custom event "ShopEvent" but i am getting error "Type Coercion failed: cannot convert flash.events::Event@81ecb79 to com.events.ShopEvent"Note: Error is thrown from the parent custom component (3rd code snippet), I have added more details thereThis is my custom event. See the first constant, I copy pasted the event name in custom components.

package com.events
{
import flash.events.Event;

[code]......

View 3 Replies

ActionScript 3.0 :: Custom TreeItemRenderer Removes Custom Component?

Jan 16, 2009

I have created custom TreeItemRenderer in which i am trying to draw colored Hbox bar at each node except root. Intially when i click on root node it opens first child node with bar but when i open leaf node it does not showing bar and removing existing bard from other few child nodes. Its calling itemrenderer on mouseonver eventhough i have disabled.Attaching Code here

package Adodbe.renderers
{
import flash.display.DisplayObject;[code].....

View 0 Replies

Actionscript 3 :: Why Won't Visual Elements Display Inside Custom Component Extended From Another Custom Component

Sep 6, 2011

I created a custom MXML component, TurboContent, that extends the NavigatorContent class:

<s:NavigatorContent xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx">

[Code].....

In this case, the 'myButton' component never shows up, but all the elements of the base component do (3 buttons and a datagrid).

View 2 Replies

ActionScript 3.0 :: Create Custom Event Class If I Dont Need To Pass Custom Property With That Event?

Dec 28, 2009

Is there a point of creating custom event class if i dont need to pass custom property with that event?

View 3 Replies

Flex :: Define Custom 'contentGroups' In A Custom Flex 4 Component?

May 12, 2010

The spark panel component for example can be written like this

<Panel title="Skinny">
<child components ... />
<controlBarGroup>
<child control bar components ... />
</controlBarGroup>

[Code]...

The motivation here is that I can now create a couple different skin files to change the look and layout of those subgroups. Reading source of the spark panel, there are some calls within the mx_internal namespace such as getMXMLContent() which is a method of the spark group component, but which I have no access to.

Does the description above make sense? How can I create custom 'contentGroups' in my custom Flex4 component that can use nested mxml child components? Should I approach this a different way?

View 2 Replies

ActionScript 2.0 :: Call A Custom Function From Another Custom Function's Parameter?

Apr 1, 2008

I want to call a function from another function's parameter but I don't know how and don't know if it is possible.I've considered this as a solution but it didn't worked.

Code:
function myFunc(target_mc:MovieClip, nX:Number, nY:Number, cFunc:Function) {
target_mc._x += nX;
targen_mc._y += nY;
target_mc.onPress = cFunc;

[code]....

View 2 Replies







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