• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 344
  • Last Modified:

1 item remaining on loading web page (same problem exactly)

Has anyone come up with a solution to this problem?
0
phpretard
Asked:
phpretard
  • 3
  • 2
1 Solution
 
RobOwner (Aidellio)Commented:
sounds like a path issue but it's hard to know unless you can post an example of the site or the part of the flash template that is loading the data
0
 
SamuelRostolCommented:
Flash CS3 comes with a javascript solution that stops the loading of the page. I advice you to try it out :)

Just publish the solution in CS3, which will generate a html-document and the corresponding .js-document :)

Kindly,
Samuel
0
 
phpretardAuthor Commented:
This is how the code is inserted:

// THE FLASH
 
<object classid='clsid:D27CDB6E-AE6D-11CF-96B8-444553540000' id='obj1' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0' border='0' width='739' height='170'>
	<param name='movie' value='flash/$page.swf'>
	<param name='quality' value='High'>
	<embed src='flash/$page.swf' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' name='obj1' width='739' height='170' quality='High' wmode='transparent'>
</object>
<script src="thecode.js"></script>
// END THE FLASH
 
 
 
 
 
//THE CODE FROM ANOTHER PAGE
objects = document.getElementsByTagName("object");
for (var i = 0; i < objects.length; i++)
{
objects[i].outerHTML = objects[i].outerHTML;
}
 
// END THE CODE

Open in new window

0
Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.

 
RobOwner (Aidellio)Commented:
2 questions::

Are you only having the problem in firefox or does the problem happen only in IE?

What is the purpose of your javascript loop

objects = document.getElementsByTagName("object");
for (var i = 0; i < objects.length; i++)
{
objects[i].outerHTML = objects[i].outerHTML;
}
0
 
phpretardAuthor Commented:
I am not sure...

If I use the code the page never loads...

do know of a way to get rid of the "Click to Activate".
0
 
RobOwner (Aidellio)Commented:
Sounds like you are using IE right?  what happens when you view the page in Firefox or another browser?  the reason i ask is the "outerHTML" is a microsoft only property and may not be recognised on other browsers

for the "Click to Activate" issue follow the directions in these links:

This is to add to what Samuel has stated whereby Adobe has published javascript templates to overcome the issue: http://www.adobe.com/devnet/activecontent/articles/devletter.html

using the SWFObject to achieve the same result: http://blog.deconcept.com/swfobject/

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now