Solved

Flash movie in C++ application

Posted on 2004-07-31
1
354 Views
Last Modified: 2012-06-22
how do embed a flash movie or banner on a C++ application? i have set the activeX to shockwave button but i dunno how to run it..
0
Comment
Question by:mwcmp
1 Comment
 
LVL 19

Accepted Solution

by:
mrwad99 earned 500 total points
ID: 11685020
This is how you do it.

1) Add a new Flash object to the dialog resource if you have a dialogue based app.  (It is so much easier if you do btw).
2) Right click it, select class wizard and add a new member variable for it (say m_flash).  Let VC++ create the wrapper class.
3) In the OnInitDialog() or similar, call

m_flash.SetMovie("<path to your flash movie");// Note can even be an online flash fiile
m_flash.Play();
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
A short article about problems I had with the new location API and permissions in Marshmallow
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now