Hi
I'd like to run a flashMovie in a .php page to the norm html.
Fla's run ok, except they don't handle 3D object key command .swfs.
http://www.flashsandy.org/demos
Click on 2nd image of a type of jet_copter Gavia AT-1008
as the best example of what is possible.
Use keyboard arrows simultainiously, motion tweened to boot, make a cracking product pre-view. I've cracked the .swf and can add the objects.
Now I need php help, 4 ?'s, follow, what type of data to insert?

// $location = swf file location?
// $name = swf file name
swfobject.embedSWF("(put your PHP tags here?) echo $location./.$name; (put your PHP tags here?)", "myContent?", "300", "120", "9.0.115?", "expressInstall.swf");

Simple I know but when there is doubt, there is no doubt.
A parallel post will run in MySQL to assertain how to add a file name and location to a mySQL db.
http://www.daniweb.com/forums/post1300213.html#post1300213
Thanks for reading
Sabby76

To embed a Flash movie (SWF file) in a PHP page, you can dynamically insert the SWF file location and name using PHP. First, define the path and file name for the SWF, then use the swfobject.embedSWF function to display it within the page. For example, you can create a PHP script like <?php $location = "path/to/swf/"; $name = "jet_copter.swf"; echo '<script type="text/javascript">swfobject.embedSWF("' . $location . $name . '", "myContent", "300", "120", "9.0.115", "expressInstall.swf");</script>'; ?>. Additionally, to store the SWF file's location and name in a MySQL database, you can use a query like INSERT INTO swf_files (location, name) VALUES ('$location', '$name'). If you want the Flash movie to respond to keyboard commands, make sure that the Flash file (e.g., jet_copter.swf) has ActionScript code to handle the arrow keys and other inputs.

commented: Flash died years ago. +0
commented: 14 years too late -4
commented: 14 years late and Flash is very very very dead. -4
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.