 |
|
 |
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
|
| Sign In·View Thread·PermaLink | 2.00/5 (1 vote) |
|
|
|
 |
|
 |
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?
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
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
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
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
|
| Sign In·View Thread·PermaLink | 1.00/5 (1 vote) |
|
|
|
 |
|
|
 |
|
|
 |
|
 |
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
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
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
|
| Sign In·View Thread·PermaLink | 2.00/5 (1 vote) |
|
|
|
 |
|
|
 |
|
|
 |
|
 |
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
|
| Sign In·View Thread·PermaLink | 1.00/5 (1 vote) |
|
|
|
 |
|
|
 |
|
 |
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
|
| Sign In·View Thread·PermaLink | 2.00/5 (1 vote) |
|
|
|
 |
|
 |
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
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
 |
Thanks for your comment..^^
Good Luck..
Tim Chae-Sang, Jung
-- modified at 3:10 Wednesday 30th November, 2005
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
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)?
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
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
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
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)...
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
 |
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
|
| Sign In·View Thread·PermaLink | 2.00/5 (1 vote) |
|
|
|
 |
|
 |
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
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
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
|
| Sign In·View Thread·PermaLink | 2.00/5 (2 votes) |
|
|
|
 |
|
 |
We can need another powerful flash component. it like Flash Decompiler. Render every frame, script, video ...
-------------------------- ERP VN: www.erpvn.net
|
| Sign In·View Thread·PermaLink | 2.00/5 (2 votes) |
|
|
|
 |
|
 |
It would be interesting if you could show how the code actually works. Not just how to init and use the class.
- - - - - - - - - - - - - - - - - - Memory leaks is the price we pay \0 01234567890123456789012345678901234
|
| Sign In·View Thread·PermaLink | 2.00/5 (3 votes) |
|
|
|
 |