Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Programming in VB or VC++ and incorporating Flash objects as a skin or movies or buttons

Posted on 2004-09-16
5
Medium Priority
?
347 Views
Last Modified: 2010-04-17
I have aproject where I am supposed to make a form where much of the skin will be in Flash.  I also have to make containers where I can play Flash movies that contain buttons and perform actions on those buttons.  Can someone lead me to a guide on how to do this?
0
Comment
Question by:ddepuemd
  • 3
  • 2
5 Comments
 
LVL 3

Expert Comment

by:Santino_k
ID: 12081260
All you will need to do is embedd an Flash ActiveX control on your form. Choice of Language would be dependent on the language you are most comfortable with. While using VC++ you will need to know some basics of COM and also the Event Sink mechanism etc. VB on the other hand will be easier to use
Hope this helps
0
 

Author Comment

by:ddepuemd
ID: 12082685
Where do I find a Flash ActiveX object?
0
 
LVL 3

Accepted Solution

by:
Santino_k earned 375 total points
ID: 12099395
you will find it in following path if your OS is installed on C Drive
C:\WINNT\system32\macromed\flash\Flash.ocx

You can download it from Macromedia site www.macromedia.com  (I think you download and install Flash Player and it comes with it)

You will find it as "Shockwave Flash" in Components Under VB

Let me know if you need any more information

Have a great day ahead
0
 

Author Comment

by:ddepuemd
ID: 12192098
Actually, is there a way to run just the Flash movie without having to make a form and embed the movie in the form?
0
 
LVL 3

Expert Comment

by:Santino_k
ID: 12214801
Yes. Lets say you have myMovie.swf file that you need to run. Every known file type is registered with corresponding applications for example a .DOC file is associated with Ms Word . If you open .DOC file, it will open in MS-Word app.
Similary, an .SWF file is registered with Flash Player.
Use ShellExecute(...) API. If a player is installed you can use "Open" method of ShellExecute that will open your movie file in default registered appllication ie: Flash player
Else you can open IE and specify the file path as commandline parameter to it.

Look for details on ShellExecute(...) API.

Have a great day!
 and thanks for the Points :-D

Regards,
Santino
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

The SignAloud Glove is capable of translating American Sign Language signs into text and audio.
When you discover the power of the R programming language, you are going to wonder how you ever lived without it! Learn why the language merits a place in your programming arsenal.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
Loops Section Overview

963 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