Solved

Newb: OnProgress Not Firing From Local Machine

Posted on 2004-08-18
8
338 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How do I change text in a Flash (FLA, SWF) file? 3 1,055
video live streaming 1 126
Animating text  - electrons orbit around letter M 12 90
CD Rom not playing 13 55
Here are some practices and techniques that can be adopted into your Flash/Flex application development process. Note: Not all "performance tips" provide an immediately-recognizable benefit.   This article does not include timing validation data,…
While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

679 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