Use jQuery Scrollbar (Slider) in AIR App

I built a simple blog reader that combines Spry's data
handling and a one-off jQuery custom scrollbar. In my browser, it
works brilliantly, but when I package it up in AIR, it appears that
the custom scrollbars which jQuery creates are overwritten/disabled
by AIR's scrollbars.
Any ideas on this? FYI, I am a horrible AIR noob, so feel
free to gently instruct me on what I am doing wrong and how I can
remedy this issue.
THanks to all!
Joel Watson

Sorry to bump this, but does anyone have any ideas on this?
Thanks!
Joel

Similar Messages

  • How do I use transparent=true in my Air app but still displaying swf ?

    How do I use transparent=true in my Air app but still displaying swf's files ?
    The thing is that I created a customized chrome, and looks nice when it is transparent cause seems to be floating, it works as a browser, but the problem is that when I navigate with it into a page wich contains embedded youtube videos, as in example, or any other swf file... it just doesn't show...
    Any help ? thanks in advance,

    Contact iTunes Support: http://www.apple.com/support/itunes/contact/

  • Use Bridge DOM from an AIR app-

    Hi all,
    A customer of mine wishes to have a widget to help their users deal with XMP metadata. However they don't want them to use bridge because the principe is to make the tasks as easy as possible.
    But bridge has a convenient library to edit XMP so my ambition is to find a way to get access to Bridge DOM from outside.
    Unfortunately, I can't see much workarounds. No command line, using #target bridge generates a prompt, applescript provides a do javascript" but only with strings and my first attemps scared me a bit ( working alternatively without reasons).
    So question is, do you know if it's possible to run js script for bridge from outside BRIDGE ?
    TIA Loic

    Hi Mark,
    Paul's input is great and I tried this way. The problem was to run js code from the air app. Thanks to NativeProcess, I know I can execute Applescript code. But XMPLib is js only (unless I am wrong but the bridge sdk doesn't look to offer other languages). So even then, I saw that Brigde Applescript dictionnary exposed a do javascript command. So finally it should have been trivious (yet tricky) to run the needed js code. But, as there is always a but, the code execution is working only half the time. Sometimes it's working, sometimes it raises an applescript event error. Nothing that I could use eyes closed :S
    I will have a look at the Photoshop GUIless that you are speaking about. However I have no experience or Photoshop's action manager code but not knowing is an occasion to learn something I guess
    Anyway customer accepted to constrain their users to use Bridge GUI so finally, it's easing the whole project. I am thinking about either an extension or a tabbedPanel in scriptUI.
    TabbedPanel has my preference but I need to experience more about dealing with the workspace. I am afraid I am thinking out loud here
    In any cases, thanks again to both of you for your insights
    Loic

  • Hi,i use html,css,js write air app,when adt command support apk?

    my app can run in windows xp,and i want it run in android too;
    now is:error 304,initial window content is invalid

    its the same
    SW01#show sdm prefer
    The current template is "desktop default" template.
    The selected template optimizes the resources in
    the switch to support this level of features for
    8 routed interfaces and 1024 VLANs.
      number of unicast mac addresses:                  6K
      number of IPv4 IGMP groups + multicast routes:    1K
      number of IPv4 unicast routes:                    8K
        number of directly-connected IPv4 hosts:        6K
        number of indirect IPv4 routes:                 2K
      number of IPv4 policy based routing aces:         0
      number of IPv4/MAC qos aces:                      0.5K
      number of IPv4/MAC security aces:                 1K
    thxs

  • Embedding swf files in AIR app for ios

    Hi,
    After going through a lot of articles already available, I found answers with varying views on the following questions:-
    1) Can we embed swf files using the embed tag in air app for ios, with symbols exported ?
    Something like [Embed(source="someSWF",symbol="exportedSymbol")]
    and also something like [Embed(source="someSWF")].
    From what I understand, one can't embed swf's with actionscript byte code in them. So exporting symbols actually creates class linkages which leads to creation of abc. But I'm unsure on this because some sources say otherwise.
    2) Can we embed swf files using embed tag in air app for ios, without symbols exported ?
    Something like [Embed(source="someSWF")]
    and also something like [Embed(source="someSWF" mimeType = "application/octet-stream")]
    I read somewhere else, that you can actually embed symbols separately by providing symbol tag in embed tag but not entire swf (which leads to uncompiled actionscript error) but not sure about this as this is contradictory to finding #1.
    3) If #2 is possible, then do embedding two different swfs with same symbol names would cause a conflict and result in #3747 error ?
    Please note I am not asking about the Loader class here but using the Embed keyword for embedding swfs.
    Also do the results differ with AIRSDK 3.8 and 3.9 and using different swf-version in compiler flags ?
    In our application we started getting error #3747 in class creation of one of the embedded swfs (like new EmbeddedClass()) when we changed from swf-version 17 to 21 using AIRSDK 3.8. So was this error not there earlier or it was there but swf-version was suppressing it ?
    Any help is much appreciated.
    Thanks!

    I am fairly sure that the answer to your questions is: “no”.
    For embed to work the AIR app would have to be working in interpreter mode, and that can work for local testing, but can’t work for submitting apps. An easy change for you to do would be to use SWCs instead of Embed. Other than that you’re looking at Loader, but also a tricky command line build of the app.

  • HT1689 I bought an app on my iphone, and want to use it on my MacBook Air.  When I click on the icon on the MacBook, it won't open.  Do I have to buy the same app again for my MacBook Air?

    I bought a real estate app on my iphone.  I want to use it on my MacBook Air because of the larger screen.  I see the icon in my Itunes account, and when I click it to open it, it won't do anything.  Do I have to purchase the app again to use on my MacBook Air.  Thanks!

    The app you got only works with iPhones, iPods touch and iPads, but not with Macs. That's because Macs use a different operating system that requires different applications, so you have to purchase the application for the Mac

  • Using browser javascript to copy selected text from a pdf file opened in Air app.

    I have posted this question on reader forum as well, but I think it is more suited here...
    I am trying to create a note-taking application in air. I want to extract selected text from pdf file as a string object or to the clipboard.
    Obviously, all pdfs in my local storage will not be scripted to recieve postMessages and act accordingly, and that is not practical either. So, my problem is, how can I copy the selected text in the pdf file (opened as an object in htmlloader within my Air app) to clipboard or directly in another control by say clicking a button in air application? I suppose, this is possible using javascript, however, I don't know which reader methods are exposed to the wrapper htmlloader control. In short, I want to execute app.execMenuItem("Copy") command through htmlloader javascript. Any alternate solutions are also welcome.
    This is similar to passing inbuilt commands/methods/functions (of adobe reader) to pdf-reader plugin embedded in a webpage via javascript. This is possible in IE where the pdf is rendered as activex object, and hence JSObject interface of pdf document/reader is accessible to the browser javascript. I have also read that this same JSObject is accessible to VB as interface for IAC, so as the Air is Adobe's own product, I was wondering if equivalent of JSObject is accessible to htmlloader control as well.
    Thanks in advance...
    Mits

    Thank you Thom for your reply...
    from
    http://www.adobe.com/devnet/acrobat/javascript.html
    ...Through JavaScript extensions, the viewer application and its plug-ins expose much of their functionality to document authors, form designers, and plug-in developers...
    As it is explicitly mentioned, that the functionality of adobe reader are exposed for plugin development, I thought someone here might have used external javascript to execute some safe methods in adobe reader. The functionality (i.e. external javascript interface-JSObject) is already available for VB programmers to develop IAC. Further, the Acrobat SDK example called "AcroPDFinHML" shows how one can embed a pdf-reader in a html page and execute some safe methods (like gotonextpage(), zooming etc.) in IE as ActiveX plugin. I have checked it myself for adobe reader 9, and it works perfectly, so there is no security issue as such to implement the same for another browser (like in my case, the htmlloader control in flex/air app).
    I intend to create a note taking application in air, where it is very much required that I should be able to copy selected text from various pdf documents, that are open in my app, and subsequently paste/collect/save the collected notes and process them afterwords (offcourse, from the pdfs that allow me copying text). However, it is not happening for me here. As the pdfs are opened through adobe reader plugin, it does not register the copy command executed by my air app. It registers the system level copy command (by keyboard shortcut Ctrl+C), but my air app has no way to execute the system level copy command programmatically. So I am kind of stuck here...
    Thanks again for your reply. Having known what am I intend to accomplish, any other (may be alternative) solutions will be appreciated nonetheless...
    Mits

  • AIR apps developed using HTML+Javascript

    Hi…
    I am working on Adobe AIR.
    And now I have 3 options to develop AIR applications 1)Flex
    2) Flash 3) HTML+javascript.
    But can you please explain me when do I exactly use Flex Or
    HTML+JS Or Flash.
    One of the reason I know is Flex used for Rich UI
    applications
    Is there any list of requirements for which one of the 3
    option is most suitable to use.
    And I have some more questions.
    1) Can AIR applications(developed using HTML+Js) invoke a web
    service running on a different server
    2) Can AIR application(developed using HTML+Js) detect the
    connectivity of USB drive (I have developed 1 application that can
    detect the Network connectivity and periodically reports the status
    I want the same in case of USB(plug & play) connectivity)
    3) I have one AIR application that has one HTML form on click
    of button I am posting the form Data to Java Servlet using
    “air.sendToURL()” as shown
    <script src="AIRAliases.js" />
    <script>
    function sendURL()
    var url = "
    http://localhost:8080/InvokingServlet/Registration";
    var variables = new air.URLVariables();
    variables.username = document.f1.username.value;
    variables.password = document.f1.password.value;
    var request = new air.URLRequest(url);
    request.data = variables;
    air.sendToURL(request);
    alert("Data has been added to Remote DB...");
    </script>
    The data goes to Servlet and then Servlet thru Jdbc
    Connectivity adds the data to database “MySQL” database
    named “user”
    If I read the data from database and print in Servlet it
    displays that to “tomcat server window(log)” But I want
    the data from Servlet to send back to HTML page where I can display
    it on the same HTML page where user entered his details. So even if
    I put the result into some Scope like session or request, but Can I
    read that it in HTML+Javascript page .
    [email protected]

    quote:
    Originally posted by:
    pravinpatil23
    But can you please explain me when do I exactly use Flex Or
    HTML+JS Or Flash.
    This question gets asked about once a week. You
    can find my latest answer
    here
    and a little searching will dig up more opinions.
    quote:
    Can AIR applications(developed using HTML+Js) invoke a web
    service running on a different server
    An AIR application isn't hosted on a server, so all web
    servers are "foreign" to your AIR application. An AIR app does get
    downloaded from a server, most of the time, but it doesn't maintain
    some kind of special connection to that server.
    Because of this, there are no cross-domain restrictions in
    AIR like you have in a regular web browser.
    quote:
    Can AIR application(developed using HTML+Js) detect the
    connectivity of USB drive
    AIR does not allow low-level system access, and has very
    little in the way of platform-specific capabilities. So, you'd have
    to use a high-level, platform-agnostic way of checking for the
    drive, such as by looking around to see what files are available.
    Things like USB insert notifications are way outside the scope of
    AIR.
    quote:
    I want the data from Servlet to send back to HTML page where
    I can display it on the same HTML page where user entered his
    details.
    That question isn't on-topic here. Ask on a forum dealing
    with JSP servlets.

  • How to read http cookies from adobe desktop Air app using flex/flash builder in AS 3.0 ??

    Im developing Adobe desktop air app where i need to read the session id from the cookie of a http request.
    I have found a property called URLRequest.manageCookies supported by AIR so i Hope there should be a way to read the cookies as well. Im Using Flash Builder 4.5
    Please provide any reference code or guide me for this research;
    searched a lot regarding on this web.
    Most results lead to local shared object or reading cookies fr a webpage using javascript and ExternalInterface.
    I want to read http cookies not Local shared Object and in a desktop AIR application.
    Im using Flash builder 4.5
    Thanks
    Hari

    Sorry, but you are at the wrong forum; this one is only for discussions on the forums themselves. The Air forums are here:
    http://forums.adobe.com/community/air

  • Creating a hero photo slider using jquery but the nav bar sub menus go behind the hero div tag

    Dropbox - Butler Lawyers
    Hello Everyone
    I m designing a site with a hero photo slider using jquery. My problem is, the nav bar submenus are going behind the photo slider  so you can't see the  Legal Services tab sub menus. I have provided a dropbox link to the entire project. I m working on the file entitled index.html. Any thoughts on how to fix the problem???
    Thank you in advance
    Paul

    Hi Paul
    Sounds like a z-index problem.
    We really need to see ALL your files to solve your issue quickly and accurately without a lot of guessing and questions back-and-forth.
    Just rename a copy of your problem page  (such as "test.html")  and upload it to your server (with any associated files) in whatever folder the original page was located, and simply post a link in the Forum and tell us your problem.
    This saves you having to cut and paste miles of code into the Forum for the page and all the dependent CSS, JS etc. files.and saves us from having to recreate all your files, find your images and then repair your code and test the solution for you.
    I trust this is helpful.

  • Air App will not read local text file using openAsync/readUTFBytes on user (non-admin) mode

    I am running an Air App I did for the desktop, from the actual installed executable already deployed in the machine (Not from Flash Pro / Flex dev. environment). For some reason the app will not read a text file stored in the same application folder unless I run my app as administrator from the OS.
    When I run the app as admin, or within the development environment it works fine. Maybe this is related to some security issue? I read the adobe air documentation, and this should work...
    I am using openAsync/readUTFBytes on user as shown here:
    var continueGamesConnection:FileStream();
    var continueFile:File = new File(File.applicationDirectory.resolvePath("continueGames.txt").nativePath.toString()); 
    continueGamesConnection.addEventListener(Event.COMPLETE, openSavedGames);
    continueGamesConnection.openAsync(continueFile, FileMode.UPDATE); 
    function openSavedGames(event:Event):void
         continueGamesConnection.removeEventListener(Event.COMPLETE, openSavedGames);
         var content:URLVariables = new URLVariables();
         var loadedContent:String = new String();
         loadedContent = continueGamesConnection.readUTFBytes(continueGamesConnection.bytesAvailable);
         content.decode(loadedContent); 
         variableX = content. variableX
         //etc, etc. 
         continueGamesConnection.close();
    By the way, I have also, tried using FileMode.READ, and others, and it still gives me the same problem. Only works if ran on admin mode or from the dev. environment.
    It's very frustrating, I tried reading other posts without any luck... What solutions do people use for this kind of problem?
    I have seen that you can set the app to run as admin somehow, and I guess that could work. However, this should work just fine, since it doesn't seem to violate any of the security APIs of Air. Seems like an overkill. But even so, how do I do that?
    You help is greatly appreciated!

    Thanks kglad.com. I will try this and see if it works. Can you check my code a bit to see if it's right?
    var continueFile:File = new File(File.applicationStorageDirectory.resolvePath("savedgames/continueGames.txt").nativePath.toString());
    Does this look right to work across all desktop OS?

  • How to use expansion files for AIR app (flash cs6) on Google Play Store

    I am currently working on an app that will undoubtedly end up bigger than the maximum size of 50 MB for the APK, and I have no clue how to add files to an expansion pack, how to load expansion pack, what files need to be in expansion pack, or even what an expansion pack does/how it works. If anyone can point me in the right direction, that would be great, I want to make an expansion pack now before I get even more files.

    Haven't had a need to do this for file size purposes but since we can now download and use SWFs with ABC, I just specify my external SWFs when I compile and once my app is run it downloads the SWFs (with a pretty preloader) before the user can do anything. I have my own servers so I believe that's all that Amazon Bucket is actually used for. That user didn't have their own web servers to serve up the SWF content from.
    Aside that, check the answer here. Google will turn any extra files uploaded for your app into OBB for you. You just upload the SWF:
    Create expansion file for AS3 android Air App Flash cs6 - Stack Overflow
    It also outlines if you need to upload multiple files then .zip them up and use an AS3 .zip library to extract the files.

  • Newby Question: Can AIR app have BOTH use HTML and Flex?

    I need to make a desktop app using HTML and JavaScript but I want 99% of the logic to be written in Flex.  Is that possible?
    Also, do I need to buy Flash in order to compile Flex?  Or does AIR SDK include a compiler?
    Pete

    Yes, it is possible.  For Air apps, Flex has an html control that is basically a self-contained webkit browser you can drop into your application.  You can insert html either by loading an html string, or pointing the browser to a particular location on your filesystem or on the internet.  As far as javascript, it can either be part of the site you load into the browser, or you can "cross-script" javascript in action script.  Cross-scripting may be better in certain instances, because then you can use controls written in flex to access or manipulate the html content.  To cross-script, you do something like this: var dom:Object = html.window.document, where "html" is the id of your html control.  Then, you can access javascript methods and properties through the dom object, like this: var p1:Object = dom.getElementById("p1").  See the webkit docs for available javascript methods and properties.
    No, you don't need to buy Flash.  The Flex SDK has a compiler.  You still might want to get Flex Builder (or the upcoming Flash Builder, which is the same as Flex Builder, but very different than Flash--not confusing at all...).  Or I think there are some third party IDEs for Flex, one or more of  which might be free, but I'm not sure.  I imagine it would be pretty hard for someone just learning flex and air to start building apps without Flex Builder.  Also, I think the beta of Flash Builder is still available for free, if you want to try it out.

  • Want to use pushViewController and segues from UINavigationController in AIR app on iOS

    Ok, this might be a long shot, but here goes.
    My iOS AIR app includes a bunch of native screens defined in a storyboard.  I have them included by putting them into a native (static) framework, including that framework in an ANE, and adding code to instantiate and add the various ViewControllers to the screen.
    I can add a ViewController as a child and get its view to show on the screen with the following obj-c code in my ANE:
    [[[[UIApplication sharedApplication] keyWindow] rootViewController] addChildViewController:controller];
            [[[[UIApplication sharedApplication] keyWindow] rootViewController].view addSubview:controller.view];
            [controller didMoveToParentViewController:[[[UIApplication sharedApplication] keyWindow] rootViewController]];
    However, some of the views have child views that use segues and the push stack from UINavigationController.  When these screens try to load, I get the following error:
    Apr 21 13:50:43 raspberry LKW_Smash[7703] <Error>: *** Terminating app due to uncaught exception 'NSGenericException', reason: 'Could not find a navigation controller for segue 'MemberOptionsSegue'. Push segues can only be used when the source controller is managed by an instance of UINavigationController.'
    So I attempted to get access to the app's UIViewController, and push the new ViewController onto the stack with the following code:
    [root.navigationController pushViewController:controller animated:YES];
    But root.navigationController is nil!  It looks like the app doesn't have one!
    So after all that, my question is this: How do I create an AIR app that includes a UINavigationController and is not simply just a single-view app?

    Sync the contacts on your Mac with Google Contacts as well... There is no need to involve iCloud.
    Perhaps you should take a look at Google's help pages.

  • Launch native air app(desktop) using URI scheme

    Have a air application for handling files. Is it possible to launch using URI.
    The same question has been asked on stack overflow without definite answer
    http://stackoverflow.com/questions/8956316/open-a-native-air-app-via-url

    It does have half an answer. SWFs can request loading AIR applications so they suggested embedding a SWF on the page which would be able to launch your AIR application. Your link would need to fire off some JavaScript to use the ExternalInterface with the SWF to relay your request inside the SWF. 
    If you really want it on Windows for example then you'll need to register your URI, the example should be self explainatory:
    http://msdn.microsoft.com/en-us/library/aa767914(v=vs.85).aspx

Maybe you are looking for

  • Upload Photo's for Slideshow Transfer

    I have attempted (multiple times) to upload photos' in LR3 for a slideshow  and half way through I keep getting a server error message - any hints?? Message was edited by: mck05pcna

  • Lost my closing icons

    The little red, yellow and green buttons in upper left corner have disappeared off my my screen unless iI reduce size, this never happened before, how do I get them back?

  • Portal - ESS error in Wroking time-- Leave request.

    Hello Masters in ESS/EP, I am getting the following error in EP for Leave request in Working time:- com.sap.tc.webdynpro.progmodel.context.ContextConfigurationException: DataNodeInfo(FcForm.Orig_Request.Item_to_Check_Orig): structure field Umskd not

  • VIDEO Screen CAPTURE + Snapzpro

    I use snapzpro to video screen capture for demos that I produce. Recently a colleague sent me one captures with Camtasia software and the quality was fantastic compared with snapzpro. I've set the snapzpro options to the highest quality but it just d

  • Having issues getting certain types of videos to play. One kind is Vimeo.

    Vimeo and other types of video do not play in FF. Youtube plays well. Flashplayer plays.