Loadmovie Jpeg Loads Locally, But Not Online
so i have an empty movie clip on the stage that loads an external jpeg. on my computer, i have the jpegs in the same folder as the swf/fla file. i had it load: on(release){_root.emptypic.loadMovie("attention_MED.jpg");_root.emptytext_mc.gotoAndPlay("attention");} i uploaded it with the swf in the same directory as the rest of the jpegs, but they didn't load. then i changed the "attention_MED.jpg" to http://site.com/attention_MED.jpg and it still wouldn't load. and yes, i made sure the jpegs aren't progressive. the weird thing is, they load fine when i'm testing the swf on my computer. they just don't work after i've uploaded them? i don't know what to do! it seems like i should have an easy answer to this but i can't figure out anything. if anyone could help, i would be the happiest amateur flash person ever!
KirupaForum > Flash > ActionScript 1.0/2.0
Posted on: 09-02-2004, 07:32 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
- Loadmovie Jpeg Loads Locally, But Not Online
- Textfield Loads Locally But Not Online?
- XML Gallery Loads Locally But Not Online
- .txt File Loads Locally, But Not Online
- Load Movie Loads Locally..not Online
- Load Movie Loads Locally..not Online
- Save Locally A Jpeg From A LoadMovie
- [F8] LoadMovie Works Locally, But Not Online...
- LoadMovie Works Locally, But Not Online...
- LoadMovie And MovieClipLoader Work Always Locally, But Only 80% Online
- SWF Loads Locally, But Not On Server.
- Xml Loads Locally But Not On Server
- Xml Loads Locally, Not On My Server
- [F8] Movie Loads Locally, However Not Remotely
- Image Loads Locally But Not On Website?
- Works Locally But Not Online?
- Works Locally But Not Online?
- [F8] Working Locally But Not Online
- Variables Different Locally Than Online
- Detect Whether SWF Is Being Run Locally Or Online?
- Jpg Gets Loaded Locally, Not Online
- Works Locally But Not Online?
- Working Locally Not Online
- CSS Showing Locally, But Not Online?
- Help Movie Loads Fine Locally, Not At All On Webserver
- Flash Movie Loads Locally, However Not On Server
- Dynamic Text Loads Locally But Not On Server?
- External Swf Loads Locally But Not When I Upload To Server
- Movie Loads Data Only When Viewed Locally
- StartDrag Works Locally But Not Online...
- Anchor Working Locally - Not Online?
- Code Works Locally But Not Online...?
- .getHours(); Works Locally But Not Online
- [F8] Flash 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?
- Form/php Works Locally Not Online
- Form/php Works Locally Not Online
- Path Works Locally But Not Online?
- Preloader Works Locally, Not Online
- AMFPHP Locally Good, Online Bad :(
- Load Variables Works Locally Not Online
- Loadvar Works Locally, But Not Online For Some Reason
- Swf Plays Fine Locally, Slow Online
- Elements Of Movie Works Locally But Not Online
- Flash Links Work Locally But Not Online
- XMLConnectors Acts Differently Locally/online
Loadmovie Jpeg Loads Locally, But Not Online
so i have an empty movie clip on the stage that loads an external jpeg. on my computer, i have the jpegs in the same folder as the swf/fla file. i had it load:
on(release){
_root.emptypic.loadMovie("attention_MED.jpg");
_root.emptytext_mc.gotoAndPlay("attention");
}
i uploaded it with the swf in the same directory as the rest of the jpegs, but they didn't load. then i changed the "attention_MED.jpg" to http://site.com/attention_MED.jpg and it still wouldn't load.
and yes, i made sure the jpegs aren't progressive. the weird thing is, they load fine when i'm testing the swf on my computer. they just don't work after i've uploaded them? i don't know what to do!
it seems like i should have an easy answer to this but i can't figure out anything. if anyone could help, i would be the happiest amateur flash person ever!
Textfield Loads Locally But Not Online?
I'm loading a textfile into a textfield, this works fine locally but when I upload to the site the textfield remains empty? Heres my code: -
code:
loadVarsText = new loadVars();
loadVarsText.load("mytextfile.txt");
loadVarsText.onLoad = function (success){
if (success){
textfield.text = this.mytext;
}else{
textfield.text = "not loaded";
}
}
it doesn't even display the text "not loaded".
Any help appreciated, cheers
XML Gallery Loads Locally But Not Online
I'm brand, brand new to flash and have built this site primarily copying and pasting different sections of code. To a certain extent I understand what I'm doing with the Actionscript I'm using, but in this case the code is beyond me. I copied the general idea from the gallery_tween.swf in the samples folder of Flash 8 help.
The swf loads jpgs from a folder using an xml file. I have a few galleries that all use similar code. All load 100% locally on my computer. Now that I've uploaded them to the server some load 100%, some load 90%, some load 50% etc.
So what is a full gallery locally shows up online as random pics with gaps. I can't figure out what is causing particular conflicts with the pics that are missing.
I've seen this post come up a few times, but the solution is usually to check spelling, capitalization, relative folder location, etc. which I've double and triple checked for accuracy.
The issue can be seen at www.richandroyal.com in the Gallery section. The Magnum section loads as it does on my computer locally and the other sections, Beckman, Amanda, and Promotional have the gaps I'm referring to.
Is the movie stopping for finishing the load? Has anyone come across and fixed this problem before?
.txt File Loads Locally, But Not Online
Very simple load Vars script loading .txt file. Locally on my hard drive it works, but when I upload to server, does not load in any browsers.
????????????????????
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!
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!
Save Locally A Jpeg From A LoadMovie
I have a movie that loads a jpeg using loadMovie from my webcam server (every x seconds it updates)
I would like my clients that are using the webcam movie to be able to locally save a copy of the onscreen jpeg. (instead of having to prt-scrn and crop it each time)
Any ideas on this? I don't have a clue. TIA!
[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???...
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
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?
SWF Loads Locally, But Not On Server.
Hi there, I have a nested SWF that includes 5 SWFs loaded by the user as below. They all work locally. But when I upload to the server, only this one loads. The others have identical instance depths, different coordinates, but don't load. I've double-checked the content of them, and they're all the same (except with different streaming audio). They are all in the same directory. What gives??
Code:
on (Release) {
this.createEmptyMovieClip("audioMC", 100);
audioMC.loadMovie("GreatNoontide.swf");
audioMC._x = 242.5;
audioMC._y = 132;
Xml Loads Locally But Not On Server
Im having problem loading youtubes xml.. When I run the flash file locally it gets the xml perfectly, but when on a server it doesn't. Any ideas on how to fix this?
Code:
var test_xml:XML = new XML();
test_xml.onLoad = function(success){
if (success){
textbox1.text=test_xml;
}
}
test_xml.load("http://www.youtube.com/watch?v=ogIqayRDr4w");
Xml Loads Locally, Not On My Server
So I have this python script on my server doing a ton of stuff with sql and long story short, returns an xml data structure that flash then reads in using xml.load(). Now, this works PERFECTLY when I run the flash movie on my hard drive and direct the xml.load() to the full web path of the xml output, but when I upload the flash movie to the web, nothing occurs (or even worse, crashes the browser instantly).
I've tried the absolute web path and relative path. At one point the relative path worked, but then I made some modifications and it stopped working after uploading.
It's nearly 3am, and this has been bugging me since before midnight...
[F8] Movie Loads Locally, However Not Remotely
Hi there,
As the subject suggests I'm having problems with an embeded SWF file,
whereby if I open the HTML file containing it locally - the movie
loads fine, but if I access via a webserver it doesn't.
I currently have two SWF files... one (intro.swf) which preloads and
then displays the second (info_ani.swf).
The thing to bare in mind here is I have IIS installed and thus the
file locations are EXACTLY the same when I open intro.html locally (C:
Inetpubwwwrootsuiteintro.html) or via the web server (http://
localhost/suite/intro.html).
Below is the code in the HTML file (generated by Flash CS3) calling
the SWF:
Code:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
<title>intro</title>
<script language="javascript">AC_FL_RunContent = 0;</script>
<script src="includes/AC_RunActiveContent.js" language="javascript"></
script>
</head>
<body bgcolor="#ffffff">
<!--url's used in the movie-->
<!--text used in the movie-->
<!-- saved from url=(0013)about:internet -->
<script language="javascript">
if (AC_FL_RunContent == 0) {
alert("This page requires AC_RunActiveContent.js.");
} else {
AC_FL_RunContent(
'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/
flash/swflash.cab#version=9,0,0,0',
'width', '340',
'height', '120',
'src', 'includes/intro',
'quality', 'high',
'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
'align', 'middle',
'play', 'true',
'loop', 'true',
'scale', 'showall',
'wmode', 'window',
'devicefont', 'false',
'id', 'intro',
'bgcolor', '#ffffff',
'name', 'intro',
'menu', 'false',
'allowFullScreen', 'false',
'allowScriptAccess','sameDomain',
'movie', 'includes/intro',
'salign', ''
); //end AC code
}
</script>
<noscript>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/
swflash.cab#version=9,0,0,0" width="340" height="120" id="intro"
align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="allowFullScreen" value="false" />
<param name="movie" value="includes/intro.swf" /><param name="menu"
value="false" /><param name="quality" value="high" /><param
name="bgcolor" value="#ffffff" /> <embed src="includes/intro.swf"
menu="false" quality="high" bgcolor="#ffffff" width="340" height="120"
name="intro" align="middle" allowScriptAccess="sameDomain"
allowFullScreen="false" type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</noscript>
</body>
</html>
Any help would be GREATLY appreciated, I've been wracking my brains on
this one for many hours now!!
FYI - File locations: In the base directory "suite" is intro.html, in
a subdirectory of that - "includes" are the two SWF files and the
JavaScript file AC_RunActiveContent.js
Image Loads Locally But Not On Website?
I have constructed a slide show viewer for use on a website. The swf loads jpeg images which are contained in the same directory. This works well on my local machine but when uploaded to a website and called up by an html file, the swf runs and shows the correct backgrounds but fails to load any jpegs. I assume that the problem is to do with the transfer of the variable 'Select_picture" into the loadMovie statement?
The following loop (step variable = pic_no) works locally but not on website:-
>>var Select_picture:String="Pic"+pic_no+".jpg";
>>var Select_mc:String="mc"+pic_no;
>>
>>this.createEmptyMovieClip([Select_mc], depthnow++);
>>loadMovie([Select_picture], [Select_mc]);
In order to prove that a picture could be loaded on the website, I simplied the code to :
>>loadMovie("pic1.jpg",[Select_mc]);
and this worked.
So, I tried to transfer the same string directly via the variable;-
>>var Select_picture:String="Pic1.jpg";
>>
>>loadMovie([Select_picture], [Select_mc]);
But this does not work.
Any suggestions would be greatly appreciated.
Regards
Dave
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
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);
}
}
[F8] Working Locally But Not Online
Hello,
I have a website created, and it works fine locally.... but when I upload it one section does not work.
The section in question is a simple button that loads an external .swf into the main movie, it can be viewed in the "Colors" section at: http://www.signalhillcabinetry.com/
...none of the buttons within that section work online (ie Wilsonart, Pionite...etc) Although they all work when I view the site on my own computer.... I am also sure that all of the correct files are uploaded and in their correct path....
Any ideas?
Thanks in advance!
Variables Different Locally Than Online
F8 - I'm using _global.lastframe to move the playhead when a swf is loaded.
It works fine on my computer, but I get mixed results when viewed online.
Here's code to set the variable via a button.
on (rollOver) {
gotoAndStop(1);
_global.lastframe = 1;
}
on (release) {
gotoAndStop(1);
_global.lastframe = 1;
}
When a swf loads this is in the first frame.
gotoAndStop(_global.lastframe);
thanks
Detect Whether SWF Is Being Run Locally Or Online?
I'm using code like the following in order to make sure flash gets the most recent version of the file.
xml.load("xml_file.xml?nocache=" + random(99999))
That works well once the file is uploaded, but it's a pain add/subtracting that extra stuff depending on whether i'm testing the swf locally or putting it online (as the xml file won't load with that code if i'm running it locally on my computer).
Essentially, I'm wondering if anyone can fill in the blank:
if ( ?? SWF IS ON RUNNING ONLINE ?? ) {xml.load("xml_file.xml?nocache=" + random(99999));} else {xml.load("xml_file.xml");}
Thanks!
Jpg Gets Loaded Locally, Not Online
This piece of codework locally on my machine:
var l:Loader = new Loader();
l.contentLoaderInfo.addEventListener(Event.INIT, imageInited);
l.load(new URLRequest("slika1.jpg"));
function imageInited(e:Event):void{
this.addChild(l.content);
}
But when I put it online, and the assets, I get this error:
//Error #2044: Unhandled IOErrorEvent:. text=Error #2124: Loaded file is an unknown type.
Whats going on here?
Regards,
Mirza
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"
Working Locally Not Online
hi
I have this RSS Reader app that I got from flashkit (http://www.flashkit.com/movies/Scrip...0617/index.php)
for some reason it works locally on my laptop but not when I upload it to my server! It loads the app, but its just empty - wont load the xml feed.
Any ideas???
CSS Showing Locally, But Not Online?
I have been struggling to figure this out for 10 hours now. I have tried various different tutorials and am ready to kill something. Help would be sooooo appreciated right now! Can someone please just give me the actionscript to make this work? I know how to set up the external files, but seem to have problems with the Flash.
I am not sure why, but when I preview the swf locally, the css is applied and everything look peachy. But as soon as I load the swf to the server, it does not apply the css. The text file loads just fine, but not the css. Why would it load from my hard drive, but not the server??
I am using Flash Pro 8 and exporting the movie for Flash Player 8. Here is the actionscript I have used...
Code:
myStyle = new TextField.StyleSheet();
myStyle.load("http://neilmead.name/update/styles.css");
TextHolder.styleSheet = myStyle;
thisText = new LoadVars();
thisText.load("http://neilmead.name/update/news.txt");
thisText.onLoad = function(success) {
if (success) {
TextHolder.text = thisText.content;
}
};
Please... any suggestions??
Help Movie Loads Fine Locally, Not At All On Webserver
I've created a (fairly simple) Flash animation. When I publish to D: and open file://D:index.html in the browser, it shows up perfectly.
When I upload the files to the server and go to http://<server_address>/index.html all I get is a box of whatever color I've set for the <PARAM NAME="bgcolor"> tag. Right-clicking the box brings up a (very abbreviated) Flash menu (two entries -- a greyed-out "Move not loaded..." and an "About Macromedia Flash Player" or something along those lines.)
It appears to be a server problem (I change the <PARAM NAME="movie"> tag to point to a random flash file on someone else's server and it works just fine. I download said Flash file to my server and it doesn't work).
MIME Types are set correctly. (According to Macromedia they shouldn't matter when we're using IE and ActiveX anyway, as it's the classid that tells IE what ActiveX control to use.) I can't think of anything else it might be.
The server is Apache 1.3.23 on RedHat 7.3.
Any ideas?
Flash Movie Loads Locally, However Not On Server
Hi there,
As the subject suggests I'm having problems with an embeded SWF file,
whereby if I open the HTML file containing it locally - the movie
loads fine, but if I access via a webserver it doesn't.
I currently have two SWF files... one (intro.swf) which preloads and
then displays the second (info_ani.swf).
The thing to bare in mind here is I have IIS installed and thus the
file locations are EXACTLY the same when I open intro.html locally (C:
Inetpubwwwrootsuiteintro.html) or via the web server (http://
localhost/suite/intro.html).
Below is the code in the HTML file (generated by Flash CS3) calling
the SWF:
[code]
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
<title>intro</title>
<script language="javascript">AC_FL_RunContent = 0;</script>
<script src="includes/AC_RunActiveContent.js" language="javascript"></
script>
</head>
<body bgcolor="#ffffff">
<!--url's used in the movie-->
<!--text used in the movie-->
<!-- saved from url=(0013)about:internet -->
<script language="javascript">
if (AC_FL_RunContent == 0) {
alert("This page requires AC_RunActiveContent.js.");
} else {
AC_FL_RunContent(
'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/
flash/swflash.cab#version=9,0,0,0',
'width', '340',
'height', '120',
'src', 'includes/intro',
'quality', 'high',
'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
'align', 'middle',
'play', 'true',
'loop', 'true',
'scale', 'showall',
'wmode', 'window',
'devicefont', 'false',
'id', 'intro',
'bgcolor', '#ffffff',
'name', 'intro',
'menu', 'false',
'allowFullScreen', 'false',
'allowScriptAccess','sameDomain',
'movie', 'includes/intro',
'salign', ''
); //end AC code
}
</script>
<noscript>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/
swflash.cab#version=9,0,0,0" width="340" height="120" id="intro"
align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="allowFullScreen" value="false" />
<param name="movie" value="includes/intro.swf" /><param name="menu"
value="false" /><param name="quality" value="high" /><param
name="bgcolor" value="#ffffff" /> <embed src="includes/intro.swf"
menu="false" quality="high" bgcolor="#ffffff" width="340" height="120"
name="intro" align="middle" allowScriptAccess="sameDomain"
allowFullScreen="false" type="application/x-shockwave-flash"
pluginspage="
Dynamic Text Loads Locally But Not On Server?
I have a set of buttons with LoadMovie and LoadVariable scripts on them, which basically load .jpegs into an empty movie clip, and external .txt files into a dynamic text box. (it's a photo gallery of sorts)
i had previously saved the .swf and assets (the jpegs and .txt files) locally in a single folder on my hard-drive. I made a copy of this folder and put it onto a network server.
the weird part is that when i go to publish the .swf from the local folder (the hard-drive version), the buttons and everything work fine and everything loads as it should. the network version however, doesn't seem to behave the same way. the jpgs load, but the .txt files don't!. the version of the folder on the server is an identical copy of the local one. all the files are intact and accounted for. i don't think it's an issue of relative vs. absolute paths in the script either. i've already tried editing the script so that it targets the absolute file path of the .txt document on the server to no avail. i don't understand what the problem is.
on a curious note, after i tried fooling with the network version of the source .fla file that i'm working with for a bit, it caused flash to crash on me. any ideas? I'm running Flash MX 2004 on a Dell.
Movie Loads Data Only When Viewed Locally
Kind of a weird problem:
I've created an .swf program that looks up a word in a dictionary when this word is clicked within the movie. It then takes the data returned and displays it to the viewer.
The dictionary data is loaded in from an xml file stored in the same directory as the .swf as a whole.
The movie works great when I view it locally on the server (i.e., by clicking on the file and opening it in a browser). If I attempt to view the relevant web page via an http connection, however, the dictionary data disappears completely.
The server, incidentally, is Windows Server 2003.
Any ideas?
Thanks,
Coruscus
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
Anchor Working Locally - Not Online?
I've got about 50 anchors in flash mx that are then called from Internet Explorer 6 on my machine (...clients/index.htm#anchor). As soon as I upload the site, adding anchors to the url does nothing!! Anyone know why?
So frustrating... everything works great locally
Any suggestions?
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
.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
[F8] Flash Works Locally, But Not Online...
I put a .SWF on a blank web page. It launches and plays fine locally if I launch the page from my hard drive, but online I just get a blank white page. Here's the link:
http://al-i.anixter.com/TEMP/flashTemplate/index.html
Any ideas?! Thanks!...
[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);
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");}
[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;
}
};
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>
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?
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?
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
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
AMFPHP Locally Good, Online Bad :(
Anybody else having problems getting their flash projects making service calls online? Everything works fine when I run my files from the flash IDE. I make a service call to a database and I get the information back and am able to populate a datagrid component and everything, but when I upload the files to my server, datagrid is empty...
Any ideas?
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
Loadvar Works Locally, But Not Online For Some Reason
see my sig at http://ncgn.steeped.net/phpBB2/viewtopic.php?t=83 then click mrjungle
i am trying to loadVariablesNum ("http://www.mrjungle.com/flashvar.asp", 0);
it works locally on my computer just fine. when i upload it to my server, it doesn't work. what gives?
Swf Plays Fine Locally, Slow Online
I have a 30 fps swf, when I play it from my computer, everything works fine, but once I upload it online, the playback becomes really slow, slow as in the animation being slow, like it was reduced to 12fps or something. I've checked the cpu usage and it doesn't seem that my cpu was maxing out during any of the playbacks.
oh, I tested it with flashplayer6 locally, and my IE has FP7(7.19.0) plug-in. Can that be the problem???
Al
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
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.
XMLConnectors Acts Differently Locally/online
Hey guys, Im populating several comboboxes with an XMLConnector from an XML file in the same dir. When I run it locally, everything works fine, but when I upload it to my website the comboboxes arent populated. Same files.
What could be the reason?
Also, why does the connector stop working ( this is from another example ) in a movie with scenes, but works when only one scene is previewed? So weird?!
peace,
Magomed
|