Solved

FLASH in Delphi (Cycle)

Posted on 2002-06-20
4
322 Views
Last Modified: 2010-04-04
Does anyone know how to cycle flash files in delphi?
I was thinking of doing a loop and playing
different flash files from delphi.

I can't seem to load a new flash file. This
is the statement I'm using:

 shockwaveflash1.LoadMovie(1,'sample.swf');

How would I do a loop and load another file?

Darin
0
Comment
Question by:waipahu
  • 2
4 Comments
 
LVL 9

Expert Comment

by:ginsonic
Comment Utility
Read this article :

Displaying Macromedia Flash .SWF files in your Delphi Application

http://www.delphipages.com/news/detaildocs.cfm?ID=38

And look for :

Loop (get or set) - True if the animation loops, false to play once. Same as the MOVIE parameter.
0
 
LVL 9

Accepted Solution

by:
ginsonic earned 50 total points
Comment Utility
You wish to loop or to load a new file at end ? Don't understand .

If wish to load a new file at the end  use

TotalFrames (get only) - Returns the total number of frames in the movie. This is not available until the movie has loaded. Wait for ReadyState = 4.

FrameNum (get or set) - The currently displayed frame of the movie. Setting this will advance or rewind the movie.

When FrameNum=TotalFrames then load and play a new one .
0
 

Expert Comment

by:CleanupPing
Comment Utility
waipahu:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0
 
LVL 5

Expert Comment

by:Lukasz Lach
Comment Utility
waipahu,
No comment has been added lately (17 days), so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area for this question:

RECOMMENDATION: Award points to ginsonic http:#7097807

Please leave any comments here within 7 days.

-- Please DO NOT accept this comment as an answer ! --

Thanks,

anAKiN
EE Cleanup Volunteer
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

771 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

10 Experts available now in Live!

Get 1:1 Help Now