Flex/Air Access up/download to a relational DB - BLOBS

I am coding an homebrew application to access a database of my personal photos (stored as jepgs) which is going to load up a gallery of thumbnails and then drop the original into illustrator/photoshop. My database is mysql with the jepgs stored as binary large objects and will be on a separate server to the laptop running the app. I have a layer of PHP dealing with the database access and then ontop I have an Air application. The point is going to allow me to load a thumbnail library of all my photos in the application, if needs be allow the application to load illustrator an then perform some editing and then the application needs to be upload the edited image back into the database. Ideally when I come to polishing the app I'll be looking at doing this through a drag/drop interface.
I tried using Flex but couldn't get the app to call/load the local illustrator/photoshop application, so I moved it to an Air application and seem to be going okay apart from the fact I seem to be more limited in terms of the database access and the amount of files that the air app can pull out of the database at any one time and the ability to write back the photo from illustrator back into the database. Both Air and flex have ahd issues with dealing with BLOBS also.
I'm pulling my hair out a bit trying to get this to operate and since taken a step back to re-look at my design and see if mysql with the php layer is the most efficient method for storage and 'talking' to either flex/air? i.e. Flex/Air receiving the data as BLOBS?
Would something like coldfusion offer me any improvements in this scenario swapped for the PHP? Or even changing the DB to something more mainstream such as oracle 9 lite or sql server? In terms of the application itself is my movement over to air pre-emptive? Or should flex be able to deliver all the functionality of AIR without any messy coding workarounds?

Yes I posted the current tables in the last part so yes I have a FK in the images table...
(tbCategories)
(PK)catID
category
catThumb
(tbImages)
(PK)imgID
imgTitle
imgDescription
imgThumb
imgMain
(FK)catID
Ok so when building this page on the page that I referenced I would query the tbCategories to pull the most recent category list then correct?
Then when going to the detail page when the selected category is selected I would pass the catID and then let the record set reflect the query that was built in Access so it shows only the photos from the selected category?
thanks
B

