SWF not working in website
Hi,
I've made some flash swf files and I want to use them in my website. I uploaded them and everything works fine, except that the swf files won't play, it just shows a white box instead.
I'm using flash 8 and dreamwevaer 8. and since I'm new to this and this is my first time uploading a website, I don't know what to do and I'd really appereciate it if anyone could help me.
How large is the SWF file you are loading? How long did you wait? Do you have a preloader? It could be that your content is loading. Can we see the code you used to embed the SWF in your webpage? Can we have the link to the webpage? Try the code i put in pastie http://www.pastie.org/803711
Just change YOURFILE in <param name="movie" value="YOURFILE.swf"> and <embed src="YOURFILE.swf" to the name of your file if the webpage file is in the same directory as the SWF file else use a relative path to the directory it is in like "MyDir/YOURFILE.swf"
Similar Messages
-
Published .swf not working on website
Hi,
I am new to Catalyst, and just finished my first project.
It worked great when I went to "run project"
I changed the name of Main.html to Index.html (left the main.swf) and copied the "deployed to web folder" to the /public_hml folder in the FTP server.
The problem is that when I go to my site address nothing comes up
I am not sure what I am doing wrong! Anyone can help me please!?!?
Thanks!!!!!!I don't mean nested SWF is not work in Flash Catalyst(FC). You can still import SWF to FC. But one thing important is. When your nested SWF have related image file outside the SWF file. You also need to copy this image file under the nested SWF directory. (same folder or create a Assets folder or not. It depend on your link inside nested SWF.)
Hope this make this clear.
I also use nested SWF from FP and FC. It work fine for me. -
Ctrl-T command do not work in website with flash
Ctrl-T command do not work in website with flash
== URL of affected sites ==
http://If the Flash object has focus then key presses are processed by that plugin.
In such cases you need to click outside that plugin (e.g. the menu bar if you can't click on the website) to make the keyboard work. -
FLV player not working on website
Well recently I've been making a website, I'm recently new to Dreamweaver, and previously I had input two FLV's in two different AP div boxes. They both worked fine, but after creating a few more pages, I can only come back to see it broken. Instead of a play button with the bar, it's just a picture with the play, pause buttons all over it (attached). I'm really confused why, I don't think I edited it at all. I'm really stressing out because my projet is due tomorrow and this last problem just arises!
Thank
P.s I currently use Dreamweaver Cs6 on Mountain Lion Mac.Hello,
we had some similar questions in this forum already. So my first suggestion is that you use the forum search function with the keywords from above. See e.g.:
http://forums.adobe.com/community/dreamweaver/search.jspa?peopleEnabled=true&userID=&spotl ight=false&containerType=14&container=2240&rankBy=date&q=flv+player+not+working+on+website
To analyze better you should send us a link to your website in question, no matter how it looks like.
Hans-Günter -
SWF Not Working...Help Please :(
Hi all,
So I've been having an issue with a SWF not work on a page and this is what I can seem to come up with after hours of messing with Dreamweaver and Flash trying to understand why it won't work. When i test the movie from the working Flash file, it works no problem. Something is going wrong when I export or publish the movie and it no longer works. Is this something that happens?
Your help is much appreciated...this site needs to go up in the next day or so and the SWF was working and then stopped working and I'm honestly not a Flash gal so I really have no business messing with it, but it was a specific request. Thanks!One thing that might be an issue as far as the web page goes it that the html specifies a file named carousel2.swf which does not appear to exist on the server and is not the same name as the file you are calling the swf in your swf link (*carousel3.swf).
Without knowing what goes on inside carousel3, or carousel 2 for that matter, it's hard to say if it is missing the xml file that it might need. But for either case, are you certain that you have uploaded the xml file that is needed? -
Same file on same server but swf not working on different domanis!?
Hello folks, I have some problems with an flash game file.
I have uploaded same file on same server, using the same FTP client(FileZilla), but at one website file not work.
Here are the link for those swf file:
http://www.gamesjocuri.ro/files/ursuletul-panda.swf
http://www.jocurios.ro/fisiere/swf/ursuletul-panda.swf
The server use nginx for serving files;
Can somebody can give me an advice?
Many thanks!Hello folks, I have some problems with an flash game file.
I have uploaded same file on same server, using the same FTP client(FileZilla), but at one website file not work.
Here are the link for those swf file:
http://www.gamesjocuri.ro/files/ursuletul-panda.swf
http://www.jocurios.ro/fisiere/swf/ursuletul-panda.swf
The server use nginx for serving files;
Can somebody can give me an advice?
Many thanks! -
I have almost 40 swfs that are not working in Flash Player
10. They were developed in Flash 8 and only contain basic AS2 code.
I'm not sure what is wrong but some don't even show up and others
do, but with components missing or blocked out. The only thing I
can think of is that the majority of these were protected using
kindisoft's secureSWF. Please tell me there is just a bug in player
10,0,12,36. I literally have thousands of copies of the swfs out
and this is giving me a stomach ache.nsmchris,
> Recompiled swfs seem to work fine.
Okay, that's some relief, at least.
So that puts me in a tough position. I have 1000's of swf
> widgets out on hundreds of sites that will no longer
work
> :(.
For users who have Flash Player 10 intalled, that may be
true.
> Example is WiddlyTinks.com. So. How can I safe
> obfuscate my code so others can't decompile and still be
> compatible with future builds of the player?
To be honest, I don't know that your SWFs are safety
obfuscated even
now. I've seen plenty of apps over the years that claim to
obfuscate and/or
protect SWFs, but it's a never-ending game of cat and mouse,
just like spam
filters. As soon as someone buys secureSWF and reverse
engineers it --
which is what people who steal software do for fun -- the
secrets of
secureSWF will be brought to light. Eventually, "secureSWF
crackers" and
other such software will be available to effortlessly toil
away at the
encryption used in the obfuscation of your code. Just like
there are
legitimate products out there that recover lost ZIP or RAR
file passwords.
There might not be anti-secureSWF software yet, but give it
time.
As long as your SWF displays in Flash Player, it can be read
by any
software that behaves as Flash Player does. Even when
modified by this
third-party app, your SWF adheres to the SWF specification,
which means it's
known territory. All software can reverse engineered. That's
why for-pay
software always comes with an End User License Agreement that
makes you
promise not to reverse engineer it.
This note says it all (from kindisoft's own website):
Without argument, obfuscation (or even encryption) is not 100
percent
protection. If a hacker is persistent enough, he/she can find
the meaning of
your code. The goal of obfuscation is to make the process of
reverse
engineering extremely time consuming and painful so that it
is not worth the
effort. The goal is to stop all casual hackers and as many
serious hackers
as possible.
http://kindisoft.com/secureSWF/faq.php
When you started this thread, you mentioned these SWFs "only
contain
basic AS2 code," so really ... how much of the code in your
SWFs is worth
obfuscating? I hasten to add, I'm asking with respect for
your work. I'm
not judging your SWFs in any way and have no idea which ones
are yours. But
if they're basic, what's to protect?
David Stiller
Adobe Community Expert
Dev blog,
http://www.quip.net/blog/
"Luck is the residue of good design." -
LocalConnection to run a function in another .swf not working....
I'm trying to establish a LocalConnection so that I can communicate between my navbar & the main page on my website. Here is the code I have so far for the sending and receiving AS3 files, please let me know if you see anything out of the ordinary. The idea is that when you click on one of the icons on the navbar my "book" slides down to the center of the screen on the correct page. I actually have 4 buttons but only included the code I'm using for two in order to make this post shorter. The same idea is used for all four buttons though.
Sending:
var sending_lc:LocalConnection;
sending_lc = new LocalConnection();
servicesBtn.buttonMode = true;
portfolioBtn.buttonMode = true;
function servicesBtnOver(event:MouseEvent):void{
servicesBtn.gotoAndPlay('over');
function servicesBtnOut(event:MouseEvent):void{
servicesBtn.gotoAndPlay('out');
function servicesBtnClick(event:MouseEvent):void{
sending_lc.send("my_lc_as3", "gotoServicesPage");
servicesBtn.addEventListener(MouseEvent.ROLL_OVER, servicesBtnOver);
servicesBtn.addEventListener(MouseEvent.ROLL_OUT, servicesBtnOut);
servicesBtn.addEventListener(MouseEvent.CLICK, servicesBtnClick);
function portfolioBtnOver(event:MouseEvent):void{
portfolioBtn.gotoAndPlay('over');
function portfolioBtnOut(event:MouseEvent):void{
portfolioBtn.gotoAndPlay('out');
function portfolioBtnClick(event:MouseEvent):void{
sending_lc.send("my_lc_as3", "gotoPortfolioPage");
portfolioBtn.addEventListener(MouseEvent.ROLL_OVER, portfolioBtnOver);
portfolioBtn.addEventListener(MouseEvent.ROLL_OUT, portfolioBtnOut);
portfolioBtn.addEventListener(MouseEvent.CLICK, portfolioBtnClick);
Receiving:
import com.greensock.*;
import com.greensock.easing.*;
var receiving_lc:LocalConnection;
receiving_lc = new LocalConnection();
receiving_lc.connect("my_lc_as3");
receiving_lc.client = this;
var bookPosition:String = "up";
function gotoServicesPage(event:MouseEvent):void {
book.gotoAndStop('webDesignPage');
if (bookPosition == "up");
TweenLite.to(book, 2, {y:830});
var bookPosition == "down";
function gotoPortfolioPage(event:MouseEvent):void{
book.gotoAndStop('porftolioPage');
if (bookPosition == "up");
TweenLite.to(book, 2, {y:830});
var bookPosition == "down";
The reason I'm keeping track of whether the book is in the "up" or "down" is so that if it's in the down position already it doesn't re-tween back onto the screen. I am new to declaring and using variables; TweenLite; and LocalConnection so there is probably some simple problem with my AS3 code (although no errors are coming up in Flash). Any help would be much appreciated.Alright I'm going to fix one problem at a time, starting with the LocalConnection. I've checked several websites for tutorials and examples but cannot seem to get it working properly. I'm just trying to run a simple function over it and can't get it working. Once I can get it working, I'll modify the rest of the code to do what I need. Right now I'm just trying to use it to run a function (slideServicesIn) in a seperate swf. file. I've checked and rechecked the code and just can't figure out why it's not working.
Here's the sending code:
import flash.net.LocalConnection;
import flash.events.MouseEvent;
var lc:LocalConnection = new LocalConnection();
function servicesBtnClick(event:MouseEvent):void{
lc.send("my_lc_as3","slideServicesIn");
servicesBtn.addEventListener(MouseEvent.CLICK, servicesBtnClick);
Looks pretty simple.... And here's the receiving code:
import flash.net.LocalConnection;
var lc:LocalConnection = new LocalConnection();
lc.connect("my_lc_as3");
/*If you're not familiar with TweenLite or TweenMax, I can revise the code. I can't get it to work even just to go to a certain frame label. This seems pretty basic if you are even a little familiar with TweenLite/Tweenmax*/
import com.greensock.*;
import com.greensock.easing.*;
import com.greensock.plugins.*;
var bookPosition:String = "up";
var currentPage:String;
function slideServicesIn ():void{
if (bookPosition = "up"){
//Goes to a certain frame label in the book movie clip
book.gotoAndStop("webDesignPage");
//Slides the book down 825px from the top of the screen using TweenLite
TweenLite.to(book, 3, { y:825 } );
bookPosition = "down";
currentPage = "book.servicesPage";
else () {
//Fades out the current page using TweenLite
TweenLite.to(currentPage, 1, { alpha:0, ease:Quad.easeIn } );
//Fades in the Web Design Page using Tweenlite
TweenLite.to(book.webDesignPage, 1, { alpha:1, ease:Quad.easeIn, delay: .2 } ); -
Published SWFs not working from CS3 on Mac?
This one REALLY has me stumped..
I am working on a Mac Dual 2-Gig G5 running OS 10.4.10 and
Flash CS3.
I have a web site for a client posted (
http://www.aronwiesenfeld.com
). This site has been running flawlessly for over a year published
to Version 8 Flash Player AS v2.0. This client asked me to create a
new temporary splash page last night that would announce his new
Art Show and then click on into the main site. This site uses a
Shared Lib, a SharedTrigger, a Core SWF (containing the main site
navigation elements and handles loading of various movies into
levels) and a Splash SWF (that contains the two splash screens and
initial navigation to areas of the site. The problem I THINK I am
having is in the Splash SWF... or is a problem with my LOCAL Mac
installation? When I click one of the 5 Site Nav buttons it is
supposed to tell the main core movie to advance to a new frame (20)
and I target that movie by referring to _level0. This has worked
fine for the past year (on this and other sites). I am attaching an
example of the code used on each of the initial Nav buttons in the
Splash swf .
So here is the mystery...
When I "Test Movie" inside Flash CS3, everything works/looks
"perfect". If I then go to the desktop and find the generated HTML
file and open it in Safari (both version 2 and 3-beta), or Firefox
or Opera, etc., everything looks fine until I click one of the
initial text Nav Buttions. At that point it takes me to the main
site and loads the external SWF into a level as it should
(indicating that the 3rd line of code on the button is execution
and by the fact the the Splash movie disappears, it indicates that
the core movie is indeed moving to frame 20 (_level0) as requested
in the first line of code. However, all of the main site navigation
buttons along the bottom of the main site as well as the background
NEVER APPEAR? Also when I start to move the mouse around the loaded
external movie the site completely crashes and I get a blank screen
- IN ALL BROWSERS whether I am launching the site from my hard
drive or the Internet!! But it works perfect INSIDE Flash CS3.
Now comes the real kicker...
Just for the heck of it after spending 3 hours trying to fix
this on my main G5 tower(publishing to Player version 9, etc.), I
decided to try accessing the site from my old G4 laptop. Ready for
this? The site appears to be working perfectly IN ALL BROWSERS ON
MY G4 also running 10.4.10!!!
So my guess is maybe their is a problem with the Flash Player
Plugin in all my browsers on my G5 or the Flash Plugin has a
problem with OS 10.4.10 only on my G5. BUT, even if I launch this
site directly in Flash Player from the desktop on my G5 it does not
work - so the stand-alone player is having the same issue - yet it
works fine on my G5 INSIDE of Flash CS3.
I thought I had seen it all the last 5 years with Flash, but
this one has be completely stumped!
My client emailed me from California and said the site was
working fine there of his PC. If that is true then I am having a
LOCAL Flash Player problem on my G5 running 10.4.10.
In addition to my question, if anyone can give me feedback as
to whether or not this site is working on your machine/browser/OS,
could you please let me know? You will know if the site is working
if you click on Enter Site, then click on any of the 5 buttons
(except Info) and you see a grey background behind the image and
the lower navigation string appears.
Thanks!Well after trying everything I could think of I started down
the list again. I re-downloaded the Flash Player 9 r47 Mac
installer and ran the installer again (which I also did last night
with no success).
This time after re-installing the plugin - ALL THE BROWSERS
IMMEDIATELY STARTED WORKING ad the site now comes up fine - so,
apparently I had a bad Flash Player install in my browser! -
Everyone says if we readjust settings in Flash, the swf will work locally. This is not occurring. In InDesign, they check fine. Loading them on a server would be nice but I don't have one outside the router. I do have LAMP working this side, on a laptop but am not sure what I'm doing there. I still think it is a security setting or a bug. Any clues? This is the final week in class. I'd like to keep my 4.0.
Thanks,
GaryI am having Flash Player 9 on my PC and both files work fine
with me. Try to reinstall Flash Player and see what will happend ,
and make sure that you do not have more than Flash Player version
on your Computer.
Hope this helps -
Arrow and space keys not working on websites
I can't seem to get my arrow keys or space keys to work playing flash games on websites. An example would be this game: http://progressivefastandfurious.com When this game starts the car does not move anywhere because the keyboard keys won't work. What's odd is that they seem to work everywhere else (ex: typing doc etc.) This is not related only to this site but pretty much any flash or shockwave site that needs the use of the arrow keys. I also get weird responses when using the extended keyboard with the dashboard calculator. I assume these are coming from the same issue. I bought a new keyboard and my old one does the same thing.
Dual 2.7 GHz PowerPC G5 Mac OS X (10.4.7) 2GB DDR RAM, airport, bluetoothI take back the "extended keyboard not working in calculator" it seems to be working now. As for flash, not so much. I also found out it is all keys that do not work in flash. Here is a good example:
http://www.miniclip.com/games/base-jumping/en
That game asks you to it any key to get started. I was not even able to do that. I also had focus set on the flash movie so I know it should have worked.
In another game which is not flash but shockwave (director compiled file):
http://www.miniclip.com/games/on-the-run/en/
Hit the how to play button. The "P,S, and R" keys work but the other keys do not while playing this game. I am starting to thing I have some sort of accessibility thing turned on that interferes with certain keys. Anyone know of anything that may effect this? -
Preloader in external swf not working
I have several external SWFs that are loaded into my site and
each one has a preloader. When I run them by themselves the
preloader works fine, but when it is embeded into the main SWF the
preloaders do not work. Any ideas?
here is my actionscript -
lBytes = _root.getBytesLoaded();
tBytes = _root.getBytesTotal();
percentLoaded = Math.floor((lBytes/tBytes)*100);
loader.bar._xscale = percentLoaded;
loader.percent.text = percentLoaded + "% of " +
Math.floor(tBytes/1024) + "K loaded.";
if (lBytes>=tBytes && tBytes>0) {
if (count>=12) {
gotoAndPlay("enter");
} else {
count++;
gotoAndPlay("preload");
} else {
gotoAndPlay("preload");
}I am experiencing the exact same problem on my site -
www.expansiondesign.com
It works in flash player but not when live (tested safari and
firefox)
I don't know if you are using the same script as I am paul.
I execute the following when each image button is pressed:
button1.onRelease = function () {
startLoading("image1.jpg");
which runs this:
function startLoading(whichImage) {
loadMovie(whichImage, "_root.image_holder");
_root.onEnterFrame = function() {
infoLoaded = _root.image_holder.getBytesLoaded();
infoTotal = _root.image_holder.getBytesTotal();
percentage = (infoLoaded/infoTotal*100);
_root.loader._yscale = percentage;
_root.loader._visible = true;
if (percentage>=100) {
delete this.onEnterFrame;
_root.loader._visible = false;
Thanks,
Barton -
SWF. not working when entering other state
Hi
I have just made a site where theres a main site without animation and a sub site with animation. The problem is that the animation/swf is not starting when i enter the subsite. It starts when theres no main site but when we enter the site from a another main site/sub site the animation the do not start.This might be a security issue. If I am understanding what you are say is you go to www.mysite.com then go to mysubsite.mysite.com. When you are accessing the Flash Catalyst produced swf at mysubsite.mysite.com this way it does not work. In the Flash Catalyst file, the linked swf is probably referenced as "http://www.mysite.com/mySWF.swf", but to the Flash Player this is a different address from mysubsite.mysite.com.
If you add a crossdomain.xml file to your site to include the top level and sub domains, the issue should be resolved. For more information on the crossdomain.xml file: http://kb2.adobe.com/cps/142/tn_14213.html
Good luck
Chris -
Swf not working when moved to other folder....
Hi all...
i have created a simple flex project that does not use any server technology... i have then used acitonscript to dynamically set up my end points and channels for a simple remote object which calls a java class on a tomcat local server.
all works as it should.
the folder that contains my swf in on my desktop. If i was to copy the folder and move it to another location... the program does not work.?
I want to able to create a swf that can work anywhere on the local machine.
and to be extra awkward... i dont want to use air
any ideas?Hi greg..
thanks for your help...
ive tried it with -use-network=true. but i am not having any luck.
when i tried -use-network=false i get an error :
SecurityError: Error #2010: Local-with-filesystem SWF files are not permitted to use sockets.
at flash.net::Socket/internalConnect()
at flash.net::Socket/connect()
at mx.netmon::NetworkMonitorImpl()[/ndepot/ide_builder/ActionscriptProjects/src/mx/netmon/Ne tworkMonitorImpl.as:79]
at mx.netmon::NetworkMonitorImpl$/init()[/ndepot/ide_builder/ActionscriptProjects/src/mx/net mon/NetworkMonitorImpl.as:30]
at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::docFrameHandler()[E:\dev\beta1\frameworks\proj ects\framework\src\mx\managers\SystemManager.as:3394]
at mx.managers::SystemManager/docFrameListener()[E:\dev\beta1\frameworks\projects\framework\ src\mx\managers\SystemManager.as:3258] -
Embedded SWFs not working with Flash 9
Hello,
I am also plagued with the Flash Player 9 issue. None of my
embedded SWF files work if I publish with this version of the
player installed. I ran the uninstaller and I'm now using version
8. However, each time I open a PPT file I get an error saying "some
controls on this presentation can't be activated. they might not be
registered on this computer". This is very irritating. So, my SWFs
still don't work. I found that if I register the v9 ocx and
re-insert the SWFs, they will publish properly (while the Player 8
is installed). However, I have about 50 existing PPTs with anywhere
from 10-30 SWFs per presentation. I'd like to avoid this method if
possible. Does anyone know of an easier solution? Thank you.good morning DocDVM and Supermercado Gato,
I have the same issue with embedding SWF files into Breeze. I
have been doing some searching the last two weeks and i found an
tech note that you might want to read. It seems that Breeze is not
really set up for Flash player 9 so Adobe came up with a work
around. Read the technote.
http://www.adobe.com/go/f9204eb8
I am having my IT Department update Breeze for me so i will
let you know if it works or if you update your Breeze let me know
if this fixes the issue.
Maybe you are looking for
-
SAP BW Upgrade from 7.0 to 7.3 For SAP BOBJ 4.0: Hardware
Good afternoon I could not find any usable information on the net and I do not know where to look for the following regarding hardware requirements. We are planning to install SAP Business Objects 4.0 SP 02 and need to Upgrade our current SAP BW envi
-
How do you create multiple photo folders or shows
When I import photos they all go into the same album, photo library. How do I set up more albums? Even when I import from different folders on my MAC they go to the same album. Also how do I delete photos once they are on the iPod? Many Thanks,
-
Hi all, This newbie is slowly making progress. Now I need suggestions for the easiest way to add callouts for an image (example from FrameMaker shown below.) I first tried to draw a little text frame within the main text frame. Nothing. Then I tried
-
Today I joined this forum, so let me start by apologising if I ask the wrong question at the wrong place. I have built 3 websites which I published through iWeb. I have copied the domain.sites2 file to my dropbox. I have published all 3 sites to both
-
Fatal Error when updating to 4.5
I have a blackberry pearl 8130. I tried updating to v 4.5 and it started normal then I got a fatal error occurred, update not completed message and now I have no power to my blackberry. I tried reloading without battery but it didn't work... Can an