Author Message

Posted: Thu Nov 19, 2009 4:14 am   Post subject: What is the definitive procedure for Flex integration?

Before buying, my company must have better documentation of the best practices for this.

I have been told conflicting things here and I need something more clear.

First, a message from the development team:

"Notice from the development team:
The communication via AS3 bridge is an outdated technology...
We at iSpring highly recommend to use ActionScript 3 connector approach."

The problem there is that the only Flex samples in the SDK are Flex2 and use a class called "PresentationContainer".

A member of the ISpring team says that class is obsolete:

"Just for the information. The PresentationContainer class is obsolete since iSpring SDK 4.2. It is left for the legacy code compatibility and should not be used in newer applications since it is not supported officially"

Which of these things are true?

The site needs a "Best Practices for Flex Integration" section with procedures and current sample code.

Profile profile test

Posted: Thu Nov 19, 2009 11:28 am   Post subject: Re: What is the definitive procedure for Flex integration?

There are 2 ways of using iSpring generated presentation with Flex and AS3 applications:

1. Current approach described here. ... _flex.html

2. Obsolete approach (aka AS3 bridge) described here: ... 3_api.html

Both ways use the same technology - a communication via LocalConnection. The difference is as follows:
The current approach assumes that the AS3 connection module is integrated into the presentation. AS3 code is communicating with the presentation SWF file directly through the AS3 connection module
There is no AS3 connection module in the obsolete approach. There is an extra AS2 SWF file (called AS3 bridge) which is loaded by an AS3 application. This SWF file loads the presentation and communicates with it via AS API. On the other hand it communicates with AS3 application via LocalConnection.

Flex samples illustrating the usage of both approaches contain an auxiliary class ispring.flex.PresentationContainer. Through the class name is the same, an implementation is different.

This class is not a part of the SDK and is used for illustration purposes only. In other words, you don't have to use the PresentationContainer class. You may directly use the ispring.as2player.PresentationLoader class to load the presentation and get its ispring.as2player.IPlayer interface.

In this case

Profile profile test WWW www ICQ ICQ
Display posts from previous:  Sort by  


Who is online
Who is online In total there are 8 users online :: 3 registered, 0 hidden and 5 guests (based on users active over the past 5 minutes)
Most users ever online was 108 on Thu Nov 21, 2013 3:41 pm

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]