-
May 14th, 2008, 07:56 PM
#1
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.
-
May 15th, 2008, 09:06 AM
#2
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:
- create a new subfolder (let's say "FlexDemo") in the "pages" directory of your Server installation
- copy into "FlexDemo" the contents of the "deploy" folder relative to the example you are interested in (all Flex examples contain a "deploy" folder)
- 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.
-
May 15th, 2008, 03:35 PM
#3
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.
-
May 16th, 2008, 09:05 AM
#4
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.
-
May 16th, 2008, 01:38 PM
#5
It is "sdk_client_flash_flex(js_bridge)" that comes with a free version. I have downloaded the latest one.
-
May 19th, 2008, 09:41 AM
#6
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
-
By ulises.juarez in forum General
Replies: 3
Last Post: July 29th, 2011, 08:56 AM
-
By msgiribabu in forum Adapter SDKs
Replies: 4
Last Post: February 3rd, 2011, 10:33 AM
-
By mnenchev in forum General
Replies: 3
Last Post: August 10th, 2009, 03:22 PM
-
By Preethu in forum Adapter SDKs
Replies: 1
Last Post: June 8th, 2009, 02:41 PM
-
By wattsw in forum Client SDKs
Replies: 1
Last Post: November 14th, 2006, 04:28 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 10:20 PM.
Bookmarks