axShockwaveFlash loading files stimuansly
If you need help with a project or need to know how to do something specific in VB.NET then please ask your questions in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
8 posts
Page 1 of 1
Hello im stuck on a problem here, ive created a little application that opens swf files when you run any swf file the problem is after ive opened 3-5 swf files in the same instance the flash object wont load the movie anymore.
So my question, is this possible to fix?
So my question, is this possible to fix?
Hi,
First of all, why would you open that much movies at once if I may ask?
Secondary: did you try to put in in a backgroundworker? Did you try multi threadh
First of all, why would you open that much movies at once if I may ask?
Secondary: did you try to put in in a backgroundworker? Did you try multi threadh
MrGeneralQ wrote:Hi,I dont want them to open all at once but open when i click a new file so that it will have a new movie
First of all, why would you open that much movies at once if I may ask?
Secondary: did you try to put in in a backgroundworker? Did you try multi threadh
I probably didn't understad you the right way but :
Just add one AxShockwaveFlash object
and then use this
Just add one AxShockwaveFlash object
and then use this
Code: Select all
AxShockwaveFlash1.movie = "movie.swf"
MrGeneralQ wrote:I probably didn't understad you the right way but :I know but i get a problem using this method, i have a application with single instance and when i click a swf file on my desktop it loads into the movie, but if i open serval new swf files later the AxShockwaveFlash object gets black and dosent load the flash anymore
Just add one AxShockwaveFlash object
and then use this
Code: Select allAxShockwaveFlash1.movie = "movie.swf"
Did you try:
Code: Select all
AxShockwaveFlash1.movie = "justrandomtext" //this clears the flash movie to nothing
AxShockwaveFlash1.movie = "yourmovie.swf"
MrGeneralQ wrote:Did you try:I did, and with the same result unfortunatly
Code: Select allAxShockwaveFlash1.movie = "justrandomtext" //this clears the flash movie to nothing AxShockwaveFlash1.movie = "yourmovie.swf"
Okay let me do some research real quick. Probably you have to do something with one of the events:
Try
Try
Code: Select all
Private Sub AxShockwaveFlash1_OnReadyStateChange(sender As Object, e As AxShockwaveFlashObjects._IShockwaveFlashEvents_OnReadyStateChangeEvent) Handles AxShockwaveFlash1.OnReadyStateChange
AxShockwaveFlash1.Movie = "movie.swf"
// I think this is the event that triggers whenever the movie url is completely loaded. And if this doesn't work, then pls show the code you are using at the moment.
End Sub
8 posts
Page 1 of 1
Copyright Information
Copyright © Codenstuff.com 2020 - 2023