Flash ActiveX : loading from SWF in memory with FWK 2.0

  • Thread starter Thread starter lalekse
  • Start date Start date
L

lalekse

Hi there.

I've been searching for 2 days now a way to load a resource (byte[])
into a Flash Player 9 ActiveX Container. I've found a lot of
discussions, talking about IBindHost, IManiker and so on... I think
I've understand a part of those, but I didn't found anything concerning
the .NET framework 2.0 (with C#).

Would someone have info on that? The point is that the ActiveX only
have a "Movie" property, or LoadMovie/SetMovie methods, all of them
asking for a Path on the fileSytem (or an URL). So would there be a way
to creating a "virtual" mapping between a byte[] from a ressource and a
kind of "virtual" file system? Or a way to use the IManiker like with
VC++?

Thanks by advance!

LAlex
http://www.lalex.com/
 
LAlex,

If you are going to use the IMoniker interface (not IManiker), then the
flash control will have to support IPersistMoniker. Does it indeed support
that interface?
 
Hi Nicholas, sorry for the delay to answer, and thanks by advance for
your help...

I'm currently working with Visual C# Express 2005. In the Object
Explorator, it creates a AxShockwaveFlash instance, which inherit from
AxHost:
http://msdn2.microsoft.com/en-us/library/system.windows.forms.axhost.aspx

But if I use the OLE/COM Viewer from VS 2003, I see that the ActiveX
implements :
- IConnectionPointContainer
- IDataObject
- IDispatch
- IOleControl
- IOleInPlaceActiveObject
- IOleInPlaceObject
- IOleObject
- IOleWindow
- IPersistPropertyBag
- IPersistStorage
- IPersistStreamInit
- IProvideClassInfo
- IProvideClassInfo2
- IQuickActivate
- ISchockwaveFlash
- ISpecifyPropertyPages
- IUnknown
- IViewObject
- IViewObject2

It seems that not all the interfaces are available from C#. Is there a
way to know which method calls are performed by the ActiveX control,
then which method of it are called by the system?

Thanks again

LAlex

Nicholas Paldino [.NET/C# MVP] a écrit :
LAlex,

If you are going to use the IMoniker interface (not IManiker), then the
flash control will have to support IPersistMoniker. Does it indeed support
that interface?


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Hi there.

I've been searching for 2 days now a way to load a resource (byte[])
into a Flash Player 9 ActiveX Container. I've found a lot of
discussions, talking about IBindHost, IManiker and so on... I think
I've understand a part of those, but I didn't found anything concerning
the .NET framework 2.0 (with C#).

Would someone have info on that? The point is that the ActiveX only
have a "Movie" property, or LoadMovie/SetMovie methods, all of them
asking for a Path on the fileSytem (or an URL). So would there be a way
to creating a "virtual" mapping between a byte[] from a ressource and a
kind of "virtual" file system? Or a way to use the IManiker like with
VC++?

Thanks by advance!

LAlex
http://www.lalex.com/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top