Flash Not Working On Page
I have inserted Flash animation on my page as normal (using Dreamweaver)- only it won't display in the browser for this site - which has various php/mysql pages on it - but this one is a simple html page - which displays the html - but not the Flash ?
The flash displays in the browser if I insert it into a page on another site - which does not use php/mysql.
Is it to do with the set up of the site which uses php/mysql ? - e.g. the fact there's testing server settings. My sites/servers are hosted remotely - and not on my own machines.
View Complete Forum Thread with Replies
Related Forum Messages:
Flash .swf Doesn't Show In PHP Page
I've recently put together a flash navigation for a 4 page site... three pages are HTML, the index page is PHP with a weblog. In all current Mac browsers, all four pages load fine. In Win IE 6 only the .shtml pages will load the flash--the .php page shows a big white box instead. If I include the index.php in the index.shtml file, the flash loads fine, but I'd like to know if there is some issue with PHP & flash that I should look out for... or is the issue with IE 6.
View Replies !
Compose MP3 From A Php Enabled Flash Page.
I have an educational web site. I want to create an interface where my students can record their voices client side and then save messages server side. I thought Odeo would solve my problems. (The have their own problems now.) Then I tried: MyChingo and Mobasoft. Come on $6,000 for a site licence....
View Replies !
How To Open Random Flash Page Using Hyperlink?
I'm new to using PHP so please bear with me. I'm trying to create a hyperlink that will open a random Flash page so that users will see a different flash module each time. Here is some of the code that I wrote but I'm not sure if it'll work since I'm not very good at coding. Oh yeah, I'm not using a database either. // random_menu.html <head> <?php $i = rand(0,3); ?> </head> <body> <a href = "www.x.com/random.php?i=$i">x</a> </body> --------------------------- // random.php <head> <?php $i = $_post["i"]; if ($i = = 0){ $value = "a"; } else if ($i = = 1){ $value = "b"; } ...etc. </head> <body> <object> <param name="movie" value="$value"> <embed src="$value"></embed> </object> </body> Please help if you know how to do this.
View Replies !
Image Upload - Using A Variable Passed From A Flash Page
i'd like to pass a variable using post into the following form (that is from php.net) using a variable passed from a flash page (i'm competent in flash but a novice in php)how do integrate: $folder = $_POST['folder']."/"; into the form so that when submit occurs the folder path is passed to upload.php : <!-- The data encoding type, enctype, MUST be specified as below --> <form enctype="multipart/form-data" action="upload.php" method="POST"> <!-- MAX_FILE_SIZE must precede the file input field --> <input type="hidden" name="MAX_FILE_SIZE" value="30000" /> <!-- Name of input element determines name in $_FILES array --> Send this file: <input name="userfile" type="file" /> <input type="submit" value="Send File" /> </form>
View Replies !
Set The HTTPS Username And Password Using Php/flash And Then Open The Secure Page.
My hosts allow secure https logins on specific directories. What I want to do is have a login screen in flash, if the user enters the correct username and password I would like to set the HTTPS username and password using php/flash and then open the secure page. In my mind at this point they'll be logged in and then can navigate the secure page without seeing the browsers https login dialog. Am I kidding myself, or is this possible? They're config is the following: PHP Version 4.3.11 4.9-STABLE FreeBSD Zend Engine v1.3.0 Apache/1.3.33 (Unix) PHP/4.3.11 mod_ssl/2.8.22 OpenSSL/0.9.7c FrontPage/5.0.2.2635 mod_throttle/3.1.2
View Replies !
Two PHP Scripts On One Page Not Working?
I have two small PHP scripts running on a test page Both scripts work perfectly when there is one script on a page. However, if I place two on the page (one above the other), the second script will not render. I get no PHP error messages - the script will just not render. I think the PHP Scripts are OK as they were automatically generated by RSS Feed Burner and both do run separately. There may be an issue with having separate calls of some kind on the page or my server might not be set right. I did a server test that I think shows that it is OK but I am not sure. The only think I have in my htaccess file for PHP is: "AddType application/x-httpd-php .htm .html" . I am new to PHP and was wondering if anyone can see why both scripts will not run together?
View Replies !
Calendar Page Not Working (in IE)
I have been hard at work on this one and my computer broke so I haven't been able to resolve this problem for a bit, I open the webpage in IE and it doesn't show up but in FF it shows up just fine, anyone able to give me a hand on this one, it was working fine awhile back but now for some reason it seems to have broken. Code:
View Replies !
Login Page Not Working
I have a database installed that can accept a csv file. when I installed onto a new server, it wont upload. is there anything obvious in the phpinfo that could be causing this? also, the login page wont work on this server. just reloads the page again when submitting the user and pass Code:
View Replies !
Get Two Dropdown Lists Working On A Page
i am trying to get two dropdown lists working on a page. How do i go about this. For example, I have 1 table which holds countries and cities. When a user selects a country in the first dropdown list, i'd like the second dropdownlist populate with a list of cities etc. from my database.
View Replies !
Working With Dates On The Modify Page
I have a column in a table called testimonialDate. It is of type 'date'. When trying to modify a record, I can get it to display nicely on the modify page using: $testDate = $testrow['testimonialDate']; $testDate2 = strtotime($testDate); $newdate=date("m-d-Y", $testDate2); then <?=$newdate?> However, when I change the displayed date and hit the modify button, it blanks out the testimonialDate column in the record selected. I've found a lot of hints on the internet for displaying, but how do I send the info back up? I'm also having issues trying to add a record. Typing in 3-3-2003 in text field results in 2003-3-20 in database. Can I get some hints or a link to a good tutorial?
View Replies !
$HTTP_REFERER Not Working On Index Page
I'm using $HTTP_REFERER in various parts of my site and it works well. When I use $HTTP_REFERER on my index page to see where members are coming from before they log into my site it won't work. Perhaps this has something to do with the previous page being from an outside site?
View Replies !
Drop Down Based On First, Working, But How Do I Keep The Value If Page Reloaded?
I have a drop down list that is populated via MySQL. Once an item is selected a second drop down appears, again populated by MySQL. I know how to keep the value for the first drop down, if the page is reloaded.... but the second one is where I am having the issue. Is it possible to have a page reload and echo not only the first dropdown value, but also the second within the <select> tags?
View Replies !
Php Code Embedded Inside Html Page Not Working.
How do I make or workaround in my Apache server to parse *.html files for <?php ?> code embedded in it? Currently php recognises <?php ?> tag only if the file has a *.php extension. Any php code inside *.html or *.htm is ignored. Since I dont have admin access to the server or admin person, changing the php configuration is out of choice. Now I have to go thru echo and print statemnets to get it work. But it looks very cumbersome and prone to errors.
View Replies !
Changed Page From .htm To And My Drop Down Menu Stoped Working
I have been building a rottweiler site for a friend. I just installed "The Search Engine Project" so I need to change one of my pages from .htm to .php so I can integrate the search results window into my layout. But, whenever I change the page from .htm to .php my menu, a project 7 css drop down menu, stoppes working. Why is this? Code:
View Replies !
Links Stopped Working - Use PATH/index.php?p=PAGE In My URL
i have just moved my website from one server to another, on the first my pages worked perfect (not considering markup) but now my links just won't work anymore... i use PATH/index.php?p=PAGE in my URL, it worked well on the other server, but after i switched it just stopped working... and i have no clue where to find the error... it just keeps showing the first page...
View Replies !
Log Out - Page Expired Not Working Or Pressing Browser Back Button
I am a problem with I logout from my site. When I push log out link I send it to a new page with this script in this: <?php session_start(); session_unregister($SESSION); session_destroy(); unset($SESSION);?> In each page I have this other script #accesscontrol.php <? session_start(); if (session_is_registered("SESSION")!= FALSE ) # ya la sesion existe entonces la cargo { #Maybe I use after. } else {echo "<h1>Sorry...</h1>"; echo "<A href = "index.php"><H4> Login Univernet</H4> </A>"; session_destroy(); exit;}?> The problem is when I log out and press the back button I am back to the pages. Sometimes it tells me that page expired but if I reload the page everything is ok and all my "security" pages are available.
View Replies !
Working Connection... Not Working? (Advanced)
It has tons of modules, and obviously a config file which opens the db connection. But there is one, and only one, module having strange troubles. $query is just a simple INSERT INTO command. But it does not inserts anything. I only obtain... nothing. Neither an error from the server! Code:
View Replies !
Flash, PHP & XML
Is anyone out there doing anything in terms of parsing in XML into Flash using PHP as a go between so to speak? I have done some stuff parsing XML directly into Flash but I ntoiced a huge speed hit. Anyways, I was wondering if anyone has done anything or has seen a way to parse XML into Flash via PHP.
View Replies !
Php/flash
I have a text field (multiline) in Flash. When I click "submit" it hits a PHP script. The PHP file sends the message in the text field to an email address. My problem is that when i receive the email, the message is joined together, not recognizing the line breaks that were made on the Flash end. Does the variable of the text field need to be manipulated before it gets posted to the php file?
View Replies !
PHP Flash
I am connecting PHP & Flash.. $var = $this->_nm->getVar(); <-- Get data from database $var1 = gettype($var); if (is_string($var1)) { echo "s=".$var1; } If i print in the browser, it will return s=string, however if i LoadVars in flash it will return s=NULL
View Replies !
Flash And PHP 4.3.1
I've been developing a project in Flash 5 that utilises both PHP and MySQL. The development and testing was done on a PHP server running version 4.1.2 (pretty old I know) and everything was working perfectly. However, upon upgrading to the latest version of PHP 4.3.1, it appears that my Flash application no longer communicates with the PHP files. Is there some new security measures that were introduced in PHP 4.3.1 that could be clashing with how the Flash file operates? Has anyone else experienced similar problems?
View Replies !
Php, Xml And Flash
i have a video with captioning. video is a flash file and captioning is in XML file they are working really fine. now what the problem is:: I am getting the path of xml file through php as well as video(flv) file path through php. the video works well but the xml file path which i got through php( from database) is not working. the captioning part (xml file) is not working now only the video is displayed... could anyone please help me to get out this situation..is the problem with php and xml or php,xml and flash.
View Replies !
PHP And Flash 8
This is a very weird problem having to do with security settings. I'm trying to access a php file, stored on a server on my computer, from a .swf file embedded in a webpage, but when it only works when you open the .swf file with flash 8. When you use the .swf file in a browser it comes up with this security thing and it wants you to change the security settings here: http://www.macromedia.com/support/d...manager04a.html Then I change it to always allow then I add 'local' and 'localhost' but nothing happens This database accessing work 100% when using the program flash 8. Code:
View Replies !
PHP With Flash
I know this is not a flash forum, but I have tried about 3 flash forum and no one either seems to know the answer or they will not help me one; so I thought I would give my regular visited PHP forum a swing at this one. I am trying to load images in Flash through PHP; but have no idea about action scripting. Has anyone every tried to do this; if so please advise me on how you accomplished this.
View Replies !
Flash
I dont really have a problem just enquiring, i have heard it is possible to do PHP in Macromedia Flash i was just wondering if anyone else knows about this because i have a college project and it needs to have PHP accessing databases, searching adding removing etc, and i really enjoy using Flash and i was wondering if it is possible
View Replies !
PHP & Flash
I am trying to send XML from flash to php so I can add it to the database. I am using the XMLconnector, from flash, and sending the results to a php file, however I have no idea how to call those parameters.
View Replies !
Flash...
I have a directory for SWF files, and each swf filename is stored in my database.. I want to retrieve the sun_button2.swf" from my database, and show it by passing the id from the url... Now The Flash Script is supossed to show something, but it doesnt. Code:
View Replies !
Flash Still
I've gone through a couple of tutorials from online and books and seem to be stuck and think it might be my setup. No matter what I do with php and action scripts my flash display is empty. So I dont konw if it's excecuting the backend stuff. I want a simple test that I can do which if I know doesnt work then my setup is wrong. Code:
View Replies !
XML V/s PHP V/s Flash
Browsers have come along way since 2000 and XML has a great deal of potential. But how does XML (along with XSL, XSLT, XSL-FO, XPath, XML-DOM, XQuery, XPointer and XLink (AJAX: Asynchronous JavaScript and XML,)) stack up against the use of just PHP / Javascript or Flash?
View Replies !
Flash To PHP
I've got a flash to php form on my site that works 100% of the time... for me. Unfortunately, I keep receiving undefined emails through it. Since it works for me I don't know why it wouldn't work for someone else. Code:
View Replies !
PHP And Flash Together
if PHP can be combined with Flash to the effect that Flash manages all of the user interface, and PHP is allowed to handle any dynamic content referenced from a database?
View Replies !
With Flash
I need to draw a map for the customers to select the seats they preferred. Im thinking og using flash to draw the map and then post the data to php. Is this works?
View Replies !
Flash SWF
I have a main flash movie that loads another swf on another level with in my main movie and within the loaded swf I have a button that I want to go to a scene in my main movie. How can a acomplish this? Example: Main site loads up then on the time line and action calls for another swf to load on level 2 with in my main movie because of its size. With in my loaded swf I have a button that I want to go to my main movie and get another scene.
View Replies !
PHP And Flash
Is it possible to write a php script that will play the flash swf and then replace it with a jpg? That way if users don't have flash they will still see the graphic after the movie is done playing.
View Replies !
Flash?
I have a page written with php and a MySQL Database. Now, I want to redesign the whole, but still with the Database and php. is it possible to design the page with Flash and then to put all the php commands into the source code? specially, I still need the extension *.php?
View Replies !
First PHP + Flash Project
Basically its going to be a chart of say 20 items that are ranked according to vote by registered users. So heres a few initial pointers i need help with to get the ball rolling: 1. The Flash page is loaded how do I initiate php script to search a mysql db to read a list of items containing the fields (id,name,votes,date_entered) 2. Would it be best to calculate ranking server side with script and then stream list to flash movie or calculate ranking via action-script. 3. When a user wishes to vote they enter their username and password in 2 text boxes (stored in another db) and then clicks on item to vote for..how would this data be sent to a script that would update the db accordingly. 4. After the database has been updated the flash movie needs to be then updated, am i better again doing this via another post to movie or with action-script? These are initial thoughts and i'm sure there will be many more queries as I hopefully progress. I think alot of people will benefit from this project as there are not alot (or enough) tutorials on Flash interaction with db's via PHP.
View Replies !
How To Display Pdf Into Flash?
My colegue is trying to make a Multimedia presentation using flash. But when anybody clicks on a pdf document, the acrobat reader executable is executed from clients to open the pdf file. What he wants is that rather than opening the document using acroread.exe, the contents will be shown in a context area kept in the navigator. Can anybody suggest anything here. Is there any softsare to grab pdf content and convert into flash?
View Replies !
Flash, PHP & LoadVariablesNum()
I am having problems getting variables/values INTO Flash from an external source (PHP). I'm NOT having problems getting loadVariablesNum() to _SEND_ variables via POST, but I _AM_ having difficulty reading back into Flash local variables. Say, for instance, I have a Flash page that has a number of typein fields. Each of the typeins has a variable associated with it. In the action script section, I have something like this for a "Save" button: on(release) { var result = "unset"; loadVariablesNum("foo.php", 0, "POST"); if (result == "ok") { getURL("bar.html"); } } Now, foo.php runs fine and is able to see all of the typein variables in its HTTP_POST_VARS array and works properly and outputs: result=ok The locally scoped 'result' variable never gets changed. If, however, I create a typein field and give it a variable called 'result' (and get rid of the local 'result' variable declaration in the action section), the text typein field displays "ok" after clicking on the "save" button. What gives? How does one declare/create variables in Flash that are locally (or globally, I don't really care) scoped variables that are NOT UI elements, but DO work for reading values back from an external source (PHP, Python, txt file, ...)? I've done some reading of the Flash documentation, and loadVariablesNum() and loadVariables() sections are too terse and the examples aren't very useful. Furthermore, there seems to be an awful lot of WRONG information out on the various websites and Q&A sites.
View Replies !
Html In Xml, Php & Flash
is there an official or a correct way for the following problem: in my xml file, there is also html text. this xml file is used in flash and a php code. the problem is, that - using simplexml in php - the html-tags are interpreted as xml-tags and it gets difficult to use the content. if i use > and < instead of < and or place the html-text in a CDATA, flash doesnt display the text as html and also returns errors. is it common at all, to place html into an xml-file? a simple example of the xml-file: ---------------------------------- <?xml version=Ƈ.0' encoding='utf-8'? <website <site title="Titel" <text><p>lalala <b>tada</b<font color="#ff0000">dings </font></pand a <a href="blabla.html" target="_blank" link</a><img src="bild.jpg"/></text </site </website ---------------------------------- i already have some methods of resolution to solve the problem: - modify the html tags in the php code, so simplexml does not recognize them as xml-tags - replace/delete the < and > or cdata by string operator in flash - code own php script to put the xml into a php array the point is that i want to do it correctly, use a "clean" (and perhaps not pedestrian) way so i will not have any unconsidered problems afterwards. perhaps you could suggest how to do it best -
View Replies !
|