FLEX 2...  Or Flash Remoting

Hi, could someone please help me make a decision with which
architecture to use to build a flash application?
I want a flash front end, i dont care about users who dont
have a flash player; this is for a commercial enterprise for a
specific user base. My application is for property, the management
and maintenance of, so the property is the main object and all data
relating to its financial budgets, leaseholders who live in the
block, maintenance records, health and safety and cleaning records;
etc. The users all need to be directed by and communicate through
this central organisation and management tool.
I can use Flash pretty well but have never used flash
remoting or ever learned to connect flash to database query
results.
So do i build using the Flex 2, Adobe Air, or Flash Remoting
MX
I have been learning Coldfusion and have a back end being
developed as we speak in fusebox methodology and microsoft sql
database.

Hi,
If you must make application more flexible for you,
you must get Flex. it's an ide.
If you want to custom componant or animation you must take
flash.
Olivier
Stu@Seashores a écrit :
> Hi, could someone please help me make a decision with
which architecture to use
> to build a flash application?
> I want a flash front end, i dont care about users who
dont have a flash
> player; this is for a commercial enterprise for a
specific user base. My
> application is for property, the management and
maintenance of, so the property
> is the main object and all data relating to its
financial budgets, leaseholders
> who live in the block, maintenance records, health and
safety and cleaning
> records; etc. The users all need to be directed by and
communicate through this
> central organisation and management tool.
>
> I can use Flash pretty well but have never used flash
remoting or ever learned
> to connect flash to database query results.
>
> So do i build using the Flex 2, Adobe Air, or Flash
Remoting MX
> I have been learning Coldfusion and have a back end
being developed as we
> speak in fusebox methodology and microsoft sql database.
>
>
>
>

