Re: Any way to stop flash click event when swf is embeded in vb form?



On 1 Aug, 13:42, "Mojo" <ple...@xxxxxxxxxxxxx> wrote:

Hi Mike . . . Apols, yes it is the Shockwave Flash component.
Although I really haven't got a clue myself at the mo, I've
done the following:
[instructions to insert the ocx onto a Form snipped]
3) In the Form Load, add the following code:
Form1.ScaleMode = vbPixels
Flash.Movie = App.Path & "\anim.swf"
4) When you run the app the flash anim will play in this object.

Okay, I've done that and I've changed the name to a .swf file that
actually exists on my own machine, but the Flash movie did not play.
All that happend was that the Flash control on the Form changed to a
different solid colour but no image showed and no animation or
anything played, there was just a static solid coloured background. I
tried it with a few different .swf files on my machine but none of
them played. Each one just showed a different solid background colour.
After some checking on Google I discovered (I think?) that the VB6
Shockwaver Flash Player Control will not play .swf files produced by
Flash6 and later unless you install something called FlashMX, which
can itself apparently cause some problems so I didn't bother looking
for it. I did manage to find a .flv file that would play (so it was
presumably created by a version earlier than Flash7?) but it did not
show any "ad" when I clicked it so presumably that sort of behaviour
(the showing of an ad or whatever) is programmed into the .flv file
itself?

As I've said, I know nothing at all about Flash movies or about what
kind of things and interactions they can contain but I'm fairly sure
that if I had a .flv file that does exhibit the behaviour you
described in your original post then I would be able to stop it
reacting to the mouse button in that way, although the only method I
can think of that would probably work would also stop it recating to
the mouse button completely, so if that is okay then I'll give it a
go. However, in order to sort it out I would need to have a .swf file
that behaves in exactly the same way as the one you described in your
initial question. Preferably of course it would be ideal to have an
exact copy of the same .flv file that you are using yourself. Perhaps
you can post it to a web page from where I can download it, or perhaps
you can post a link to wherever it was you obtained it from, or even
email it to me (if you want to do that then let me know and I'll set
up a suitable temporary email address where you can send it).

Mike

.



Relevant Pages

  • Re: Playing Flash
    ... what I'm trying to do is get a particular .swf file to play on ... it will not play from the folder html page on the pda, ... that it associates itself as a full-screen flash player. ...
    (microsoft.public.pocketpc.multimedia)
  • Re: Win CE 6.0 R3 Adobe Flash Lite support
    ... Since CE 6.0 R3 supports only Flash lite plug-in for the IE browser.To check the flash support in your OS binary you can try browsing some flash supported sites. ... R3 to play a .swf file? ... the swf but it will not play. ...
    (microsoft.public.windowsce.embedded)
  • HELP !!! Capturing "linked videos" from Flash - Im Stumped
    ... I have a couple of Flash ... capture utilities -and they work fine for games, animations, etc. ... I am talking about a tiny swf file that "references" a video clip ... Real Video - I use notepad to look in the "ram" file to find the ...
    (rec.video.desktop)
  • Re: Playing embedded SWF file in recorded powerpoint show
    ... The problem is #3, playing the Flash file? ... You might try Shyam Pillai's Flashback add-in. ... The SWF doesn't play in a recorded presentation? ... Embed a swf file in a slide of power-point. ...
    (microsoft.public.powerpoint)
  • Re: Shockwave Flash and Firefox
    ... dorayme wrote: ... and choose FF and it should play the .swf. ... I tried both Get Info and the Control Click method, but the .SWF file ... Shouldn't there be an application in FF preferences that opens ...
    (comp.sys.mac.apps)