Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash








My .swf Works On My Computer, Never Uploaded To The Web, Why?


My file works great on my computer, but when I upload it, and try to open up the html file, the file begins to load in the browser, but hangs about half way and never comes up, what have i done wrong? I'm just using the trial version, does it have to be registered in order to work online?
This is the link to where I'm creating the swish movie for
I have attached my .swf file to see, please help me
Thank you in advance,
Evan




FlashKit > Flash Help > Flash Newbies
Posted on: 02-19-2004, 01:49 PM


View Complete Forum Thread with Replies

Sponsored Links:

Works On The Computer, Doesn't When Uploaded
I have had many issues like this with the past 3 of 4 programs I have made. The programs I have made are an XML news reader, that reads an XML file from my server...that works fine. Then I have a program that reads XML files from other sites, it uses a comboBox for the user to select the site they want to read news headlines from, works on my computer but says UNDEFINED when I try it on my website. I have a poll that...now looking back on it I think I may want to do an XML file instead of a TXT file for the variables, but it displays the question and selections on my computer, but not when I upload it. Lastly, I made just this small test program that doesn't make any sense either....It just loads variables from a TXT and it does a trace on the loadVars, separating all of the variables in the file. I also have the whole string outputting the a textBox, on my computer it outputs the whole string, with "&onLoad=%5Btype%20Function%5D" added to the end...and when it's on the web, it just outputs the last string. It probably is something very easy that I am missing. I have done 5 days of research on the Macromedia website, I also have the actionscript reference book, and I looked back at my actionscript tutorial book and some tutorials online. I have tried using a file rssProxy.php that I've seen on some other people's rss readers, so it could load the data and the Flash player wouldn't 'complain' about the foreign data, from another site. I am using Flash MX 2004 Professional. Can some kind person help me out?

Links:
Small Test FLA
Small Test SWF

Poll FLA
Poll SWF

News Feeds FLA
News Feeds SWF

