Quantcast
Channel: Adobe Community : Popular Discussions - Archived Discussions
Viewing all 21156 articles
Browse latest View live

trace doesn't work with adl but trace.apply does

$
0
0

No great deal, just wondering... btw, on intel mac using sdk 2.0.2.

 

Cheers, chr


voip app with air and asterisk

$
0
0

Hello,

 

Does anyone have any knowledge if it would be a possibility to build a simple voip client like teamspeak and ventrilo using AIR and the Asterisk framework?

 

Thanks,

 

Jeff

Where is the ARH (AIR Runtime Helper) utility?

$
0
0

Hello,

 

AIR Runtime redistributable documentation mentions the ARH (AIR Runtime Helper) which is a tool that can detect which version of the AIR runtime and which version of my app is installed on the user's machine. However I cannot find this utility anywhere - it's not avaiable on the Run-time redistribution page or AIR SDK page.

 

Where this utility is supposed to be?

 

Thank you,

Anatoly

adl.exe has stopped working message

$
0
0

This is very frustrating because I'm new to Flex 4 (Win 7, 32 bit) and everything I read has not led me to a solution (at least something I understand).

 

Every time I test my app I get the message adl.exe has stopped working and I have to close the file.

 

I'm running the current version of Air (2.5). But the adl.exe is version 1.5.3.

 

Is there a conflict?

Delete Files From Application storage Dir when uninstall Air

$
0
0

Hi All,

 

 

                 Am keeping the Database file in Application Storage Directory.Files din get deleted when i uninstall the application

 

                I want to delete the Database file which is stored in Application Storage Directory when Application uninstall.

 

 

 

               please help me to solve this issue.

How to connect AIR UI with C# back end

$
0
0

I'm doing a project in FLEX (a desktop application), and i need to connect the FLEX UI with a C# code.

It'd be much help full if some one can provide me with an exaple or a sample code.

 

Thanks

openeing a pdf with native pdf reader: openwithdefaultapplication

$
0
0

Hello,

Wondering if anyone can help on this one. From what I have read AIR for android does not support openwithdefaultapplication. The device I am developing for , the Motorola Xoom does not support pdf viewing in StageWebView or the browser. I have tried stagewebview and navigatetourl witn no success. So is it possible to open my pdf's with the native pdf viewer, calling it from my flex mobile app, developed in FB4.5 Any tips/ links sample code on how to do this, if it is possible would be great.

 

Thanks

AIR h.264 encoding support

$
0
0

Is h.264 encoding in AIR at the roadmap of Adobe? I know Adobe is working hard on delivering the requested features, and thanks for the Echo Cancellation. It works great. H264 is now in flash player, but can we expect classes H264VideoStreamSettings, H264Profile, H264Level be available on the AIR in the future as well? I can't think of any technical issues regarding this, but is there any legal issues? It would be very important for us to know, to make a business decisions now.

 

Thank you.


How to load local image in Mx:HTML control using HTML tag?

$
0
0

Hi,

I'm using HTML control in my AIR application which needs to load some of the local images. These images are bundled with my application. Currently, the standard HTML tag fr image is <img> which loads the image from the internet. But I need this tag (i.e. <img>) to load the images locally without any web server in place. Is it possible, please let me know.

 

Thanks in advance.

AIR application - unable to open encrypted database using coldfusion.air.SyncManager

$
0
0

I have an AIR application (written in Flex  4.1.0.16076) that copies data from an unencrypted database to an encrypted  database and then tries to open the encrypted database using  coldfusion.air.SyncManager's openSession method (Coldfusion-AIR integration  library from version 9.0.1)

 

Once the encrypted database is created, the  application will be distributed only with the encrypted database. I use  com.adobe.air.crypto.EncryptionKeyGenerator to generate encryption key. I use the same password, first to encrypt the  database and then try to open it.

 

The database is successfully generated but when I try  to open it, I get the following error: SQLError: 'Error #3125: Unable to open  the database file.', details:'An encryption key cannot be specified when the  database is not encrypted.', operation:'open', detailID:'1011'

I'm passing the encryption key to openSession  method.

 

What am I doing wrong? Please help!

Why?Adobe AIR,This software a can't open!

$
0
0

I just want to ask you, Adobe AIR need  collect the money ?always say this is not the latest version! BUT,I'm is latest version of the! Pleasehelp me,THANK YOU!!

Air Desktop Notification

$
0
0

All,

 

I am in process of developing a Adobe air application with some basic business features . I am using windows o/s

 

