PHP website with a flash movie inserted

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

  1. #1

    Default PHP website with a flash movie inserted

    I currently have admin on a mates website, and i've been trying to design a few
    things for it.

    The site is done in pure PHP. And we opened a new 'box' to add on the main
    page. In this window we embedded the flash movie, which is an mp3 player. It
    works fine on the harddrive, and even works fine on webspace, but for some
    reason it won't access the .text file it needs to access, whilst on the php
    website.

    The mp3 player works by reading defined arrays in a text file. Artist - song
    name. And the actual filename. So that my mate can change the mp3's just by
    adding his mp3's to the folder, and editing the arrays in the text file.

    Any ideas why it won't work as part of his site, but works fine any other way?
    Does PHP block accessing external files in flash?

    DieDieMyDarlingX Guest

  2. Similar Questions and Discussions

    1. Flash inserted via Javascript not working in IE.
      I am having issues viewing flash that has been inserted via javascript in Internet Explorer. I had to uninstall my flash about a week ago. I've...
    2. Adding Flash Movie to Website
      I am trying to add a Flash Movie onto a website. A dialog box pops up saying "administrator requires content on this website to be accessible to...
    3. Runs in Movie Test but not on Website.
      I have a small movie clip that loads a list box with recipes titles from a SQL Server database using CFML as the linkage back to the server. The...
    4. Adding Flash Movie to Website Made from Photoshop
      Is there a way to manually add macromedia flash movie file to website made through photoshop (while I'm still in photoshop)? Or do I need to add the...
    5. How do i put a fflash movie on a website?
      Hey i have a website and i made a flash movie for it and my friend put his on his site but doesnt remember how he did it and im trying to put my...
  3. #2

    Default Re: PHP website with a flash movie inserted

    could be a cross domain security issue - where is the text file stored in
    relation to the php and the swf?

    --
    ---------------------------------------
    [url]http://www.phageinteractive.com[/url]
    PhageInteractive Ltd.
    remove mm_ to mail
    ---------------------------------------
    'If I come across as a grumpy and twisted old man, it's just because I'm a
    grumpy, twisted, old man." - me
    ---------------------------------------

    ..


    Peter Blumenthal Guest

  4. #3

    Default Re: PHP website with a flash movie inserted

    The files are all in the same directory. .mp3 files, the .txt file that
    contains the arrays, and the .swf file. It all works fine from a single
    directory locally on the HD, and also from webspace if you type the address of
    the file into IE.
    The flash movie is inserted into the php webpage using dreamweaver, and all
    looks right. So i'm thinking there's something not allowing the .swf file use
    external files, when part of that site. Would the php codes interfere? I have
    no idea about php myself.

    DieDieMyDarlingX Guest

  5. #4

    Default Re: PHP website with a flash movie inserted

    Its a long-shot but have you tried to use:

    System.security.allowDomain("http://myDomain.com");

    this gets round some sandbox errors, but that might not be the problem....!

    hth,
    Ed Massey


    Ed Massey Guest

  6. #5

    Default Re: PHP website with a flash movie inserted

    [Q]The files are all in the same directory. .mp3 files, the .txt file that
    contains the arrays, and the .swf file. It all works fine from a single
    directory locally on the HD, and also from webspace if you type the address of
    the file into IE. [/Q]

    I am somewhat familiar with php although not a genius at it (yet). Anyway,
    php files are unlike html files, as php is really server side code. This
    server side code can produce html and react with it, which makes it a very nice
    langauge to learn. In any event, if I understood you correctly, the .swf is
    pulling strings/info whatever from a text file. It may be needed to CHMOD the
    php file that the .swf file is on. I know its just using the information in
    the text file and not writing to the php file but, php may look at it
    differently. php is very secure, with this in mind I would check the CHMOD and
    the above post advice as well. As I am new to flash and action scripting, I
    can not be of much help there.


    cVarz 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