We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you a podcast all about Citrix Workspace, moving to the cloud, and analytics & intelligence. Episode 2 coming soon!Listen Now


How to stop a Flash movie from reloading when a link is selected on a Joomla site.

Medium Priority
Last Modified: 2013-11-12
Good evening,

I am new to content management and have just discovered Joomla. I have a site that has a Flash movie that plays once on the entry page, at least that's all I want it to do.

Each time a link is selected, the new page loads and the Flash movie plays again. Is there any way to specify that the move only plays when the index.php page is loaded?

Here's the site link which is under construction:

Any advice will be greatly appreciated!

Watch Question

I'd say the best way to do it is to use a shared object (it's like a cookie for Flash), so you'd only play the SWF if it's not set.

Did you write the Flash movie, or at least have the source to it?


Yes, I have the source to the movie. I'm just not that handy with Actionscript. If you're interested, the original Flash file is attached in a zip. I had to change the .fla extension to .doc for upload compatibility purposes.

Something like this should work - you probably want it on the first frame of the movie:
myLocalSO = sharedobject.getLocal("flashcookie");
if (myLocalSO.data.viewed == null) {
	trace('Not Seen');
	myLocalSO.data.viewed = "true";
} else {

Open in new window

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts


I added that code to the first frame of the first scene just under the preloader, but it still replays each time a link is hit. Is the preloader code an issue? Thanks.


I have incorporated the Flash move into Joomla by using the wrapper module. The wrapper is pointed to the URL with the flash movie.

Whenever the front page of my Joomla site is loaded it plays the animation and is not on any other page which is exactly how we wanted it.

Thanks for your help.


These suggestions were tried but did not work. A solution is no longer needed. Thanks.
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.