=(

-TJ

View Replies !    View Related
Works On The Computer, Doesn't When Uploaded
I have had many issues like this with the past 3 of 4 programs I have made. The programs I have made are an XML news reader, that reads an XML file from my server...that works fine. Then I have a program that reads XML files from other sites, it uses a comboBox for the user to select the site they want to read news headlines from, works on my computer but says UNDEFINED when I try it on my website. I have a poll that...now looking back on it I think I may want to do an XML file instead of a TXT file for the variables, but it displays the question and selections on my computer, but not when I upload it. Lastly, I made just this small test program that doesn't make any sense either....It just loads variables from a TXT and it does a trace on the loadVars, separating all of the variables in the file. I also have the whole string outputting the a textBox, on my computer it outputs the whole string, with "&onLoad=%5Btype%20Function%5D" added to the end...and when it's on the web, it just outputs the last string. It probably is something very easy that I am missing. I have done 5 days of research on the Macromedia website, I also have the actionscript reference book, and I looked back at my actionscript tutorial book and some tutorials online. I have tried using a file rssProxy.php that I've seen on some other people's rss readers, so it could load the data and the Flash player wouldn't 'complain' about the foreign data, from another site. I am using Flash MX 2004 Professional. Can some kind person help me out?

Links:
Small Test FLA
Small Test SWF

Poll FLA
Poll SWF

News Feeds FLA
News Feeds SWF

=(

-TJ

View Replies !    View Related
Everything Works Well Until Uploaded To Server
I finally managed to creat my preload page, add it to my movie etc! Thanks to those who helped me!

I created a webpage with GOLive CS2 and inserted my splash movie into it... I uplaoded the movie on it's own first and it works fine... evetyhting's ok... then in golive I put it in a table and uplaoded it to my server... now my enter button is not working at all... you can click on it but nothing happens... I tried viewing it in IE and Firefox and in both it will not open... any ideas on what it could be?

View Replies !    View Related
Works Right When Tested But When Uploaded...
Hi,

Ok this is my problem, when i test the whole flash movie in flash it works great. But when i upload it or click the html file its really coppy. The main issue is my scrolling tabs which get choppy, it looks like its looping but i have all the appropriate stops.

Also a lil more info about the swf, its a main file with a container brining the porfolio that as scrollers for my little icons.

Thanks

View Replies !    View Related
Please Help LoadMovie Works On Local But Not When Uploaded.
I am currently developing my first ever Flash site and it has been a steep learning curve. I am pleased with my efforts but am struggling on uploading the files.

I have created the main site, then have 5 other .swf files that load into a specific section of the page. When I test the movie locally everything is fine - the .swfs load into the correct target, and the text boxes update correctly with the .txt file.

However when I upload it to my server nothing loads when it should unless I put the full path in each section. As this means editing about 30 different actions and pasting the full path (around loads of different clips and frames) it becomes a bit hard work. It also means I cant test locally then unless connected to the net - obviously I am now fed up of swapping the paths from relative to absolute.

Any tips on what I can do?

As an example I have a MC called Text Boxes. Within this are the text boxes for each hover action. Each labeled frame of the MC has the following:

LoadMovieNum(profile.swf,_root.mcHolder)

Therefore when a user hovers over the Profile button it loads the movie Profile.swf into mcHolder which sits on level_0.

Please help as it is hindering the completion of my site.

Scooby

View Replies !    View Related
Loadmovie() Works In Preview, But Not When Uploaded
I'm having a go at making a flash site at the moment. I have a main swf into which other swf's are loaded using the loadmovie() method.

when the page first load's the first swf is supposed to load a 'sub swf' immediately without any user action. this works in the preview but once uploaded it doesnt.

however when you press the relevant button to load the 'home page' (introduction) then it does load. any ideas as to why this might be?

site is currently at: lauriehocking.narod.ru
(note only the main swf and the introduction swf are currently uploaded I believe).

thanks

medved

View Replies !    View Related
Sound Works When Testing, But Not When Uploaded
I used the Behaviors pallet to stream my mp3 files, and it works fine when tested locally, but as soon as I upload everything and test it online, nothing plays. The site is www.spidersandsnakes.net/media08.htm.
Any ideas?

View Replies !    View Related
.swf Works Fine On My Machine.. But Not Once Uploaded
i'm having troubles with a jukebox script i found by eric bridges.
the .fla
my problem is that it works on my machine.. but not once i upload it to a website. http://www.akae.net/abide/music.swf

it looks like its not reading the txt file... but its all in the same directory soo i can't figure out why that would be.

if anyone could give me some advice i'd really apreciate it.

View Replies !    View Related
Preloader Works When Previewed But Not When Uploaded...
Ok I dont know if this isn't a good process but I made my external SWF as a movieclip and then exported it as a SWF. Anyway, when I preview the movieclip and use that thing that simulates a 56k modem everything works fine but then when I upload it on my server, it won't work. Does anyone have any suggestions? The AS i used is as follows:

First frame of Movieclip (preloader)

ActionScript Code:
bytes_loaded = Math.round(_root.getBytesLoaded());bytes_total = Math.round(_root.getBytesTotal());getPercent = bytes_loaded/bytes_total;_root.mask2._width = getPercent*100;this.loadText = Math.round(getPercent*100)+"%";if (bytes_loaded == bytes_total) {    _root.gotoAndPlay(3);}

2nd frame

ActionScript Code:
this.gotoAndPlay(1);

Thanks

By the way i think it has something to do with me using "_root" and not "_this" but if i use "_this" then it won't work even when I am just previewing the movieclip... Could there be some export setting i have to use?


Mike

By the way, when I preview the WHOLe movie, not just the movieclip, it screws up too.

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
.swf Works Fine On My Machine.. But Not Once Uploaded
i'm having troubles with a jukebox script i found by eric bridges.
the .fla
my problem is that it works on my machine.. but not once i upload it to a website. http://www.akae.net/abide/music.swf

it looks like its not reading the txt file... but its all in the same directory soo i can't figure out why that would be.

if anyone could give me some advice i'd really apreciate it.

View Replies !    View Related
Preloader Works When Previewed But Not When Uploaded...
Ok I dont know if this isn't a good process but I made my external SWF as a movieclip and then exported it as a SWF. Anyway, when I preview the movieclip and use that thing that simulates a 56k modem everything works fine but then when I upload it on my server, it won't work. Does anyone have any suggestions? The AS i used is as follows:

First frame of Movieclip (preloader)

ActionScript Code:
bytes_loaded = Math.round(_root.getBytesLoaded());bytes_total = Math.round(_root.getBytesTotal());getPercent = bytes_loaded/bytes_total;_root.mask2._width = getPercent*100;this.loadText = Math.round(getPercent*100)+"%";if (bytes_loaded == bytes_total) {    _root.gotoAndPlay(3);}

2nd frame

ActionScript Code:
this.gotoAndPlay(1);

Thanks

By the way i think it has something to do with me using "_root" and not "_this" but if i use "_this" then it won't work even when I am just previewing the movieclip... Could there be some export setting i have to use?


Mike

By the way, when I preview the WHOLe movie, not just the movieclip, it screws up too.

View Replies !    View Related
Only Computer Mic Works
How can i get Flash media encoder to see my USB audio and not just my computer built in mic?

View Replies !    View Related
Forms. Works Fine On The PC/Mac But Doesn't When Uploaded
Hi there,

I've got a simple form which sends data to an asp page where I can view who's answered what etc. The asp page is already uploaded. The swf works fine locally on the PC and Mac. When I upload the swf, it doesn't send the data. Any ideas why? Do I have to add some code into the htnl page?

Any help greatly appreciated,
Cheers
Ben

View Replies !    View Related
Uploaded 4mb MP4 Buffers Indefinitely But Works Locally?
I can view my mp4 file locally within a swf but when I upload it to my host it will not play, it buffers indefinitely. This is only a 4mb file. Am I missing something simple here? All of the files are in the same directory, html, swf, player template, js file...

It is set to progressive download and not streaming too.

Thanks for any help.

View Replies !    View Related
Pop-Up Works Fine Remotely But Doesn't When Uploaded
Hi All back again,

Got what is probably a relatively easy question to answer, I've created a pop-up window which opens fine when I test it remotely on my Mac using safari (still have an issue when testing in explorer "can't get them to open" but that's in a different thread).

Anyway the code on the button is below, although as I say It has worked ok before so I'm a bit stumped.

on (release) {
getURL("javascript:window.open('moderata.html','mo derata','width=800,height=500,top=0,left=0,toolbar =no,scrollbars=no,resizable=no,menubar=no,status=y es,directories=no,location=no'); void(0);");
}


Thanks in advance
Mark at Moderata

View Replies !    View Related
Pop-Up Works Fine Remotely But Doesn't When Uploaded
Hi All back again,

Got what is probably a relatively easy question to answer, I've created a pop-up window which opens fine when I test it remotely on my Mac using safari (still have an issue when testing in explorer "can't get them to open" but that's in a different thread).

Anyway the code on the button is below, although as I say It has worked ok before so I'm a bit stumped.

on (release) {
getURL("javascript:window.open('moderata.html','mo derata','width=800,height=500,top=0,left=0,toolbar =no,scrollbars=no,resizable=no,menubar=no,status=y es,directories=no,location=no'); void(0);");
}


Thanks in advance
Mark at Moderata

View Replies !    View Related
Loadmovie Works Local, But Not When Files Are Uploaded On Server
Subject says it all really... I build an interface in which I load multiple other swf's, works fine, but (since today? ) when I upload all my files to my hosting, and open the interface there, the other swf's won't load.

Any ideas? Ways to figure this one out? tnx in advance - a long time no flash but back in the game newbie

View Replies !    View Related
OnKeyDown(key.ENTER) Works Locally But Not Uploaded On A Server
Hi.

I have the following code:

this.passinput.onSetFocus = function() {
};

Key.removeListener(this.passinput);
this.passinput.onKeyDown = function() {
if (Key.isDown(Key.ENTER)) {
loadVariablesNum("first_login.php", 0, "POST");
_root.test_mc.gotoAndPlay(2);
}
};
Key.addListener(this.passinput);

The test_mc should go to the second frame where it is of another color. If i test it locally on my PC, it works but if I upload it to the web site and try then pressing enter no longer works.

Has anyone any idea of how to fix this?

Thank you.

View Replies !    View Related
Data Connect Works Locally But When Uploaded Fails
Edited: 07/13/2007 at 04:02:00 AM by Billy Harker

View Replies !    View Related
Swf Works OK On Computer But Won't Work On Web Space?
Hello

I am trying to do a swf controlled by a movie controller.

This works perfectly alright when it is on my computer but when I put it on my web space it won't work.

http://mancroft.echoechoplus.com/hya...b/player2.html

This is really baffling me!!!

Any ideas, please????????????

Here is the .fla:
http://mancroft.echoechoplus.com/hyannisweb/player2.fla

Thanks.

View Replies !    View Related
Scroller Works On Computer But Not Site...?
hi all!
can someone take a look at my files and see why my scroller will work on my computer (fla file) but when i upload it to my site and/or go to preview html the scroller doesn't work!!!!

files are here under folder exiled:
http://briefcase.yahoo.com/downloadgeek
a typical lyric page is also there "deep inside".

i would appreciate any and all help with this.
thanks so much.

View Replies !    View Related
This On Load Works On Computer But Not Site...?
hi all!

i have a page that is supposed to load a swf to an empty movie clip upon load. the swf being loaded are my buttons for each page.
everything works fine when i test on my computer but not when i publish and view on my site.

can someone please assist me?
flash file
my site

once at the site click on contacts.
thanks!

View Replies !    View Related
Key_Listener.onKeyDown Works On One Computer And Does Not On Another
I passed two my games to a colleague for testing. They works fine except
Key_Listener.onKeyDown in one gane is supposed to load the other game using
loadMovieNum() and it does not. Just produces a blank screen as if it the
other swf is not there, but is it in the same folder as it is on my
computer.
On my two computers (notebook with XP and a desktop with w2k) this works
fine.
What might be a problem?
The relevant swf were published for Flash Player 8

View Replies !    View Related
Works On Development Computer, Not On Website
Hi,

I'm using LoadVars to retrieve some data from a table using php. When I use the app from within my Flash environment I am able to retrieve the info, but once I post the swf to the website nothing happens. I"m posting to the same remote page. I don't think LoadVars is even firing since the trace in my else clause is not firing. Any ideas? Thanks.

var reserved = new LoadVars();
reserved.load("

View Replies !    View Related
Flash Swf Works On Computer But Not On Website
I made a flash slideshow with the tutorial here using the xml file. Everything works fine but when I upload it to my website it doesn't work. The first picture will show and nothing after that. And now it's stuck on the first picture. I changed the xml, and even deleted the picture off the server and the same pic shows up first. ARGH!!!!!! Please advise.

View Replies !    View Related
Swf Works OK On Computer But Won't Work On Web Space?
Hello

I am trying to do a swf controlled by a movie controller.

This works perfectly alright when it is on my computer but when I put it on my web space it won't work.

http://mancroft.echoechoplus.com/hyannisweb/player2.html

This is really baffling me!!!

Any ideas, please????????????

Here is the .fla:
http://mancroft.echoechoplus.com/hyannisweb/player2.fla

Thanks.

View Replies !    View Related
Flash Movie Works On Computer Not On My Website
i have a flash music player that loads songs i converted from mp3 files to swf movies and allows the user to switch back and forth among songs. It reads the number of songs and the titles from text files. The player works as i want it to on my computer but when i load it onto my website along with the swf music files and the text files it will only play the first song and does not display the song title from the text file. Is there anything special i need to do so that the flash movie will work online.

thanks

View Replies !    View Related
Publish Preview Of Media Player Works Well, But Uploaded Version Doesn't
I've made an audio player in flash that allows you to type the file name of a song and then streams&plays it. I'm able to stream the audio, get the artist and song name, and control the volume fine, however I can't find the total length of the audio file. When I don't stream the song, I do. So I made this fix:


PHP Code:



on(keyPress "<Enter>")
{
    _root.audio = new Sound();
    _root.audio.setVolume(50);
    _root.songfile = _root.songfile+".mp3";
    _root.audio.loadSound(songfile, true);
    _root.audio.onID3 = function() {
        artist = this.id3.artist;
        songtitle = this.id3.songname;
        totalseconds = Math.round(this.duration / 1000);
        percentloaded = (this.getBytesLoaded()/this.getBytesTotal())+0;
        totalseconds = Math.round(totalseconds / percentloaded);
        minutes = Math.floor(totalseconds / 60);
        seconds = totalseconds % 60;
        if(seconds < 10)
        {
            seconds = "0"+seconds;
        }
        _root.scrollinfo = artist+" - "+songtitle+" ("+minutes+":"+seconds+")";
        setInterval(updateProgress, 100, _root.audio);
    }





I found how much of the song was loaded after about 1 second and how much time flash thought the song was at the same time, I then found out the total length of the song based of this material:


PHP Code:



        totalseconds = Math.round(this.duration / 1000);
        percentloaded = (this.getBytesLoaded()/this.getBytesTotal())+0;
        totalseconds = Math.round(totalseconds / percentloaded); 




When I publish preview in flash, this works wonderfully. However, when I uploaded online and tried viewing in firefox and IE it didn't work.

View online version - http://www.mad-host.net/brendan/medi...diaplayer.html

type in best in the text field and hit enter to test it out (my incentive for you to help me is that you get to listen to best of you by the foo fighters, lol)

FLA - http://www.mad-host.net/brendan/medi...ediaplayer.fla
publish preview with html and you see how it works (save it to a folder that has an mp3 file in it, and then type in an audio filename without the extension to try it in preview mode)

I know I'm asking a lot of whoever helps me out, but like I said you get to listen to foo fighters.........so please help me out. Or if anyone knows a way other than mine to find the duration of a song in flash, please post it.

A flash-troubled wannabe guru,
Brendan

View Replies !    View Related
Flash Works On My Computer, But Freezes When I Upload It To My Webspace
I have just finished my first flash site and wanted to upload it to my webspace. It works fine running it on my computer but when i upload it to my freeserve webspace it just freezes showing the background and nothing else. I have used alot of imported pictures to create buttons and graphics - could this be the problem? My .swf file is 160K, is this too large???? I tried putting a pre-loader in at the start but that doesnt even come up on the internet!! Can anyone help me please??
e-mail: paulrobilliard@hotmail.com

View Replies !    View Related
My Swf Dont Appears On The Internet, But Works Fine Im My Computer.. HELP ME OUT PLS
Im doing a website that is a .swf with a slideshow inside, in a webpage. When i see the .html file my computer see the web in flash and everything works good.

Then when i upload the files to internet, www.dmitierra.com/coleccion.html
the flash dont appears, check the page source. The code is THERE!

Then i try to upload a animation of sticks i made , works fine in my computer to, but when i upload it to the internet www.got-ovn.com/stickwars , DONT WORK .


So is not my error, is something in internet??? Really help me out ppl, because of this i cant upload more .swf to the web!!!!!!!!!!!!!!!!

View Replies !    View Related
Loading A .swf File In A .swf File Works On Computer, Not On Site, Why?
I have a movie where at one point it plays a .swf movie in it, now on my computer it works perfect, but when i upload it, it just is blank during the time it should be playing... any ideas?

View Replies !    View Related
Uploaded File Replaces Previously Uploaded
Having trouble with FileReference, am trying to have several buttons which call the same fileReference functions and create/attach uploaded image to movie clips made at runtime.

At the moment, am testing with 2 buttons which are loading images and renaming correctly, but only one at a time. When I click on the other button, the previously loaded image/movieclip is dissappearing.

I have a feeling, it's some small silly thing not to do with the fileReference, but a targeting error...

Any help would be greatly appreciated. Code attached below(not tidiest code, sorry!):


Code:
System.security.allowDomain("http://192.168.1.42/");
//Import FUSE engOute
import com.mosesSupposes.fuse.*;
ZigoEngine.simpleSetup(Shortcuts,PennerEasing,FuseFMP);
import flash.net.FileReference;

mug_bk.setMask(mug_mask);

/*--------------global / intial variables----------------------------*/
_global.textNumber=0;
_global.activeText="_root.newText1";
_global.imageFor="photo"
newDate = new Date();
var uploadImageCounter = newDate.getFullYear()+newDate.getMinutes();

/*-------haike functions start-------*/

haike_mask.cacheAsBitmap;


haike_select.onRelease=function(){
trace("step1");
uploadImage3();
}




/*-------haike functions end-------*/


/*---------photo functions start---------------------*/
photo_mask1.cacheAsBitmap;



photo_box1.onRelease=function(){
trace("step1");
uploadImage4();

}
/*---------photo functions end---------------------*/


/*-------frame functions start-------*/

/*-------frame functions end-------*/



/*--- RAKUGAKI STUFF --- */


/* -----------------------start stamp function ----------------------------------------------------

/*-----------------------end stamp function ---------------------------------------------------- */

/*------- start printing functions ----------------------*/


/*------- end printing functions ----------------------*/

/*---------start upload functions-------------*/



var uploadedImageType=""

var storedImagesPath="http://192.168.1.42/images/";
var targetMovieSize=100;

uploadBtn.label = "Upload Image";





/* The listener object listens for FileReference events. */
var listener:Object = new Object();

/* When the user selects a file, the onSelect() method is called, and passed a reference to the FileReference object. */
listener.onSelect = function(selectedFile:FileReference):Void {
trace("step3");
uploadImageCounter = random(newDate.getFullYear()+newDate.getMinutes());
var uploadPhpPath="http://192.168.1.42/upload.php?flashFileName="+_global.imageFor+uploadImageCounter+uploadedImageType;

/* Update the TextArea to notify the user that Flash is attempting to upload the image. */
statusArea.text += "Attempting to upload " + selectedFile.name + "
";
/* Upload the file to the PHP script on the server. */
selectedFile.upload(uploadPhpPath);
uploadedImageType=selectedFile.type;
uploadedImageType = uploadedImageType.toLowerCase();



};




listener.onOpen = function(selectedFile:FileReference):Void {
trace("step4");
statusArea.text += "Opening " + selectedFile.name + "
";


};

listener.onProgress = function(selectedFile:MovieClip,numBytesLoaded:Number,numBytesTotal:Number):Void {
trace("step5");
var pctLoaded:Number =Math.ceil(100*(numBytesLoaded/numBytesTotal));
statusArea.text += pctLoaded + "
";
Mouse.hide();
// This will get you the percent amount loaded for use in a preloader, etc...
};


/* When the file has uploaded, the onComplete() method is called. */
listener.onComplete = function(selectedFile:FileReference):Void {
trace("step6");
Mouse.show();
/* Notify the user that Flash is starting to download the image. */
statusArea.text += "Downloading " + selectedFile.name + " to player
";
/* Add the image to the ComboBox component. */
imagesCb.addItem(selectedFile.name);

/* Set the selected index of the ComboBox to that of the most recently added image. */
imagesCb.selectedIndex = imagesCb.length - 1;
/* Call the custom downloadImage() function. */
downloadImage();

};



var imageFile:FileReference = new FileReference();


imageFile.addListener(listener);

imagePane.addEventListener("complete", imageDownloaded);
imagesCb.addEventListener("change", downloadImage);
uploadBtn.addEventListener("click", uploadImage);
uploadBtn2.addEventListener("click", uploadImage2);

/* If the image does not download, the event object's total property will equal -1. In that case, display a message to the user. */
function imageDownloaded(event:Object):Void {
if (event.total == -1) {
trace("error");
}
}



/* When the user selects an image from the ComboBox, or when the downloadImage() function is called directly from the listener.onComplete() method, the downloadImage() function sets the contentPath of the ScrollPane in order to start downloading the image to the player. */
function downloadImage(event:Object):Void {
trace("step7");

_root.attachMovie("container",_global.imageFor,getNextHighestDepth,{_x:0, _y:0});
_root[_global.imageFor].attachMovie("container2",_global.imageFor,getNextHighestDepth,{_x:0, _y:0});


loadMovie(storedImagesPath+_global.imageFor+uploadImageCounter+uploadedImageType+"?="+random(uploadImageCounter), _root[_global.imageFor][_global.imageFor]);




_root[_global.imageFor]._alpha=0;

//delay before actions
delayClipManip=function(){
trace("step9");
_root[_global.imageFor][_global.imageFor].cacheAsBitmap;







var scalePercentage=100;

/*-------------------------------------------------------------------------------------------------------------------------*/
//RESIZE FUNCTIONS
/*-------------------------------------------------------------------------------------------------------------------------*/

_root[_global.imageFor].fadeIn(1);

switch(targetMovieSize){
case 89:
trace("89"+_root[_global.imageFor]);
_root[_global.imageFor].slideTo(75.3,387,1);

//duplicate this movie and add a copy to the haike button

break;

case 77.8:
trace("77.8"+_root[_global.imageFor]);
_root[_global.imageFor].slideTo(182,397,1);

//duplicate this movie and add a copy to the haike button

break;

}
maskClip=function(){

//add switch to set new mask for clip
//_root[_global.imageFor].setMask(_global.imageFor+"_mask");


}

//scale to target size
_root[_global.imageFor].scaleTo(scalePercentage,1,"linear",0,maskClip);
_root[_global.imageFor].onPress=function(){


_root[_global.imageFor].startDrag();

}
_root[_global.imageFor].onRelease=function(){
_root[_global.imageFor].stopDrag(this);
}
_root[_global.imageFor].onReleaseOutside=function(){
_root[_global.imageFor].stopDrag(this);
_root[_global.imageFor]._x=200;
_root[_global.imageFor]._y=200;
}


}
trace("step8");
_root.rotateTo(0,.1,"linear",0,delayClipManip);

}


function uploadImage(event:Object):Void {

targetMovieSize=100;
imageFile.browse([{description: "Image Files", extension: "*.jpg;*.jpeg;*.gif;*.png"}]);
}

function uploadImage2(event:Object):Void {

targetMovieSize=200;
imageFile.browse([{description: "Image Files", extension: "*.jpg;*.jpeg;*.gif;*.png"}]);
}
//haike
function uploadImage3(event:Object):Void {
trace("step2");
_global.imageFor="haike"
targetMovieSize=89;
imageFile.browse([{description: "Image Files", extension: "*.jpg;*.jpeg;*.gif;*.png"}]);



}
//photo01
function uploadImage4(event:Object):Void {
trace("step2");
_global.imageFor="photo"
targetMovieSize=77.8;
imageFile.browse([{description: "Image Files", extension: "*.jpg;*.jpeg;*.gif;*.png"}]);


}


/*----end upload functions-------*/

View Replies !    View Related
Why Trouble With Layout From Computer To Computer?
Hi All,

Thank you very much for any advice, suggetions, or instructions you might have for fixing this problem.

We are creating flash files on one pc using Flash 8. We are saving them as Flash MX version - because on another pc, I have Flash MX installed.

When I open the files on the second PC using Flash MX, the layout of the files is wacked: all of the button fields have shifted about one-half-centimeter from where they were when created on the previous machine.

I downloaded a free trial of Flash 8 Pro to see if that would fix these layout issues, but no. Same thing. (wtf)

NOTE: I've recently found out that the version of Windows running on this machine (XP Pro) isn't "authentic," rather, part of a Volume Licensing Package that has sense been "blocked." Could that be what is causing these troubles with Flash? Still, would bootlegged windows (if that's what it is) cause these layout problems in flash?

Is there anything i can do to preserve the layout from machine to machine?
All help is much appreciated.
Thank you!
Ryan

View Replies !    View Related
_x Coordinate Changed From Computer To Computer
This may be weird, but i am in the middle of a project ,and I took it home from my offfice and now all of the _x coords for a movie clip that I am controlling with a script are compltetly different?? doe sthis have to do with screen resolution , i s that possible?? and also is there any one out there who also has un ending problemsd with mac and actionscripting.


derek

View Replies !    View Related
Accentuation Works In Action Panel And Doesn't Works In A Class.
Try attached code in Action panel and in a class.
The same code works in Action panel (F9) and doesn't works in a class.
For GOD!!!!
How can it be????
It's seems that someting is missing when a class is instantiated.
I and thousands of developers that writes with special characters won't have solution for this problem?
I mean that thousands of swf 8.0 version won't be migrated to flash9.
Adobe is concerned about that?
Any idea?









Attach Code

//Action panel works fine
import flash.text.*;
var txt:TextField=new TextField();
addChild(txt);
txt.text="áéíóú";

//class doesn't works
package
{
import flash.display.*;
import flash.text.*;

public class TestAccentuation extends MovieClip
{
protected var txt:TextField=new TextField();

public function TestAccentuation ()
{
addChild(txt);
txt.text="áéíóú";
}
}
}

View Replies !    View Related
Can Someone Explain Me Why Preloader Works In Some Browser And Some Don't Works?
CONTEXT: I did a preloader in Flash and I uploaded it
PROBLEM: I can see the preloader on IE version 5 and 6, but I also cannot see the preloader on IE version 5 and 6 depends on which computer I'm using!!! WEIRD


Can someone help me!!!

gen

View Replies !    View Related
Works On Local PC. Semi Works On Server.
Hi all

I have a flash site that works swell when I test it on my mac locally but then when I load it onto the server it doesn't work too well. Sometimes the swfs I load just don't load for some reason.

Here is the AS I use to load the swf. t is a value I pull from a XML file.

image_mcl.loadClip(t.swf, image_mc);

here you can see the site in inaction. Sometimes when you click on globe the swf doesn't load. Sometimes it does. Anyone have any suggestions?

http://wouter.freespeechpub.co.za/

View Replies !    View Related
Printing:works..doesn't Work...works..?
I have a Print button with this code:
Code:
on (release) {

Code:
print ("print_movie_x", "bmax");
}
Nice and straight forward...Users drag a number of cards round on the page then type in their name in an input box. Problem: When I click print, not only does all pages print(have 2 frames) but the cards appear as they did when you load the movie..they haven't moved...scary! What am I doing wrong? Any ideas people?Gab

View Replies !    View Related
Printing:works..doesn't Work...works..?
I have a Print button with this code:
Code:
on (release) {

Code:
print ("print_movie_x", "bmax");
}
Nice and straight forward...Users drag a number of cards round on the page then type in their name in an input box. Problem: When I click print, not only does all pages print(have 2 frames) but the cards appear as they did when you load the movie..they haven't moved...scary! What am I doing wrong? Any ideas people?Gab

View Replies !    View Related
Site Uploaded
I have uploaded the swf's and the html

http://www.no0rder.20m.com/loadmoive/

I hope that helps.

the side menu, the text scroller and the logo are differnt swf's loading into the index

View Replies !    View Related
GET Url Not Working Once Uploaded
Hi, I'd really appreciate it if anyone could figure this problem out. When I made the .fla file and exprted it to make a .swf file with it, the GET url function worked fine. but as soon the .swf was uploaded, it stopped working. Can anyone check this out, please?

When you click on the "Click to enlarge" button, it does nothing.

View Replies !    View Related
Ok I Uploaded The Pictures?
hey ok. I uploaded my pictures onto geocities. I also put the jpg in the same folder as my file/website. It still doesnt work. Help Plz

Jake

View Replies !    View Related
New SWF's Uploaded But Not Working....
HELP!! I uploaded changes to my swf's and the site is still loading the old swf's. And that's even if I delete them. I tried refreshing the window, but that didn't work. So I checked it from a totally different computer, and the same results. I found that renaming everything, and re-uploading has worked, but it's getting to be a pain in the butt. Is there any other way to make the new swf's work? They work on a similar site that I used to model the problematic site after. Any help is appreciated.

View Replies !    View Related
External Swf's Uploaded To Web
I have now created some external swfs and in 'test movie' they come up. I uploaded them to the web (all on the same level) but they don't come up. ex: test5.swf

http://www.bluejaygraphics.com/pages/fotom.htm



on (release) {
tellTarget("/bed") {
gotoAndStop(513);
loadMovie ("test5.swf", "dog");}
}

What am I doing wrong?

thanks in advance...

bluej2

View Replies !    View Related
MC Will Not Play Once Uploaded
I test and it runs fine. I upload the swf and "no go"
Anyone know what gives.
The MC does have a mask but I don't think that would be the problem, but
I'm open to any help. Your help is much appreciated.

View Replies !    View Related
Why Can't I See My Swf's When Page Has Been Uploaded?
aaah, help, please! this is something i've done a hundred times, and now it just won't work! what happened? am i just being stupid?

i have small swf's embedded in html pages. whenever i test in my computer everything is ok. but when i upload the pages into a server, i can't see the swf's at all. nada.

yes, the paths are correct. yes, i did try the full path http://www.mysite.com/myswf.swf. yes, my flash player is up to date. i'm using flash 8 and the same problem exists both in mozilla and ie.

what am i doing wrong? in my earlier sites i haven't encountered this problem. i've tried searching threads, so far i haven't found an answer.

heeeeelp!

View Replies !    View Related
[F8] Why Won't My Uploaded Swf Play
I have created a website in Dreamweaver, with an animated header file and an animated menu both created in flash. They work fine when I open the file with my pc, however if I upload the files and try to view the page, nothing. I am at a loss right now. I'm sure it's something simple, but I can't see it.

The page is at http://www.cirhl.com/temp
The swf files are at www.cirhl.com/temp/flash/menu.swf and /temp/flash/head.swf

Thanks

View Replies !    View Related
[F8] Problem With Uploaded Swf
Hi
i hv created an animation of a ball that flies up when the mouse is down and falls down when the mouse is up using code given in one of the posts here
i hv uploaded the swf to uk image host and embedded it in html
but the mouse click does not work in the html page
here is the as and html code
thank u.
as code:

PHP Code:




var yVelocity:Number = 0;
var gravity:Number = 2;
var mDown: Boolean;

onMouseDown = function(){
mDown = true;
}
onMouseUp = function(){
mDown = false;
}
onEnterFrame=function(){
ball1._y += yVelocity;
if(mDown){
yVelocity -=gravity;
} else {
yVelocity +=gravity;
}
}







html code:

PHP Code:




<html>
<head></head>
<body>
<embed pluginspage="http://www.adobe.com/go/getflashplayer/"
quality="high" menu="false" bgcolor="#000000" height="350"
src="http://www.ukimagehost.com/uploads/5f65dcd564.swf"
width="500" type="application/x-shockwave-flash"> </embed>
</body>
<html>

View Replies !    View Related
Only Fails When Uploaded....
Main movie wont load into preloader only when uploaded to web.
main movie and preloader in same folders on Local and Remote.
Works perfect when tested in local but when uploaded to http://www.stacycannady.com/index2.htm
Preloader wont load my main movie.

I used this tutorial, http://www.webwasp.co.uk/tutorials/b...Ex-SWFs/08.php
which worked great, but I cant figure out WHY it wont once uploaded.

Any Ideas? Anyone have similar problems? Suggestions?

Any appreciated!!

View Replies !    View Related
Cant Play Uploaded Flv (404)
Hi guys,
I capture stream and record to fcs server. I then ask this user if they wish to save it. if yes then copy from fcs server to open web folder.
This is all fine.
But when i try to play the flv i get nothig loads. i use Charles to see whats going on and it say that the file cant be found. The file is definetly there and the content path for the vid player is correct.

Anyone.

thanks

View Replies !    View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved