View Full Version : AS2 Full Screen Flash Problem!!! Very Strange. Need Help
jefrescott
May 15th, 2009, 02:24 AM
Hello everyone.
I have designed a number of full screen Flash pages (i'm still using AS2), but I recently redesigned my own company site, and I been having problems when the site goes live. Its testing fine locally on my computer, but when I upload it, it goes silly. I'm using a new internet host (one.com) , and they seem to be some issues with the "published" HTML code. All of my other sites are live and run just fine, on there own web-servers, but my own company site has gone wonky. I'm contacted one.com's tech's and they messed about with the HTML and now it sort of works (the site loads, but you can scroll down and there is another site below and off to the side). This is my site:
www.ironore.dk (http://www.ironore.dk)
...and this is the site uploaded on another server ( and working properly), with the original "published" HTML code that will not work on One.com
www.jefrescott.com/test (http://www.jefrescott.com/test)
Has anyone ever heard of this before?
tinkutr
May 15th, 2009, 05:02 AM
Your html code have two flash instances. delete that html and make new. it will work
jefrescott
May 15th, 2009, 09:00 AM
Your html code have two flash instances. delete that html and make new. it will work
I'm not sure what HTML code your referring to, and the 2 Flash instances. The code on the page www.jefrescott.com/test (http://www.jefrescott.com/test) is the code generated by publishing from Flash. This will not work when loaded onto ONE.COM. The code on www.ironore.dk (http://ironore.dk) is the code that tech support at ONE.COM rewrote.
I'm not sure where the problem lies, why a site would work from one webserver but not another.
glosrfc
May 15th, 2009, 03:51 PM
This is what he means:
In your test HTML you're attempting to load two instances of ironore.swf - one using Javascript, i.e. AC_RunActiveContent.js and the other using the standard <object> and <embed> tag method. In this case, I suspect that you haven't uploaded AC_RunActiveContent.js to the test server which is why only one instance of the SWF is shown (the version that employs the <object> and <embed> tags) and so it looks to be running fine. If you were to upload AC_RunActiveContent.js to the test server, you would find that it looks like the ironore server with two instances of the SWF.
In the version located at ironore, you're also attempting to load two instances of ironore.swf using RunActiveContent.js and the <object> and <embed> tags and so (because they've installed AC_RunActiveContent.js) you are seeing both instances.
Either remove the AC_RunActiveContent javascript in the HTML file or the contents of the <object> and the <embed> tags.
Edit: In your Publish settings, under the HTML tab, you can choose to select from a wide range of installed templates, one of which is Flash only which uses <object> and <embed>. If you've installed Adobe's Active Flash Content Update (http://www.adobe.com/devnet/activecontent/articles/devletter.html), you will also have a new template for _Active Content Update HTTP.
Assuming that the code on the test server is the code that was actually published,
what I suspect has happened is that you've published your site using this template but either the installation of it didn't succeed or the template has been tampered with or edited in some way. So what you've actually got is an amalgam of the Flash only template plus the _Active Content Update template. You just haven't noticed before with other sites because you've never uploaded the AC_RunActiveContent.js file so the javascript has been ignored.
To avoid it happening again, select a different template when you publish and I'd also recommend reinstalling the Active Flash Content Update again should you wish to use that template in future. Alternatively, use SWFObject (http://code.google.com/p/swfobject/) instead by downloading the templates from there, or by writing the HTML yourself.
jefrescott
May 15th, 2009, 09:45 PM
Glosrfc.
Cheers for your quick responce. I understand now what you mean about having both, the AC_RunActiveContent.js and also the <embed><object> tags, but I am running CS3 and that is the default code that Flash kicks out for me when I "publish" a "Flash Only file". Which is why I'm confused by this whole thing. These are the exact same HTML, SWF, and AC_RunActiveContent.js files, but you can see how they react on two different web hosts.
www.jefrescott.com/test (runs properly)
www.ironore.dk/test (blank screen)
I tried deleting the <object><embed> tags, and it ran fine Locally on both Safari and Firefox, but when I uploaded it to www.ironore.dk, it shows blank like above. Which is why I'm thinking that one.com has a problem with the AC_RunActiveContent.js file.
Truthfully, would love to know how to write my own HTML/java code this, and not lean on Adobe to do it for me,but unfortunatly, I don't know any good tutorials for this. I have to say I'm a bit of beginner when it comes to Javascript.
...also, can the SWFObject code be configured to accommodate Full Screen flash files?
Thanks again for your help, this is recking my head.
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.