Solved

Newb: OnProgress Not Firing From Local Machine

Posted on 2004-08-18
8
329 Views
Last Modified: 2007-12-19
On a VB6 form, I have this:

Option Explicit

Private Sub Command1_Click()
    flash.LoadMovie 0, "\\computer\wwwroot\sitename\notes.swf"
End Sub

Private Sub flash_OnProgress(ByVal percentDone As Long)
    Debug.Print percentDone
End Sub


Where "flash" is an instance of ShockwaveFlash (the Flash ActiveX control).

The movie loads fine, but the OnProgress event never fires (Debug.Print percentDone never gets reached). What is going on? How do I get OnProgress to fire?
0
Comment
Question by:boulder_bum
  • 4
  • 3
8 Comments
 
LVL 10

Expert Comment

by:muso120999
ID: 11901260
This seems more like a visual basic question than a Flash one!
0
 
LVL 8

Author Comment

by:boulder_bum
ID: 11908339
It's about the Flash ActiveX control and its API. I could've written it in any language and the question would be the same.

It does relate to Windows Forms, I just figured any person using Flash on Win Forms would hang out here.
0
 
LVL 10

Expert Comment

by:muso120999
ID: 11908371
Sorry, I just figured as you haven't had a response, you might have more joy in another section, and claim the points back on this one...

You're right though, maybe someone will post an answer...
0
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 
LVL 8

Author Comment

by:boulder_bum
ID: 11908381
At least you gave me my first reply, though. :-)
0
 
LVL 8

Author Comment

by:boulder_bum
ID: 11908390
I hear ya. Thanks for that, man.
0
 
LVL 10

Accepted Solution

by:
muso120999 earned 500 total points
ID: 12235284
I'm sure this one should now be deleted!

muso
0
 
LVL 8

Author Comment

by:boulder_bum
ID: 12256100
At least you replied. :-)
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I come across a lot of question about how to access things in the document class from a movieclip, or accessing something from a movieclip in the document class. It took me a while to figure this out but once I did it makes life so much easier. …
Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.

825 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