Populating a Combobox using Remoting with AMF and PHP

Hello all
I am using Zend framework and Flex 3.4 to create a webapp. I am stuck at how to populate a combobox dynamically using the service I created in PHP.
In some of examples I saw that result of database query was being converted into XML and then sent to Flex. This seems a little too time-consuming if I have to do it every time. I saw some examples in Adobe Docs about Remoting with AMF and PHP. That seems like a better approach although how it would be applicable here is beyond me right now.
Can somebody guide me in correct direction?
Thanks and Regards
Shivik

Try this: http://code.google.com/p/as3flexdb/ is very easy to use and it
will help.
All you need to populate a combo is:
<mx:ComboBox dataProvider="{query.Records} /

Similar Messages

  • Using databases with Flash and PHP

    Hi, everyone!
    I`m a PHP newbie. I just learned PHP so that I can use
    databases with Flash.
    I`ve got a .php script that contains html that loads up my
    .swf file. The .swf file is the core of my site. What I want to
    know is if I can call some PHP functions (that I have wrote in the
    .php script) from within the .swf file... This functions would
    perform the reading and updating of my database.
    The only way I know of to modify a database from Flash is
    using the POST and GET methods. But that opens up a new browser
    window in which the PHP script is called. And that only handles
    writing in the database. So, what if I just want to read from the
    database some values and insert them into a TextField in Flash? How
    do I do that?
    Thanks! Ardy

    1. Goggle "Flash and mySQL" and you'll get a listing of alot
    tutorials
    2. I'm also just learning. Here's a great URL to start:
    Building with Flash and MySQL
    That's right, a Flash-based blog — it sounds a little
    loony, but this blog pulls content from a MySQL database and feeds
    it into the dynamic Flash frontend ...
    www.webmonkey.com/programming/php/tutorials/tutorial2.html -
    20k - Cached -

  • Using remote with more then one computer.

    Can i use remote with different computers? It works fine on mine but if i try to use it with another computer in the house it doesn't show up in itunes.

    If you want to connect and use an iPod (other than a shuffle) on more than one computer you need to change the update preference in the iPod Summary tab to "Manually manage music and videos" and click Apply.
    Using iPod with Multiple computers
    Managing content manually on iPod
    Note: When changing from automatic to manual, check the "manually manage music and videos" box in Summary then press the Apply button. "Don't" uncheck Sync Music in the Music tab, it will be unchecked by default when you choose the manual setting, if you uncheck it without setting the iPod to manual first you'll erase all the songs from your iPod
    Something else to be aware of when using an iPod in manual mode is that the "Do Not Disconnect" message will remain on the display until you physically eject the device. In that case use Safely Remove Hardware icon in the Windows system tray on your desktop or check this link: Safely Disconnect IPod

  • Any Problems using SSL with Safari and the move with Internet explorer to require only TLS encryption.

    Any Problems using SSL with Safari and the move with Internet explorer to require only TLS encryption.

    Hi .
    Apple no longer supports Safari for Windows if that's what you are asking >  Apple apparently kills Windows PC support in Safari 6.0
    Microsoft has not written IE for Safari for many years.

  • Using url with username and password in URL class

    Hi,
    I'm writting an applet in which I use getAppletContext().showDocument with an URL.
    The problem is that I'm using URLs with username and password (http://user:[email protected]/page) and it isn't working because the browser is getting the URL http://user/page.
    Is this a bug in the URL class? Or in the showDocument method?
    Is there any way to make this work?
    Thanks for any help,
    Pedro Prospero Luis ([email protected])

    I'm not sure whether this is supported behaviour. I've had this syntax fail to work in the Netscape address bar so I can't recommend it as an approach for authentication.
    If you want to authenticate the user before redirecting to the page, though, you could try creating a connection to another page on the same server and sending the authorization information then. Your browser may then be successfully authenticated.
    See http://www.javaworld.com/javatips/jw-javatip47.html for information on this.
    You might not need to read back the page from the server, just connect to it. Might work.

  • How do I re-pair the white Remote with iTunes and/or AppleTV 1

    how do I re-pair the white Remote with iTunes and/or AppleTV 1...?
    iMac 8,1 - OSX10.6.8

    Note that our test system may show more or different columns than yours, but what you see in this screenshot is our iTunes 11 music library in "Songs" view, sorted by artist. The major difference from prior versions of iTunes is the lack of the sidebar that gave you quick access to all of your content.
    Don't worry, it's still available! We just have to turn it on. To do so, go to the View menu and choose "Show Sidebar," as shown in the image below:
    http://www.macobserver.com/tmo/article/how-to-restore-the-sidebar-in-itunes-11
    I saw this on their web site... Hope it helps.
    WEU

  • Hello, I'm using ubuntu with firefox5 and can not find the option to import my bookmarks file backup

    Hello, I'm using ubuntu with firefox5 and can not find the option to import my bookmarks file backup

    Is that Ubuntu 11.04?
    Ubuntu 11.04 displays window menus in the control bar at the top of the screen<br />
    Click on Bookmarks/Show All Bookmarks then move your mouse to the left upper corner toward Firefox Web Browser.<br />
    You'll get pop up menu (Organize, Views and Import and Backup).<br />

  • After itunes finishes restoring my ipod touch 8gb, itunes still says itunes has detected an ipod touch recovery mode. You must restore it before using it with itunes. and i dont knwo what to do

    after itunes finishes restoring my ipod touch 8gb, itunes still says itunes has detected an ipod touch recovery mode. You must restore it before using it with itunes. and i dont know what to do

    Are you sure it is 1043? I've never seen that error before. But you can try disabling your security software, connecting the phone to a USB port directly on the computer (not a hub), and trying to restore again.

  • Need Urgent Help with Apache and PHP

    I have been struggling with apache and php for a week now and I finally broke down to post a message.
    I have apache 1.3 running on my mac mini g4 with 10.4.9 and I installed sql. I went to the entropy website and downloaded php5 to install without knowing I already had php4 on the machine. I installed 5 but could not get it to work. I then went back to httpd.conf and tried to install php4 by uncommenting out the loadmodule and addmodule lines. I restarted apache but php still did not work. I tested the phpinfo.php script but all I got was the script in Safari and not the actual page. At the moment, I have php4 and php5 on my machine but can't get either one to work. I am sure there is an easy fix but I don't know it. Please help.

    The problem is not terribly complicated, but Apache will not start with the entropy file in the folder
    /etc/httpd/users/
    Let me experiment on you. Rename the entropy file and then try to start Apache. To do this, open Terminal and paste this command:
    <pre>sudo mv /etc/httpd/users/+entropy.conf /etc/httpd/users/+entropy<pre>
    Now check the Apache configuration:
    <pre>apachectl configtest<pre>
    If it says "Syntax OK", start Apache:
    <pre>sudo apachectl start<pre>
    Since we only disabled the entropy file, you should be able to enable PHP5 with some more advanced configuring.

  • Bug report: A keyboard layout is incorrect on the remote with Hungarian and other "exotic" keyboard layouts

    This is a bug report for Microst Remote Desktop
    ===================================================
    ## Summary
    A keyboard layout is incorrect on the remote with Hungarian keyboard
    ## Version Information, I tested
    * Client
        * Case 1
            * MacBook Pro with HU101 Keyboard
    * Locale: Hungarian
            * Mac OS X Maverics 10.9.2
            * Microsoft Remote Desktop 8.0.6
    * Remote
        * Case 1
            * Windows Server 2003 R2 (English)
        * Case 2
            * Windows Server 2008 R2 (English)
        * Case 3
            * Windows 8.1 (Hungarian)
    ## Detail of bug
    When I connect to the listed remotes the client sets the keyboard layout to Latvian which is a completely different layout than Hungarian (not even close...).
    - On Windows 8 if I set the language on the login screen it stays on that language after the login.
    - On Windows Server 2003R2 and 2008R2 even if I set the language at login it will switch back to LV after the login.
    ## Attachments
    Unfortunately cannot include my shots because I'm not allowed to do this...
    ## End of report
    Please allow the users to set the correct "target" language on connection basis because the automatic method the app use to determine that is unreliable.

    Hi,
    Thanks for the feedback.
    I will forward this to the product team.
    Thanks.
    Jeremy Wu
    TechNet Community Support

  • Using REMOTE with a mac

    from the apple website:
    Using Keynote Remote with Bluetooth
    When a Wi-Fi connection is unavailable you can use Keynote Remote with Bluetooth to control your Keynote slideshow from one iOS device to another (iPad, iPhone, iPod touch). However, slides may take longer to appear on Keynote Remote when connected via Bluetooth. You cannot use Keynote Remote via Bluetooth with a Mac.
    really???........ what is the point? Can i use it with a PC? who's million-dollar idea was this?

    I'm not sure that Tuttle's answer is quite the answer you're looking for. Sounds like you sometimes want the remote to control the iPhone in the dock, while other times you want it to control the MBP. If that's correct, there's really only one decent option: two remotes. Both devices should have come with a remote, so you should already have two. You can [pair one with the computer|http://support.apple.com/kb/HT1619] and [pair the other with the dock|http://support.apple.com/kb/TA23708?viewlocale=en_US]. You'll need to label the remotes somehow so you can tell which is which.
    Alternately, of course, you could just change the pairing every time you want to switch devices, but that seems like a bit of a pain to me.

  • Using remote with audigy live

    hey my buddy has the remote RM 500 from the audigy 4 that he doesnt use. is there anyway i can use it with my audigy li've 24. i tried to install the media player from his installation disk but the remote still doesnt work? any suggestions? thanks

    thanks. i installed your app and it doesnt seem to pick up any signal. my front ports are hooked up... my comp recognizes the receiver and says it is ready for use, but nothing works. it reads it as a usb ir receiver. ill try to fiddle with the device manager...maybe ill get it to activate somehow in there...thanks again.
    edit: i downloaded the remotecenter and it was unable to locate an appropiate receiver.Message Edited by jlbm2004 on 0-0-2006 :0 PM

  • Apple TV3 turns off and on when using remote, already reset and restarted.

    Apple TV just started acting up yesterday.  When using remote, light on Apple TV would turn off and on so it would somewhat work when the light was on and would not when light when off.  When light is off and in a menu selection, cursor would just move to the end of the list and stop.  Already restored back to factory and reset it.  Difficult to program after reset when remote only works part of the time when the light goes on so stuck in out of the box condition.  Any help on this?  Thanks!

    Hello stiktani,
    After reviewing your post, I have located an article that can help in this situation. It contains a number of troubleshooting steps and helpful advice concerning Apple TV remote issues:
    Apple TV (2nd and 3rd generation): Resolve issues with Apple Remote
    Thank you for contributing to Apple Support Communities.
    Cheers,
    BobbyD

  • I can't seem to see sync my mac and iphone using iCloud with numbers and pages how can i correct this?

    Hi
    I've used Numbers and Pages for IOS for sometime now and when i use safari to look at my icloud account i can see all my files. Recently i bought Numbers for Mac and now whenever i create a spreadsheet on my mac i can't see it on my iphone but i can if i login to icloud. In fact i can only see about 16 files on my iphone when there is over 40 files.
    Although i don't yet have pages for mac i now have a similar problem with Pages, whenever i edit a file or even create a file on IOS it doesn't appear in icloud.
    I did think it was something to do with me not selecting backup to icloud so i then spent £14 to upgrade my storage to 15GB and that hasn't helped.
    I've checked all the settings and can't see anythng that will cause the problem.
    My iphone is running IOS 6 and my Mac is running Mountain Lion 10.8.2
    Does anyone know how to correct this mess?
    Many thanks in advance.
    Mick.

    Problems with buttons and links at the top of the page not working can be caused by an extension like the Yahoo! Toolbar or a Babylon extension that extents too much downwards and covers the top part of the browser window and thus makes links and buttons in that part of the screen not clickable.
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do not click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode

  • Using webaccess with ipad and android tabs

    Because of different browser agent, the gw 2012 webclient has not the
    same behavior as the standard webclient using firefox or chrome on pc.
    I want to access the documents folder. How to do it on this mobile devices?
    with regards and thx
    Go
    Gotthard Anger
    Anwenderbetreuung Netzwerkadministration
    Landeskirchenamt der EKM
    [email protected]
    Mails an diese Adresse werden nur nach vorheriger Ansage gelesen!
    Mails for this address will only be read if you trigger me before.

    Project status at this time:
    I edited webacc.cfg and commented out the lines for ipad and android
    tabs, e.g.
    #templates.useragent.1.id=*Linux*Android*GT-P*
    #templates.useragent.1.interface=mobile
    Now these devices bring up the whole web application.
    now I only have to fix this odd behaviour of the webaccess client
    loading documents
    Am 20.09.2012 09:50, schrieb Gotthard Anger:
    > Am 20.09.2012 09:47, schrieb Gotthard Anger:
    >> Because of different browser agent, the gw 2012 webclient has not the
    >> same behavior as the standard webclient using firefox or chrome on pc.
    >>
    >> I want to access the documents folder. How to do it on this mobile
    >> devices?
    > Edit:
    > no native access to groupwise server, datasync only via active sync
    >>
    >> with regards and thx
    >>
    >> Go
    >>
    >>
    >>
    >
    >
    Gotthard Anger
    Anwenderbetreuung Netzwerkadministration
    Landeskirchenamt der EKM
    [email protected]
    Mails an diese Adresse werden nur nach vorheriger Ansage gelesen!
    Mails for this address will only be read if you trigger me before.