I have been able to push my application on system tray but am unable to get desktop alerts when its on system tray , some what like gamil or yahoo .

 

I did lot of googl-ing but couldn't find a way out.

 

Any sort if help or leads would be useful

 

Thanks

like_it

No Filters in AIR for iOS?

$
0
0

Using the AIR 3.0 overlay and exporting to iOS from CS5.5.  All is well (super cool actually) however the drop shadow filter is failing to work.  Is fine if I publish as swf or projector.

 

Any tips?

 

Thnaks,

Dave

 

 

CODE

__________

 

import flash.net.SharedObject;

import flash.filters.DropShadowFilter;

 

 

 

 

var path = MovieClip(this.root).main;

var gap:Number = 20;

var hostName:String = "theHost";

var username:String;

var fadeBackAmount:Number = .4;

 

 

var myFont = new ExpoDFont();

var myFormat:TextFormat = new TextFormat();

myFormat.size = 15;

myFormat.align = TextFormatAlign.CENTER;

myFormat.bold = true;

myFormat.font = myFont.fontName;

 

 

doneBut.addEventListener(MouseEvent.CLICK, finishedEditing);

 

 

/*saveBut.addEventListener(MouseEvent.CLICK, saveIt);

clearBut.addEventListener(MouseEvent.CLICK, clearIt);

loadBut.addEventListener(MouseEvent.CLICK, loadIt);

 

 

saveBut.buttonMode = true;

clearBut.buttonMode = true;

loadBut.buttonMode = true;*/

 

 

var dropShadow:DropShadowFilter = new DropShadowFilter();

dropShadow.distance = 0;

dropShadow.angle = 45;

dropShadow.color = 0x333333;

dropShadow.alpha = 1;

dropShadow.blurX = 10;

dropShadow.blurY = 10;

dropShadow.strength = 2;

dropShadow.quality = 15;

dropShadow.inner = false;

dropShadow.knockout = false;

dropShadow.hideObject = false;

 

 

makeThumbs();

function makeThumbs() {

 

 

          for (var i:uint=0; i<path.pagesFlow1.length; i++) {

                    var th = new MovieClip();

                    var bitmap:Bitmap = new Bitmap();

                    var mc = new(path.pagesFlow1[i]);

                    var bData:BitmapData = new BitmapData(1024,768);

                    th.tBmap = bitmap;

                    bData.draw( mc );

                    bitmap.bitmapData = bData;

                    bitmap.filters = new Array(dropShadow);

 

 

                    th.addChild(bitmap);

                    th.scaleX = .1;

                    th.scaleY = th.scaleX;

                    th.x = th.width * i + gap * i;

                    th.buttonMode = true;

                    th.name = getQualifiedClassName((path.pagesFlow1[i]));

 

 

                    var myText:TextField = new TextField();

                    myText.defaultTextFormat = myFormat;

                    myText.text = th.name;

                    myText.selectable = false;

                    myText.mouseEnabled = false;

                    myText.wordWrap = true;

                    myText.textColor = 0xCCCCCC;

                    //myText.scaleX = 1;

                    //myText.scaleY = myText.scaleX;

                    myText.width = th.width;

                    myText.height = 40;

                    myText.x = th.width * i + gap * i;

                    myText.y = th.y + th.height / 4;

 

                    addChild(th);

                    addChild(myText);

 

 

                    th.addEventListener(MouseEvent.CLICK,doThumbClick);

 

 

                    if (isThumbExcluded(th)) {

                              bitmap.alpha = fadeBackAmount;

                              path.excludePages.push(th.name);

                    } else {

                              bitmap.alpha = 1;

                    }

          }

}

 

 

//test to see if thumb is already excluded

function isThumbExcluded(t) {

          var mySo:SharedObject = SharedObject.getLocal(hostName);

          for (var prop in mySo.data.soExcludedArray) {

                    if (mySo.data.soExcludedArray[prop] == t.name) {

                              //trace(" mySo.data.soExcludedArray[prop] "+mySo.data.soExcludedArray[prop]);

                              return true;

                    }

          }

}

 

 

 

 

function doThumbClick(e:MouseEvent) {

          //trace(e.currentTarget.name);

          //if already excluded, let it back in else exclude it

          if (isThumbExcluded(e.currentTarget)) {

                    //trace("e.currentTarget "+e.currentTarget.name);

                    e.currentTarget.tBmap.alpha = 1;

                    //e.currentTarget.isExcluded = false;

                    spliceExcluded(e.currentTarget);

          } else {

                    e.currentTarget.tBmap.alpha = fadeBackAmount;

                    //e.currentTarget.isExcluded = true;

                    path.excludePages.push(e.currentTarget.name);

          }

          saveIt();

}

 

 

 

 

