Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2008-06-15
6
Medium Priority
?
342 Views
Last Modified: 2012-06-27
Has anyone come up with a solution to this problem?
0
Comment
Question by:phpretard
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 43

Expert Comment

by:Rob
ID: 21790370
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
 
LVL 12

Expert Comment

by:SamuelRostol
ID: 21791216
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
 

Author Comment

by:phpretard
ID: 21791887
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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 43

Expert Comment

by:Rob
ID: 21793452
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
 

Author Comment

by:phpretard
ID: 21793763
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
 
LVL 43

Accepted Solution

by:
Rob earned 2000 total points
ID: 21798226
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

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
The goal of the tutorial is to teach the user how to how to record live broadcast.
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.
Suggested Courses

609 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question