?
Solved

Newb: OnProgress Not Firing From Local Machine

Posted on 2004-08-18
8
Medium Priority
?
376 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
7 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
Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code '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 1000 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

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

This is intended to introduce all collision detection principles in flash, their strengths, weaknesses and workarounds. The main method for Collision Detection in flash is using hitTestObject. But unless you'll be pushing rectangular shapes without …
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
The goal of the tutorial is to teach the user how to how to record live broadcast.
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.

569 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