[WinXP and Win7, f-in-box 3.5.3, Flash OCX 10.1.85.3 ]
Transparent flash component has a flashpaint event method.
FlashPaint(ASender: TObject; pPixels: Pointer);
Help or forum search tells nothing about it. But I think its called on every frame rendering. Event is not available in opaque TFlashPlayerControl.
Can you tell me more about the pPixels format.
- proper cast to ARGB pixels or whatever is byte ordering?
- pointer address is never changed at runtime?
- if I want to save argb pixels somewhere I must copy entire buffer because of next frame reuses same memory space?
- width and height of pixel buffer if player is smaller than animation clip, or what properties should be used as a buffer dimensions?
Do you have a proof of concept example foreach loop to manipulate pixels?