flash,air,certificate,publishing,signing , Broken Adobe Air Installers, Do I Need a Certificate

Broken Adobe Air Installers, Do I Need a Certificate


Tag: flash,air,certificate,publishing,signing

This is a multi-part question, but all to resolve the same issue.

I'm trying to publish a project I've been working on but get intermittent problems with .air files that are generated.

I always get the following warning when publishing my project:

"There was an error connecting to the timestamp server. You may not have a connection to the network, or the server itself may have a problem.

If you choose to disable timestamping, the AIR application will fail to install when the digital signature expires."

So I have had no choice but to disable timestamping.

I do have a working internet connection, but I'm working from my company network, could this be an issue, and if so, is there a work around (Opening a specific port or something)? Also, how long do the above-mentioned digital signatures have before expiring?

Also, I am creating my own certificate. Do I need to purchase some kind of certificate/license to install my application on another computer? I've done some research, but the information is hard to find, and what I do find is kind of cryptic at best. Currently, I only need to deploy to machines within the company.

Sometimes the installer works fine and without issue (on the computer that generated it at least), other times I get "The application could not be installed because the installer file is damaged. Try obtaining a new installer file from the application author." as an error message. Other times I get an error stating that certificates or signatures or something do not match (Sorry, I couldn't replicate the error so am paraphrasing).I have yet to get an install to work on a separate machine.

I've tried using Air 2.5 and 2.6.

Also, as an extra while I'm here: Can I embed AIR applications to be run INSIDE a browser like a traditional Flash project?


About certificate, you can use a self signed certificate, the only difference is that the users will see a big warning when installing that the publisher is unknown. About timestamping, I only know that the adt tool that packages the app is attempting to connect to a timestamping server, I am not sure what protocol is used, you will need to check this and unblock this. If the installer is not timestamped then the issue is that after the certificate expires you can continue using this installer and need to do a new one with a certificate that is not expired.

As an example, if I use a certificate that expires tomorrow today and the installer is not timestamped then it will not work after tomorrow but if it was timestamped then it will continue to work after the certificate expired because it was created before the expiration

I seen the installer is damaged erors a few times on our customers machine, usually on Windows, sometimes uninstalling and reinstalling AIR helped but not always, the problem is that the error message is not detailled enough to fix this, in rare cases I had to create .exe installers for those customers but I suggest to try the installers on a few machines first and use the native .exe installers if anything else is not working.


as3 array of objects - movement with constant speed

Ok, so I have some experience with as3 and some of the basics. But this problem has been stumping me for so long. I tried to do a workaround based on what I currently know about as3. But somehow either i get an error message or it just doesn't do...

AS3 can't find the load method on a Loader

I'm trying to load an image from the internet with AS3 following this tutorial. When I try to compile the application I get the following error: Call a possibly undefined method load through a reference with static type Loader. my_loader.load(where, loaderContext); ^ Here is the code I'm using: package {...

How make with AS3 downloading MP3 files in the background mode and plays it?

I need help with AS3 make downloading MP3 files in the background mode. Man goes to my site and it will automatically load MP3 file on his computer and plays it. I read these examples here http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/URLLoader.html but do not know how to do it? Prompt what code and how...

Including library in AIR Native Extension causes the error, “The extension context does not have a method with the name…” for all methods

I am working on an AIR Native Extension (ANE) for Windows desktop. The point of this extension is to be able to call out to a third-party C library, which consists of two .h files defining the method signatures/typedefs, and a .lib file. Before including the third party library in...

AS3: Fast hovering doesn't execute rollOut

I'm having a serious problem that is getting me nervous: I've made a button _btn that includes ROLLOVER and ROLLOUT animations with coding (an nested movieclip instance called barra that increases to half alpha when you hover over and decreases when you hover out). [Here it should go a descriptive...

Bitmaps not scaling correctly AS3

I was experimenting with bitmaps and created an alpha mask. When i test the program in full screen, it works fine however when I re-size the screen, the bitmap alpha masks doesn't seem to scale correctly. Below are illustrations of my issue. The bitmap alpha mask is shown as a...

Flash AS3 Crashing After A Multiple Clicks - Argument Error - noSource error

I have here, some AS3 that is used to create a 19 button interactive kiosk. It calls 20 different video_files to be played in an FLVPLayer. When one button is clicked, it draws the player and specifies the source. Whats happening is on our PC, is our crazy-kid-test, where we...

AS3 Dynamic variable naming

Is dynamic variable naming like this possible in ActionScript 3? for (var xz=0;xz<10;xz++){ var this['name' + xz]:Number = xz; } ...

How to use setTimeout in Flash AS3

In JavaScript: setTimeout("document.write('example')", 200); I want to know how I can do a setTimeout in Flash (AS3). I know there's the Timer() class, but I want a more simple way to do this....

How to make a movieclip play on a specific frame in AS3?

I'm incredibly rusty at Flash having not touched it in probably 10 years and can't seem to figure this out, or find it online: I have a MovieClip with two layers, each having a Shape Tween. Basically its a Door that opens and closes. I dropped it onto the main...

ActionScript: How to call an objects function within an array?

In Java it is possible to set the datatype of an array, and by setting the datatype to the object I am using, I can call the methods and variables of that object. For instance: ArrayList<Object> name = new ArrayList<Object>(); name.add(new Object(variables)); name.get(0).method; Is there any way I can do...

AS3 : How to compare 2 array containing objects using 1 for loop only?

I have 2 array having objects of different length var arr : Array = [{name : "aa", id : "0"}, {name : "bb", id : "1"}, {name : "cc", id : "2"}]; var arrTemp : Array = [{name : "ee", id : "0"}, {name : "hh", id : "1"}, {name...

SCORM API wrapper and Flash in full screen

I lately posted this and unfortunately I couldn't figure it out why. Furthermore I haven't any solution for that. Today I realised I can switch between NORMAL and FULL_SCREEN without SCORM parts of the content (connect/disconnect, get/set, etc.). But when I check both Flash wrapper and Mike Rustici's edited API...

How to use Database in Flash App?

I just beginning with flash, someone can help me explain a few issues below I create a project in Flash CC and it have 4 type: Action script 3.0 AIR for Desktop AIR for Android AIR for iOS So, the difference between them? I created a project Action Script 3.0...

Adobe Flex Project: Buttons seem to be calling wrong methods

When I run this code, if I click the 'testExportToCSV' button, the application executes as expected ['save file to...' window opens]. However, once I click that button, the other two buttons then somehow trigger the same window ['save file to...'] to open as if I had clicked the 'testExportToCSV' button....

Actionscript 3 Search for string in array, propblem

I have a problem with searching for strings in an array. I want to search for one word and if it exists, I want to trace the position of the string in the array. I believe it should be something like this: if (myArray contains "11111111") { trace("*position*") } else...

Rails AJAX Feedback, especially on error

I'd like to improve the AJAX feedback in my application (after I POST a remote form in my modals, etc.). I already have some nice feedback showing a loading animation $(document).ajaxStart(function(){ $('.loading-feedback').show() }) $(document).ajaxStop(function(){ $('.loading-feedback').hide() }) But I realize it's not enough : when my AJAX requests trigger a Completed...

Error #1502: A script has executed for longer than the default time period of 15 seconds

this is my first time using AS3 so I apologise if the cause of this problem is painfully obvious. I'm making chess and I've got a class for each piece on the board. When it's player 1's turn, all the black pieces should wait to be clicked, but when I...

When debugging on an Android device, Video objects sometimes refuse to play a Camera or a NetStream object

I have been coding in Flash for a while, though I haven't worked a whole lot on AIR Mobile yet. That being said, when debugging on an Android device via USB, Video objects sometimes work just fine when Camera or NetStream objects are attached, and sometimes they refuse to do...

FLV Playback AS3 Playlist Sequence

Help me please I need my AS3 FLVPlayback component sequentially play one play list xml and that this is repeated indefinitely, until the moment I got this code, which only lets you choose which video you want to play but do not go to the next automatically only stops... I...

Google Play shows wrong minSdkVersion for Android app

I added android:minSdkVersion="14 to the manifest of my Android app to only allow Android 4+ devices but Google Play shows that my app Requires Android 1.6 and up. Is there anything wrong with my manifest? <android> <manifestAdditions> <![CDATA[ <manifest android:installLocation="auto"> <uses-sdk android:minSdkVersion="14" android:targetSdkVersion="21" /> <uses-permission android:name="android.permission.INTERNET"/> <uses-permission android:name="com.android.vending.BILLING" /> </manifest>]]>...

A movie clip above a simple button makes it unresponsive

I have designed a menu in Flash CC which consists of several cloned buttons and an MC containing the text that is supposed to stay above the buttons. Each time a user switches the menu's page, AS commands the clip to switch to appropriate frames, therefore changing the text above...

Custom slider AS3 sound seek

i made a custom slider and everything seems to be fine, but I am trying to create a seek function to make the slider move using this.mySlider.sliderTrack.mouseX position from width:1000px I just need help figuring out how the math to make mouseX the new channel.position var newPercent = this.mySlider.sliderTrack.mouseX =...

can't get movieClip from loaded swf

With following code I import an external swf file. When I try to reach a movieClip that is named as temaResim in imported swf, Flash gives me error ,cant find the movieclip. I am pretty sure that I have temaResim in imported swf file, any help will be very useful....

Adobe Flash Pro: Locate asset with missing font

I transferred my work to a new computer, and when I open my .fla file, Adobe Flash is telling me that I'm missing a font. Is there any easy to locate which asset in my library is using that missing font? Because I'm pretty sure I no longer need the...

Flash CS6 / AS3: Drag and Resize a rectangle movieclip

Not sure if this is possible but going to ask: is there a way of being able to resize a symbol (in this case, a movie clip) in an swf file by clicking and dragging it with your cursor? One of the things I need to do is have a...

How to define rectangle of visible children in Flash/AS3 (“real” element size)

I use BitmapData.draw to make a snapshot of a graph canvas. On the canvas located some children in random positions (including negative positions). I should to define in some way what rectangle bounds to shoot. SO, for example, i have 3 nodes in the view (canvas): {10x10, (-5; -3)} {20x20,...

FlashDevelop - Haxe Trying to debug with Android and Flash

So I'm kind of new to Haxe I installed the setup and all the Android stuff (SDK,NDK,..) and it all ran fine with HTML5, Windows, and neko. However when I run with android I get "Error: Could not detect Android API platforms in "android/platforms". But I have couple of APIs...

How to addChild to a movie clip a movie clip that as bitmap in it

i am trying to create a list in runtime but couldn't make it work. Here is my code : var mc:MovieClip = new MovieClip(); addChild(mc); grpList.source = mc; for(var i = 0;i<count;i++){ var img:Bitmap = new Bitmap(new listbitmap(0,0)); var mvc:MovieClip = new MovieClip(); mvc.height = img.height; mvc.width = img.width; mvc.x...

how to zoom stage to rectangle area in as3 (Action Scripts 3)?

how to zoom stage to rectangle area in as3 (Action Scripts 3)? i have a text, when mouse over the ever word, color changed. now, when click the word i need to zoom to this word and hide the other word?...

Flash Pro - AS3 embeded font not Showing up on Button Label in iOS

So I have an annoying issue that I can't solve. I am creating an app in Flash Pro/AS3 for iOS. I have a button whose label font I want to change: var ButtonTextFormat:TextFormat = new TextFormat("Showcard Gothic", 120); //ButtonTextFormat.size = 120; //ButtonTextFormat.font = "Showcard Gothic"; //ButtonTextFormat.embedFonts = true; ButtonTextFormat.color =...

Timer flash to show something at the right time

I want to make a timer that will show text at my panelText (dynamic text box) at specific time, actually I have a video that I want to have subtitles, and I want to use timer, my video is 3 minutes and 37 second long, and I have script that...

AS3 Check if no object in an array is being hitTested

I have an array of platforms that I'm hitTesting against a player. I also have a boolean variable called onGround that is attached to the player. I need to be able to toggle onGround based on whether or not the player is hitting a platform in the array. It's been...

AS3 LocalConnection: function is not firing

I'm building an AIR app that sends text string to a swf-file. When I export the sender and reciever apps to swf and run them in Flash players, everything works well. But when publishing the sender app to AIR things don't work anymore. I think the connection works, because there...

Flash analysis for Chrome Extension

I'm reading a tutorial on how to create your own Chrome Extension using Javascript/HTML/CSS. I wanted to practice a bit on a facebook flash game to make my life easier, you know what i mean BUT i don't know how to read flash memory online or how to analyse the...

Problems with Flash 8 (AS2), Timelines, and Variable Scopes

Okay, so trying to not post 5 pages of information, I'll start with the following: In a movie clip, I have 3 keyframes. I'm trying to edit a textbox on each frame, but I've found previously that only the text box in the current frame is accessible. In an attempt...

AS3 Center Video in StageVideo

I've a brief question that I'm sure some AS3 genius knows. I'm surprised I haven't seen any other topics on this after 30 minutes of Google-fu, StageVideo seems to be largely silent. So I've been trying out the StageVideo API in place of traditional Videos for better video playback. This...

How to raise a seek to event for a Flash MediaElement using iframe?

How can a seek event be raised to a Flash MediaElement, starting from an embed code with defaults flashvars. Such as: <embed id="me_flash_0" name="me_flash_0" play="true" loop="false" quality="high" bgcolor="#000000" wmode="transparent" allowscriptaccess="always" allowfullscreen="true" type="application/x-shockwave-flash" pluginspage="//www.macromedia.com/go/getflashplayer" src="/dl/player/Fallback/flashmediaelement.swf"...

Can't parse XML AS3 in flash with namespaces [SOLVED]

I don't understand why I can't parse these datas : <places yahoo:start="0" yahoo:count="1" yahoo:total="1" xmlns="http://where.yahooapis.com/v1/schema.rng" xmlns:yahoo="http://www.yahooapis.com/v1/base.rng"> <place yahoo:uri="http://where.yahooapis.com/v1/place/23424819" aaa:lang="en-US" xmlns:aaa="http://www.w3.org/XML/1998/namespace"> <woeid>23424819</woeid> <placeTypeName code="12">Pays</placeTypeName> <name>France</name> <country type="Pays" code="FR"...

Adobe Flash CS6 AS3: KeyUp Handler triggers immediately after KeyDown Handler

So in my code I was attempting to make it where you had two players, each player had their own key down and key up handlers, clearly labelled in my attached code, and in their I handle the movement, player one has WSAD and player two uses the Left, Right,...

How to know fast if another computer is accesible in AS3 (Adobe Air)

I'm using FileStream to read files in two computers that are connected in a Local Area Network (LAN). I have no problem to read the files when the others computers are connected. I'm checking if the directory exists before writing the file I'm checking if the directory AND the file...

Move a character in flash randomly

I have a character imported to my stage, but I want a button called "Random" that when hit, moves the character either up down left or right, every time you click it. Here's what I tried, but the character will just move diagonally. //import the code to use the components...

Responsive sized swfobject?

I have embedded this interactive poster ( http://www.mikesmithdesign.co.uk/images/posterforscreen.swf ) into an html page but am having trouble setting the size of it. I am working with bootstrap and want the content to be responsive but at the moment it comes up really small sits in the middle of the column...

Edit Manager activePoint “Y” Position ActionScript3

I'm working with TextFlow and EditManager in AS3 (flashx.textLayout) I want to know how get ActivePosition pointer "Y" position, I know I can get activePosition from EditManager but it's returns character position. I want to count if activePosition out of screen, then scroll down (text is larger and its out...

Motion that doesn't work inside function

So I have this motion script which I copied from Cs6 as "Copy Motion as AS3". It works fine until I tried to control it with a mouse event function. So what am I missing? it works fine outside the function but not at all inside. import fl.motion.AnimatorFactory; import fl.motion.MotionBase;...

Remove click after going to another scene in AS3?

After switching to my 2nd scene, the keyboard event does not work until I left-click the screen. How to avoid that left click so that I can trigger my keyboard event directly right after moving to my 2nd scene? More details you may need: 1st Scene btnStart.addEventListener(MouseEvent.CLICK, initGame); function initGame(e:MouseEvent)...

Compile actionscript to a swf

I have a folder which is full of .as files, theres one .as file who is the "main" which has a ui (buttons) etc. i need to compile all into a swf file, or a way to debug it. these are the files: https://github.com/amitp/mapgen2 I have like 3 days trying...

call Win32 API in flex to set Window Display Affinity

I have created a Flex Desktop Application with Adobe Air. I need to protect the application from being captured. By changing the window display affinity of the application, the application can be protected from being captured. How to use win API in flex? Is there any other way to protect...