Jules, I need your help!


#1

I create new class JucerActiveComponent for play swf files. The methods of class return to me - the file is playing, but the screen is not refresh!
I understood week, I can not find a mistake!
Can I send you my project to e-mail?


#2

Ok, I’ll take a look if you like.


#3

I sent e-mail!


#4

I don’t know - it looks fine and the flash player is definitely working because its menu pops up if you click it. Maybe there’s something else that needs to be called to make it draw? Other activeX comps repaint correctly so it must be something quirky about this one.


#5

For ActiveX need call only LoadMovie. ( successfully work in wxWidgets )

[quote]Maybe there’s something else that needs to be called to make it draw?
[/quote]
“ActiveXControlComponent::paint(g);” is not enough?


#6

paint() doesn’t draw it, it draws itself into its own sub-window. I meant that maybe there’s some other set-up you need to do to it.


#7

In ActiveXControlComponent::createControl you use class ActiveXControlData with IStorage, but flash ActiveX (FlDbg9c.ocx) do not have this interface(it have IPersistStorage). Maybe problem in this interface?


#8

Maybe, though I’d have thought that IPersistStorage is just a subclass of IStorage, isn’t it?


#9

ever solve this issue? I was attempting the same thing and had the same problem…


#10

Sorry, I’ve not looked into it since this post…


#11

Could this be of any help?
http://www.adobe.com/devnet/flash/articles/fplayer8_security_08.html

It looks like it requires a call to either EnforceLocalSecurity() or DisableLocalSecurity() before you load any media.

Thanks Jules!


#12

I just had another quick look at this, and am completely stumped - it looks like everything’s loaded correctly, but it just doesn’t draw anything…


#13