Flex Hosting

Hello all,
I'm trying to write a desktop application that, finally, will
embed a flex 2.0 application (yes, imagine a kind of SAFlashPlayer
that is "ExternalInterface" aware.)
It is a mandatory request that this desktop appl is cross
platform so I am writing it using C++ (I cannot do it using C#)
It is also mandatory that both applications (desktop one and
flex one) can call each other.
Given that situation, I am using the NPRuntime approach to
build the flexhost layer in such a way that the flash player feels
like if it is being hosted by a internet browser like FireFox or
safari. The results are very exciting, except for the
interoperatibility between the host and the flash player plug-in:
When I use ExternalInterface to issue a call from the flex
appl, my host appl receives a string containing javascript code. I
think that flash send that flavor with the hope that it is going to
be evaluated by its host (because it thinks that the host is a
javascript enabled browser.)
At this point, it is frustrating for me because I
(erroneously) supposed that the host appl will receive an xml
describing the function call (that's the exact way that the activex
version of Flash player does when it is hosted by any other
windows application different from MSIE)
So, the question is: Is there anybody out there that know if
it is possible to "tell" Flash player to issue
ExternalInterface.call in, let's say, XML flavor instead of
javascripts evals?
Thanks in advance.

If you are selecting a web site hosting company, consider,
will you need one that supports ColdFusion, PHP, CGI, do they offer
a database, how about hosting J2EE apps? Hard to think of what you
might need in the future, but better to think of it now.

Similar Messages

  • What to look for in a web hosting company for Flex applications

    Hello,
    I am trying to figure out what I need to look for in a web
    hosting company if I want to deploy my own Flex applications? I
    don't anticipate having any special requirements other than the
    ability to interact with databases and XML files. Can someone help
    me figure out what the server-side requirements are?
    Thanks in advance!
    Matt

    then almost 99.9% hosting will work.
    if you want a Flexx app with compiler then oo thats different
    but as you say "I don't anticipate having any special requirements
    other than the ability to interact with databases and XML files"
    then you can go with pretty much any hosting, as long as they have
    apache, Database serve and I think thats it.

  • Read .xls from specific path in host server in flex 4.5 using As3xls?

    Hi Guys
    I am New to flex programming and I have some doubts regarding exporting data from excel file to flex
    1) Is there a way of reading excel file from a specific path in host server in flex 4.5 using as3xls?
        i.e is I want to read a flex file from a specific path in the computer.
    2)Is there a way of reading excel file from a specific location in a website?
    I have been trying find a solution to this for a long time but have hit a dead end. any kind of solution will be really helpful. Thanks in advance.
    Regards
    Vivek Mangalam

    Someone suggested it could be a serialisation issue but I I'm not sure how to go about checking that.
    Any suggestions ?

  • Question about hosting - Flex/Coldfusion

    I'm wanting to use Flex to display Coldfusion info.
    just went through the tutorial at http://www.adobe.com/devnet/flex/articles/fcf_getting_started_coldfusion_flex_02.html and I got the example to work on my local machine. I was also able to do the same with my own data. But the example uses remoting services and I don't know what my hosting providers have on their servers.
    I'm using CrystalTech.com, which is an Adobe partner. But they said they didn't offer Flash remoting on their shared servers.
    I'm not sure if Flash remoting is what I need to get Flash to access the cfc's.
    Can someone tell me if I need to switch hosts (which would be a real pain) and look for a host that has Flash remoting or if that is even what I need?
    Thanks,
    Richie

    A bit odd.. I haven't come across any shared hosting with Remoting disabled yet.
    Have you tried accessing the remoting gateway?
    Should be something like:
    http://yourdomain.com/flex2gateway/
    You normally get to see a blank page.
    If remoting is disabled, you should still be able to access Coldfusion CFC's as webservices.
    To achieve this, simply add "?wsdl" to the url of the cfc - without the quotes.
    Here's an example:
    http://muzakdeezign.com/services/be/pylos/site/NewsSelect.cfc?wsdl
    In Flex you access them using a WebService tag instead of a RemoteObject tag.

  • Trying to make a flex application scalable in its display size by using a "Host-swf" - Problem

    We created a flex application using Flex 3. What we are
    trying to do is to make this application scalable in its display
    size. That means we want the application to scale itself to exactly
    fit the size of the browser window without using a scrollbar like
    normal Flash-swfs do. Sadly flex application don't scale like a
    normal flash swf.
    To get a workaround for this we created a so called
    "Host-swf" with flash CS3. This Host-swf loads the flex application
    and adds it as a child. And voila: When calling the Host-swf our
    application can scale.
    We used this code to achive this:
    var oUrlRequest:URLRequest = new
    URLRequest("Flex-Application.swf");
    var oURLLoader:Loader = new Loader();
    oURLLoader.load(oUrlRequest);
    addChild(oURLLoader);
    This works perfectly as long the browser window is larger
    then the resolution of the host-swf (900*600) when calling the url
    for the application:
    Picture showing the
    scaling
    But it doesnt't work out when the browser window is smaller
    than 900*600. The application is then shown with a scrollbar, and
    when resizing the browser window the scrollbar is still there:
    Picture showing the
    application with scrollbar
    Maybe anyone already tried to achive the same thing and has a
    different solution for us?
    Thank you in advance!

    "noby_95" <[email protected]> wrote in
    message
    news:gpsue6$rhh$[email protected]..
    > We created a flex application using Flex 3. What we are
    trying to do is to
    > make
    > this application scalable in its display size. That
    means we want the
    > application to scale itself to exactly fit the size of
    the browser window
    > without using a scrollbar like normal Flash-swfs do.
    Sadly flex
    > application
    > don't scale like a normal flash swf.
    >
    > To get a workaround for this we created a so called
    "Host-swf" with flash
    > CS3.
    > This Host-swf loads the flex application and adds it as
    a child. And
    > voila:
    > When calling the Host-swf our application can scale.
    >
    > We used this code to achive this:
    >
    >
    > --------------------------
    > var oUrlRequest:URLRequest = new
    URLRequest("Flex-Application.swf");
    > var oURLLoader:Loader = new Loader();
    > oURLLoader.load(oUrlRequest);
    > addChild(oURLLoader);
    >
    >
    > -------------------------
    >
    > This works perfectly as long the browser window is
    larger then the
    > resolution
    > of the host-swf (900*600) when calling the url for the
    application:
    >
    http://www.gansl-online.de/Bild1.jpg
    >
    > But it doesnt't work out when the browser window is
    smaller than 900*600.
    > The
    > application is then shown with a scrollbar, and when
    resizing the browser
    > window the scrollbar is still there:
    >
    http://www.gansl-online.de/Bild2.jpg
    >
    > Maybe anyone already tried to achive the same thing and
    has a different
    > solution for us?
    When I set the Application width and height to a percentage
    number, it will
    change its size based on the size of the window.

  • What is necessary for a web host in order to run Flex apps? How to configure?

    I did find a few past postings on the forum but none seemed
    to address the problem.
    Can somebody who had hands on experience share his/her
    knowledge about a migrating a Flex application to production
    environment? Do I need to modify any settings? When I transfer the
    bin folder contents the UI works fine but the data connection
    throws errors.
    Does the web host need to have any specific software
    installed? More specifically, my host has CF 7 but do not have Flex
    data services installed. All I use is RemoteObject so I guess this
    can be done without Flex data services. Is this correct?
    Finally, if you can refer me to a configuration guide that
    the web host would need to follow, it would be greatly appreciated.
    Thanks for your time in advance.
    Emre

    Thanks for the response, here is the error message that I am
    getting.
    (mx.rpc::Fault)#0
    errorID = 0
    faultCode = "Server.Processing"
    faultDetail = (null)
    faultString = "Permission denied"
    message = "faultCode:Server.Processing
    faultString:'Permission denied' faultDetail:'null'"
    name = "Error"
    rootCause = (Object)#1
    cause = (null)
    localizedMessage = "Permission denied"
    message = "Permission denied"
    Obviously some data connection is failing due to permissions.
    My host, however, does not know what permisson is causing it and
    what the fix would be. Thanks for the input in advance

  • Invoke windows sound recorder in host machine by flex application

    Hi
    I have a flex application which provides option to invoke
    windows sound recorder in client machine. User provides path of
    windows sound recorder exe file and using 'navigateToURL('path of
    recorder given by user)' method i plan to invoke the recorder in
    client machine.
    While executing this code in flex builder it runs properly
    and invokes recorder. Then i deployed the flex application in a
    server and requested using internet explorer. But this time it does
    not invoke recorder. The error messge it displayed is gi ven below
    SecurityError: Error #2148: SWF file
    http://localhost:8080/flex/bin/DEVM.swf
    cannot access local resource C:\WINNT\system32\sndrec32.exe. Only
    local-with-filesystem and trusted local SWF files may access local
    resources.
    at global/flash.net::navigateToURL()
    I think it is a security issue of sand boxes. Anyway i tried
    to make the directory where exe file is kept (ie. system32) as a
    trusted location using 'Global security settings panel'. But that
    also did not solve the problem. I think only swf files, not any
    other files, in the trusted local directories can be accessed by
    the remote flex application. Is it right ???
    Anyway i dont wish to keep any swf file under
    'local-with-filesystem' sandbox in client machine.
    Can anybody please help me to resolve this issue please ....
    -rakesh

    Hi,
    The problem is I am not able to connect to database (11i/R12) from host machine. I am successfully able to run the application from host machine after putting entry in "hosts" file.What is the error?
    To connect to database I have installed Oracle 9i client on host machine and put the entry in TNSNAMES.ORA generated by 11i/R12, but even doing so I am not able to connect to database.Are you able to tnsping the entry? If not, what is the error?
    Please make sure you also follow the steps in (Note 291897.1 - 11.5.10 New Features : Managed SQL*Net Access from Hosts).
    Is there any way I can connect to database (Installed on VMWARE) from HOST Machine.Post the error you get when you connect to the database remotely as well as the output of tnsping command.
    Regards,
    Hussein

  • Host for Flex/Java projects?

    Can someone recommend a hosting service for Flex/Java MySQL applications (and probably a blog)? I'm creating a portfolio of Flex apps and need some recommendations
    Thanks!

    http://www.fasthit.net/index.cfm/hosting/plan.comparisonMX7

  • Externally Hosted Widgets (Flash object embed) In Catalyst or Flex

    Is there any way I can embed flash objects, i.e., externally hosted widgets in FC? ...In Flex?
    There are many externally hosted widgets now available for sideshows, video etc, that are flash objects like Cooliris.
    ( http://developer.cooliris.com/?p=embed/quickstart )
    Any suggestions?

    Hi Rick,
    I am not an expert at this, so I apologize if anything I tell you is wrong. The experts are over on the Flex forums and you'll want to hop over there for deeper questions.
    1) To load a SWF from within a SWF, you use the SWFLoader component.
    2) FC allows you to embed a SWF within the same project by File > Import > SWF File. In this case, the SWF is compiled into your main SWF and increases its size.
    3) To include a SWF that doesn't exist in your project, but that is somewhere else on the internet, you'll need to use FB. There are some cross-domain and security considerations, just like with HTML/JS. Here is the documentation on SWFLoader: http://livedocs.adobe.com/flex/3/html/help.html?content=controls_15.html
    Hope that helps =\...
    -Adam

  • Flex Application Hosting issue unable to access webservice from another machine

    Hi all,
    I am having a flex application which is using webservice of the asp.net.When I host this application on the machine in which the webservice is present then it works fine.But when I am hosting the application on the another machine then the webservice is not being called.If any body have any idea pls suggest.
    Thnx in Advance,
    Shardul Singh Bartwal

    You may need a crossdomain.xml file. Flex security does not allow your SWF to access data on other domains without it.
    In this case even mysub.myCompany.com is considered a different domain from www.myCompany .com.
    These links should help you understand:
    http://livedocs.adobe.com/flex/3/html/help.html?content=data_6.html
    http://livedocs.adobe.com/flex/3/html/help.html?content=deployingoverview_12.html
    http://livedocs.adobe.com/flex/3/html/help.html?content=security2_03.html
    http://livedocs.adobe.com/flex/3/html/help.html?content=security2_04.html
    If this post answers your question or helps, please mark it as such.

  • Web Host For Flex?

    Hi Everyone,
    This may sound a little bit simple for you Flex experts, but
    do I need a special hosting for Flex? What do I need to have to run
    Flex apps on my shared hosting account? Do you know any hosting
    service that is Flex friendly? Thanks for helping out.

    I think :
    if its compiled Flex app (.swf) with basic httpServices, it
    will work on almost on 99.9% hosting service.
    if you want to get sophisticated and use Application service
    FDS etc etc with it then you need at least Tomcat web Application
    Server , or other compartible server of such nature .

  • Hosting a Flex Application

    Hi, I am an individual Java developer looking to learn, build
    and deploy a Flex app. I am a newbie at Flex. So, I have seen
    several screencasts and have noticed that the UI would consist of
    several .swf files. To host such files or in broader terms, the
    Flex app, do I need to use a different hosting solution than those
    available for hosting modern web 2.0 applications. Or do I need to
    pay adobe again for hosting a flex app? Basically, I am looking at
    how cost effective it would be to host a flex app since the IDE
    itself costs 250 bucks...

    so don't you pay adobe for using their technology in your
    website (or for commercial purposes). I am unable to find a good
    place to check this out. I may even plan to use Flex Data Services,
    Blaze DS....I want to build a commercial web based flex app and
    just want to know how much I would need to pay out of my pocket. So
    far I know that the IDE costs. I am not sure of Flex Data Services
    or Flex Lifecycle....I was able to download a preconfigured tomcat
    server with FDS in it but adobe website seems to have trial
    versions of it. I wonder if FDS costs too?

  • Exception created : flex.messaging.security.SecurityException

    Hi ,
    The message below keep appearing in the systemout.log file. Any idea?
    00002ca4 webcontainer  E com.ibm.ws.webcontainer.WebContainer handleRequest SRVE0255E: A WebGroup/Virtual Host to handle / has not been defined.
    00002ca4 servlet       E com.ibm.ws.webcontainer.servlet.ServletWrapper service SRVE0068E: Uncaught exception created in one of the service methods of the servlet documents in application LiveCycleES2. Exception created : flex.messaging.security.SecurityException
        at com.adobe.workspace.users.Authentication.validateContext(Authentication.java:445)
        at com.adobe.workspace.tasks.DocumentServlet.doGet(DocumentServlet.java:166)
    00002ca4 webcontainer  E com.ibm.ws.webcontainer.WebContainer handleRequest SRVE0255E: A WebGroup/Virtual Host to handle / has not been defined.
    00002ca4 webapp        E com.ibm.ws.webcontainer.webapp.WebApp logServletError SRVE0293E: [Servlet Error]-[documents]: com.ibm.ws.webcontainer.webapp.WebAppErrorReport: Method PROPFIND is not defined in RFC 2068 and is not supported by the Servlet API
        at com.ibm.ws.webcontainer.webapp.WebAppDispatcherContext.sendError(WebAppDispatcherContext. java:637)
        at com.ibm.ws.webcontainer.srt.SRTServletResponse.sendError(SRTServletResponse.java:1187)
    -Dhiyane

    Hello Nitin,
    i didnt say that its working fine with ATG REST. i mentioned that its working fine with 10.0.2 version of ATG but not with ATG10.1.1 . Also i am using SOAP only in both the versions. i am getting the boolean exception in the line where will i pass username, password and ispasswordEncrpted. i am passing defalut username,
    password and false(ispasswordencrypted).
    so can you help me on this.
    i am pasting my clinet program here
    public class LoginClient {
      * @param args
      * @throws RemoteException
      * @throws ServletException
      * @throws SecurityException
      * @throws ServiceException
      public static void main(String[] args) throws SecurityException, ServletException, RemoteException, ServiceException {
      /*System.getProperties().put("socksProxyHost", "172.26.183.65");
      System.getProperties().put("socksProxyPort", "8180");*/
      LoginUserSEIService loginService = new LoginUserSEIServiceLocator();
      LoginUserSEI loginStub = loginService.getLoginUserSEIPort();
      org.apache.axis.client.Stub axisStub = (org.apache.axis.client.Stub) loginStub;
      CookieContainer cookieContainer = new CookieContainer();
      axisStub.setMaintainSession(true);
      // Don't allow XML elements to reference other XML elements
      axisStub._setProperty(AxisEngine.PROP_DOMULTIREFS, new Boolean(false));
      // Push cookies onto the Stub
      cookieContainer.pushCookies(axisStub);
      String userId = loginStub.loginUser("[email protected]", " password", false);
      // Get cookies out of the Stub, and pass them to subsequent calls as needed
      cookieContainer.extractCookies(axisStub);
      System.out.println("User ID : " + userId);

  • Integrating Flex/Flash in Web Dynpro ABAP(Netweaver 7.0) need info!

    Hi all,
            I need to embed a flash or a flex object inside a web dynpro abap application.I am working in Netweaver 7.0 and i don't have enhancement pack 1 installed.Is it possible ?   If it is possible can anyone please provide me the coding and configuration details.
    Thanks,
    Saikat

    I'm afraid that the SAP supplied integration technology - call FlashIslands - is only available from NetWeaver 7.01 and forward.  You could perhaps do some simple integration (very little data transfer) with the iFrame UI element - although the iFrame is deprecated in 7.0 and 7.01, but does return to full support in 7.02.  The other option would be to use the NetWeaver Portal or NetWeaver Business Client and have two iViews within the page. One iView would have WDA and the other some external technology (BSP, JSP, etc) to host the Flash/Flex content.  Not tight integration, but you could potentially use Portal Eventing to at least communicate events.

  • Flex application not working when deployed run from Server

    Hi,
    I have Flex application which takes a parameter from user, makes a web-service call and returns the message.
    This application is running perfectly when I launch from IDE.
    But when I copy the files from bin-release to server and launch it, it gives me no result.
    In the crossdomain file on the server which hosts web-service, I have added the my host IP in the
    allow-access-from domain tag.
    In the initialization method of the application I load crossdomain using following code:
        Security.allowDomain("remoteservername");
        Security.loadPolicyFile("http://remoteservername/crossdomain.xml");
        var request:URLRequest = new URLRequest("http://remoteservername/crossdomain.xml");
        var loader:URLLoader = new URLLoader();
        loader.load(request);
    Is there a way I can debug application when running from server?
    Please give me some pointer to solve this problem.
    Thank you.
    Chintan

    Alex thanks for reply
    The URL for the app is http://<some_IP>/flex_app
    <some_IP> is added in crossdomain.
    Also we have outbound IP's and of these are also added in the crossdomain file.
    This is the current content of crossdomain file:
    <cross-domain-policy>
    <site-control permitted-cross-domain-policies="master-only"/>
    <allow-access-from domain="<some_IP>"/>
    <allow-access-from domain="<outbound_IP1>"/>
    <allow-access-from domain="<outbound_IP2>"/>
    <allow-access-from domain="<outbound_IP3>"/>
    <allow-http-request-headers-from domain="<outbound_IP1>" headers="SOAPAction"/>
    <allow-http-request-headers-from domain="<outbound_IP2>" headers="SOAPAction"/>
    <allow-http-request-headers-from domain="<outbound_IP3>" headers="SOAPAction"/>
    </cross-domain-policy>
    App runs perfectly fine when launched from Flex Builder.

Maybe you are looking for

  • Connect to Oracle 8i from Forms 6

    I have installed Personal Oracle 8i and developper 6 in a NT. I got the error when tried to connect to the Oracle 8i from Form Builder. "could not resolve service name". I did enter the database name. Any ideas?

  • Passing internal table to a method of a Global Class

    Hi All, I have to pass a Select option (SO_RANGE) as a IMPORT parameter to a method of a global Class (while calling that method from a executable program). what Reference type should I give, while defining the IMPORT parameter for that method of cla

  • Error in importing qualified field values

    Hi, I have a query related to importing qualified tables. At the source side, the main fields and qualified table fields are given in 2 different sheets of Excel, joined by the product ID. While importing the qualified tables, I am only able to impor

  • XMLP on Tomcat 5.5 Login Error

    Hello everybody, I performed a manual installation of XMLP 5.6.2 on tomcat 5.5.17 today. I followed the oracle guide: http://www.oracle.com/technology/software/products/publishing/install.html When I to login (login page gets displayed o.k.) with adm

  • How do I change pdf format of scans to jpeg?

    I scan photos into pdf, but when I try to send them, the recipient wants jpeg. How do I change pdf photos to jpeg?