Seamless Install/Badge.swf problem

Hello, I'm trying to use the badge.swf file to perform a seamless install via a web page.  I've used the supplied files (default_badge.html and badge.fla) to modify the configuration to meet our needs, and I've reviewed the example article at http://www.adobe.com/devnet/air/flex/quickstart/seamless_install.html on how this process should work.  Let me say that when viewing the article, I can download the example "Hello World" app with no problems at all.
In my situation, however, I'm getting a Javascript error when I click the badge.swf movie appearing in my web page.  The error doesn't really make sense because, while I've seen the "Object doesn't support this property or method" message before, the location doesn't exist (line 1 character 102).  The relevant air file does download for me even after receiving this message, but for some other users it won't, and since I'm just a developer and not the primary user of this AIR app, that's no good! 
On doing a View Page Source for the above article, I notice that while the article itself states that the badge.swf is included via the AC_FL_RunContent function, in actuality it appears that the movie is being embedded by a mechanism which, to me, is wholly unrecognizable:
<script type="text/javascript">
   // <![CDATA[
     var props = new Object();
     props.swf = "/devnet/air/samples/badge/badge.swf";
     props.id = "flashplayer-marquee";
     props.w = "217";
     props.h = "180";
     props.ver = "9.0.115";
     props.c = "#fff";
     props.wmode= "opaque";
     var swfo = new SWFObject( props );
     swfo.addParam("allowScriptAccess", "always");
     swfo.addVariable ("appversion","1.0")
     swfo.addVariable ( "appname", "Hello World" );
     swfo.addVariable ( "appurl", "http://download.macromedia.com/pub/developer/air/sample_apps/HelloWorld.air" );
           swfo.addVariable ( "airversion", "1.0" );
           swfo.addVariable ( "imageurl", "/devnet/air/samples/badge/helloworld.jpg");
     swfo.addVariable ("appid", "helloworld");
     registerSWFObject( swfo, "badge" );
    // ]]>
   </script>
I'm pretty clueless as to the whys and wherefores of this block of code.  What I do know is that the download process works just fine in the example article, but for me it's not working correctly.  If anyone has had any experience with this and can shed some light on what I might be doing wrong I'd really appreciate hearing about it.  Thanks in advance for any help you can give.

Thanks Romil, I want to make sure that I asked my question correctly.
If the user gets air runtime installed the badge goes directly to the install and ask them if they want to install it.
If the user already has air runtime it gives the open, save, cancel box.
Is there a way to get the badge to go directly to the install question rather than open, save, cancel box if they already have the air runtime?