Similar Messages

  • Flex AIR access OS taskbar running application

    Hi,
    I have seen a post that explains to launch an application
    (mx:WindowedApplication). Similar to this could
    we get handle on the external running application (listed in
    System Taskbar not system tray).
    Thanks

    I've made menu's already for the application. They are native os x menu's but they are used create contextual menus (file, edit, view...etc...) and are only visible when the application is open. Unless their is a feauture I missed I don't think I can do it with those. I'm looking for the ability to create a menubar icon application similar to twitter, or the default apple spotlight.

  • I have a MacBook Air and recently downloaded the new operating system. Since that time, I am no longer able to access my personal ITunes library to add music to IPhoto slideshows.  I put I tunes library on my desktop, as suggested. How do I drag it?

    I have a MacBook Air and recently downloaded the new operating system, 10.10 OSX Yosemite. Since that time, I am no longer able to access my personal ITunes library to add music to IPhoto slideshows.  I put I tunes library on my desktop, as suggested. How do I drag it to the I Photo slideshow?

    That crash appears to be casued by the Facebook plug-in.
    Create a new account (systempreferences -> accounts or Users & Groups on 10.7 and 10.8), make a new Library in that account, import some shots  and see if the problem is repeated there. If it is, then a re-install of the app might be indicated. If it's not, then it's likely the app is okay and the problem is something in the main account.

  • Have just purchased iPad Air and have downloaded my apps onto it.  When I access Candy Crush I'm back at level 1, how can I get to the level I was on my old iPad?

    Have just purchased an iPad Air and have downloaded my apps onto it.  When I access Candy Crush I'm back at level 1, how can I get it back to the level I was at on my old iPad without starting from the start again?

    Transferring from old to new
    http://support.apple.com/kb/HT2109

  • Access Raw Outgoing NetStream Data in Flex/AIR

    I have a Flex/AIR desktop application that connects a local camera and microphone to a NetStream for delivery to a Flash media server.
    However, I would also like to archive a copy of the outgoing stream locally on the filesystem. Is there any access to the actual bytestream of a NetStream object (even in the dreaded mx.internal namespace) that I could turn around and feed to a FileStream for the local archive?

    Am I to guess there's just no way to access that raw bytestream from within Flex?

  • NEWBIE: Flex/AIR and databses

    Hi all,
    I'm a Director(lingo) user and use flash with actionscript
    for UI in app.
    I'm now playing with Flex3 to see how it compares etc.
    OK, one of the things I think i'm getting confused with and
    need some clarity (in not too technical terms!), is the ability to
    connect to a database online(with flex) and offline(with AIR).
    For example, if I have a simple database with 'name', 'age'
    and 'sex', with Director I could use a simple ADO Xtra to connect
    to the database and add/ammend the records. - In this example,
    Director would be running as an .exe on the users PC with the
    database either local or on a network. The database could be a
    simple mdb (access) or sql etc.
    So, is it possible to have an AIR application connecting to a
    local database? and does that database have to be a specificv type?
    or can it be an mdb? If so, how is this implemented?
    When it's web based with flex, am i right in thinking that
    flex does not actually connect to a database, but instead uses a
    'third party' such as php, asp etc to do this?
    As you can see, im confused!! Can someone explain in simple
    terms?
    Thanks everyone,
    Tim

    The AIR player has a built-in version of SQLList. There is a
    set of SQL classes in the AIR player you can use. Check out this
    article on my blog:
    Using
    SQL with AIR - you can download the code and check out the
    database classes.

  • Flash, Flex, AIR Which is best for producing small interactive apps?

    Hi
    I posted to the flash forum but really looking for feedback from flash, flex, AIR users as well
    I'm looking for the forums thoughts and advice on which of Adobe's current technology set (CS5) is best suited for creating small interactive applications/packages by users who would not have any background in coding and very little interest in learning coding.
    The idea is that users would know basic drag & drop development and maybe extend it to include some basic scripting to wire up elements of it. The ability to develope applications for a range of access points (website, mobile, desktop) would also an added benefit
    The over arching idea would be to let the users create some apps/programmes/packages quickly on any topic they like but not bog them down with coding
    Which CS5 technologies would be best for that

    I don't see how it would be any different for mobile than for desktop, considering the biggest difference is frame-size.
    Flash Builder is very good at building fluid layouts.  VERY good.  By extension, Catalyst, built on the same framework, should be too (haven't seen the final version, but the betas were looking good in this regard).
    The entire platform has been getting optimized for mobile creation lately, and CS5 should have a lot of tooling towards that end.
    I would suggest downloading the trial version of the softwares when they are released (supposed to be mid-may) and playing around with it before you decide.
    If you want to, you can hit up labs.adobe.com to download the beta of Catalyst right now, which might give you the answers you need. (Flash Builder was already released, and is available on adobe's site for trial download currently)

  • Flex Air & SSH or FTP ... ??

    I am new to flex, and was wondering if it were possible to
    create a Flex Air application that can access a server using SSH or
    the FTP socket? What I want to do is have a program that downloads
    some necessary files from a server and save it to the local machine
    running the Flex Air Application.
    Is this possible? If so, can anyone point me in the right
    direction to some documentation or tutorials?
    Thanks.
    Rob

    Hello, I've create 2 library sshcmd.swc and scpcmd.swc with adobe air 2.0 to create applications that can send files and commands to remote hosts using ssh. Same that putty.
    Actually is compatible with windows air applications.
    To acquire this library contact me [email protected]

  • Interactive medical report with Flex/AIR, XML, U3D and PDF

    Hello,
    I am computer science student and during my master thesis I want to program an interactive medical report which should include some 3D models (U3D) and which should provide the following options:
    Interactive manipulation of the 3D models
    Typing in a structured medical report
    Loading of a XML file with additional information
    Loading of medical image data (jpg images)
    At best, only one pdf file as resulting report
    And: A nice user interface (I like the interface elements of Flex...)
    I think, the best way is a pdf file which includes all the needed data. The problem is that I don't know exactly what software combination fulfills my requirements... I read some things about Adobe Flex and AIR and the U3D format and I suppose, the great interface builder "Flash Builder 4" might be useful to generate a nice user interface. BUT: I was not able to find out, how to include U3D in Flex/AIR.
    Then I found the nice pdf library iText (http://itextpdf.com/examples/index.php?page=chapters) which is able to produce a pdf file from a swf file and to include a U3D-model with an additional JavaScript file for manipulations.
    BUT again: If I have a swf flash file with the nice user interface (generated with the Flash Builder), how can I access the U3D model in the final pdf document? Imagine: I click on a "rotate" button in the swf and then the U3D-Model in the pdf should rotate...
    Ok, as you can see, it is a complex szenario.
    My questions summarized:
    What, in your opinion, is the best technology for my task? Flex? AIR?
    How can I import the U3D-models? Should I use PaperVision, Sandy3D or something else?
    Is there a way to save user inputs directly in the pdf file, or as new pdf file or as xml file?
    What is the best way to produce the user interface? Flashbuilder, or maybe a html container with "normal" html interface elements and then the events communication between JavaScript and ActionScript?
    How can I export all the stuff to one pdf document? Should I use iText?
    Best regards,
    Steven

    Thanks for making my point - perfect is the enemy of good.  We tolerate less capable, less perfect system that are in place now, because of the false expectation that it should be perfect.  Incremental improvements are rejected, because they are not perfect.  Even an imperfect algorithm can find 'Broken' as a common thread in your example, and highlight them for the clinician to evaluate their impact on the current treatment.  This no less likely to miss the connection than a clinician trying to scan through handwritten notes, in the 5 - 10 minutes he/she has to interact with the patient and determine what to do. 
    Because of legal concerns, incremental but imperfect improvements don't get implemented, so nothing ever moves forward.  Imagine if after the Wright Brothers first flight, no improvements were considered acceptable unless they completely eliminated the risk of failure - there wouldn't be any airlines to go bankrupt today!
    For the most part, IT has focused on activities where 'perfect' is achievable.  Accounting in its various forms have been the primary focus of most IT systems.  In that area, the vocabulary is very limited, well defined, and consistent.  A debit is always a debit, and a credit is always a credit.  Medicine is completely different. It is much larger in scope, poorly defined, the vocabularies are mostly non-existent, and where they exist are incomplete and inconsistent.  Despite the huge leaps forward in the last century, there is still more unknown than known about how and why the body works.  This environment makes most individuals trained in IT uncomfortable.  Until we learn how to deal with 'fuzzy', Healthcare IT is going to be limited to the billing and collection functions that it mostly accomplishes today.
    Mark

  • IOS 6.0 simulator error / Flex+AIR 3.5

    I am not able to run a Flex/AIR program on the IOS 6.0 simulator. I searched all forums. I am new to using IOS simulator. Any help is appreciated.
    I am using Flex 4.6 and AIR 3.5, with target swf version 18. A simple Flex app (WindowedApplication with a Label in it) crashes at initialization in IOS simulator.
    <?xml version="1.0"?>
    <s:WindowedApplication
      xmlns:fx="http://ns.adobe.com/mxml/2009"
      xmlns:mx="library://ns.adobe.com/flex/mx"
      xmlns:s="library://ns.adobe.com/flex/spark">
      <s:Label text="Test"/>
    </s:WindowedApplication>
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
      at spark.components::WindowedApplication/initialize()
      at ptest/initialize()
      at mx.managers.systemClasses::ChildManager/childAdded()
      at mx.managers.systemClasses::ChildManager/initializeTopLevelWindow()
      at mx.managers::SystemManager/initializeTopLevelWindow()
      at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::kickOff()  at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::preloader_completeHandler()
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.preloaders::Preloader/timerHandler()

    Update: the problem was resolved by changing WindowedApplication to Application.
    Is WindowedApplication not allowed for IOS/mobile ? I couldn't find any doc on this.

  • Is there any MS Sql Server connector available for Flex Air.?

    hi,
       I want to connect my flex Air application with MS Sql server.* directly without any server side scripting. I got MySql Connector , which is available in  (http://code.google.com/p/assql/downloads/list). Like this is there any connector is available .Please share it
    thanks
    karthy

    I do have exactly the same questions. SO far the fas_mssql_connector.asp file is placed at the 'wwwroot' folder of the 'inetpub' folder of the IIS server. As hostname I use '[MyServer]' since it should run on the same machine and username and password are correct.
    The fas_MSsql_Clean file is setup in a way that the name of the database is specified and the url to the asp file is set as: http://[MyServer]/fas_mssql_connector.asp
    My SQL query looks like this:
    private function getDbData():void
        mssqlQuery("Select * from Tomat", "getDataO3");
    And the MXML document like this:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" minWidth="955" minHeight="600">
        <mx:Script source="Actionscript/MSsql.as"/>
        <mx:Script source="Actionscript/SqlQueries.as"/>
        <mx:DataGrid x="148" y="95" id="dgData">
            <mx:columns>
                <mx:DataGridColumn headerText="Column 1" dataField="col1"/>
                <mx:DataGridColumn headerText="Column 2" dataField="col2"/>
                <mx:DataGridColumn headerText="Column 3" dataField="col3"/>
            </mx:columns>
        </mx:DataGrid>
        <mx:Button x="148" y="264" label="Get data" id="btnGet" click="getDbData()"/>
    </mx:Application>
    However the application is busy for a long time and I do not receive a single piece of data. Any help with this?
    Thanks in advance.

  • Where is the Flex/AIR SDK?

    Adobe used to release a combined SDK for Flex and Air that could be used with Flash Builder. There is still a link with this description on the Air SDK download page.
    http://www.adobe.com/devnet/air/air-sdk-download.html
    However, the combined SDK does not appear on the gaming page. There is only something new called the Gaming SDK.
    http://gaming.adobe.com/getstarted/
    Is the Flex/AIR SDK available somewhere for AIR 3.5? Or do I need to get the Gaming SDK?

    There is also an AIR SDK outside the gaming SDK. I am looking for the Flex/AIR combination.

  • Accessing past downloads and updates

    Is there any way to access app downloads and updates beyond 14 days in the past on iTunes Connect?

    I got it, sorry
    It's all there, back to April 2009 I believe.
    But I wouldn't waste time using iTunes Connect...
    Get your hands on one of the 3rd party report management tools such as AppViz, AppAnnie, etc. Google is your friend. You can export from AppViz if you like.
    Apple provides a JAVA related tool too that should be linked via the Dev Center but it's total DIY.

  • Flex AIR iOS application with rtmps

    Hi,
    If I am accessing flex AIR application from Mac or iOS (iPad) using secure rtmp then it gives me error. It is not able to connect to the server.  I have a self signed certificate generated using java keytool. I have configured it on tomcat and it works for the ssl in browser with https://localhost:8080, but fails when using rtmps from flex application especially in Mac and iPad.  It works in Android tablet and windows machine though.
    Here is the configuration in I gave in the server for ssl.
    <server id="secure-nio-server" class="flex.messaging.socketserver.SocketServer">
            <properties>
                <keystore-file>D:/keystore.jks</keystore-file>
                <keystore-password>password</keystore-password>
            </properties>
        </server>
    <channel-definition id="mobility-rtmp"
          class="mx.messaging.channels.SecureRTMPChannel">
          <endpoint url="rtmps://{server.name}:@flex.rtmp.port@"
            class="flex.messaging.endpoints.SecureRTMPEndpoint"/>
       <server ref="secure-nio-server">
          <properties>
            <idle-timeout-minutes>20</idle-timeout-minutes>
            <!-- for deployment on WebSphere, must be mapped to a WorkManager available in the web application's jndi context.
            <websphere-workmanager-jndi-name>java:comp/env/wm/MessagingWorkManager</websphere-workman ager-jndi-name>
            -->
    </properties>
    </server>
        </channel-definition>
    Here is the exception I am getting on server side.
    INFO: [LCDS] 01/21/2012 17:14:44.258 [ERROR] [SocketServer.General] Thread[secure-nio-server-WorkerThread-2,5,main] failed to read Connection '521330370' or process the data; Connection is in the 'Handshaking' state and will be forced closed.
    javax.net.ssl.SSLException: Inbound closed before receiving peer's close_notify: possible truncation attack?
    at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SSLEngineImpl.fatal(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SSLEngineImpl.fatal(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SSLEngineImpl.closeInbound(Unknown Source)
    at flex.messaging.socketserver.SSLConnection.handshake(SSLConnection.java:298)
    at flex.messaging.socketserver.Connection$ConnectionReader.run(Connection.java:845)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Jan 21, 2012 5:14:44 PM org.apache.catalina.core.ApplicationContext log
    INFO: [LCDS] 01/21/2012 17:14:44.258 [DEBUG] [SocketServer.General] Thread[secure-nio-server-WorkerThread-2,5,main] Connection '521330370' has changed state to: Closing
    Jan 21, 2012 5:14:44 PM org.apache.catalina.core.ApplicationContext log
    INFO: [LCDS] 01/21/2012 17:14:44.258 [DEBUG] [SocketServer.General] Thread[secure-nio-server-WorkerThread-2,5,main] closing Connection '521330370'.
    Jan 21, 2012 5:14:44 PM org.apache.catalina.core.ApplicationContext log
    INFO: [LCDS] 01/21/2012 17:14:44.258 [DEBUG] [SocketServer.General] Thread[secure-nio-server-WorkerThread-2,5,main] Connection '521330370' has changed state to: Closed
    Jan 21, 2012 5:14:44 PM org.apache.catalina.core.ApplicationContext log
    INFO: [LCDS] 01/21/2012 17:14:44.258 [DEBUG] [SocketServer.General] Thread[secure-nio-server-WorkerThread-2,5,main] closed Connection '521330370'.
    Jan 21, 2012 5:14:44 PM org.apache.catalina.core.ApplicationContext log
    INFO: [LCDS] 01/21/2012 17:14:44.258 [DEBUG] [SocketServer.General] Thread[secure-nio-server-WorkerThread-2,5,main] Connection '521330370' finished a read. -1 bytes were read.
    Please help.
    Thanks,
    Swathi.

    Did you get anywhere with this, I'm having a similar issue?
    I have an Air app that works fine using rtmp in iOS but not rtmps (it works fine in Android for both). The release notes for 3.1 (http://kb2.adobe.com/cps/923/cpsid_92350.html) suggest there was a problem for rtmps on iOS, but I'm using the latest 3.1 SDK version.
    I'm suspecting an SSL certificate issue as in Android I get prompted as to whether I trust the certificate, but not on the iPhone. I have installed the certificate manually but to no avail.

  • HTTPService problem (ioerror #2032) in flex AIR application

    Hi all,
    I am using flex 4.5 Hero Sdk. Flex Builder plugin. Win7x64. Adobe Air 2.5.
    I have a flex air project which contains 3 library projects included.
    The project uses one of the included libraries for managing HttpService calls to a Tomcat server.
    When I use "merge into code" option for building all projects there is no problem. I can both run in Adl and installed application (exe). HttpService calls works fine in both Adl and Air 2.5 runtime.
    When I use Rsl option for building all projects I can run-debug in Adl However when I run the installed version (I mean this time running the application not with adl, but with Flex Air 2.5.x version installed in win7x64) this time HttpService calls to the server gives ioerror (Error#2032).
    Some information I discovered (may not be related to the problem I stated above)
    When using rsl option, "use local RSLs when debugging" option makes the difference. If this option is false, Adl cannot run the application.
    I tried -use-network=true compiler option, but not sure if I did everything right while trying.
    Shortly I think I need some knowledge for working with RSLs. So, can anybody help me?

    Take a look at http://forums.adobe.com/message/3345972#3345972

Maybe you are looking for

  • Using ipod as a hard drive to transfer data from PC to Mac

    hey, Is is possible to use the ipod as a hard drive to transfer data from/to Mac and windows PCs? I see no problem transfering data from/to my mac to the ipod. But I cannot see the ipod on the PC. When I plug the USB cable to my windows PC, it shows

  • Issue with [env-entry] element in web.xml

    I know it's possible to define [env-entry] elements in web.xml for environment properties of a web application. But how do you access [env-entry] elements from classes that do not exist within a web application? In other words, this is my problem: I

  • We randomly get the "specified Group is in use" error message when using the DIO Buffered Handshake In VI. How do we get rid of this?

    We're using the DIO Buffered handshake in VI (PCI 6503 Board) to read TTL pulses from a wavemeter. Sometimes we are able to collect data, but sometimes we get this error message: "specified Group is in use". No matter how long we wait between taking

  • ORA-01031: insufficient privileges - NOT TRUE

    Oracle: 10.2.0.2.0 Os: Solaris 10 (10/08 s10x_u6wos_07b X86) When I try to connect to db with sqlplus and not indicating SID it connets OK. -bash-3.00$ sqlplus sys/qaz123 as sysdba SQL*Plus: Release 10.2.0.2.0 - Production on Wed Jun 2 00:53:34 2010

  • Air 3.0 Android Front Cam upside-down

    Dear Adobe Community, I am working on an app where I grab the video from an android (2.3.3) device, and stream it to a recording video server. My app is written in AS3 with Flash Pro CS5.5, so I first publish that, then use the adt command line to co