Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

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
?
341 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

The top UI technologies you need to be aware of

An important part of the job as a front-end developer is to stay up to date and in contact with new tools, trends and workflows. That’s why you cannot miss this upcoming webinar to explore the latest trends in UI technologies!

Question has a verified solution.

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

Make the most of your online learning experience.
The SignAloud Glove is capable of translating American Sign Language signs into text and audio.
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…
Simple Linear Regression

688 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