Similar Messages

  • Enhanced seamless install badge, asking user "open, save, or cancel"

    I’m trying to get it to start the install automatically. it seems to install my air app automatically right after installing air runtime ,but if a user already has the air runtime it ask them “ open, save or cancel"
    Can the Enhanced seamless install badge always install automatically?

    Thanks Romil, I want to make sure that I asked my question correctly.
    If the user gets air runtime installed the badge goes directly to the install and ask them if they want to install it.
    If the user already has air runtime it gives the open, save, cancel box.
    Is there a way to get the badge to go directly to the install question rather than open, save, cancel box if they already have the air runtime?

  • Adobe AIR Seamless Install Badge PROBLEM

    Hello,
    my air badge installation stop working few days back (do not know exactly how many).
    Has anybody else this issue here?
    Any advice probably.
    Thanks

    Hi Chris,
    Thanks for the Reply.
    After quite a bit more testing and some digging around under the hood, I've solved the problem. Below is what I found out, hopefully this will help others out with the same problem:
    When downloading Air and the Air app in one go using the install badge, trying to open an SQL connection was throwing errors on most machines (it was not limited to Macs alone). If i down loaded Air separately, then installed the app with install badge (with air already  installed) it worked on some machines.
    The error was caused by trying to create the database file at the wrong in the file system:
    // Causes Errors some machines.
    var dbFile:File =File.applicationDirectory.resolvePath (databaseName);
    // Works fine.
    var dbFile:File =File.applicationStorageDirectory.resolvePath (databaseName);
    I'm not sure why the different installation process showed up the errors on some machines and not others, but it's fixed now.
    Hope this helps.
    Ali

  • Install badge on Joomla site

    I've used the "Badger" tool to create a lovely seamless install badge that works on a regular HTML page. However, when I try to embed the code into a module to site on the Home page of my Joomla site then it displays the error message about upgrading the Flash version, even though I know that's not needed.
    There's a line that has to be embedded in the <head> section of the page -
    <script type="text/javascript" src="swfobject.js"></script>
    and I've included that in the index.php that's in the root of the JA_Purity template folder (with the src parameter above fully qualified to the location of the swfobject.js file) but can only assume that it is in the wrong place because I still don't get the results I want.
    I'm a total novice to Joomla: please can someone hand-hold me through getting this fixed?!

    Bregent;
    Thank You for Your reply.  Both You and SnakeEyez have been very helpful.
    The code at http://www.useragentstring.com/ will do the job of determining the windows version.
    Have learned from Access Forums that "Late Binding" will do the job of determing if the User has MSWord installed AND which version., (2003, XP, 2007, 2010) and that the Package & Deploy feature in Access will register a DLL & OCX Service.
    What I haven't learned yet; nor have been able to find is:
    How to place a "Command Button" on the web-site that will start the entire process.
    Know how to place a "Submit" button for an on-line form and know that the script for "Submit" can be changed, BUT a "Submit" button is very limited.
    So the only question remaining is:
    How do You place a "Command Button" on a web-site that will start the entire process?
    IE: Determine the version of Windows then start the download of the "Package & Deploy" application.
    Give You an example.  When You find the driver at HP.Com there is a "Download" button that when clicked starts the download.
    That's what we need...
    a "Download" button.
    Where is the option to "Insert" a Command Button in Dreamweaver?  Is there one?  If not where do I start my search for an item that will accomplish the same thing?
    Thank You for taking the time to read this post.

  • Resolved: The Install Badge requires a mouse event (?)

    Edit:
    I came across this page which specifies that the restriction of installing only within the context of user event handler is by design. Nuts.
    ===
    Hi,
    I've recently tweaked our application's install badge thru the fla provided with the sdk. All works well but apparently, calling the function installApplication from the loaded air.swf has no effect if the caller is not in the context of a mouse event handler. A Flash mouse event handler, that is, since calling from a js mouse event handler has no effect.
    Without this restriction, it would be easy to use air.swf as an installation engine, keeping all the UI in html and allocating to flash only a display area suitable for notifications such as 'installing AIR'. This would greatly facilitate the development of installation pages, no longer restricted by the properties exposed by the badge swf.
    Looking forward to a reply from the powers that be,
    David

    I'm trying to draw that way too but I'm not able to find the solution, i've searched long way from all docs and tutorials but it's not easy for a beginner. And the Apple's gesture drawing tutorial was "replaced" by a GL ES sample wich do not match my needing.
    I just want to draw a line following the touch using drawrect and touchesmoved.
    If anyone could help me i would really appreciate. Thank you.

  • Install Badge offline?

    Hey,
    is there a possibliy to use the install badge offline? I
    produce an AIR-application for distribution on CD-Rom and so i need
    to have an install routine that do the same like the install badge,
    but offline. I tried to use it offline but there seems to be a
    security problem.
    Did anyone get run an install badge offline?
    Thanks all
    Ronny

    While the badge does not run offline, you can achieve the
    same combined AIR/application install experience from a CD-ROM
    based installation. To do that, you'll need to sign up to
    redistribute AIR itself on your CD. After you sign up, you'll
    receive the file and instructions necessary to make this work. See
    http://www.adobe.com/products/air/runtime_distribution1.html
    regards,
    Oliver Goldman | Adobe AIR Engineering

  • Have CS 5 Installed on my iMac and works ok. But installed on my new MacBook Pro it won't open NEF files from my Nikon D810. Displays NEF icons, but when I try and open them the response is: Make sure latest RAW updates are installed. If problem persists

    Have CS 5 Installed on my iMac and works ok. But installed on my new MacBook Pro it won't open NEF files from my Nikon D810. Displays NEF icons, but when I try and open them the response is: Make sure latest RAW updates are installed. If problem persists follow link: http://www.adobe.com/go/kb407111. Have installed Bridge 5.0.2.4; Raw Ref Version 7.0.0.308; DNG converter_8_7_1.dmg; Bridge 5.0.2 Update 2. Also same problem with Lightroom which I don't normally use. Lightroom_3_LS11_mac_3_6.dmg installed.

    In the link you posted it states that the Nikon 810 requires ACR 8.6 or newer.
    Version of ACR are specific to versions of Photoshop. You cannot use 8.6 nor even 7.0.in CS5.
    I believe that ACR 6.7 is the latest that will work with CS5, so make sure you have this installed and get rid of ACR 7.
    Having 2 versions of ACR will cause problems.
    You have already downloaded DNG Converter 8.7.1.
    Have you double clicked the DMG file to allow you to install DNG Converter on your computer?
    Be aware that DNG converter is a stand-along application and not a plug-in.
    You need to open DNG converter at select the FOLDER that contain your .NEF files.
    Don't open the folder and try to select individual files, it doesn't work that way.
    After converting your D810 files to DNGs you can then open the DNGs in CS5
    The problem is your camera didn't exist when CS5 & its version of ACR was developed.
    i don't use Lightroom, but the list mentions Lightroom 5.6 as needed to open D819 so your 3.6 version of LR won't cut it.

  • I am a CC subscriber and trying to update lr5.7 and I am told to got to my CC folder and click on install. The problem is, LR is not in my file. I guess I have been using my original lr that I bought years ago. What now? How do i get lr into the CC file?

    I am a CC subscriber and trying to update lr5.7 and I am told to got to my CC folder and click on install. The problem is, LR is not in my file. I guess I have been using my original lr that I bought years ago. What now? How do i get lr into the CC file?

    Gary116 please remove and reinstall Lightroom by following the steps listed in CC desktop lists applications as "Up to Date" when not installed.  The version of Photoshop Lightroom available through the Creative Cloud Desktop application supports your Creative Cloud Membership.

  • When trying to print, adobe reader 11.0.07 keeps "Not responding" for 2 - 5 minutes before finally working? I have tried uninstalling and re-installing but same problem. What is going on? I have windows 7

    When trying to print, adobe reader 11.0.07 keeps "Not responding" for 2 - 5 minutes before finally working? I have tried uninstalling and re-installing but same problem. What is going on? I have windows 7

    First of all, why did you say yes to Nero Back up before researching what it does with files already on the HDD? When I install Nero, the Back Up is the first thing I disable, it is a nagging pain, there are much better backup programs available. There are several file recovery programs out there to recover deleted files, that is, if that is what happened. Also, if you haven't overwritten the files, so you should be able to find them.

  • Have purchased a new computer but can not install elements 12 since it has been installed on old laptop.  Is there a small fee to be able to do this.  Never installed the video editing portion, can this be installed with no problem?

    Have purchased a new computer but can not install elements 12 since it has been installed on an older laptop.  This is a one time user program, is there a code that can be put in or a small fee to pay to be able to use the program again.  Never installed the video editing and hoping this can be installed with no problem.

    If the laptop is still connected Launch Elements in Expert Mode. Go to the help menu and sign-out. That will deactivate usage on the laptop.

  • Load AS2 swf into AS3 swf problem

    I have a flash with AS3 and inside this swf i load in a AS2 swf.
    to load swf works just fine, but the problem is when i load this i want to go to
    a specific part of it, for example i want to go to frame 3 in the loaded swf.
    i must control this from the AS3 swf, does someone know if this is possible?
    thanks in advance

    so can i do like this then to go to frame 3 in my loaded swf?
    MovieClip(ldr.content).gotoAndStop(3); ?
    sorry for being such an airhead
    thanks for helping me out =)
    Date: Sun, 7 Jun 2009 10:25:09 -0600
    From: [email protected]
    To: [email protected]
    Subject: load AS2 swf into AS3 swf problem
    no.
    if, in your loaded swf, you have a function f1() on the loaded swf's main timeline and you load that swf using a loader (say ldr), use:
    MovieClip(ldr.content).f1();   // to call f1() in the loaded swf
    >

  • My itunes player on my desktop skips when playing songs. I have re-installed but the problem continues. I have Windows7 64 bit.

    My itunes player on my desktop (Windows7 64 bit) skips while playing songs. I have re-installed but the problem continues. Any suggestions?

    I'm expreriencing the same conditions with the same environment.  Windows 8, iTunes-64 11.1.2.32, iTunes Store with a processing bar up to 80 +/- and the POPUP MESSAGE OF "iTunes stopped working. The error ...."
    I UNINSTALLED, iTUNES WITH NO POSITIVE RESULT.  I CHECKED THE FIREWALL AND IS THE SAME DEFINITION AS THE PREVIOUS ITUNES VERSION.
    My iTunes StoreS from my iPhones ARE OK.
    I'm spending a lot of time of research for WINDOW'S iTUNE with no solutions.... 

  • Was just loading indesign and cannot start it. seem to have no rights for some presets. i deinstalled and installed new, same problem. help!

    was just loading indesign and cannot start it. seem to have no rights for some presets. i deinstalled and installed new, same problem. who can help?

    Not easy if vital information is missing. Sometimes it seems like people are using the internet the first time...
    What version of Indesign?
    What OS? "Rights" sounds like Windows
    What is happening when starting it?
    If Windows, where was it installed?
    If Windows, do you have admin permissions?

  • Flash Player 10.2 will not install - not same problem as Audrey below.

    Hi,
    Using Win 7 home deluxe, was using Flash player no problem until the office had me uninstall it to fix another problem but now will not reinstall, keeps insisting on installing Mc Afee alongside it and then Mc Afee won't install correctly and won't allow Flash Player to install either.
    Have repeatedly uninstalled the full Adobe free software suite, and Mc Afee and started from the beginning have tried using the 32 bit IE instead of thr 64 bit, when the window comes up showing the registration it only shows the Quit button will not let me use the Agree or Install button and again and again it keeps installing Mc Afee without being asked, I don't use or need Mc Afee as have Nortons.   I have also been turning off the norton antivrus while doing the installation as i know that can interfere with it.
    been trying this on and off for some days now, multiple times, and I do need to get this fixed I would appreciate some advice thanks
    T

    Yes Friend and I posted a message of thanks also which I'm very pleased to send to you personally, the missing link was that little check box you mentioned, I had done the install or tried to many times but never seen that small box so that was the problem.
    Very grateful  - thanks very much for your time and patience !!
    Best Regards
    Tim
    Date: Thu, 14 Apr 2011 10:53:23 -0600
    From: [email protected]
    To:
    Subject: Flash Player Flash Player 10.2 will not install - not same problem as Audrey below.
    Hi, Since you marked your thread as answered, I'm assuming you have FP Installed and working!!
    Thanks,
    eidnolb
    >
    Message was edited by: Timsan55

  • Install badge fails with '@' or '.' in appinstallarg

    I'm trying to run the AIR install badge with my application and I would like to pass down an varible (in my case, an email address) to be read when the app is first run.  However, whenever I have the '@' or the '.' character as part of the appinstallarg parameter, the badge fails to even start downloading the file.  If I change the appinstallarg to be a single word (like 'blah') it works fine.  It's also fine if I put spaces in the argument, just not certain other characters.
    I have also tried url encoding the argument (using %40 for '@' and %2E for '.') but it hasn't helped.
    I'm considering just transcoding the bad characters into various numbers of spaces or something, but it would be nice if there were a way around this.

    Regarding the newer badge install:
    I'm having a few issues where it's not seeing my application
    already installed (AIR app with Flex).
    The application is definitely installed but it keeps opening
    the .AIR file and asking to open/save.
    Does the AIR app have to be signed properly (i.e. a real
    certificate, paid for) to be able to fully work with the badge
    installer?
    I have set everything correctly in Flex
    (allowBrowserInvocation: set to true)
    and in the HTML I've set it to correctly based on what is in
    my Flex file (appid, appversion, name, etc)
    I've set airversion to "1.0".... what is 1.0.M6 ? (is this
    Beta 3?)
    I haven't set "pubid" to anything, just left as ""... would
    this affect the way the badge works?
    Could I request an update to the badge system... as it's
    doing a lot of checking for Beta3.
    It would be much better and cleaner if it just looked for the
    current AIR version and then if it was not present installed it.

Maybe you are looking for

  • How do I create multiple prints in one order?

    I am attempting to order multiple prints but as I order one picture the system immediately send (uploads) the order. I wish to include multiple pictures in one order. What is the process?

  • How can I change the color of the text/font for my emails on iPad?

    HHow do I change the font color when typing email messages on iPad?

  • PLS-00358

    This is the version: Oracle8i Enterprise Edition Release 8.1.7.2.0 - Production PL/SQL Release 8.1.7.2.0 - Production and this is the code: DECLARE tab_idlocation PKG_TEATRI_VOD.tab_num; tab_idEvento PKG_TEATRI_VOD.tab_num; tab_Evento PKG_TEATRI_VOD.

  • Calendar won't update

    Help! The calendar on my iPod won't update when I connect my iPod photo 40 gig to my powerbook G4.

  • Moving from Aperture 2.x to Aperture 3 - Implication?

    What does one have to do - apart from install the software. Is the Aperture Library altered for Aperture 3 Can one roll back to Aperture 2. x ( I guess not because of the extra changes that you make to images in Ap 3) If the library is altered does i