Flash Movie Works Locally But Won't Work Online
I have a flash movie that works fine in any folder on my local computer ( both the .swf file and .html file are in the same directory) but when I upload the files (.swf as binary) unchanged both to the same directory on the remote server, and access the .html file from the internet, the movie doesn't play.
the .html file is as follows:
Code:
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>game</title>
</head>
<body bgcolor="#ffffff">
<!--url's used in the movie-->
<!--text used in the movie-->
<!-- saved from url=(0013)about:internet -->
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="400" height="291" id="game" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="game.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><embed src="game.swf" quality="high" bgcolor="#ffffff" width="400" height="291" name="game" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</body>
</html>
What is my problem?
Thx,
Total Newbie
FlashKit > Flash Help > Flash Newbies
Posted on: 05-27-2006, 11:09 AM
View Complete Forum Thread with Replies
Sponsored Links:
- Flash Movie Works Locally But Won't Work Online
- Elements Of Movie Works Locally But Not Online
- [F8] Flash Works Locally, But Not Online...
- Sound Actionscript - Works Locally Not Online - Flash Mx
- Flash Links Work Locally But Not Online
- Works Locally But Not Online?
- Works Locally But Not Online?
- Works Locally But Not Online?
- StartDrag Works Locally But Not Online...
- Code Works Locally But Not Online...?
- .getHours(); Works Locally But Not Online
- [F8] LoadMovie Works Locally, But Not Online...
- [MX04] Works Locally But Not Online
- If/else Statement Works Locally, But Not Online
- [CS3] PrintJob Works Locally Not Online
- File Works Locally, Not Online - What Gives?
- LoadMovie Works Locally, But Not Online...
- Form/php Works Locally Not Online
- Form/php Works Locally Not Online
- Path Works Locally But Not Online?
- Preloader Works Locally, Not Online
- Load Variables Works Locally Not Online
- Loadvar Works Locally, But Not Online For Some Reason
- GetURL('javascript:blablah();'); - Works Locally, Not Online.
- Flex - Works Locally, Throws Errors Online
- Error Loading WSDL When Hitting Page Online (works Locally)
- Graphic Disappears When Music Streams Online, But Works When Streaming Locally
- My Quicktime Page Works Locally, But Shows A Broken Link When I Post It Online.?
- LoadMovie And MovieClipLoader Work Always Locally, But Only 80% Online
- Script Works In Flash, Doesn't Work Online
- [CS3] FLV's That Are External Work Fine Locally But Not Uploaded Online ?
- Help: Swfs Stalling Out Online But Work Fine Locally?
- FLV's That Are External Work Fine Locally But Not Uploaded Online ?
- SWFs Play Locally (they Pull Xml Info From Another Site) But Don't Work Online
- Site Works Locally, But Doenst Work On The Net
- Works Locally - Doesn't Work When I Upload
- LoadMovie Doesn't Work On Server, Works Locally?
- Load Movie Loads Locally..not Online
- Load Movie Loads Locally..not Online
- Same Movie Works Locally On Mac But Not From Site
- My Remoting Movie Only Works Locally
- SWF Not Playing Inside Scrolling Movie Clip. Works Locally, But Not On The Web
- Flash Player Only Works Locally
- Flash Works Locally, But Not When Uploaded
- Testing Flash: Works Locally, Fails On The Web
- Testing Flash: Works Locally, Fails On The Web
- Movie Works From C Drive But Not Online
- Flash Site Works Locally ,but Not On Remote Server?
- Flash Video Player Works Locally But Not Live
- Flash Text-load Works Locally, But Not On Server
- AS2 Flash Movie Call To JavaScript Function Works In Firefox, Doesn't Work In IE6, IE7
Flash Movie Works Locally But Won't Work Online
I am a total newbie to Flash so please forgive my ignorance. I have a flash movie (game.swf, game.html) that works fine when the .swf file and the .html file in which it is imbedded are are in any folder on my local machine. However when I upload both files to the root directory of the remote server, the movie doesn't work when I access the html file on the internet. Why does it work locally, but not on the internet?
View Replies !
View Related
Elements Of Movie Works Locally But Not Online
Please could anyone offer some advice?
My movie works fine locally, but it doesn't work online. Online example is at http://www.13oakstreet.com/eh/.
Specifically, homer's mouth is supposed to move and doesn't. On pressing any key, the key listener should be removed, but isn't, and homer should be dancing around the grave, and he should be signing "i am evil homer!, etc". All of this works locally! It's REALLY bizarre! It's only online that it doesn't work.
Any help would be most brill,
Thanks
Nelly
View Replies !
View Related
Sound Actionscript - Works Locally Not Online - Flash Mx
The following code works on my local machine but not when I upload.
I have a video which I use as a background to one section of the site. I load it into an empty mc which has the code below attached.
The scaling part works fine.
The part that causes problems is the audio. I want the Audio for the background video to play if the user is NOT listening to a mp3 (its a music artist site).
If they are listening to a mp3 I want it to be a silent video.
I use the _root.MP3Active to track if a mp3 is playing
0 = not playing
1 = playing.
I guess my problem is associated with the fact that the video loads instantly on my local macjhine but not online?
any ideas how to fix this or do it differently?
thanks mark
Code:
onClipEvent(load){
_root.BGVideoSound = new Sound(this);
}
onClipEvent(data){
this._xscale = 300;
this._yscale = 300;
_root.BGVideoSound.setVolume(0);
if(_root.MP3Active == 1){
_root.BGVideoSound.setVolume(0);
}
else{
_root.BGVideoSound.setVolume(100);
}
}
View Replies !
View Related
Flash Links Work Locally But Not Online
Hi,
I am having a problem with a flash movie when it is on my machine with a relative path the link to our website page works fine but when I upload the flash movie it doesn't click anywhere. The flash movie is located on a different sub domain to the page it is hosted on and so has an absolute URL and I can't put it anywhere else.
View Replies !
View Related
Works Locally But Not Online?
Hi
I'm loading jpgs like this:
in a for loop...
thumName = "thClip"+d;
_root.contHolder.cHolder.thHolder[thumName].imgHolder.loadMovie("thumbs/"+theReference+".jpg");
it works fine when I test the movie but not when I load it to my server, anyone got any idea why?
Cheers
L
View Replies !
View Related
Works Locally But Not Online?
I have a flash app that sends variables to asp. It works fine when tested locally but when I upload it and test it, it never sends the variables... Weird!
This is the script:
PHP Code:
on (release) {
if (!epost.length || epost.indexOf("@") == -1 || epost.indexOf(".") == -1) {
gotoAndStop(8);
} else if (!name.length) {
gotoAndStop(8);
} else if (!adress.length) {
gotoAndStop(8);
} else if (!postnr.length) {
gotoAndStop(8);
} else if (!ort.length) {
gotoAndStop(8);
} else {
ContestID = "147";
loadVariablesNum("http://195.178.168.92/contest_skriv.asp", "0", "POST");
gotoAndStop(9);
}
}
View Replies !
View Related
Works Locally But Not Online?
I'm kinda new to flash and fter weeks of getting this rather simple flash project to work on my hard drive I can't get it to work online.
http://www.cashton.co.uk/photos.swf
Its an XML driven photo gallery that currently has two major problems
1) Only some of the thumbs show up. All of Abel Tasman does but none of Auckland. I made all the thumbs in photoshop using an automated process of resizing and saving for web.
They're all under 2kb, non progressive, have lowercase names and extensions with no spaces in the filename. The file structure online is identical to the one on my hard drive
2) Only a few of the main photos display themselves the second one in Abel Tasman does but none of the others in the same folder do. Like the thumbs I made them all inexactly the same way and they're all under 25Kb so loading time shouldn't be more than a few secs on broadband.
I just can't think whats wrong as it works perfectly locally
Can anyone take a guess what might be wrong?
P.S. Yes I know the font on the buttons is hard to read its on my "to fix later list"
View Replies !
View Related
StartDrag Works Locally But Not Online...
Hi All,
I have actionscript that works locally, works when i test in dreamweaver but refuses to work when i upload it to my client's server.
This is extremely exhausted because i completely changed the page around because the first effect i had did the same thing - worked locally and not online. And now the second effect is doing the exact same thing!!!
Can someone guide me to where the bottleneck might be...i'm stuck!
thx
View Replies !
View Related
Code Works Locally But Not Online...?
This loads in a movie based upon your selection of quality with a preloader...
code:
loadListener = new Object();
loadListener.complete = function(eventObj){
pBar._visible = false;
rrs_mc._visible = false;
}
loader.addEventListener("complete", loadListener);
loader.autoLoad = false;
loader.contentPath = "http://www.ramsredson.com/frame2.swf";
loader.load();
pBar.source=loader;
stop();
loader - loader component
pBar - progress bar component (event mode)
when i run this online it hides the pBar and rrs_mc instantly then loads the movie. However if i run it locally the progress bar works and on completion it hides the pBar and rrs_mc. Any ideas, or other ways to make it work? thanks
View Replies !
View Related
.getHours(); Works Locally But Not Online
Hi all, wondered if you help me with this one...
I've got an if statement which controls a background for three different times of the day, day, midday, night.
The problem is that once uploaded the night if statement does work. It does however seem to work locally though, that bizarre right!?
var hour = new Date().getHours();
trace("hour= "+hour);
if (hour>0 && hour<5) {
gotoAndPlay(40);
}
else if (hour>5 && hour<11) {
gotoAndPlay("day");
trace("day");
}
else if (hour>11 && hour<18) {
gotoAndPlay("miday");
trace("midday");
}
else if (hour>=18) {
gotoAndPlay(“night”);
trace("night");
};
Any one got any ideas, thanks in advance
Jon
View Replies !
View Related
[F8] LoadMovie Works Locally, But Not Online...
I have the following command on a frame:
holder_mc.loadMovie("/NF/mp3player.swf");
When independently launching the .SWF, or when testing the movie in Flash, the "holder_mc" loads the "mp3player.swf" just fine. But when posted online (or even testing locally inside a browser), it doesn't load at all. I have copied the directory structures from my local hard drive to my online server EXACTLY...
Any ideas???...
View Replies !
View Related
[MX04] Works Locally But Not Online
I'm working on a script to read an xml feed and the information works locally but not when I upload it to my server. any help is much appreciated. here is my actionscript just in case it helps
var clanid = "57691";
function loadXML(loaded) {
if (loaded) {
_root.clanid = this.firstChild.childNodes[0].childNodes[0].firstChild.nodeValue;
_root.clanname = this.firstChild.childNodes[0].childNodes[1].firstChild.nodeValue;
_root.clantag = this.firstChild.childNodes[0].childNodes[2].firstChild.nodeValue;
_root.clancountry = this.firstChild.childNodes[0].childNodes[3].firstChild.nodeValue;
_root.clanstatsurl = this.firstChild.childNodes[0].childNodes[4].firstChild.nodeValue;
clanid_txt.text = _root.clanid;
clanname_txt.text = _root.clanname;
clantag_txt.text = _root.clantag;
clancountry_txt.text = _root.clancountry;
clanstatsurl_txt.text = _root.clanstatsurl;
} else {
trace("file not loaded!");
}
}
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load("http://aaotracker.4players.de/livefeed/xml_clanprofile.php?clanid="+clanid);
View Replies !
View Related
If/else Statement Works Locally, But Not Online
This is in CS3 exported to player 8. I've got an external swf inside a container, and inside that contained swf is another external swf in a container. Like so: root/container/humanHolder.
So this code is inside "container" timeline and should make the swf in "humanHolder" go to a specifically named frame if the swf is on a frame less than 339.
The code works on my drive, but not after uploaded to my site. Any idea why?
PHP Code:
if (_root.container.humanHolder._currentframe <= "339") { _root.container.humanHolder.gotoAndPlay("beamOut01");} else { _root.container.humanHolder.gotoAndPlay("beamOut02");}
View Replies !
View Related
[CS3] PrintJob Works Locally Not Online
I have a movie that prints a text block that the user has entered. It works correctly locally, but when I put it online it makes one big black rectangle. Any ideas why that would happen? I'll copy the code below:
Code:
printNotes_btn.onRelease = function() {
//copy all text to a mc off stage..
textHolder_mc.autoSize = "left";
textHolder_mc.text = notes.text;
var mh:Number = textHolder_mc._height;
var pageCount:Number = 0;
var my_pj:PrintJob = new PrintJob();
if (my_pj.start()) {
trace("h/w is "+ mh+","+my_pj.pageHeight);
if (Number(mh) > Number(my_pj.pageHeight)) {
trace("here");
var pnum:Number = Math.ceil(mh/my_pj.pageHeight);
trace(pnum);
for (var i:Number = 0; i<pnum; i++) {
var ymn:Number = my_pj.pageHeight*i;
var ymx:Number = ymn+my_pj.pageHeight;
my_pj.addPage("textHolder_mc", {xMin:0, xMax:my_pj.pageWidth, yMin:ymn, yMax:ymx},{printAsBitmap:true},16);
pageCount++;
}
} else {
my_pj.addPage("textHolder_mc", {xMin:0, xMax:my_pj.pageWidth, yMin:0, yMax:my_pj.pageHeight},{printAsBitmap:true},16);
pageCount++;
}
if (pageCount>0) {
trace("will print "+pageCount);
my_pj.send();
}
delete my_pj;
}
};
View Replies !
View Related
File Works Locally, Not Online - What Gives?
I've got a file working perfectly on a local machine (the file calls a user-selectable XML file and parses the results on a mocked up radio screen). When I put it online however, it hangs and never loads.
Any ideas? It's great on my local system and all...but...you know...
Thanks!
Kyle
<file attached>
View Replies !
View Related
LoadMovie Works Locally, But Not Online...
I have the following command on a frame:
holder_mc.loadMovie("/NF/mp3player.swf");
When independently launching the .SWF, or when testing the movie in Flash, the "holder_mc" loads the "mp3player.swf" just fine. But when posted online (or even testing locally inside a browser), it doesn't load at all. I have copied the directory structures from my local hard drive to my online server EXACTLY...
Any ideas???...
Edited: 11/11/2006 at 12:31:32 PM by DIY_Lobotomy
View Replies !
View Related
Form/php Works Locally Not Online
it just doesnt make any sense..
same swf and php.
php is sitting on my server.
when swf is tested locally it sends an email.
when swf is uploaded next to php it doesnt..
it is driving me CRAZY..
should also say, i have field validation and once all fields are accurately filled the submit button loads the variables from the mc that contains the text fields and sends them to the php.. once that is done, it clears all text fields and the submit and reset buttons and loads an acknowledgement text..
this happens locally ..
when online the submit button does nothing of the sort...
anyone?
View Replies !
View Related
Form/php Works Locally Not Online
form/php works locally not online
posted this before but no luck.
it just doesnt make any sense..
same swf and php.
php is sitting on my server.
when swf is tested locally it sends an email.
when swf is uploaded next to php it doesnt..
it is driving me CRAZY..
should also say, i have field validation within flash.. so once all fields are accurately filled the submit button loads the variables from the mc that contains the text fields and sends them to the php.. once that is done, it clears all text fields and the submit and reset buttons and loads an acknowledgement text..
this happens locally ..
when online the submit button does nothing of the sort...
anyone?
View Replies !
View Related
Path Works Locally But Not Online?
Hi
I'm loading jpgs like this:
Code:
for (var d = 0; d<numofThumbs; d++) {
thumName = "thClip"+d;
_root.contHolder.cHolder.thHolder[thumName].imgHolder.loadMovie("thumbs/"+theReference+".jpg");
}
it works fine when I test the movie but not when I load it to my server, anyone got any idea why?
Cheers
L
View Replies !
View Related
Preloader Works Locally, Not Online
hi, all
I am having a weird problem, where my preloader works perfectly fine when I test it in Flash2004 via "stimulate download", but when I upload the swf online, the movie just sits on the first frame. here is the script I used:
In the preloader bar MC(sits on 2nd keyframe in the main stage):
setProperty(this, _xscale, (_root.getBytesLoaded()/_root.getBytesTotal()*100));
On the 2nd keyframe on main stage:
setProperty(this, _xscale, (_root.getBytesLoaded()/_root.getBytesTotal()*100));
thanks in advance
Al
View Replies !
View Related
Load Variables Works Locally Not Online
hello,
has anyone had the same problem as me, and do they know the soultion.
i have a high score table writen in perl for a game i making someone.
it all works when i test it on my machine, it returns the high scores form a server else where.
but when i upload the game and try to see the high scores from there it doe'nt return anything?
any suggestions,
thanks howard
View Replies !
View Related
GetURL('javascript:blablah();'); - Works Locally, Not Online.
Why would a flash movie call javascript locally, but not do it online? I've created flash movies that call javascript functions all the time. This one has been created by someone else, I'm trying to implement it, and I can't really tell that there's any difference... the button is inside a symbol, but that shouldn't affect anything, right? I don't need to do something like _root.getURL(blahblah) do I?
View Replies !
View Related
Flex - Works Locally, Throws Errors Online
Hi!
I made an app in Flex and it works great locally but when I upload it to my server I get errors :/ YOu can view it at http://divita.eu/test/virtual_mountain/
Code:
Error: Unable to load ''.
at mx.controls::SWFLoader/loadContent()[E:dev3.0.xframeworksprojectsframeworksrcmxcontrolsSWFLoader.as:1368]
at mx.controls::SWFLoader/load()[E:dev3.0.xframeworksprojectsframeworksrcmxcontrolsSWFLoader.as:1211]
at mx.controls::SWFLoader/commitProperties()[E:dev3.0.xframeworksprojectsframeworksrcmxcontrolsSWFLoader.as:1015]
at mx.core::UIComponent/validateProperties()[E:dev3.0.xframeworksprojectsframeworksrcmxcoreUIComponent.as:5670]
at mx.managers::LayoutManager/validateProperties()[E:dev3.0.xframeworksprojectsframeworksrcmxmanagersLayoutManager.as:519]
at mx.managers::LayoutManager/doPhasedInstantiation()[E:dev3.0.xframeworksprojectsframeworksrcmxmanagersLayoutManager.as:639]
at Function/http://adobe.com/AS3/2006/builtin::apply()
at mx.core::UIComponent/callLaterDispatcher2()[E:dev3.0.xframeworksprojectsframeworksrcmxcoreUIComponent.as:8460]
at mx.core::UIComponent/callLaterDispatcher()[E:dev3.0.xframeworksprojectsframeworksrcmxcoreUIComponent.as:8403]
Any ideas on what could be the cause of this?
Thnx a lot,
Philip Seyfi, divita.eu
View Replies !
View Related
Error Loading WSDL When Hitting Page Online (works Locally)
when running the swf from Ctrl-Enter and/or running it as a local projector, I have no problems running all the web services that are on a remote server at 64.blah.blah.blah.
However, once I upload the site to our company testing webserver pixelfarminteractive.com, the web services no longer load, giving me this error:
Could not load WSDL
I could have sworn we had this working in a past project thanks to this line of code:
System.security.allowDomain("*");
Is that no longer allowed in Flash 8 player? Or is it purely because the Web service is on a different server? (maybe the old project had the WSDL on the same server the SWF was hosted?)
What's the point of connecting to a shared web service if you can only use it when your flash is on its server?
here's the (hopelessly nondescript) flash help on the matter: http://livedocs.macromedia.com/flash.../00003023.html
View Replies !
View Related
Graphic Disappears When Music Streams Online, But Works When Streaming Locally
I have a spectrum display for streaming songs and it works perfectly find testing locally, streaming the songs from a website, but when I upload the file to my host, whenever the music starts playing, the spectrum disappears, and when its paused or switching songs the line is flat in the background...any ideas why the graphics would behave differently on a server? both files locally and online were streaming from a site, not from the hard drive. Help!
Take a look:
HTML Code:
http://diddysinatra.zxq.net/preloader_complete.html
View Replies !
View Related
My Quicktime Page Works Locally, But Shows A Broken Link When I Post It Online.?
I don't understand why, but when I launch the html page from my desktop, the quicktime, PANO file seems to work.
When I post them up on the web, it shows a broken link.
The embed code is...
//<OBJECT CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" WIDTH="320" HEIGHT="255"
CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab" BORDER="4"><PARAM NAME="SRC" VALUE="Studio.pano">
<PARAM NAME="AUTOPLAY" VALUE="TRUE"> <PARAM NAME="CONTROLLER" VALUE="TRUE">
<EMBED SRC="Studio.pano" WIDTH="320" HEIGHT="255" CONTROLLER="TRUE"
PLUGINSPAGE="http://www.apple.com/quicktime/download/"> </OBJECT>
What is going on?
Thanks.
View Replies !
View Related
LoadMovie And MovieClipLoader Work Always Locally, But Only 80% Online
I have tried both loadMovie and MovieClipLoader to get swf's to load into other swf's. It works perfect locally, but online, it only works about 80% of the time, also the swf's that won't load changes each time. When I look at the temp internet files, the swf that didn't load is there, but it is corrupt and is only 1K when it should be 20K.
Here is the code that I'm using if it's MovieClipLoader
var myMCL = new MovieClipLoader();
function loadNew(movie, frame){
myMCL.unloadClip(frame);
myMCL.loadClip(movie, frame);
}
Here is the code that I'm using if it's loadMovieFrame
this.attachMovie("loadMovieFrame",1);
function loadNew(movie, frame){
unloadMovie(frame);
loadMovie(movie, frame);
}
This is an example of what is being passed to the function loadNew
loadNew("logout.swf", "loadMovieFrame");
Any Ideas?
View Replies !
View Related
Script Works In Flash, Doesn't Work Online
I have a Flash movie that is broken into two parts, and each part has a STOP command at the end of it. What I would like to do is to have a part play based on the current date. So, if the day of the month is greater than "7" part ONE plays, if not, part TWO plays.
When I Preview the movie within Flash it works correctly. However, once I load it to my server it does not. It always plays Part One; it's as if it is ignoring the Actionscript.
I've attached the code below, which I have on its own dedicated track in Flash. Any assistance with this will be greatly appreciated.
Thank you for your time.
Attach Code
var now=new Date();
trace (now);
var myDate = new Date();
trace(myDate);
Check = myDate.getDate();
trace(Check);
if (Check >'7') {
gotoAndPlay(25);
} else {
gotoAndPlay(5);
}
View Replies !
View Related
[CS3] FLV's That Are External Work Fine Locally But Not Uploaded Online ?
HI I have a site which im using the FLVPlayback component to play my flv videos. Everything works great locally but not when uploaded?
Ive definitally uploaded all the correct files in the correct folders
basically any flvs which are in my main.swf work great locally and uploaded!
..But any flvs which are in seperate external swfs then these are loaded into my main.swf work fine locally but do not play at all when uploaded?
So i know flvs work on my server as the ones in my main.swf are fine, does anyone know of this problem? ive been working on this site for ages and it has to be online asap.
I have a crossdomain.xml file uploaded if that is anything to do with it?
Any ideas would be great, THANKS
im working in AS2
View Replies !
View Related
Help: Swfs Stalling Out Online But Work Fine Locally?
http://www.bnatax.com/tm/cs_catalog.htm
some of the little product demo/tutorials pieces i did at the above url go bad after they've been on the server for a few days.
i didn't do the html or embed the movies. i just sent the client the swfs and if you click on the 'Using Go To' at that link you'll see the screenshots with bubbles stalls out after like the second frame.
these are really straight-forward flash movies. they just wanted some ppt stuff done up so ppl could see it online so i redid all the copy in flash.
the files are large - like a meg or so- but the client wanted hi res jpgs of the screenshots and assured me that they're audience would all be corporate folks with big fast connections so i didn't do anything fancy with the jpgs.
any advice on this?
could there be some sort of server thing going on? the windows just pop up with the flash piece using javascript from the html links in the page above. i totally don't get why it would work for a while and then fail. browser cache problem? i'm clueless...
thanks.
View Replies !
View Related
FLV's That Are External Work Fine Locally But Not Uploaded Online ?
HI I have a site which im using the FLVPlayback component to play my flv videos. Everything works great locally but not when uploaded?
Ive definitally uploaded all the correct files in the correct folders
basically any flvs which are in my main.swf work great locally and uploaded!
..But any flvs which are in seperate external swfs then these are loaded into my main.swf work fine locally but do not play at all when uploaded?
So i know flvs work on my server as the ones in my main.swf are fine, does anyone know of this problem? ive been working on this site for ages and it has to be online asap.
I have a crossdomain.xml file uploaded if that is anything to do with it?
Any ideas would be great, THANKS
im working in AS2
View Replies !
View Related
SWFs Play Locally (they Pull Xml Info From Another Site) But Don't Work Online
Hi there,
I've have built a fairly dynamic flash website that pulls images and text files from an xml file from another server. Now everything works fine when I test it locally but when I upload the files none of it works... The only difference is that the files online are embeded in an fullscreen HTML page.
View here
Click on 3D animation and you can see that the data is undefined.
Any ideas why the swfs can't pull the content in?
Help is really appreciated.
View Replies !
View Related
Site Works Locally, But Doenst Work On The Net
ive got a flash site that works fine on my computer, but isnt working on the net.
the very first swf that loads up is a startup swf that loads the other movies into the proper levels using:
loadMovieNum("interface.swf", 3);
loadMovieNum("home.swf", 2);
interface.swf is supposed to stay on top throughout the entire site, while each different site is loaded into level 2
like i said, locally works fine
but on the net level 3 doesnt load up at all, only home.swf on level 2 loads
whats up wit that
View Replies !
View Related
Works Locally - Doesn't Work When I Upload
Hello,
I am working on creating a little flash movie that parses my statistics from guitarhero.com through XML. I'm using AS3 to do this, and i am making great strides to getting to where i want to be.... I uploaded my progress so far to my website, and it's a total no go... However, locally - it works perfectly. Here is how i'm calling the XML file:
Code:
import flash.net.*;
import flash.xml.*
var request:URLRequest = new URLRequest("http://www.guitarhero.com/accounts/feed/64602.xml")
var loader:URLLoader = new URLLoader();
loader.addEventListener(Event.COMPLETE, onComplete);
loader.load(request);
function onComplete(evt:Event)
{
var xdata:XML = new XML(loader.data); // using new E4x
accntname.text = xdata..username;
rockstatus.text = xdata..rocker_status;
myrank.text = xdata..campaign_overall_rank;
groupiez.text = xdata..primary_slot.groupies;
lastsong.text = xdata..recent_performances.performance_1.song;
lastscore.text = xdata..recent_performances.performance_1.score;
lastnotesmissed.text = xdata..recent_performances.performance_1.notes_missed;
laststreak.text = xdata..recent_performances.performance_1.best_streak;
}
if anyone has some insight or knows why this wouldn't work on a remote server, i'd be very grateful ;x
View Replies !
View Related
LoadMovie Doesn't Work On Server, Works Locally?
so i've developed this portfolio thingy for our company site. i'm using flash MX, but publishing in flash 5, if that matters.
here's the URL:
http://www.nycd.com/test/portfolio/p...io_update.html
the way it works: when you click on one of the thumbnails, it loads the appropriate SWF into a blank movie clip. pretty straightforward.
it works fine locally (running off my hard drive), but when uploaded to the server, it behaves strangely. the movieclips load, but skip the preloader that i've put in them, and just display nothing. however, i know they're loading, because if you wait a few seconds and click on them again, they work... i'm at a loss. any help if appreciated it. if you want to look at the FLAs, they're here:
http://www.nycd.com/test/portfolio/portfolio_update.fla
(the main portfolio piece)
http://www.nycd.com/test/portfolio/ml.fla
(one of the SWFs that loads in)
View Replies !
View Related
Load Movie Loads Locally..not Online
i have a long movie with intro. the intro stops at frame 680 or so.
my home page has this flash movie on it.
all other pages in the website have another 1kb movie..that has this script
in the first frame i have
loadMovieNum("full_binarian.swf", 0);
gotoAndPlay(679);
this is supposed to load the large movie and skip past the intro!
um...it works locally perfect...goes right to that frame..
but not on the web. oddly ..i if i use the full path to this file the go to fraame doesnt work and then the entire movies frame rate runs very slowly. i am confused...how do i do this? i dont want a seapare file for all concsecutive pages because updates in the 2 flas wont by synced and users will have to then download ANOTHER flash movie on all subpages....
thanks!
View Replies !
View Related
Load Movie Loads Locally..not Online
i have a long movie with intro. the intro stops at frame 680 or so.
my home page has this flash movie on it.
all other pages in the website have another 1kb movie..
in the first frame i have
loadMovieNum("full_binarian.swf", 0);
gotoAndPlay(679);
so on all pages it skips the intro.
um...it works locally perfect...goes right to that frame..
but not on the web. oddly ..i if i use the full path to this file the go to fraame doesnt work and then the entire movies frame rate runs very slowly. i am confused...how do i do this? i dont want a seapare file for all concsecutive pages because updates in the 2 flas wont by synced and users will have to then download ANOTHER flash movie on all subpages....
thanks!
View Replies !
View Related
Same Movie Works Locally On Mac But Not From Site
Hi All,
I created a flash movie on Mac OSX, with Flash MX. It plays fine if I run it from a page or directly from a local drive in a browser. When I upload it to the web server however, it only works on Windows. On Mac it just stops on the first frame and sits there. Ive tried all browsers, all have the Flash 6 plugin. I also tried exporting the movie as Flash 5 and 6, both got the same results. Here is the page with the movie:
http://home.earthlink.net/~mmacie/curstep.html
If you are on a Mac, you will probably only see a grey page with a dark grey bar and nothing else. If you are on Windows, you will see the 3 animated steps and titles which scroll as you roll over them. This is how it should work on the Mac (and does, however not from a remote server).
Very bizarre. I am totally stumped how to fix it. And my boss is breathing down my throat! Any help or ideas appreciated.
Thanks,
Mike
View Replies !
View Related
My Remoting Movie Only Works Locally
hi, I followed the tutorial on the mm site re getting started with remoting, and built a helloWorld swf with a cf component at the back end........it works in test mode and when I publish it locally, but when I publish it on the web, no go........here is the as:
ActionScript Code:
#include "NetServices.as"
#include "NetDebug.as"
function Result()
{
//receives data returned from the method
this.onResult = function(result)
{
result_txt.text += "
Data received from server: "+result;
}
this.onStatus = function(error)
{
trace("Error : " + error.description);
}
}
NetServices.setDefaultGatewayUrl("http://myhost.com/flashservices/gateway");
var gw = NetServices.createGatewayConnection();
var server = gw.getService("path.to.helloworld", new Result());
my_btn.onRelease = function() {
server.sayHello();
}
and when the version on the web loads the movie seems to have problems cos the button doesn't turn the cursor into a hand as it should........I thought it could be a problem with including the as files, but they seem to be in the right place....?
View Replies !
View Related
SWF Not Playing Inside Scrolling Movie Clip. Works Locally, But Not On The Web
Alright,
I have several SWF's on different levels all talking to each other and working great. Here's a brief breakdown of the structure.
- level0: has the navigation loader (AS) which brings down the navigation items on level2
- level1: all navigation items bring up content on this level
- level2: the navigation
So basically, you call the navigation level, you choose a link, and it loads the content on level1.
Here's the problem,
on one of the content SWF's (level1) I have a horizontally scrolling image that moves when you click on items on the page. The scrolling works great. It's a a long movie clip that moves left and right depending on what is clicked.
Inside that movie clip I have 5 sections (which correspond to the link being clicked). I've imported SWF's into each of those sections. These SWF's are simply imported AVI's.
So the idea is when you click something, it shows you a different AVI for each link.
It works locally, but not on the web. Sometimes! I can get one or two of them to show, but not all.
I'm guessing it's got something to do with having to load the 5 AVI/SWF's, and maybe the actionscript hasn't had enough time to do so.
Help
View Replies !
View Related
Flash Player Only Works Locally
Im using this tutorial to create a flash player that works for Flash Player 6 & 7.
http://www.communitymx.com/content/article.cfm?cid=12EBE
It works great when I test it locally but not after its been uploaded. I've tried local and absolute url's, again both work only locally. Funny thing is I had bought a third party component for this and it did the same thing. I thought there was something wrong with the component.
Any help would be greatly appreciated.
Amelia
View Replies !
View Related
Flash Works Locally, But Not When Uploaded
i uploaded my new portfolio which is nested inside another mc, it runs on my computer.
the site loads but when i click on the portfolio button or just access the .swf directly, the window transfer bar loads a bit and then hangs at "Waiting for server.."
can anyone give me some hints as to what might be going on? i've re-upped files i thought may have been corrupted during the upload, checked the xml to make sure it looked ok, etc
and now im just stuck
thanks for any help
View Replies !
View Related
Testing Flash: Works Locally, Fails On The Web
My current project is displaying some very odd behavior I have never come across before. I am up against the wall with a deadline and no troubleshooting has lead to a solution yet. I am desperate for help.
I have a very simple SWF, plays some basic animation, and calls in external MP3 voiceover. Nothing complex. When the animation is complete, it lands on a static frame with 3 buttons. The buttons are actually instances of the same MC with a nested btn in, the text on the btn passed by a variable. Mouse over the btn and the MC plays a little animation. Click on the btn and a MovieClipLoader class calls in a SWF, which itself calls in another SWF of just formatted text.
For some reason this all tests well on my computer, and (very strangely) on our dev server for staging. When the files get deployed to to live site the animation plays through to the static frame with the btns, but when clicked the btns do not work. The external SWF does not load.
Now we've tested and tried every scenario checking the correct paths to the SWFs and everything is where it should be. I'm staring at the code waiting for something to jump out at me but it is very basic, and nothing looks astray.
We had a similar issue last night when the animation would not even play. It turned out the SWF was getting hung up on a frame that had an animated mask on it. I broke the mask into a shape and the SWF played properly after that. It took us 2 hours to figure that out. I was infuriated. Why would something so basic cause a movie to fail? Has anyone ever experienced this before? Is it a known bug? Could this be related to the issue of the btns now not working? I am at a loss where to try next, especially when something as random and obscure as a mask caused an earlier failure.
If you have any advice, please I would deeply appreciate it.
mm66
Code:
// this is the frame action on the final static frame of the presentation
stop();
voCar04.start(0, 0);
voCar04.setVolume(200);
voCar04.onSoundComplete = function(){
music.volumeTo(50, 2, "linear"); // using mc_tween imported class
}
// set text labels of the 3 buttons
headset_mc.label_mc.label_txt.text = "HEADSET";
cellPhone_mc.label_mc.label_txt.text = "MOBILE PHONE";
visorKit_mc.label_mc.label_txt.text = "CAR KIT";
var prodLoader:MovieClipLoader = new MovieClipLoader();
// sets the btn interactivity, plays a little animation when rolled over
headset_mc.hotSpot_btn.onRollOver = function(){
headset_mc.gotoAndPlay(2);
}
headset_mc.hotSpot_btn.onRollOut = function(){
headset_mc.gotoAndPlay(12);
}
cellPhone_mc.hotSpot_btn.onRollOver = function(){
cellPhone_mc.gotoAndPlay(2);
}
cellPhone_mc.hotSpot_btn.onRollOut = function(){
cellPhone_mc.gotoAndPlay(12);
}
visorKit_mc.hotSpot_btn.onRollOver = function(){
visorKit_mc.gotoAndPlay(2);
}
visorKit_mc.hotSpot_btn.onRollOut = function(){
visorKit_mc.gotoAndPlay(12);
}
// sets the call to the external SWFs, tried 2 methods of doing this, neither worked
headset_mc.hotSpot_btn.onRelease = function(){
_root.products_mc.loadMovie("product2.swf", 1);
//_root.prodLoader.loadClip("product2.swf", _root.products_mc);
}
cellPhone_mc.hotSpot_btn.onRelease = function(){
_root.prodLoader.loadClip("product3.swf", _root.products_mc);
}
visorKit_mc.hotSpot_btn.onRelease = function(){
_root.prodLoader.loadClip("product1.swf", _root.products_mc);
}
View Replies !
View Related
Testing Flash: Works Locally, Fails On The Web
My current project is displaying some very odd behavior I have never come across before. I am up against the wall with a deadline and no troubleshooting has lead to a solution yet. I am desperate for help.
I have a very simple SWF, plays some basic animation, and calls in external MP3 voiceover. Nothing complex. When the animation is complete, it lands on a static frame with 3 buttons. The buttons are actually instances of the same MC with a nested btn in, the text on the btn passed by a variable. Mouse over the btn and the MC plays a little animation. Click on the btn and a MovieClipLoader class calls in a SWF, which itself calls in another SWF of just formatted text.
For some reason this all tests well on my computer, and (very strangely) on our dev server for staging. When the files get deployed to to live site the animation plays through to the static frame with the btns, but when clicked the btns do not work. The external SWF does not load.
Now we've tested and tried every scenario checking the correct paths to the SWFs and everything is where it should be. I'm staring at the code waiting for something to jump out at me but it is very basic, and nothing looks astray.
We had a similar issue last night when the animation would not even play. It turned out the SWF was getting hung up on a frame that had an animated mask on it. I broke the mask into a shape and the SWF played properly after that. It took us 2 hours to figure that out. I was infuriated. Why would something so basic cause a movie to fail? Has anyone ever experienced this before? Is it a known bug? Could this be related to the issue of the btns now not working? I am at a loss where to try next, especially when something as random and obscure as a mask caused an earlier failure.
If you have any advice, please I would deeply appreciate it.
mm66
Code:
// this is the frame action on the final static frame of the presentation
stop();
voCar04.start(0, 0);
voCar04.setVolume(200);
voCar04.onSoundComplete = function(){
music.volumeTo(50, 2, "linear"); // using mc_tween imported class
}
// set text labels of the 3 buttons
headset_mc.label_mc.label_txt.text = "HEADSET";
cellPhone_mc.label_mc.label_txt.text = "MOBILE PHONE";
visorKit_mc.label_mc.label_txt.text = "CAR KIT";
var prodLoader:MovieClipLoader = new MovieClipLoader();
// sets the btn interactivity, plays a little animation when rolled over
headset_mc.hotSpot_btn.onRollOver = function(){
headset_mc.gotoAndPlay(2);
}
headset_mc.hotSpot_btn.onRollOut = function(){
headset_mc.gotoAndPlay(12);
}
cellPhone_mc.hotSpot_btn.onRollOver = function(){
cellPhone_mc.gotoAndPlay(2);
}
cellPhone_mc.hotSpot_btn.onRollOut = function(){
cellPhone_mc.gotoAndPlay(12);
}
visorKit_mc.hotSpot_btn.onRollOver = function(){
visorKit_mc.gotoAndPlay(2);
}
visorKit_mc.hotSpot_btn.onRollOut = function(){
visorKit_mc.gotoAndPlay(12);
}
// sets the call to the external SWFs, tried 2 methods of doing this, neither worked
headset_mc.hotSpot_btn.onRelease = function(){
_root.products_mc.loadMovie("product2.swf", 1);
//_root.prodLoader.loadClip("product2.swf", _root.products_mc);
}
cellPhone_mc.hotSpot_btn.onRelease = function(){
_root.prodLoader.loadClip("product3.swf", _root.products_mc);
}
visorKit_mc.hotSpot_btn.onRelease = function(){
_root.prodLoader.loadClip("product1.swf", _root.products_mc);
}
View Replies !
View Related
Flash Site Works Locally ,but Not On Remote Server?
What wrong?
can any body give me a clue why can't i view my site when i uploaded it on my server? when i try to view it locally it works fine.
my home page is named, index.htm and on it is an embedded swf movie which calls two .swf files(menu and buttons) that completes the interface(i used loadmovie AS for this).all the required files(swf, txt,jpg..etc) resides on the same folder as the homepage. The menus, once selected will load the corresponding page/s which are swf movies. i made it this way and not put it all in one swf movie coz im afraid the file size would get really heavy coz i need to put pictures on each page. I have known of some sites that uses the same method so i knew this suppose to work, which it does locally.
i uploaded it on my server to checkout how wil it load, and to my suprise nothing came out on my browser! (but the status barof the browser seems loading huh?) then i tried uploading it on geocities.com just to se, if its the files that has the problem or the server. the home page did load together with the two swfs files (the button & menu), but they are not working.i can figure out what's wrong?
could some body help me on this please? did i overlooked something? are swf files are allowed on all kinds of server?
View Replies !
View Related
Flash Video Player Works Locally But Not Live
I have a simple flash player which works locally but not when I make it live... I have an external flv file and its in the same directory as the swf file. Here's the page and code.
http://cf3.heritage.org/nationalsecurity/VideoTool/HIF_PlayerNEW.html
<!--- code ---------------------------------------------------------------------------------------------------------------- --->
<cfoutput><!-- saved from url=(0013)about:internet -->
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>HIF_PlayerNEW</title>
<script language="javascript"> AC_FL_RunContent = 0; </script>
<script src="
View Replies !
View Related
Flash Text-load Works Locally, But Not On Server
hi all
why ?
code
createClassObject(mx.controls.UIScrollBar, "my_sb", 320);
my_sb.setScrollTarget(my_txt);
// Size it to match the text field.
my_sb.setSize(16, my_txt._height);
// Move it next to the text field.
my_sb.move(my_txt._x + my_txt._width, my_txt._y);
// Load text to display and define onData handler.
var my_lv:LoadVars = new LoadVars();
my_lv.onData = function(src:String) {
if (src != undefined) {
//my_txt.htmlText = src;
my_txt.text = src;
my_txt.setTextFormat(my_fmt);
} else {
my_txt.text = "Error loading text. deinost";
}
};
my_lv.load("test.txt");
View Replies !
View Related
AS2 Flash Movie Call To JavaScript Function Works In Firefox, Doesn't Work In IE6, IE7
I have a Flash 8 (actionscript 2.0) movie advertisement that exists inside a floating html div controlled by javascript. When you click an html link in the div ('X', top left corner), a javascript function called 'disappear()' is triggered, which makes the advertisement div and the flash movie inside it disappear, as the function name suggests. My goal is to call the same disappear() function from inside the flash movie instead. I've created the code; the actionscript exists on the button itself.
I've tested the disappear function in the link for IE6, IE7, and Firefox. It works in all three. I believe it works in Safari as well.
When I test the function called from inside the Flash movie, it works in Firefox. The problem is that IE6 is blocking the javascript call; my cursor responds as if the close_btn (close button) is a link, but nothing happens.
Please help me figure out a way to get around IE6 blocking the js call from Flash and ensure that the call works in all browsers, same as it does in the regular html link calling the same function. I'd prefer the solution come from actionscript, but if it must come on the javascript side, I'll take what I can get. To debug, all you need is a 500 x 300 flash movie with a close button and the following code:
---------------------FLASH BUTTON (closeHTML_btn; instance of close_btn)---------------------
on(press){
getURL("javascript:disappear();"); //
}
---------------------HTML/JAVASCRIPT PAGE---------------------
<html>
<head>
<script>
var timeout;
function appear(){
var the_style = getStyle("floatingflash");
if (the_style) {
var current_top = parseInt(the_style.top);
var new_top = current_top + 5;
if (document.layers) {
the_style.top = new_top;
} else {
the_style.top = new_top + "px";
}
if (new_top < 150) {
the_timeout = setTimeout('appear();',10);
}
}
} // appear
function disappear() {
var the_style = getStyle("floatingflash");
the_style.display = 'none';
} // disappear
function getStyle(ref) {
if(document.getElementById && document.getElementById(ref)) {
return document.getElementById(ref).style;
} else if (document.all && document.all(ref)) {
return document.all(ref).style;
} else if (document.layers && document.layers[ref]) {
return document.layers[ref];
} else {
return false;
}
} // getStyle
</script>
<style>
#floatingflash {
position:absolute;
border:1px solid red;
background:white;
}
</style>
</head>
<body onload="appear();">
<div id="floatingflash" style="top:-400px;left:-150px;margin-left:50%;">
<a href="javascript:disappear();">X</a>
<p> </p>
<p>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
View Replies !
View Related
|