Ask a Question related to Macromedia Shockwave, Design and Development.
-
cs3_n00b #1
Can C++ Container Determine AS2 vs AS3
I have a C++ container of Flash Player 11 (I have also tried Player 9 and
Player 10). How can the container ask the player what type of content it is
playing (AS2 or AS3)?
If I create an event handler (ExternalInterface.addCallback) in AS3 which
returns true (depicting AS3), and call m_FlashPlayer.CallFunction in my
container, I am able to receive/parse the ActionScript response ("<true/>").
However, if the content is "old" (i.e. AS2 which does not have the necessary
event handler) ... or if the content is AS3 and I deliberately throw an
exception (throw new Error("AS3 Error") in my event handler) ... the C++
container has no way of differentiating between AS2 or AS3. My container
catches the COleDispatchException, but there is no information within the
exception. Both scenarios result with an m_scError = 0x80004005 (E_FAIL).
Is there a prescribed way for a container to ask the Shockwave player if it is
playing AS2 or AS3 content?
cs3_n00b Guest
-
Container
Can someone explain what the Container object is, and how it it related to data binding? I can't find any reference for it anywhere. Mike -
Controls container
Hi. I'm creating a .NET server component that inherit from Table (WebControls) class. It's a container that implement this html architecture... -
[PHP] Container functions....
Justin: Not ColdFusion - ancient language by Brian Fox called MetaHTML - actually a VERY good language - just not supported or developed anymore... -
DataList Container
Hi, My question is how do I set some text within my datalist itemtemplate to be bold, based on the higher value of two bound data items? For... -
Scrollable Container
Is it possible to create a Panel with a vertical scrollbar? Thanks Rob -
Sean Wilson #2
Re: Can C++ Container Determine AS2 vs AS3
You are confusing the Shockwave Player (which runs Director-created
content) with the Flash Player
Sean Wilson Guest



Reply With Quote

