PUT FLASH MOVIES INTO VB


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: PUT FLASH MOVIES INTO VB

  1. #1
    Divine none Guest

    PUT FLASH MOVIES INTO VB


    The best way to put flash into vb is simple, once in the vb project goto components.
    CLick browse, goto the system directory and then click on the directory
    called MACROMED, then click on the FLASH folder. In that folder is a file
    called SWFLASH.ocx. You can use this control to place flash movies right
    into vb. You can use the FSCommands to send info between the flash movie
    and the vb app.

    (YOU MUST HAVE FLASH INSTALLED ON YOUR MACHINE FOR THIS TO WORK)

  2. #2
    andre cote Guest

    Re: PUT FLASH MOVIES INTO VB


    Hi, I need help on this one

    MY BACKGROUND: Industrial designer, Flash developper and ... Ultra-new at
    VB. (...you get the picture ;-))))


    THE PROJECT: I am trying to use VB5 to create an exe with an embeded Flash
    movie (ShockwaveFlash component) that loads external movies and variables
    from a remote server (eventually from a database). Everything works fine
    (at least it's on the way to be ;-)... except this:

    MY PROBLEM: I can't find a way to use the "LoadVariables" Action in the Flash
    movie to work properly when it's embeded into the VB form:
    (My goal is to display variables values from a remote text file on a server)

    WHAT'S HAPPENING: when I use the LoadVariable function (via the corresponding
    button in the embeded flash movie), I get the following error message:

    This program has performed an illegal operation and will be shut down.
    <...the name of my VB file...> caused an invalid page fault in
    module SWFLASH.OCX at 017f:1001a76e.
    Registers:
    EAX=004219d8 CS=017f EIP=1001a76e EFLGS=00010206
    EBX=00000000 SS=0187 ESP=0063fae0 EBP=0063faf0
    ECX=0000003a DS=0187 ESI=00000000 FS=5597
    EDX=10052d94 ES=0187 EDI=00f7f104 GS=0000
    Bytes at CS:EIP:
    8a 0e 80 f9 61 72 08 80 f9 7a 77 03 80 c1 e0 8a
    Stack dump:
    00e91dcc 1001f6c0 00000000 10052d94 00000000 100217d7
    004219d4 00000000 00000080 00000000 00000000 00f7f104
    0063fb38 10021ab2 00000000 00f7f094

    NOTE the LoadMovie (Flash function) works 100% fine (so??)

    THE REQUEST: Do you have any idea of what the problem might be (I already
    talk with the guys at Macromedia but... :-)
    Maybe I need to execute that function from within VB and the pass the variable
    to the Flash movie using the SWFLASH.OCX (GetVariables function in flash)???
    (I'm new at VB... ;-)

    If you can help me please send me your email address and I will send you
    all the project I talk about

    TANKS !!!!!!!!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center