Anybody knows the answer to this by any chance?

Anybody knows the answer to this by any chance?
http://stackoverflow.com/q/26530199/55841?sgp=2

Comments

  1. Can the avi be played outside the app? I.e. is there a codec in place?

    ReplyDelete
  2. Lars Fosdal  I am just using the component in its basic functionality.
    I am not even sure how to check whether it's a component problem or something to do with Windows.
    Do you have any "easy" code I can use? I don't have the JVCL installed here (I think there's code in there for this).

    A

    ReplyDelete
  3. I am wondering whether the problem is that Win 7 does not define those common AVIs anymore.
    Groan,I hope this isn't the reason...

    ReplyDelete
  4. Tested with XE6 on Windows 8.1 Pro: Same problem.  Set to active, but not animating.
    Tried doublebuffering, repetitions, timers, etc. - but no effect.

    ReplyDelete
  5. This doesn't look good AT ALL.

    Groan...

    ReplyDelete
  6. Doesn't TAnimate have a Play method?

    ReplyDelete
  7. Andrea Raimondi - Are you doing actual file copying?

    ReplyDelete
  8. Visible true. ParentDoubleBuffering doesn't affect it.  If I turn off transparency, I get a pink rectangle, but no sign of an animation.

    ReplyDelete
  9. I have not had much success with tanimate on mobile (hint dont use it because of that).but check out the alternative in my link above

    ReplyDelete
  10. XE6: Vcl.ComCtrls.pas
    function TAnimate.GetActualResHandle: THandle; reveals where it tries to load the resources from.  Is there some sort of resource that needs to be included?

    2 min later: Yes, there is!

    RAD Studio\xx.0\lib
    \win32\release or debug and
    \win64\release or debug contains the .res files!

    Add 
    {$R copyfile.res}
    to your project, Andrea Raimondi !

    Each animation has it's own .res file.

    If you do not have the resource files in BDS 2006, it is not unlikely that they can be sourced elsewhere.

    ReplyDelete

Post a Comment