Solved

Shockwave Flash Component?

Posted on 2000-04-14
9
971 Views
Last Modified: 2010-04-04
Is there a Shockwave Flash component anywhere?  (Obviously I'd prefer freeware!)  I just wanna be able to use Flash stuff on splash screens etc., not edit them or anything.

Thanks,

John.
0
Comment
Question by:Jaymol
9 Comments
 
LVL 6

Expert Comment

by:edey
ID: 2715984
well, there I suppose you could use the ie control as a container

GL
Mike
0
 
LVL 6

Author Comment

by:Jaymol
ID: 2716008
Hmmm, yeah you could, couldn't you, but if the end user hasn't got the plugin, it won't work!  Since I'll be using it for splash screens and stuff for applications that I write for work, I can pretty much guarantee that the majority of users wouldn't even know what a plugin is!!!

Thanks anyway.

John.
0
 
LVL 4

Expert Comment

by:Radler
ID: 2716061
Hi Jaymol,

Looked you Macromedia site ?
I heard somthing about a OCX to direct acess to flash engine.

T++, Radler.
0
ScreenConnect 6.0 Free Trial

At ScreenConnect, partner feedback doesn't fall on deaf ears. We collected partner suggestions off of their virtual wish list and transformed them into one game-changing release: ScreenConnect 6.0. Explore all of the extras and enhancements for yourself!

 
LVL 6

Author Comment

by:Jaymol
ID: 2716396
Radler, I had a look but couldn't find anything.  There was talk about it, but I didn't see anything to download.

John.
0
 
LVL 6

Author Comment

by:Jaymol
ID: 2716493
I won't be commenting on this question again till Monday, so don't worry - I haven't forgotten about you!

John.
0
 
LVL 6

Expert Comment

by:edey
ID: 2716681
You can check for the plugin.

Gl
Mike
0
 
LVL 3

Accepted Solution

by:
Alisher_N earned 50 total points
ID: 2717478
I think there are two solutions at the moment:
1) use ActiveX control + IE
2) use standalone Flash player as part of your application or better create EXE file from SWF and run that exe from your application

0
 
LVL 6

Author Comment

by:Jaymol
ID: 2721882
Thanks Alisher for pointing out the absolute obvious answer - create an EXE and use that.  I'll dump it in a RES file and run it instead of creating a splash screen.

Thanks to everyone else, but this was the only 100% feasible answer for using on any PC - doesn't require that the user has IE set up or a Flash plugin.

Ta.

John.
0
 

Expert Comment

by:KoenHoebeek
ID: 3774077
You will find the Flash SDK on the Macromedia site.
Just install the ActiveX component in Delphi (on your computer when you have Flashplayer installed).

This are some methods you can use :

long GetReadyState();
long GetTotalFrames();
BOOL GetPlaying();
void SetPlaying(BOOL bNewValue);
long GetQuality();
void SetQuality(long nNewValue);
long GetScaleMode();
void SetScaleMode(long nNewValue);
long GetAlignMode();
void SetAlignMode(long nNewValue);
long GetBackgroundColor();
void SetBackgroundColor(long nNewValue);
BOOL GetLoop();
void SetLoop(BOOL bNewValue);
CString GetMovie();
void SetMovie(LPCTSTR lpszNewValue);
long GetFrameNum();
void SetFrameNum(long nNewValue);
void SetZoomRect(long left, long top, long right, long bottom);

void Zoom(long factor);
void Pan(long x, long y, long mode);
void Play();
void Stop();
void Back();
void Forward();
void Rewind();
void StopPlay();
void GotoFrame(long FrameNum);
long CurrentFrame();
BOOL IsPlaying();
long PercentLoaded();
BOOL FrameLoaded(long FrameNum);
long FlashVersion();
CString GetWMode();
void SetWMode(LPCTSTR lpszNewValue);
CString GetSAlign();
void SetSAlign(LPCTSTR lpszNewValue);
BOOL GetMenu();
void SetMenu(BOOL bNewValue);
CString GetBase();
void SetBase(LPCTSTR lpszNewValue);
CString GetScale();
void SetScale(LPCTSTR lpszNewValue);
BOOL GetDeviceFont();
void SetDeviceFont(BOOL bNewValue);
BOOL GetEmbedMovie();
void SetEmbedMovie(BOOL bNewValue);
CString GetBGColor();
void SetBGColor(LPCTSTR lpszNewValue);
CString GetQuality2();
void SetQuality2(LPCTSTR lpszNewValue);

It works great. Read also http://www.macromedia.com/support/flash/ts/documents/set_variables.htm

Very interesting document!!!!
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Best Firemonkey component pack 1 105
code issue 8 132
enhance the following code 3 32
Delphi Seattle StructureView color 1 5
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

821 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