Results 1 to 10 of 11

Hybrid View

  1. #1
    Senior Member
    Join Date
    Sep 2007
    Location
    des plaines
    Posts
    41

    Problem running Flex examples

    I was able to run sdk_client_web example, but running Flex examples from the same virtual directory not working for me. All I see for status is "connecting". Please, help.

  2. #2
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    985
    Do you refer to the "sdk_client_flash_flex(js_bridge)" or to the "sdk_client_flash_flex(native_as)"? (note: the latter is not included in the Moderato package)

    Admittedly, there is no tutorial for the deployment of these demos.
    Please, retry the following steps:

    1. create a new subfolder (let's say "FlexDemo") in the "pages" directory of your Server installation
    2. copy into "FlexDemo" the contents of the "deploy" folder relative to the example you are interested in (all Flex examples contain a "deploy" folder)
    3. recall the demo from your browser with the same URL that makes the StockListDemo work, just replacing the local path with "/FlexDemo"


    Does anything change?

    Note that the next upgrade of the Server will include predeployed versions of the Flex demos.

  3. #3
    Senior Member
    Join Date
    Sep 2007
    Location
    des plaines
    Posts
    41
    Yes, it does work in this way:
    http://localhost:8080/flexdemo/

    But why it does not if I run it from my virtual folder? Web client works just fine.
    Is it because I am using IIS?

    Also I have noticed that when Flex example runs the processor is loaded up to 70-80%. Is that normal?

    Thanks for your help.

  4. #4
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    985
    In order to have the pages supplied by your web server, some small configuration changes are needed on the client.

    Please, clarify first thing if the sdk directory you are working with is "sdk_client_flash_flex(js_bridge)" or "sdk_client_flash_flex(native_as)". (note: the latter is not included in the Moderato package)

    Processor load considerations also depend on the specific sdk.

  5. #5
    Senior Member
    Join Date
    Sep 2007
    Location
    des plaines
    Posts
    41
    It is "sdk_client_flash_flex(js_bridge)" that comes with a free version. I have downloaded the latest one.

  6. #6
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    Hello,

    the flash bridge is based on the web client.
    To deploy the application on an external web server you have to edit the index.html file of the example to configure it on your domain.
    At the moment such example is configured to run just on internal web server. If you have some confidence with the web client you will be able to change its html file without problem.

    The CPU load is due the animation of the demo, you can change it completely to be have better performance.

    Let me know if you have any problem.

 

 

Similar Threads

  1. Replies: 3
    Last Post: July 29th, 2011, 08:56 AM
  2. Replies: 4
    Last Post: February 3rd, 2011, 10:33 AM
  3. Problem running JMS stocks demo
    By mnenchev in forum General
    Replies: 3
    Last Post: August 10th, 2009, 03:22 PM
  4. Problem in running the demo exe
    By Preethu in forum Adapter SDKs
    Replies: 1
    Last Post: June 8th, 2009, 02:41 PM
  5. .NET Selector Examples
    By wattsw in forum Client SDKs
    Replies: 1
    Last Post: November 14th, 2006, 04:28 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 10:08 AM.