 |
|
 |
I was wondering if you'd mind sending me ZFlash lib full, I can't find it on web and I need it? Email:nezarati.ali@gmail.com Thx
|
|
|
|
 |
|
 |
I tried to run the demo verions in VS2005. but it is not working.
Can I compile the source code in VS 2005 ?
Thanks
Thilani
|
|
|
|
 |
|
 |
I want to grab all the frames in a flash to BMP,
In CFlashRender::LoadFlash(TCHAR *sFlashFileName)
....
CRect rc;
_tcscpy(m_sFlashFileName, sFlashFileName);
rc.top=rc.left=0;
rc.right=rc.left+256;
rc.bottom=rc.top+256;
m_Flash->LoadMovie(sFlashFileName,rc);
rc.bottom-=26; //Black borders
rc.right-=6; //Black borders
m_iFlashWidth=rc.Width();
m_iFlashHeight=rc.Height();
m_pFlashBuffer = (BYTE*)m_Flash->CreateBuffer(rc);//*/
In CFlash::LoadMovie(TCHAR *movie_name,int nWidth,int nHeight)
{
......
iflash->put_scale(CComBSTR("ExactFit"));//ShowAll,NoBorder,ExactFit
}
But when i get BMPs,there are Black borders at bottom and right.
Why?
Is C++/MFC a good way?
|
|
|
|
 |
|
 |
I've same problem... Try Change code "LoadMovie" in zflash.cpp
void CFlash::LoadMovie(char *movie_name)
{
:
:
before:
AdjustWindowRect(&rc, 0, FALSE);
pcw->Create(NULL, &rc, flash_clsid_c, 0);
after:
AdjustWindowRect(&rc, WS_OVERLAPPEDWINDOW, FALSE);
pcw->Create(hwnd, rc, flash_clsid_c, WS_OVERLAPPEDWINDOW);
:
:
}
Probably youe need to AdjustWindowRect with dwStyle=WS_OVERLAPPEDWINDOW
|
|
|
|
 |
|
 |
It's very useful for extracting BMP from SWF files. Can anybody provide some information to extract audio data from the SWF files. Thanks ahead!
Oliver
|
|
|
|
 |
|
 |
we can't really extract audio from coding, coz Flash.ocx dn't support this.
|
|
|
|
 |
|
|
 |
|
 |
if you want that it work on VC 2005, you should get another interface of flash.ocx. It is only COM.
My source only work on VC 6.0
|
|
|
|
 |
|
 |
Hi,
The code is a little messy (0 sized files ??) and sample doesn't work, although it looks good.
Can u please revise it to DevStudio 2005, and include a staticly linked sample ?
Thanks in advance
|
|
|
|
 |
|
 |
it work on VC++ 6.0
--------------------------
ERP VN: www.erpvn.net
|
|
|
|
 |
|
|
 |
|
 |
error C2065: 'strcpy_instead_use_StringCbCopyA_or_StringCchCopyA' : undeclared identifier
zflash - the project file was not found at d:\works\flash_src\zflash on USERID_ 42(server)\zflash.dsp
Tim Chae-Sang, Jung
|
|
|
|
 |
|
|
 |
|
 |
I used VC++ 6.
I found a cause of error , and fixed it yesterday..^^
strcpy(sFileName, m_sFlashFileName.GetBuffer(m_sFlashFileName.GetLength()));
=>
memcpy(sFileName, m_sFlashFileName.GetBuffer(m_sFlashFileName.GetLength()), m_sFlashFileName.GetLength());
sFileName[m_sFlashFileName.GetLength()] = NULL;
Others position is used memcpy but, only this position place to strcpy..
Why?
But I do to thank meouvn to.
Good Luck to you~!!
Tim Chae-Sang, Jung
|
|
|
|
 |
|
 |
Saw well your source. Though there is inquiry item, it is inquiry item about zflash.lib. Speak that coded this source suitably, where have whole source? Even if find, don't find. If it is free charge, inform just. Then, wait RE: Tim Chae-Sang, Jung
|
|
|
|
 |
|
|
 |
|
 |
Thanks for your comment..^^
Good Luck..
Tim Chae-Sang, Jung
-- modified at 3:10 Wednesday 30th November, 2005
|
|
|
|
 |
|
 |
I came here looking for info on how to parse .swf files, because I have a few problems in my own C# swf parser - but it seems you're using "ZFlash" for the actual parsing. Is it an open-source library? Do you have any links to info (can't find anything on google)?
|
|
|
|
 |
|
 |
you can find it on my source. this lib only use a COM Flash.ocx and we will dn't know anything about parsing flash file. Except, we can't know details about Flash.ocx
Cheers,
--------------------------
ERP VN: www.erpvn.net
|
|
|
|
 |
|
 |
Ouch, OCX. A dead end.
It's strange that although the swf format is open, there are no open-source C# parsers (and only few written in other languages)...
|
|
|
|
 |
|
 |
fatal error C1083: Cannot open include file: 'dshow.h': No such file or directory
|
|
|
|
 |
|
 |
Try to ignore dshow.h or install DirectX SDK. But i think that my application dn't need that file. Try one more.
--------------------------
ERP VN: www.erpvn.net
|
|
|
|
 |
|
 |
Comment the including line
and change NUMELMS(szBuffer) as a const value
it gets ok
However, it seems a little complicate for it includes many unknown libs
Anyway, thanks for your help
|
|
|
|
 |
|
 |
um, i wasn't sure what it meant to change NUMELMS to a const value
but this worked for me:
//#include "dshow.h"
#ifndef NUMELMS
#define NUMELMS(aa) (sizeof(aa)/sizeof((aa)[0]))
#endif
|
|
|
|
 |
|
 |
We can need another powerful flash component. it like Flash Decompiler. Render every frame, script, video ...
--------------------------
ERP VN: www.erpvn.net
|
|
|
|
 |