Solved

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

Posted on 2004-09-16
5
306 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 125 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

A short article about a problem I had getting the GPS LocationListener working.
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

860 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