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.
8 posts Page 1 of 1
Contributors
User avatar
AnoPem
VIP - Donator
VIP - Donator
Posts: 441
Joined: Sat Jul 24, 2010 10:55 pm

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?
https://t.me/pump_upp
User avatar
MrGeneralQ
New Member
New Member
Posts: 16
Joined: Sun Aug 30, 2015 7:16 pm

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
User avatar
AnoPem
VIP - Donator
VIP - Donator
Posts: 441
Joined: Sat Jul 24, 2010 10:55 pm

MrGeneralQ wrote:
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
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
https://t.me/pump_upp
User avatar
MrGeneralQ
New Member
New Member
Posts: 16
Joined: Sun Aug 30, 2015 7:16 pm

I probably didn't understad you the right way but :

Just add one AxShockwaveFlash object

and then use this

Code: Select all
 AxShockwaveFlash1.movie = "movie.swf"
User avatar
AnoPem
VIP - Donator
VIP - Donator
Posts: 441
Joined: Sat Jul 24, 2010 10:55 pm

MrGeneralQ wrote:
I probably didn't understad you the right way but :

Just add one AxShockwaveFlash object

and then use this

Code: Select all
 AxShockwaveFlash1.movie = "movie.swf"
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
https://t.me/pump_upp
User avatar
MrGeneralQ
New Member
New Member
Posts: 16
Joined: Sun Aug 30, 2015 7:16 pm

Did you try:

Code: Select all
 AxShockwaveFlash1.movie = "justrandomtext" //this clears the flash movie to nothing
 AxShockwaveFlash1.movie = "yourmovie.swf"
User avatar
AnoPem
VIP - Donator
VIP - Donator
Posts: 441
Joined: Sat Jul 24, 2010 10:55 pm

MrGeneralQ wrote:
Did you try:

Code: Select all
 AxShockwaveFlash1.movie = "justrandomtext" //this clears the flash movie to nothing
 AxShockwaveFlash1.movie = "yourmovie.swf"
I did, and with the same result unfortunatly
https://t.me/pump_upp
User avatar
MrGeneralQ
New Member
New Member
Posts: 16
Joined: Sun Aug 30, 2015 7:16 pm

Okay let me do some research real quick. Probably you have to do something with one of the events:

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
Return to “Coding Help & Support”