Similar Messages

  • CF Flash Remoting (Ex 9 for CF) Missing Flex (Client-Side) Solution File

    Looks like there is no Flex solution file for Ex9 for CF,
    just the server-side code.
    As a workaround, you can download the LCDS solution, and make
    a modification to make it work with CF Flash Remoting.
    Replace ReservationForm.mxml's <mx:RemoteObject> tag
    with the following:

    Awesome

  • Running a Flex App using Coldfusion Flash Remoting Services gives me a blank SWF file but no errors

    I cannot get flex to compile to display anything. even if its
    just a single panel and some text. If I use the wizard and choose
    "Basic" or whatever, I get a flex app. But i am using cfcs so I
    selected "Coldfusion Flash Remoting Services" and when I select
    run, the browser pops up with a nice big blank screen. No loading
    progress bar, no errors, nothing.
    I am running cf8 as a standalone (developers edition)
    under project properites --> server
    root folder: C:\ColdFusion8\wwwroot
    root url
    http://localhost:8500/
    context: (blank)
    I have messed with context and webroot.
    I doesn't matter if I use a remoteObject or not. Nothing
    happens
    i through in a crossdomain.xml into the root to open it up,
    just to be sure.
    I am really stumped. I had this working fine on a previous pc
    (running cf7)
    any ideas anyone???

    I tried with some of the AS3 files from Adobe samples (http://www.adobe.com/devnet/actionscript/samples.html), for eg., the Drawing API. There are slider components in the flash app that don't show up either. Does that give anyone a clue as to what might be wrong? Thanks, Ramesh

  • How to debug flash remoting?

    Hi I am using -  flashremoting.jar 1.0.52502 on tomcat.
    I have a 3 year old application that is running on 1 server, it works fine there, the flash client can connect to the java tomcat server and call methods and all is well.
    We are trying to stand this application up on another server, and I cant get the flash remoting to work, the server side java methods never get called (I added logging to them).
    In the adobe troubleshooting it says to go to /gateway and you should get a blank page.
    The weird thing is on both the server that works and the server that doesnt work, if I go there in a browser I get:
    HTTP Status 404 - /flashservices/index.html
    This is the same for both servers. So im not sure what to try next. Im not an expert in flash my flash guy says the client gets:  "Error opening URL"
    The url in the flashvars looks good, the flashgateway.jar file is in the web-inf/lib folder , the frconfig.txt is in web-inf/classes
    my web.xml has this:
    <servlet>
            <servlet-name>FlashGatewayServlet</servlet-name>
            <display-name>Flash Remoting Servlet</display-name>
            <description>
                Servlet-based plugin to Flash Remoting
            </description>
            <servlet-class>
                flashgateway.controller.GatewayServlet
            </servlet-class>
            <load-on-startup>10</load-on-startup>
        </servlet>
    <servlet-mapping>
            <servlet-name>FlashGatewayServlet</servlet-name>
            <url-pattern>/gateway</url-pattern>
        </servlet-mapping>
    what can I check next, how can I troubleshoot this and figure out if its a client problem or a server problem, or somewhere in the middle?
    thanks
    Joel

    I got on line with tech support to get them to show me how to use it. The guy hardly knew anything about it himself. From the coldfusion group and was the guy who was supposed to know. I screen shared with him and every time we tried debugging from flex it would just stop. Seems that if something goes wrong in a coldfusion library, the debugger just stops and so it is something upsteam of your break point. Of course there is nothing to show you that, but it became clear. The guy didn't have any better idea than I did what was going on. I figured that out.
    If you check the docs about CF and flex, their recommendation is write it all as a CF app. debug it and then hook flex to it. Pure garbage. Anybody hear of DRY. I have dumped ever using CF on the back end. It is not an oop language. It is a tag based language for markup pages with quasi script and its ORM is so inflexible its a joke.
    Went back to ruby on rails and rubyamf for my backend to flex apps (with Mate as MVC framework) and I could not be happier. Never had such an unpleasant develpment experience than working with Coldfusion as the backend to a flex app. Good luck.

  • Secure Flash Remoting from main.asc not returning a result

    Hi, Iv got a problem here that could be Flash Remoting or
    Flash Media Server related
    I have created an application that uses flash media server
    and flash remoting.
    For authentication in my app I used Kevin Towes suggested
    method "Secure Authentication with Flash Communication Server:
    Using Tickets and Flash Remoting MX." His article is here
    Download
    PDF Here
    Now to the problem...
    My application has no problem connecting to coldfusion using
    flash remoting with the defaultGateway url set to
    "https://www.mysite.com" (ie over SSL)
    However In main.asc, on the Flash Media Server
    When Flash Media server attempts to validate the login by
    connecting to CFMX using flash remoting it gets no response when
    using a secure gateway url. If I set the default gateway url to
    just
    http://www.mysite.com it works
    great.
    Why do I not get any response when using https as my gateway
    url from Flash Media Server?
    thanks

    Sounds like you need to enable mappings for your remoting
    gateway. I'm not sure if it's the same as Flex, but here's what you
    might need to do, or something similar...
    In c:\cfusion8\wwwroot\WEB-INF\flex\remoting-config.xml (or
    wherever CF is installed) look for the <use-mappings> node
    and set the value to true. You will need to restart CF

  • Duplicate session error using Flash Remoting from Air 3.4 Mobile Apps ( IOS and Android ) with CF10

    We're getting the "duplicate session" error using Flash Remoting from Air 3.4 Mobile Apps ( IOS and Android ) with Coldfusion 10 Standard.
    faultCode:Server.Processing.DuplicateSessionDetected faultString:'Detected duplicate HTTP-based FlexSessions,
    generally due to the remote host disabling session cookies.
    Session cookies must be enabled to manage the client connection correctly.' faultDetail:'null'
    Have read most of the docs about this error -all to do with LCDS
    Notes:
    Not using LCDS,
    No Remote Calls from loaded Sub-Apps,
    No Errors from the Flex Web App which is pretty  much identical and calls the same cfcs.
    The error does not happen all the time and is hard to reproduce - say 5% of app sessions at a guess.
    Could it be a two first time remote calls hitting the server together before a session is set up?
    Our remoteObjects are in two places 1) Main Application.mxml and within a class compiled into the main app - can't see how this would be an issue.
    I enabled session management for the CFCs in Application.cfc but still occurs. Is this neccessary - it's not in any docs?
    Could this be something to do with the app not being shut down - as is typical with mobile users? When they resume use after a day or two surely a new session will be created?
    Please advise thank you.

    For our profect I think this issue was caused as follows:
    Believing that remoting was full asynchronous we fired a 2 or 3 remote calls to the server at the same time ( within the same function ) - usually when the users goes to a new section of the app.
    This seemed to trigger the duplicate http session error since according to http://blogs.adobe.com/lin/2011/05/duplication-session-error.html  two remote calls arriving before a session is created will cause 2 sessions to be created.
    Our current solution ( too early to say it works ) is to daisy chain the multiple calls together .
    Also there seemed to be an issue where mobile apps that never quit ( thanks Apple! )  caused the error when activated after a few hours.
    I guess the session expires on the server and the error above occurs on activation.
    So the mobile apps now ping the server with a remote call when activated after sleeping for more than one hour.
    All duplicate http errors are silently caught and reported.
    Fingers crossed we won't get any more!

  • HELP ON MOVING FLASH REMOTING

    i seriously need help, i used flash cs3 professional, and
    there is no FLASH REMOTING CLASSES!. i need a very good tutorial on
    how to move FLEX RPC library to FLASH CS3 library. i really need it
    in FLASH CS3. Please reply asap. i really appreciate it very much.
    email [email protected] if can. Thank you.

    Hello,
    Have you seen the tutorials at gotoandlearn.com for using
    AMFPHP for Flash Remoting. In AS3 the Remoting classes have been
    included in the new NetConnection classes.
    Go here to watch the first tutorial and then watch the second
    as it's more in-depth. He talks a little about the Flex RPC lib.
    http://www.gotoandlearn.com/player.php?id=78

  • HELP: Problem using AS3 and CF-Flash Remoting CFC

    I am trying to use CF flash remoting from an AS3 Class using
    the NetConnection class. The approach I am using is directly from
    "ActionScript 3.0 Cookbook" by Joey Lott et. al.
    I am using a totally standard default install of CF, Flex and
    SQL server on Windows 2003 R2.
    When I do a CF Flash remoting call using,
    _netConnection = new NetConnection();
    _netConnection.connect('
    http://pordev2.wcrt.xeroxlabs.com:8500/flashservices/gateway/');
    _netResponder = new Responder(onGotData, onGotError);
    _netConnection.call("porTechDB.PorComponents.ProjValuationRemote.getProjValuationData",
    _netResponder, 1, strtest);
    all seems OK. The CFC returns the integer and string just
    fine.
    HOWEVER, when I also add an associative array, "aa", to the
    string of arguments, I get an error...
    _netConnection.call("porTechDB.PorComponents.ProjValuationRemote.getProjValuationData",
    _netResponder, 1, strtest, aa);
    returns the error: "Unknown object type tag (17)"
    The same error is also returned if "aa" is an XML variable
    instead of an associative array.
    So:
    a) Is this a bug?
    b) Is there an AS3 specific gateway I should have referenced?
    c) Is Flash Remoting not yet supported in AS3?
    Thanks you for your time,
    Ned
    =================================================================
    Here is my test code:
    <cfcomponent displayname="ProjValuationRemote"
    hint="Returns an array of Project Header, Valuation and supporting
    data recordsets">
    <cffunction access="remote" name="getProjValuationData"
    output="false" returntype="String">
    <cfargument name="test1" type="numeric" required="no"
    default=1>
    <cfargument name="test2" type="string" required="no"
    default = "a default string">
    <cfargument name="AA" type="Struct" required="no">
    <cfset testReturn = #test2# & ": TESTING -- This is
    the return integer: " & #test1#>
    <cfreturn testReturn>
    </cffunction>
    </cfcomponent>
    public function requestVRD():void {
    var strtest:String = "Simple test string";
    var aa:Object = new Object();
    aa.curDataSet = 86;
    aa.curYear = 2007;
    _netConnection = new NetConnection();
    _netConnection.connect('
    http://pordev2.wcrt.xeroxlabs.com:8500/flashservices/gateway/');
    _netResponder = new Responder(onGotData, onGotError);
    _netConnection.call("porTechDB.PorComponents.ProjValuationRemote.getProjValuationData",
    _netResponder, 1, strtest);
    private function onGotData(re:String):void {
    // arVRD = re;
    trace(re);
    returnString = re;
    trace("got remote data response");
    private function onGotError(error:Object):void {
    trace("Executing the gotProjectData_Fault: " +
    error.description);
    trace("Executing the gotProjectData_Fault -- no detail");
    // setErrorAlert();
    This works as expected producing the following trace:
    Simple test string: TESTING -- This is the return integer: 1
    Replacing the remote with the following, which adds an array
    to the parameter list...
    _netConnection.call("porTechDB.PorComponents.ProjValuationRemote.getProjValuationData",
    _netResponder, 1, strtest, aa);
    Produces the following error:
    Executing the gotProjectData_Fault: Unknown object type tag
    (17)

    I didn't think so,
    We are putting together ads with alot of images with that 40k limit
    so the images don't look great.
    I was trying to find the best way to work with the images, while keeping it as simple as possible.
    Oh.... your right I was hoping to slowly introduce my associates into AS3, I thought If this could be done
    It woud be a great tool to introduce them to, but no
    Thank you for your time and feedback

  • How to check progress of loaded content with Flash Remoting?

    Is there a way to monitor the loading progress (percent progress bar  style) when using Flex/Flash Remoting?
    Thanks!
    Enrique.

    Hi,
    Use 2 FileStream objects in async mode (openAsync). One to
    read and another to write. When you read in async mode, you get
    progress events. When they fire, you can read bytesAvailable
    amounts of data and write that to the output filestream.
    The output filestream can listen for output_progress events
    to ensure that new data can be written to it or not.

  • Flash Remoting HTTP Status 500

    Kindly help me with getting Flash Remoting started. I am
    using CF8 and my Flex client connect to the Flash Remoting.
    Fault Detail:
    Channel.Connect.Failed error NetConnection.Call.Failed: HTTP:
    Status 500: url: '
    http://localhost/flex2gateway/cfamfpolling'
    Kindly provide your inputs.
    Best
    Sam

    Can you try the following to see if the error goes away:
    -- Stop the daemon manager
    -- Go to the directory NMSROOT/MDC/tomcat/work/Standalone/localhost
    and delete everything in under here, files and folders. You should see something like this under here:
    campus CSCOnm_servlet ipm rme
    campus_servlet CVng JSP_CAMPUS
    cmapps cwhp JSP_cmf_security
    You can delete all of these and once they are removed restart the
    daemons
    Note -- NMSROOT is the install path LMS
    ex) Solaris /opt/CSCOpx
    Windows c:\progra~1\CSCOpx
    Give it about 15 minutes to get everything restarted and rebuild the
    servlets we just cleared.
    Now let's go into the GUI and try to access the link that was giving the
    server error.
    Does it give the same error?

  • CF Flash Remoting Settings For Remote Server

    I am trying to setup Flex Builder 2 for evaluation, with Flex
    Builder on a Windows XP machine and ColdFusion (7.0.2) on a remote
    server. When attempting to start the Flex Project Wizard using
    Flash Remoting, I am having trouble understanding what the settings
    should be for root folder and root URL. Nothing I've tried,
    including hints based on other posts, has helped.
    It would be helpful to have an example in the help docs for
    this type of situation. It can't be uncommon and I see a few others
    have had similar trouble. Thanks.

    On your machine, these are the settings (I use CF with IIS,
    not the standalone CF server):
    On Project Properties>
    Flex Server: ‘C:\CFusionMX7\wwwroot’
    Root URL: ‘
    http://localhost/’
    When you upload to your remote server, upload the entire
    Output Folder (usually ‘bin’). You can leave out the
    xx-debug.html and xx-debug.swf files, but upload all the others.

  • Flash Remoting on local development box

    I really hope someone can help with this. I've googled to
    death for two days and can't find anything. I'm at my wits end.
    I've installed CF8 on Windows XP Pro on IIS5.1 with multiple sites.
    I'm also using Flex 3. I'm trying to get a simple helloworld app to
    work using flash remoting with a cfc. When I run it, in the error
    dialog, I get this error among others:
    [RPC Fault faultString="Send failed"
    faultCode="Client.Error.MessageSend"
    faultDetail="Channel.Connect.Failed error
    NetConnection.Call.Failed: HTTP: Failed: url: '
    http://localhost/flex2gateway/'"
    I've tried to connect to
    http://localhost/flex2gateway/
    through the browser and I get a page cannot be found message. Note
    that I had to change the root directory in IIS to point to my new
    site, so it's not the default site any longer. If I change it back
    to the default, I can find this file. I can't figure out for the
    life of me how to get that url to work in the new site? Surely
    someone else has multiple sites and knows how to solve this?
    Thanks!
    Holli

    Hallefrickinglujah! I finally got it to work. I'm going to
    post the answer here to help someone in the future. For sites you
    create AFTER you install CF8, you have to create the JRunScripts
    virtual directory as described in this article:
    http://www.frenches.com/blog/index.cfm/2007/5/7/Flex-Coldfusion--Dont-make-me-have-to-sepa rate-you-two
    Just make sure that after you create it, you go into IIS and
    give execute permissions to Scripts and Executables - It's a drop
    down in the properties dialog of the virtual directory. Good
    luck!

  • Can't create CF Flash remoting project

    I am using the Eclipse plugin for Flex Builder 2 and I think
    at some point I entered something wrong on the screen where you set
    up your ColdFusion Flash Remoting Service now when I try to create
    a new project, when I click the next button nothing happens. I
    tried uninstalling/reinstalling the plugin but it still does not
    want to work, is there some configuration file I need to clear in
    order for this to work?

    I had this same issue after installing Flash Builder 4.5 for PHP and Zend Server CE.  I installed as admin but the document root (/usr/local/zend/apache2/htdocs) did not have the admin user with Read & Write permissions.
    In case it helps others, this is how I got it working:
    Opened Terminal and typed:
    defaults write com.apple.Finder AppleShowAllFiles TRUE
    killall Finder
    I could then see the hidden /usr/local/zend/apache2/htdocs folder.  I right-clicked it and selected Get Info.  Under Sharing & Permissions I then added the admin user with Read & Write privileges.
    To return Finder back to not showing hidden files, issue the same commands but with FALSE.
    It might be worth investigating how to configure Zend Server CE so that the document root is not in a hidden folder.  Flash Builder for PHP will let you explore your output folder in the Package Explorer, but you will need to have hidden files visible to see them in Finder.

  • Flash Media Server vs Flash Remoting

    I was wondering what are the pros and cons of moving our text
    based broadcast service from Flash Remoting to Flash Media server.
    Right now we have the client flash file retrieve messages via the
    Flashservice Gateway installed by Coldfusion 7. As of this moment
    we do not see the need for audio or video interaction. Also it is a
    broadcast system so we send messages to our clients, the do not
    send messages back. A one way chat if you will.
    Of course cost is a factor, but outside of cost, how much of
    a benefit would it be? Or would it be overkill so to speak.
    Is the server load reduced or greater? Is it better for the
    client system? How is bandwidth affected? This topic has come up a
    few times... but I would like to ask the pros for thier
    suggestions.
    Thanks in advance for your comments.
    Johnny

    I suppose you'd save a little bandwidth going with FMS since
    there would be no need for constant polling of the server, but in
    the end i don't think the difference in bandwidth usage would
    justify the investment of FMS. The only real benefit I see is that
    the stateful connection to FMS reduces latency between updates (as
    opposed to polling the remoting server every few seconds).
    If you like the idea of a stateful connnection to the server,
    I would think a better option would be either Flex Data services or
    an XML socket server. FMS really is overkill for something like the
    application you described.

  • Credentials on Flash Remoting

    Hi again,
    I have an app which uses Flash Remoting to communicate with
    server. It's on Flex 2b2
    RemotingConnection.as
    package{
    import flash.net.NetConnection;
    import flash.net.ObjectEncoding;
    public class RemotingConnection extends NetConnection{
    public function RemotingConnection( sURL:String ){
    objectEncoding = ObjectEncoding.AMF0;
    if (sURL) connect( sURL );
    public function AppendToGatewayUrl( s : String ) : void{
    gateway = new RemotingConnection( myGtwURL );
    gateway.call( "MyService.getIdiomas", new
    Responder(onResultGetIdiomas, onFault));
    Now I want to use autenticated services. On Flash it was done
    with
    myService.credentials(user, pass);
    How to do it in flex?

    Hi again,
    I have an app which uses Flash Remoting to communicate with
    server. It's on Flex 2b2
    RemotingConnection.as
    package{
    import flash.net.NetConnection;
    import flash.net.ObjectEncoding;
    public class RemotingConnection extends NetConnection{
    public function RemotingConnection( sURL:String ){
    objectEncoding = ObjectEncoding.AMF0;
    if (sURL) connect( sURL );
    public function AppendToGatewayUrl( s : String ) : void{
    gateway = new RemotingConnection( myGtwURL );
    gateway.call( "MyService.getIdiomas", new
    Responder(onResultGetIdiomas, onFault));
    Now I want to use autenticated services. On Flash it was done
    with
    myService.credentials(user, pass);
    How to do it in flex?

Maybe you are looking for

  • How do I print the 2nd page of a playlist from ITunes?

    I have fifty-some tunes on one of my playlists. Using the "Help"-provided instructions, only the first page prints; despite using the command "print page 2".

  • Have new iMac prices rocketed in the UK?

    Correct me if I'm wrong (I'm sure you will), but it seems that the prices of the new Haswell iMacs have gone up by £50 for the base 21.5" and £100 for the entry level 27". I'm sure that they were £1,099 and £1,499 respectively as opposed to the new £

  • Help Document on Query View's (Global & Local)

    Hi, I thied to search SDN for previous posts on this topic but none of them are useful. Is there any SAP Help Doc or any other Help Doc that will explain me difference between Local View & grobal View on a Query and How to Generate Local View and Glo

  • Pictures disappeared, titles and audio still play

    Hello Forum, I made a slideshow in iMovie 09 of pictures from my vacation and specially fitted songs and titles into it. When I had finished, I clicked on the Optimize Video (Large) choice in the File menu, thinking it would make my video better. Whe

  • Acrobat 8.0 English vs Chinese Version

    I have written a program that uses Acrobat 8.0 to merge multiple PDF files. My company has a factory in China that will be utilizing this program. Will there be any problems if they use the Chinese version of Acrobat? Are the only differences in the