using variable in function for FLASH video

Ask a Question related to Macromedia Flash Data Integration, Design and Development.

  1. #1

    Default using variable in function for FLASH video

    I have a webpage that uses PHP to pull a variable from a MySQL database.
    I would like to use that variable to tell my flash component what flash video
    to play. I cant seem to figure out how to place the variable in the function
    call to make it work.

    Also...The main page is in the root directory of my site with all my flash
    videos in a subfolder. I can't seem to get the videos to play on my main page
    unless they are in the same directory. I even tried to simply 'include' the
    movie into my existing page and it doesn't work.

    Any idea on either of these issues?
    (Is this even the correct forum area for this? I am new to using FLASH for
    this stuff)

    Andrew_Bower Guest

  2. Similar Questions and Discussions

    1. SMIL based variable bandwidth playlists for streamingflash video from Flash Media Server 2
      I've spent most of the last couple of days crawling through the PDFs for client and server side AS, along with the technotes and samples, attempting...
    2. Finding video-file URLs in decompiled Flash video
      Hi, My department in a research library archives Web sites. This involves downloading all the files that are necessary to reconstruct a Web site:...
    3. video capture card for Flash live video stream
      Hi! I just brought a new video capture card - Osprey-210, When I try to stream the live video, I can see the card in flash player's setting box,...
    4. Set Variable in a Flash Movie to a Lingo Function Call?
      Does anyone know if this is possible? On a button in an SWF that is loaded into Director I have on(release){ getURL(myVar, "_blank"); } ...
    5. Passing a variable to a package function vs. a local function
      I'm a bit new to this so please bear with me... I've written a script that uses CGI.pm something like this: use CGI::Carp qw(fatalsToBrowser);...
  3. #2

    Default Re: using variable in function for FLASH video

    Hi

    Checkout LoadVars in Flash help, this can solve both of these issues at the same time.

    Hope it helps
    The Feldkircher Guest

  4. #3

    Default Re: using variable in function for FLASH video

    Thanks for the advice!
    Turns out I believe my answer lies in PHP, but I will check out the LoadVars help in FLASH too!

    Andrew
    Andrew_Bower Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139