DeleteFlash
DeleteFlash FlashId
Parameters
:
FlashId=The Id of the Flash movie
Returns
: NONE
DeleteFlash
deletes a Flash movie from memory.
; include the flash library
#Include
"PBFlash.pba"
; load a flash movie and display it
LoadFlash
CurrentDir$
()
+
example.swf
", 1, 0, 30
; Was flash loaded?
If
GetFlashStatus(
1
)
=
1
Then
Text
0
,
0
,
"Flash movie loaded."
Sync
WaitKey
; Delete flash
DeleteFlash
1
; Was flash unloaded
If
GetFlashStatus (
1
)
=
0
Then
Text
0
,
0
,
"Flash movie was loaded."
Sync
WaitKey
Related Info:
:
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com