[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???...
FlashKit > Flash Help > Flash ActionScript
Posted on: 11-11-2006, 02:52 PM
View Complete Forum Thread with Replies
Sponsored Links:
- LoadMovie Works 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] 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
- Load Variables Works Locally Not Online
- Loadvar Works Locally, But Not Online For Some Reason
- Elements Of Movie Works Locally But Not Online
- Sound Actionscript - Works Locally Not Online - Flash Mx
- Flash Movie Works Locally But Won't Work Online
- GetURL('javascript:blablah();'); - Works Locally, Not Online.
- Flex - Works Locally, Throws Errors Online
- Flash Movie Works Locally But Won't Work 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
- Loadmovie Jpeg Loads Locally, But Not Online
- Loadmovie Jpeg Loads Locally, But Not Online
- LoadMovie Works Locally, Not Remotely
- LoadMovie Doesn't Work On Server, Works Locally?
- LoadMovie Help Anyone? Works Fine On PC, But Not Online
- Loadmovie Works In Test But Not Online
- My Loadmovie Works On My Hard Drive 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
- Working Locally Not Online
- CSS Showing Locally, But Not Online?
- Anchor Working Locally - Not Online?
- Textfield Loads Locally But Not Online?
- XML Gallery Loads Locally But Not Online
- .txt File Loads Locally, But Not Online
- AMFPHP Locally Good, Online Bad :(
- Load Movie Loads Locally..not Online
- Load Movie Loads Locally..not Online
- Swf Plays Fine Locally, Slow Online
- Flash Links Work Locally But Not Online
- XMLConnectors Acts Differently Locally/online
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
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
[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
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
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 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
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
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
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
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!
View Replies !
View Related
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!
View Replies !
View Related
LoadMovie Works Locally, Not Remotely
I have a 'main.swf' that has an empty movieclip 'loader' with an instance name 'loader'. I have 'main.swf' importing 'title.swf' into 'loader' with the code:code: loader.loadMovie("title.swf");on the root of frame 1 of 'main.swf'.
When I test 'main.swf' locally it works perfectly. I uploaded 'main.swf' and 'title.swf' to a server (same folder) and ran 'main.swf' but now it doesn't work.
If anyone knows what's going on, or anything I could try to fix it, I would be very appreciative.
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
LoadMovie Help Anyone? Works Fine On PC, But Not Online
Hey everyone,
Trying to use LoadMovie on a button to load a SWF (just a picture) into a MC called Preview. My code looks like this right now:
on (rollOver) {
loadMovie("files/Movie4.swf", Preview);
}
on (rollOut) {
loadMovie("files/Blank.swf", Preview);
}
on (release) {
getURL("documents/resume.pdf", "_blank");
}
This works great on my PC. Once I put in the webspace, the SWF (Movie4.swf) does not load into the MC (Preview). I can still click on the button and go to the PDF, but the loadmovie doesn't work.
Any help would be appreciated.
View Replies !
View Related
Loadmovie Works In Test But Not Online
I'm sure it's probably something simple. The loadmovie funtion works when I test the movie localy but not when I try it online. It does not load. The main and ext. movies are both in the same www directory.
Any ideas?
Here is my script;
loadMovie("whatever_movie.swf", "holder");
View Replies !
View Related
My Loadmovie Works On My Hard Drive But Not Online
please help...
i've tried both:
loadMovie("needtoload.swf", target);
target.loadMovie("needtoload.swf");
both work fine when i publish and test localy but when i upload to my actual site it fails to load my swf...
i made sure that the target movie has an instance name and that everything is in the right directories so i don't know what else to try!
View Replies !
View Related
[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!
View Replies !
View Related
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
View Replies !
View Related
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!
View Replies !
View Related
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
View Replies !
View Related
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???
View Replies !
View Related
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??
View Replies !
View Related
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?
View Replies !
View Related
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
View Replies !
View Related
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?
View Replies !
View Related
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?
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
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
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
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
View Replies !
View Related
|