This is a discussion on "PHP Flash And TPL" within the Flash & Multimedia Forum section. This forum, and the thread "PHP Flash And TPL are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
PHP Flash And TPL
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
PHP Flash And TPL
HI All im new to PHP and flash i took over a site which is basically a script and I have been editing it trying not to distroy it to much.
I have a problem please help. Basically the site i run uses PHP i have created a Flash menu in the header.php which displays on all pages as its in an include. OK well the problem is the website www.greenfieldcyprus.com is for property sales (i have spoken to the script support they still lokking at it) and once you have generated the list of of properties you access one which is actually using a .tpl file (ok so far ?) well when i generate the TPL all you see in the header is the place holder. I have tried simply inserting the flash file into the header same result. if i insert it in the TPL it show but because its a drop down menu i get a large white box plus it appears on the main page not the header. the script to insert is here <div id="color_id" >Menu Placeholder, If you can see this message and no Menu please refresh your page.</div> <script type="text/javascript"> var fo = new FlashObject("greenfield.swf","color","960","210"," 6","#FFFFFF"); fo.addParam("menu","false"); fo.addParam("quality","best"); fo.addParam("salign","LT"); fo.addParam("scale","noscale"); fo.addParam("wmode", "transparent"); fo.write("color_id"); if (navigator.appName.indexOf("Microsoft")!= -1) { document.color.style.position="absolute"; document.color.style.zIndex="10"; document.color.style.left="145px"; document.color.style.top="95px"; }else{ document.getElementById('color').style.position="a bsolute"; document.getElementById('color').style.zIndex="10" ; document.getElementById('color').style.left="145px "; document.getElementById('color').style.top="95px"; } </script> OK please help for an example of what is displayed http://www.greenfieldcyprus.com/List...ments/157.html thanks all awaiting your response |
|
|
|
|||
|
Re: PHP Flash And TPL
Unfortunately I cannot view the source code of site to see much...
Do you want the flash navigation menu to show up in the section that says Navigation? Just make sure the path: "greenfield.swf" is in the same directory as the php file...otherwise change the pathname to the appropriate folder structure.
Last Blog Entry: Yay!? (Oct 8th, 2007)
|
|
|||
|
Re: PHP Flash And TPL
Thanks Sgaspar11 I have now realised i was being stupid and had to put the full address of the .js and .swf files in the code cheers for the response
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Sr. Flash Developer > SynCruiser Flash Widget | ipanema | Job Opportunities | 0 | Apr 10th, 2008 23:20 |
| Flash Designer (Central London, Flash, Flash Games, Flash banners, 22K-28K) | CapitalStrategy | Job Opportunities | 0 | Aug 13th, 2007 09:39 |
| Flash Designer (Central London, Flash, Flash Games, Flash banners, 22K-28K) | CapitalStrategy | Job Opportunities | 0 | Aug 13th, 2007 09:04 |
| playing flash within flash with slow internet connection | bejamshi | Flash & Multimedia Forum | 4 | Jan 19th, 2007 02:07 |