Jetmen Revival downloads Forum Index
RegisterSearchFAQMemberlistUsergroupsGalleriesLog in
tory burch Flash animation is implemented in VC pl

 
Reply to topic    Jetmen Revival downloads Forum Index » JETMEN ONLINE View previous topic
View next topic
tory burch Flash animation is implemented in VC pl
Author Message
lompiacv
Forum Master
Forum Master



Joined: 28 Aug 2010
Posts: 899
Read: 0 topics

Location: eelqdx

Post tory burch Flash animation is implemented in VC pl
,[link widoczny dla zalogowanych]
Implemented in the Flash animation player VC


NUII); to Navigate2 () function,[link widoczny dla zalogowanych], the first parameter into Temp. swf storage path. Mentioned in the release of resources to the file does not specify an absolute path, it should be released from the resource files and applications in the same directory. But here is the absolute path if you do not specify the temporary file can not be displayed. Get the absolute path of the temporary file can be achieved as follows: first,[link widoczny dla zalogowanych], to get the absolute path of the application itself, and then remove the full name of the application (program name and extension), then get the application and the temporary files folder in which path,[link widoczny dla zalogowanych], and only on this basis, coupled with the temporary name of the file Temp. swf to get the full path to the temporary file. Here is the main code: 1) Get the application's full path charexeFullPathEMAX-PATH ~; GetModuleFileName (NUII, exeFullPath, MAX-PATH); m-TempFile. Format (S \; m-TempFile.Format (S, exeFullPath); / / get the path where the application of a m-TempFile + Temp.swf; / / get the full path to the temporary file will be the last full path to the temporary file as a parameter m-TempFile to Navigate2 (), you can run the program as a home page displays the Flash animation. Temp.swf the temporary file in the program is running is from the application of resources extracted,[link widoczny dla zalogowanych], so before exiting the program needs to be removed. generally in the message WM-DESTORY in the response function, through the DeleteFile () function implementation. 5O of Hebei Engineering College 3.2 external swf file shows the user through the file dialog to get the swf file path as a parameter passed to a function of view class ChtmlView Navigate2 () to display (Figure 1). Figure 1QQ mailbox move I fell swf J show the 4 Conclusion This article describes two methods for playing swf files, focusing described by the embedded resources to achieve the dynamic release of Flash animation to play in the VC process mechanisms and techniques, and the dynamic release of resources made more clear description. by a similar approach can be dynamic link libraries, HTML files embedded in the program module as a resource in the use of dynamic again when released into the temporary file, so the module can effectively avoid the paper clutter and excessive loss of program modules and other causes the program to run non-normal happening. Windowsxp program described in this article, by Mi-crosoftVisualC + +6 .0 compile. Flash animation produced by the MacromediaFlash7.0 required browser support for the InternetExplorer6.0. CHtmlView play through. References [1] Clayton. Walnumwindows2000 programming core technology intensive solutions [M]. Beijing: China Water Conservancy and Hydropower Press, 2002 [2] Zheng Archie so. VisualC + + tutorial examples [M]. Beijing: Electronic Industry Press, 2000. PlayingFlashMoviebyVisualC + + MAXiao-hui (DepartmentofComputer. HebeiEngineeingandTechnicalCollege. Cangzhou061001. China) Abstract: ThispaperpresentsthemethodofplayingflashmovieinVisualC + + bymeansofchangingtheexternalswffiletointernalresourceandreleasingittotemporaryfile.Keywords: resource; flashmovie; VisualC + + (Editor: Li Tongdong)

相关的主题文章:


[link widoczny dla zalogowanych]

[link widoczny dla zalogowanych]

[link widoczny dla zalogowanych]


The post has been approved 0 times
Mon 22:15, 06 Dec 2010 View user's profile
Display posts from previous:    
Reply to topic    Jetmen Revival downloads Forum Index » JETMEN ONLINE All times are GMT + 2 Hours
Page 1 of 1

 
Jump to: 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


fora.pl - załóż własne forum dyskusyjne za darmo
Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Music Lyrics.
Regulamin