function spliceExcluded(t) {

          for (var i:uint=0; i<path.pagesFlow1.length; i++) {

                    if (path.excludePages[i] == t.name) {

                              //trace("zapped "+path.excludePages[i]);

                              path.excludePages.splice(i,1);

                    }

          }

}

 

 

function finishedEditing(e:Event):void {

          hideMenu();

          MovieClip(this.parent).menu_mc.visible = false;

}

 

 

function hideMenu() {

          this.visible = false;

          path.menu.visible = false;

}

 

 

///////SharedOpject Helpers

function saveIt() {

          var mySo:SharedObject = SharedObject.getLocal(hostName);

          var theExcluded:Array = path.excludePages;

          //trace("theExcluded "+theExcluded);

          mySo.data.soExcludedArray = theExcluded;

          trace("set: " + mySo.data.soExcludedArray);// theExcluded

}

//readout.appendText("set: " + mySo.data.soExcludedArray +"\n");

 

 

function clearIt(e:MouseEvent) {

          var mySo:SharedObject = SharedObject.getLocal(hostName);

          mySo.clear();

}

 

 

function loadIt(e:MouseEvent) {

          var mySo:SharedObject = SharedObject.getLocal(hostName);

          //trace(mySo.data.soExcludedArray);// yourUsername

          for (var prop in mySo.data.soExcludedArray) {

                    trace(prop+": "+mySo.data.soExcludedArray[prop]);

                    trace("path.excludePages[prop] "+path.excludePages[prop]);

          }

}

//readout.appendText(mySo.data.soExcludedArray[prop] +"\n");

 

 

 

 

function SharedObject_clear() {

          var mySo:SharedObject = SharedObject.getLocal(hostName);

          var theExcluded:Array = path.excludePages;

          mySo.clear();

}//trace("cleared: " + mySo.data.soExcludedArray);// undefined

Fast forward a Netstream doesn't refresh video still

$
0
0

The following issue is a problem on The Max 2010 Hardware Developer Kit and a Samsung UN55D8000, but it works just fine testing on my desktop. It would seem to me to be a limitation of Air for TV and/or the hardware. Please let me know if you think there is a workaround/fix.

 

I have created a video player. The player contains a fast forward button. When the user clicks the button, the netstream is first paused, then a timer is started that fires every .5 seconds. The timer event triggers a function which tells the netstream to seek ahead about 5 seconds from the current position. After the user has fastforwarded for a little bit, the user clicks the play button to stop the timer and resume playing the video but a number of seconds after the original position.

 

Everything works except for the fact that the paused video doesn't refresh its paused image while the video is being fast forwarded. The video is not refreshed until the netstream has resumed playing and is no longer seeking. If I change the timer's delay property from .5 seconds to 1 second, then the paused video image IS updated while it is fast forwarding. However, one second is not fast enough to make it appear to be fast forwarding smoothly.

 

Again this works on the desktop but doesn't work on 2 TV devices. Is there a way to fix this issue?

Live Streaming H.264 Video on iOS using AIR

$
0
0

We would like to build an AIR app that plays Streaming H.264 Live/VOD videos that would work through AIR on the iOS platform.

I've seem some traffic on the forums that RTMP will work to iOS - but additionally heard that video applications that use RTMP streams will be rejected by the Apple App store.

I have seen that progressive H.264 will work - but that's not streaming or live.

HLS would work if we use the StageWebView object; however, that provides us little control/monitoring over the video inside of it; and it's not "really" integrated as a video player.

