Ask a Question related to Macromedia Flash Sitedesign, Design and Development.
-
DieDieMyDarlingX #1
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
-
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... -
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... -
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... -
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... -
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... -
Peter Blumenthal #2
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
-
DieDieMyDarlingX #3
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
-
Ed Massey #4
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
-
cVarz #5
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



Reply With Quote

