$index_script

Can anyone tell me how it would be possible to load a flash movie ONLY when on the index page.



I’ve got a flashfile with an MP3 embedded and and have successfully added it to the indexpage however only want to load it when on the homepage (index.php)

Jesse…I have the text “Everything for the Playboy Collector” set to show only on the index (home) page.




{if $current_url == "$index_script"}
"Everything for the Playboy Collector"
{else}

{/if}




I suspect you could do the same with a flash input…

[quote name=‘MikeFold’]Jesse…I have the text “Everything for the Playboy Collector” set to show only on the index (home) page.




{if $current_url == "$index_script"}
"Everything for the Playboy Collector"
{else}

{/if}


I suspect you could do the same with a flash input…[/quote]



Very much appreciated mate,



I got as far as {if $index_script == “index.php”} last time.

Much thanks :smiley:

my pleasure…hope it works for ya

:cool:

[quote name=‘MikeFold’]my pleasure…hope it works for ya

:cool:[/quote]



www.southeastauto.com.au

Wait for the page to load :smiley:

coolio…

:cool:

When I went to the page all I get is an audio splash. I don’t see anything moving at all.

[quote name=‘MikeK’]When I went to the page all I get is an audio splash. I don’t see anything moving at all.[/quote]



Nothing is moving at the moment :slight_smile:

I’m going to be adding a small Flashbanner where the car is at the moment.

Just for the time being, the audiosplash only activates once, and only after the page as loaded fully