For OSMF there seems to be a 3rd-Party plugin which will allow OSMF to read HLS streams - but (from what I've heard) is incomplete because it doesn't play adaptive nor is it completely updated for OSMF 1.6.1.

 

I would love to be wrong here - but is there currently a way to play a Streamed H.264 Video to iOS that is non-RTMP?

I've seem little information as to if F4M streamed files played via OSMF will work on iOS.

 

Thanks for the info in advance.

-Will


is RTMP on IOS possible?

$
0
0

Is live video streaming and accessing the server sharedObject or calling FMS server functions from client using RTMP protocall with Flex 4.6 (AIR) app for IOS, possible?

Any discussion or answer would be helpful.

Adobe Air Lisence agreement keeps poping up but app wont launch??

$
0
0

I hope someone can help me as this is my 2nd post...lol

 

I keep getting the lisence agreement popping up everytime i try to launch a application/program that iam trying to use. the program never works, i just keep clicking the I agree and then nothing happens. its a application from a cd rom that ive installed on my pc but it needs adobe air to make it work. iam running vista 32 bit so what can i do to make this application work? i think adobe air is either faulty or something is in conflict.

 

Would appreciate any tips or advice, as i heard this has been an issue with many people

 

cheers.

H264 stream is not encoded properly in AIR 3.2

$
0
0

Hi all,

 

I'm running latest AIR runtime on my desktop: 3.2.0.2070

My air appliation is compiled with latest air sdk also: 3.2.0.2070

Platform is Windows XP.

The application is aka Cirrus Video Phone Lab app, where streaming is done to another instance of the AIR application.

 

I do use this code to enable H264 encoding on the outgoing stream:

 

     var h264Settings:H264VideoStreamSettings = new H264VideoStreamSettings();

     h264Settings.setProfileLevel(H264Profile.MAIN, H264Level.LEVEL_3_2);

     outgoingStream.videoStreamSettings = h264Settings;

 

Once my app is running i do check the VideoStreamSettings.codec on both outgoing and incoming streams:

 

     trace("outStream codec: "+outgoingStream.videoStreamSettings.codec+"\n");

     trace("inStream codec: "+incomingStream.videoStreamSettings.codec+"\n");

 

Here is the output:

 

     outStream codec: H264Avc

     inStream codec: Sorenson

 

So it appears that incomingStream is using Sorenson?! How is this possible to encode in H264 and decode using Sorenson and see the video?

Or really it is Sorenson which is used for encoing irrelevant of what videoStreamSettings is set to? How about Adobe's claim they support H264 on the Air web page?

Or am I missing something completely?

 

Thanks,

Sd.

 

 

An update:

 

I've recompiled my test project to use web application and run it on a standalone flashplayer11_2r202_228_win_sa_debug_32bit.exe

Result is the same: outgoing stream prints H264Avc, while incoming does Sorenson.

So, I'm not really sure what's the deal about Adobe's claim about H264 support in AIR3 and FP 11.2? There are no H264 support in both. Period.

Too bad Adobe, too bad... Sorenson has been since FP6 right? It's year 2012 now. I just want to remind you if you forgot about this.

I undersdtand making creative art on the web page with useless claims (http://www.adobe.com/products/air/features.html) is much easier then making

a product which stands for them, but with bugs like that it's better to keep the mouth shut then claim non-existent "features". Please also explain to us

how are we suppose building that "cutting-edge" application running on "billions" of devices? Anyone?

Does Adobe Native Extensions support available for C# .NET dll?

$
0
0

Hi,

 

Does ANE support integration with C# dlls? I have seen examples for Java, C, C++, Objective C, but none for C#. Any pointers will be highly appreciated.

 

 

Thanks & Regards,

Deepa

HTTP tunneling doesn't work with NetConnection

$
0
0

I'm researching a problem with NetConnection failing to connect through a proxy server using RTMP and RTMPS protocols. In my test I setup squid as the local proxy server and tried to call connect method on a NetConnection with proxyType = "best". When direct connection fails NetConnection correctly tries to use HTTP CONNECT method to tunnel the rtmp connection through the proxy server. But all I can see in the proxy logs is:

1334347990.276      0 127.0.0.1 TCP_DENIED/400 1552 NONE NONE:// - NONE/- text/html

The connection fails in the result. So, with the internet access through a proxy server RTMP/RTMPS protocols do not work at all.

 

I did some traffic capturing and discovered that NetConnection builds HTTP CONNECT request for server.com as:

"CONNECT server.com:443 HTTP/1.1 \r\n\r\n".

Please pay attention to the space (0x20) character between "HTTP/1.1" and "\r\n\r\n". For a request like that my proxy server returns "HTTP/1.0 400 Bad Request" response.

 

Then I tried to build my own HTTP CONNECT request and discovered that it only works if the space character is removed:

"CONNECT server.com:443 HTTP/1.1\r\n\r\n".

 

With the fix above RTMP/RTMPS tunneling works just fine. I'm surprised this is not a well known problem. Maybe it is a squid specific issue. Or there is something wrong with my environment (I'm not sure if AIR is responsible for building HTTP CONNECT request). So, please advise if it is a bug and anyone had the same problem. Any workarounds would be welcomed as well.

Viewing all 21156 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>