Maybe you are looking for

  • Unable to use the OCWST or Web Client to connect to the calendar Server

    While trying to log into the calendar using the web client i am getting the error : An error occurred during processinig Information: Cannot retrieve node information While connecting using the OCWST i am getting the error; I am using WSAD to do the

  • Lid closed actions

    Is there a way to set up my Mac to do no action when the lid is closed? In other words I want to be able to close the lid and have the laptop continue to do whatever it is currently doing, such as continue to play music with iTunes.

  • Samples play over one another

    I've got some audio samples loaded in EXS24--dialogue from movies to be specific. Previously, I had it set up so that I could trigger sample A via my midi keyboard and even if, for example, that sample was 10 seconds long, if I immediately hit anothe

  • Airport Extreme- anybody have a workaround for the lack of Wake on LAN ?

    I've read in a number of places that the Airport Extreme (and other Apple routers) don't allow for the standard Wake on LAN packet to wake a sleeping Mac. Does anybody know of a workaround for the Airport Extreme that might allow for waking a sleepin

  • N95 Error when updating Adobe Flash player

    On my Nokia N95, the Adobe Flash lite player got the version 2.0 built in (that version do not support Flash application ver. 8) So I tried to update the player on the Adobe web site to Flash Lite 2.1 for Symbian  and even tried to install the plug-i