...

template vs flash ??

alaios
09-14-2004, 12:57 PM
Hi... i have created a flash movie for my web site... The desing have been created in a way that the flash movie must always be on the top left corner.. The problem is that i want the movie to play only in the index.php
In all other pages i want only to show the final frame... Thx a lot... Have a nice day

bradyj
09-14-2004, 05:56 PM
Is the final frame static or is it animation? If it's static, just make it an image instead of flash, let flash be in the index and the image for all subsequent pages. If it's animated, you'll probably need to make two movies, one flash for the home and one for the sub pages.

alaios
09-14-2004, 06:48 PM
yep that's the problem...
all the pages are under the index.php admission
e.x

http://enoria.gr/index.php (this is the home)
(the other pages)
http://enoria.gr/index.php?option=com_mosforms&mosform=3&Itemid=48
http://enoria.gr/index.php?option=content&task=blogsection&id=1

So your solution won't work

amcmillin
10-21-2004, 06:33 AM
al, if your interested and dont mind paying a little I could fix that for you. would take a few hours to fix and it would work perfectly. lemme know.
and it could be done via 1 single movie you just need to know how to do it. has to do with arguements and flash.

mindlessLemming
10-21-2004, 07:44 AM
yep that's the problem...
all the pages are under the index.php admission
e.x

http://enoria.gr/index.php (this is the home)
(the other pages)
http://enoria.gr/index.php?option=com_mosforms&mosform=3&Itemid=48
http://enoria.gr/index.php?option=content&task=blogsection&id=1

So your solution won't work

Here's the PHP :)

if ($_REQUEST['option']) { ?>
<object src="last2frames.swf"..... ></object>
<?php } else { ?>
<object src="whole-movie.swf"..... ></object>
<?php } ?>


Just put that where in the markup you want the flash to appear.
You *could* use the same method to pass arguments to the flash, such as:

src="movie.swf?full=true"

in the object tag for the main one. Then

src="movie.swf?full=false"

for the last frame option. You would then have ad actionscript to take the query string and choose the current frame depending on that value.
I've done it that way before and it's a pain in the butt.
Far easier just to make a second .swf which only contains the end bit.
:thumbsup:

amcmillin
10-21-2004, 09:45 AM
was actually going to write something up but thats basically the thing. flash can take external arguments presented within the html area and use it as is. I normally use it to grab mp3 files from a specified directory and auto load them. this works simplier than using xml if I am only using it to load/stream one single file.

mindlessLemming
10-21-2004, 10:50 AM
was actually going to write something up but thats basically the thing. flash can take external arguments presented within the html area and use it as is.
That would be the best option if the site was using multiple pages (ie. Each page is a seperate html/php file), but since it is a CMS that is displaying entirely through index.php he would need to use something like my php method to serve the different external arguments anyway. Since you're already going to that length, may as well use 2 flash files and save yourself the hassle.
For the record though, if the Flash movie was seriously large, the external arguments would be a better option for caching/bandwidth purposes -- one file used in two different ways instead of two files.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum