Flex + PHP Application - Change endpoint

I need distribute my applicatión between many clients and i need change the endpoint in every they.
I need any tip about this because i can´t create many "Export release build" with the configuration on _serviceControl.endpoint for every client
I have Flash Builder for PHP 4.6
best regards

Pass it runtime viaflashvars or make a service and call the service for each client to return the proper endpoint.
C

Similar Messages

  • Flex-PHP application using LCCS

    I need to create an LCCS video/audio/text chat application which will be deployed on a website with PHP as back-end. Only 2 people can comunicate with each other. There are a few questions I have related to this:
    Do I need to create different rooms for each user chat as 2 users can chat at a time?
    Do I need to create these rooms on the fly using the PHP classes in LCCS SDK to enable dynamic room creations?
    How do I interact with Flex and these Rooms? Do I need to create some PHP services which after creating a room, send the data to Flex, which Flex uses to initiate the chat application?
    Any help would be appreciated and it would be good if someone can share URL to similar tutorial or example.

    Thanks to all those links and comments were really very helpful. Regarding the Wiki link, point 6.c and 6.d mentions that
    For each user and from your own system, get an user ID, a username, and an assigned role.
    Generate an authToken by passing the required parameters to getAuthenticationToken. The token is a unique, signed string created from the your shared secret, the user's ID and username, and their assigned role.
    Here we need to generate user ID and username on server side? Also how do I define roles using server side scripting?

  • How to move ahead with the flex/php application structure

    Hi,
    Its been a week since I strated learning Flex. I am a regular php web develeper.  Since starting the flex learning I have got one thing there is no concept of "pages" in flex like in a regular php web site..there is "States".
    Now I have  this project requireing a login and then as per login user role different screens.
    Lets say three loging roles 1) teacher 2)Student 3) Admin
    Screens for each role will be diffrent as each have diffrent dashboard feature. I am confused with the structure i have decided is correct or not. Please review or suggest how to accomplish this.
    The main.mxml will have login form.
    it will have three states teacher, student, admin. and then these three will have sub states for particular roles features.
    While going to one book I read a  mxml file has atleast 1 state so can the structure be like this. (Is this possible or not)
    main.mxml will have login form
    three mxmxl files for teacher student admin and each will have statets for their respective features.
    Please reply. I am trying to find out by reading the documentation properly. But your guidance will speed things up and help me  understand things quickly.
    Regards
    Siddharth

    ultimately you want to be aiming to use a MVC structure
    but this is a good tutorial to get started.
    The later videos work through a login/logged in states example
    http://www.adobe.com/devnet/flex/videotraining.html

  • Issues with Error #2048 on deployed Flex/PHP Web Application

    Hello,
    I'm testing out Flash Builder for PHP and I'm running into the following error when deploying to a web servers:
    Send failed
    Channel.Security.Error error Error #2048 url: 'http://testsite.dreamhosters.com/LocatorPHP/public/gateway.php'
    I have looked though documentation and tutorials without any luck.  My application works great on the local Zend Server setup but as soon as I jump to a remote web server I get problems.
    Here's what I've tried:
    1) crossdomain.xml in web root
    2) amf_config.ini updated so zend framework on server and gateway.php are reachable (connecting to gateway.php directly gives me no errors)
    3) attemped to change the flex server option in my project but Flash Builder for PHP will not allow me to change this, so I had to change my php service.as endpoint entry to the gateway.php on the webserver
    Is there a log that can help me troubleshoot the error?
    Thanks in advance.

    Any solution I have just ran into the same issue. App works perfect on localhost phpmyadmin as soon I change everything to our public server ERROR#2048
    I have tried same as above no results.
    After countless hours of searching this worked for me!!!!
    http://forums.adobe.com/thread/674871

  • How to get the data from mysql database which is being accessed by a PHP application and process the data locally in adobe air application and finally commit the changes back in to mysql database through the PHP application.

    How to get the data from mysql database which is being accessed by a PHP application and process the data locally in adobe air application and finally commit the changes back in to mysql database through the PHP application.

    If the data is on a remote server (for example, PHP running on a web server, talking to a MySQL server) then you do this in an AIR application the same way you would do it with any Flex application (or ajax application, if you're building your AIR app in HTML/JS).
    That's a broad answer, but in fact there are lots of ways to communicate between Flex and PHP. The most common and best in most cases is to use AMFPHP (http://amfphp.org/) or the new ZEND AMF support in the Zend Framework.
    This page is a good starting point for learning about Flex and PHP communication:
    http://www.adobe.com/devnet/flex/flex_php.html
    Also, in Flash Builder 4 they've added a lot of remote-data-connection functionality, including a lot that's designed for PHP. Take a look at the Flash Builder 4 public beta for more on that: http://labs.adobe.com/technologies/flashbuilder4/

  • Flex Mobile Application with online database

    Hi,
    I would like to create a Flex Mobile Application but this one have to be read/connect  to a online database ?
    I don't found any tuto or infos about that...
    Could you please tell me if it's possible and if yes, how to do that
    Thanks in advance !

    I don't understand one thing...
    There are different type to do a connection between Flex and PHP.
    Which one is the best ?
    1. With AMF (Flex :  service-config.xml, RemoteObject) (http://www.adobe.com/devnet/flex/articles/crud_flex_php_zend.html)
    2. With Zend Framework (Flex : Callresponder, Time,...)  already included in Flash Builder 4.5 (http://devzone.zend.com/1701/flex-and-zend-framework_part-1/)
    3. With Zend Server and Flash Builder 4.5 with PHP (http://www.adobe.com/devnet/flash-builder/articles/flashbuilder-php-part1.html)
    It's three differents approach but in 2 & 3, it's auto configured with Flex.. however to do a connection between Flex Mobile & PHP (online), I have to use the solution 1
    So, if somebody can help me to explain and understand the difference between that.
    thanks

  • [svn:bz-trunk] 18839: bug fix BLZ-575 Potential race condition in flex. management.runtime.messaging.endpoints.EndpointControl

    Revision: 18839
    Revision: 18839
    Author:   [email protected]
    Date:     2010-11-29 12:26:32 -0800 (Mon, 29 Nov 2010)
    Log Message:
    bug fix BLZ-575 Potential race condition in flex.management.runtime.messaging.endpoints.EndpointControl
    Change a few counters to Atomic numbers
    Probably solve some PMD bugs too (was complaining about new Integer() and new Long() API)
    Ticket Links:
        http://bugs.adobe.com/jira/browse/BLZ-575
    Modified Paths:
        blazeds/trunk/modules/core/src/flex/management/runtime/messaging/endpoints/EndpointContro l.java

  • [svn:bz-trunk] 19782: Add Remoting test application and endpoints for testing login-after-disconnect channel setting .

    Revision: 19782
    Revision: 19782
    Author:   [email protected]
    Date:     2011-01-17 11:21:11 -0800 (Mon, 17 Jan 2011)
    Log Message:
    Add Remoting test application and endpoints for testing login-after-disconnect channel setting.
    Modified Paths:
        blazeds/trunk/qa/apps/qa-manual/WEB-INF/flex/remoting-config.mods.xml
        blazeds/trunk/qa/apps/qa-manual/WEB-INF/flex/services-config.mods.xml
    Added Paths:
        blazeds/trunk/qa/apps/qa-manual/remoting/
        blazeds/trunk/qa/apps/qa-manual/remoting/RemotingApp.mxml

    I appreciate Adobe teams efforts to reproduce the issue and acknowledged it as a  Bug in AIR
    But now I am waiting on them to come back with an answer -  Is it going to be fixed in future versions? Is there a work around?
    Is adobe even considering this as an Issue? What are the next steps after acknowleding the issue?
    I hope I am not too aggressive but I also want Adobe to understand the urgency of the situation when it comes to a product release.
    I have experimented with couple of work arounds but none seem to work.
    If anyone has come across this issue please comment.
    Thanks,

  • Help with Flex - PHP - and SQL Server

    Good afternoon,
    I have been working on this problem for over a week and am at
    my wit's end. I am trying to create an application that will allow
    me and my fellow statisticians to share code easily. The
    technologies at my disposal are Flex, PHP and SQL Server 2005. The
    web server is IIS. I have downloaded and installed the PHP driver
    for SQL Server 2005 and am able to query the database and generate
    XML. The problem I'm having is that I can't return the XML from PHP
    to Flex.
    If I execute the php code in a web browser and view the
    source, it looks like XML. I can then cut and paste the exact same
    code into an xml file and read it in from the harddisk and the tree
    will populate. Can anyone please help me? I don't have flex builder
    so I it's hard for me to use trace and view what is going on.
    Thanks in advance,
    Eric Graves

    Thanks for the suggestion. I have tried every permutation of
    e4x path notation I can think of. You're right, you're not supposed
    to need the root level as that's supposed to be returned in the
    result. So you should only need to reference first level after the
    root. When I do this and launch the .SWF I get a completely empty
    tree.
    I think the problem lies somewhere in my understanding of
    what format Flex needs returned from a HTTPRequest. It's my
    understanding that it just needs to be XML. As far as I can tell,
    that's what I'm sending it. On the PHP side, does it have to be
    cast a special way? Everything I've seen just shows people using
    ECHO to output the XML data.

  • I am developing a flex web application which needs to access Other domain ,is there any other way other than cross domain policy available ? please help

    i am developing a flex web application which needs to access Other domain (Payment Gateway API),is there any other way other than cross domain policy available ? please help.
    we donot have access other domain thats why we want other solution..

    All the paths to CFCs are the same in my live production site.  Can you be more specific as to what you mean by "RemoteClass aliases in your AS Classes and CFCs (if any) are correct."?  How will the app know that the CFC is on http://myLiveSite.com instead of http://myDevSite.com?  The only line of code that I have noticed that points to a URL is the endpoint in a file called _Super_XXX.as.  And at the top of that file it says that the file is not meant for editting.
    To clarify...I see your app/code all exists on a server access via a web browser so I can understand that everything still works when deployed.  Mine is a mobile app so when I am developing and testing on my local computer the URL points to my local development machine.  However when I deploy it to a mobile device like a tablet and run the app, it needs to be able to access a cfc on a remote server via a different URL ie. my http://myLiveSite.com/myCFC.cfc instead of http://localhost/myCFC.cfc
    Thanks for your help!  I will now take a look at your thread.
    Message was edited by: ace0215

  • Call JSFL from Flex Air application

    Hi,
    I have a Flex Air application that converts old style flash
    text var txt files into XML. As part of the process it creates a
    jsfl file that when run will automate through older FLAs and
    upgrade them with changes required.
    My question is this. Using the command
    fl.runScript(locationOfJSFLscript) in flash, it will automatically
    call the script and execute it. How do I do the same in Flex? i.e.
    I have a button in the application. I press it and it sends the
    call to run the script.
    Thank you

    Of course you may have some unstated reason for doing this in Air, but if not...
    Google photoshop droplet....
    Bob

  • Twitter Feed Within A Flex/Air Application

    I am attempting to advance an appilcation I've created so that it incorporates a live twitter feed i.e. when users access the application their own twitter feed is shown within it and is updated live.
    I have no experience in using either twitter itself or how to incorporate twitter feeds into a flex/air application specifically and was wondering if anyone can tell me exactly what I'd need to do to achieve this?
    A further addition my client has requested is the use of live images. The app itself is basically an interactive favourites menu with users clicking on and adding links to sites within the app. Each of these links is represented by an icon which is basically a screenshot of each site. I want to alter this so that these images change live AS the site themselves change so they are constantly up to date. Is this also possible at all and if so can anyone give me advice on how this could be achieved?

    Thanks a lot. I've used another method that simply lets the user enter their twitter name and it loads their live feed. I suppose that way would work too though. Cheers.

  • Help needed in migrating Flex 2 application to Flex 3

    Hi All,
    We are in process of migrating a working Flex 2 application
    to Flex 3.
    There were no compilation errors when application was
    compiled with Flex 3 SDK. But when we start the application, it
    throws a script timeout error:
    Error: Error #1502: A script has executed for longer than the
    default timeout period of 15 seconds.
    at
    mx.managers.layoutClasses::PriorityQueue/removeSmallestChild()[C:\autobuild\3.2.0\framewo rks\projects\framework\src\mx\managers\layoutClasses\PriorityQueue.as:214]
    at
    mx.managers::LayoutManager/validateClient()[C:\autobuild\3.2.0\frameworks\projects\framew ork\src\mx\managers\LayoutManager.as:915]
    at
    mx.core::UIComponent/validateNow()[C:\autobuild\3.2.0\frameworks\projects\framework\src\m x\core\UIComponent.as:5679]
    at mx.core::UIComponent/
    http://www.adobe.com/2006/flex/mx/internal::validateBaselinePosition()[C:\autobuild\3.2.0\ frameworks\projects\framework\src\mx\core\UIComponent.as:5715
    at mx.controls::TextInput/get
    baselinePosition()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\controls\TextI nput.as:408]
    at
    mx.containers::FormItem/updateDisplayList()[C:\autobuild\3.2.0\frameworks\projects\framew ork\src\mx\containers\FormItem.as:913]
    at
    mx.core::UIComponent/validateDisplayList()[C:\autobuild\3.2.0\frameworks\projects\framewo rk\src\mx\core\UIComponent.as:6351]
    at
    mx.core::Container/validateDisplayList()[C:\autobuild\3.2.0\frameworks\projects\framework \src\mx\core\Container.as:2677]
    at
    mx.managers::LayoutManager/validateDisplayList()[C:\autobuild\3.2.0\frameworks\projects\f ramework\src\mx\managers\LayoutManager.as:622]
    at
    mx.managers::LayoutManager/doPhasedInstantiation()[C:\autobuild\3.2.0\frameworks\projects \framework\src\mx\managers\LayoutManager.as:677]
    at Function/
    http://adobe.com/AS3/2006/builtin::apply()
    at
    mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\3.2.0\frameworks\projects\framew ork\src\mx\core\UIComponent.as:8628]
    at
    mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\3.2.0\frameworks\projects\framewo rk\src\mx\core\UIComponent.as:8568]
    The application is taking a huge time to 'validate' each
    component in the UI and each time we observe a timeout at different
    UI component.
    Few observations from our end:
    1. The application is very straight forward and only thing
    complex in it is UI layout. There are a few of complex layouts,
    viewstacks and datagrids used.
    2. The ‘creationPolicy' at application level has been
    set to 'All' because of design. This although is not a standard
    practice but this does not help us because the same application
    compiled with Flex 2 used to load successfully.
    If anybody has faced a similar issue and has some suggestions
    please do give us pointers. Otherwise we are left with a lengthier
    option of re-factoring the application so that creation policy
    defaults to 'auto' and modify the application design.
    Thanks in advance,
    Sujatha

    Hi All,
    We are in process of migrating a working Flex 2 application
    to Flex 3.
    There were no compilation errors when application was
    compiled with Flex 3 SDK. But when we start the application, it
    throws a script timeout error:
    Error: Error #1502: A script has executed for longer than the
    default timeout period of 15 seconds.
    at
    mx.managers.layoutClasses::PriorityQueue/removeSmallestChild()[C:\autobuild\3.2.0\framewo rks\projects\framework\src\mx\managers\layoutClasses\PriorityQueue.as:214]
    at
    mx.managers::LayoutManager/validateClient()[C:\autobuild\3.2.0\frameworks\projects\framew ork\src\mx\managers\LayoutManager.as:915]
    at
    mx.core::UIComponent/validateNow()[C:\autobuild\3.2.0\frameworks\projects\framework\src\m x\core\UIComponent.as:5679]
    at mx.core::UIComponent/
    http://www.adobe.com/2006/flex/mx/internal::validateBaselinePosition()[C:\autobuild\3.2.0\ frameworks\projects\framework\src\mx\core\UIComponent.as:5715
    at mx.controls::TextInput/get
    baselinePosition()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\controls\TextI nput.as:408]
    at
    mx.containers::FormItem/updateDisplayList()[C:\autobuild\3.2.0\frameworks\projects\framew ork\src\mx\containers\FormItem.as:913]
    at
    mx.core::UIComponent/validateDisplayList()[C:\autobuild\3.2.0\frameworks\projects\framewo rk\src\mx\core\UIComponent.as:6351]
    at
    mx.core::Container/validateDisplayList()[C:\autobuild\3.2.0\frameworks\projects\framework \src\mx\core\Container.as:2677]
    at
    mx.managers::LayoutManager/validateDisplayList()[C:\autobuild\3.2.0\frameworks\projects\f ramework\src\mx\managers\LayoutManager.as:622]
    at
    mx.managers::LayoutManager/doPhasedInstantiation()[C:\autobuild\3.2.0\frameworks\projects \framework\src\mx\managers\LayoutManager.as:677]
    at Function/
    http://adobe.com/AS3/2006/builtin::apply()
    at
    mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\3.2.0\frameworks\projects\framew ork\src\mx\core\UIComponent.as:8628]
    at
    mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\3.2.0\frameworks\projects\framewo rk\src\mx\core\UIComponent.as:8568]
    The application is taking a huge time to 'validate' each
    component in the UI and each time we observe a timeout at different
    UI component.
    Few observations from our end:
    1. The application is very straight forward and only thing
    complex in it is UI layout. There are a few of complex layouts,
    viewstacks and datagrids used.
    2. The ‘creationPolicy' at application level has been
    set to 'All' because of design. This although is not a standard
    practice but this does not help us because the same application
    compiled with Flex 2 used to load successfully.
    If anybody has faced a similar issue and has some suggestions
    please do give us pointers. Otherwise we are left with a lengthier
    option of re-factoring the application so that creation policy
    defaults to 'auto' and modify the application design.
    Thanks in advance,
    Sujatha

  • How to upload pdf file in a canvas in flex web application?

    how to upload pdf file in a canvas in flex web application?

    Hey saif.antri,
    You can view PDFs and more using iBooks on your iPhone:
    iBooks: Viewing, syncing, saving, and printing PDFs on iPhone, iPad, and iPod touch
    http://support.apple.com/kb/HT4227
    Have a great day,
    Delgadoh

  • Is there a way to save data to just one view in Flex Mobile applications?

    I am having trouble handling data between views in a Flex Mobile application that I am writing. I know how to pass data from one view to another, but I was wondering if there is a way to save that data to a view, then get more data from another view (in this case it would be the same view that the original data came from) and put that data on the same view without overwriting the original data. I would be glad to post some code if anyone needs to see it.

    I think we realise that this is the same question as the other thread.

Maybe you are looking for

  • Password protecting a networked printer

    Hello, here's the situation. My family has a networked printer (Brother 402cn) that's shared via a linksys 802.11g router with three computers (iMac G5, PB and Toshiba). The iMac is the main computer and I would like to password protect the printer s

  • IdentitySSOAuthFilter error with "uwc-msg-web-amsdk" in a Sol 10 zone

    I have installed the 2005Q1 JES components (messaging, calendar, Access Manager, LDAP, Web, and UWC with SSO) in a single Solaris 10 zone without any issues. All works fine. I'm having an UWC/Web error in the next step of the process when I'm install

  • Red Hat Enterprise 5.2 on UCS B200 M1

    We need to install Red Hat Enterprise 5.2 on UCS B200 M1, but could not find the driver for Qlogic CNA M71KR-Q. Any pointers or suggestions?

  • Create a new Client Copy Profil

    Hi, is there a standard application to add a individual client copy profil to table CCPROF ? Reason: The client copy via TDMS does not copy the report variants ( note 1159279 ). So I would like to transfer only variants with SCCL or SCC9. The ABAP RS

  • Can IPAD MINI be used as a cellphone?

    Can I text my friends there? Using my Sim card?