Flash - unload movie
Flash - unload movie
Flash - unload movie
Flash - unload movie
Flash - unload movie
Flash - unload movie Flash - unload movie Flash - unload movie Flash - unload movie Flash - unload movie Flash - unload movie Flash - unload movie Flash - unload movie
Flash - unload movie Flash - unload movie
Flash - unload movie
Go Back  Xtreme Visual Basic Talk > > > Flash - unload movie


Reply
 
Thread Tools Display Modes
  #1  
Old 10-28-2001, 04:08 AM
wild wolf's Avatar
wild wolf wild wolf is offline
Contributor
 
Join Date: Aug 2001
Location: Mombasa Island
Posts: 499
Question Flash - unload movie


how do we unload a movie once it has played, i have a way by putting the movie in a dif form anf then unload the form, but if the movie is in the same form as ur prog, how do we unload it? (if i dun unload the movie the game is very slow thought the movie visible is set to false)
__________________
asrar
Reply With Quote
  #2  
Old 10-28-2001, 11:28 AM
ChiefRedBull's Avatar
ChiefRedBullFlash - unload movie ChiefRedBull is offline
ISearchGoogle

Retired Moderator
* Expert *
 
Join Date: May 2001
Location: england
Posts: 6,321
Default Re: Flash - unload movie

Try unloading the control that holds the movie.

(which control is it by the way??)

Chief
__________________
Chuck Norris ordered a Big Mac at Burger King, and got one.
Reply With Quote
  #3  
Old 10-28-2001, 12:19 PM
wild wolf's Avatar
wild wolf wild wolf is offline
Contributor
 
Join Date: Aug 2001
Location: Mombasa Island
Posts: 499
Default Re: Flash - unload movie

what do u mean control? do u mean the shockwave flash plugin?
__________________
asrar
Reply With Quote
  #4  
Old 10-28-2001, 12:42 PM
ChiefRedBull's Avatar
ChiefRedBullFlash - unload movie ChiefRedBull is offline
ISearchGoogle

Retired Moderator
* Expert *
 
Join Date: May 2001
Location: england
Posts: 6,321
Default Re: Flash - unload movie

How are you playing the movie? You draw something on the form and use that right?

Anything you draw onto the form is called a "control", becaues it allows the users to control your program.

If you use the
<pre><font color=red>Unload objName

</pre></font color=red>syntax, you can remove controls from the form at runtime, thus freeing up memory.

Chief
__________________
Chuck Norris ordered a Big Mac at Burger King, and got one.
Reply With Quote
  #5  
Old 10-28-2001, 10:00 PM
e_bluez
Guest
 
Posts: n/a
Default Re: Flash - unload movie

Since you guys are busy discussing unloading, would you mind telling me how to have the splash screen disappear after, lets say 3 seconds. I have tried it out but something seems to be wrong. Can't figure it out.
Reply With Quote
  #6  
Old 10-28-2001, 10:17 PM
orufet's Avatar
orufet orufet is offline
Paranoid Coder

Retired Leader
 
Join Date: Mar 2001
Location: Canada
Posts: 2,716
Default Re: Flash - unload movie

You should start your own thread for a completely unrelated topic. Just use a timer with an interval of 3000
Reply With Quote
  #7  
Old 10-28-2001, 10:21 PM
wild wolf's Avatar
wild wolf wild wolf is offline
Contributor
 
Join Date: Aug 2001
Location: Mombasa Island
Posts: 499
Default Re: Flash - unload movie

create a timer for it, set the timer interval to say 10000.. in the sub on fomr load set
timer.interval = 10000
timer.enabled = true

in the timer sub use while loop

while counter &lt; 100
counter = counter + 1
if counter = 100 then Unload form
wend

remember to set the counter to 0.

please correct me if there is any error, or if there is any other way simpler than this, [img]images/icons/smile.gif[/img]
__________________
asrar
Reply With Quote
  #8  
Old 10-29-2001, 07:36 AM
wild wolf's Avatar
wild wolf wild wolf is offline
Contributor
 
Join Date: Aug 2001
Location: Mombasa Island
Posts: 499
Default Re: Flash - unload movie

1 more thing,
i want to unload a form once the movie completes, how can we do that?
__________________
asrar
Reply With Quote
  #9  
Old 03-17-2015, 11:41 AM
fibitini fibitini is offline
Freshman
 
Join Date: Feb 2005
Posts: 33
Default

im not replying the OP specifically, but to other people that want to know how to do it, since this thread is "VERY OLD".

anyway. to use the UNLOAD to stop/unload the movie could be useful if you don't need the control anymore, but what about you want to use it again?

its quite simple.

you load a flash using:
ShockwaveFlash1.Movie = filename
or
ShockwaveFlash1.LoadMovie 0, filename

to unload you simple write:
ShockwaveFlash1.Movie = " "
or
ShockwaveFlash1.LoadMovie 0, " "

the " " is just a space. you can't use vbNullString.

then you can ShockwaveFlash1.Visible = True / False to show and hide the control.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Flash - unload movie
Flash - unload movie
Flash - unload movie Flash - unload movie
Flash - unload movie
Flash - unload movie
Flash - unload movie Flash - unload movie Flash - unload movie Flash - unload movie Flash - unload movie Flash - unload movie Flash - unload movie
Flash - unload movie
Flash - unload movie
 
Flash - unload movie
Flash - unload movie
 
-->