Dear all.
first.. i'm poor for english. --;;

I'm write VC++ 6.0 activex control that contains shockwave flash
control.
I can catch fs command from flash control in my ocx(1), but how can I
pass it to web page? (2)

(1) (2)
flash movie -> flash control -> my ocx -> web page

I've thought it would be able by firing event from my ocx to web page
which named 'fscommand', but it does not work.
What shall I do?

Re: how to make my ocx like flash movie? by ama

ama
Fri Nov 25 06:45:44 CST 2005


"librestilo"
> Dear all.
> first.. i'm poor for english. --;;
>
> I'm write VC++ 6.0 activex control that contains shockwave flash
> control.
> I can catch fs command from flash control in my ocx(1), but how can I
> pass it to web page? (2)
>
> (1) (2)
> flash movie -> flash control -> my ocx -> web page
>

The Flash Control is encapsulated in your control and
there is no way for the hosting document to be "aware"
that you encapsulated Flash. Unless the host of
the control is made by Houdini. :-}

solution:

You could simply add and Event to your control :
FSCommand(BSTR, BSTR) and when you get the
fscommand from Flash, simply "fire" your event.

Then in the document page that hosts the control
you can declare a tag that sinks that event, exactly
like you would do if it was Flash exept that you
declare your <object> tag with your GUID.




Re: how to make my ocx like flash movie? by librestilo

librestilo
Thu Dec 01 03:08:33 CST 2005

thanx for your nice advice.
I'll try it...

hand~

ama =EC=9E=91=EC=84=B1:

> "librestilo"
> > Dear all.
> > first.. i'm poor for english. --;;
> >
> > I'm write VC++ 6.0 activex control that contains shockwave flash
> > control.
> > I can catch fs command from flash control in my ocx(1), but how can I
> > pass it to web page? (2)
> >
> > (1) (2)
> > flash movie -> flash control -> my ocx -> web page
> >
>
> The Flash Control is encapsulated in your control and
> there is no way for the hosting document to be "aware"
> that you encapsulated Flash. Unless the host of
> the control is made by Houdini. :-}
>
> solution:
>
> You could simply add and Event to your control :
> FSCommand(BSTR, BSTR) and when you get the
> fscommand from Flash, simply "fire" your event.
>
> Then in the document page that hosts the control
> you can declare a tag that sinks that event, exactly
> like you would do if it was Flash exept that you
> declare your <object> tag with your GUID.