PDA

View Full Version : Uploading to server questions


Annika
10-21-2002, 05:37 PM
Hello everyone!

I am a selftaught newbie that has learned the little I know from reading books and the instruction manual and just playing around. I have just almost completed my first webbsite using Flash (and it looks great on my computer) and now I have started to think about the uploading process... I have read som other threads that you need to use an aplication program. Would dreamweaver work? How do you do it?

I am also wondering which files I need to upload? My webbsite loads movies into different levels because it has alot of pictures... Do I need to put the SWF and HTML files for every movie on the server?
Is there any problem that I should be aware of when you have movies loading into your movie at different levels?
I read on a thread that you need to make an HTML page which loads the movie instead of ferering to the SWF?
Do I and why?

My last question is about the publish JPEG feature. I have read that you can use it to have your pics appear and then get more detailed as the downloading proceeds... How do I implement that? Do I put the published JPEG file on the server with the HTML and SWF?

I really apreciated your help:)
Annika

RanTen
10-22-2002, 09:00 AM
Hi,

You will need to upload both the swf and html files to the server.

Make sure that both are in the same location.

You dont have to upload your jpg separately...they are already inside the swf...

Cheerio

pinkaboo
10-22-2002, 09:26 AM
Hi Annika,

Just to elaborate on RanTen's response:

You will need to upload the html file that the main swf (the one which you are loading all your other swfs into) sits in.

Now assuming that you have created all your files in the same folder and having separated all your files into separate folders you will then just need to do as RanTen said and upload all the other swfs to the same folder online.

However, if your main swf and html file are in separate folders, assuming that you used relative pathing* and not absolute pathing** to call them you will need to add a bit of code to your main html to specify which directory your main swf is in so that your pathing still works. You'll need to look into the BASE tag (http://www.macromedia.com/support/flash/ts/documents/tn4157.html) attribute.

Yes, you can use Dreamweaver as an ftp client. Though I haven't used it much. You can also download various shareware/trial versions of ftp versions online, ie ws_ftp_LE (http://www.ftpplanet.com/download.htm) which is really easy to use if you're new to ftping and a student or non-business home user. You just enter in your webspace and login details, it should connect to your space and then you just transfer your files across from one window to the other.

However if you are using Dreamweaver you need to first define your site if you having already done so [site - define site - new] and pointing Dreamweaver to the files on your local system.

Then in the same options menu you need to define your web server settings - select ftp from the drop down menu and enter the webspace details, username, password etc.

When you've done all that hit okay and you'll get a new window containing your site directory tree, the button at the top of this window labelled "connect" should now be active and if you hit it, *fingers crossed* you should connect to your webspace.

Then, once it has logged in to your webspace it should just be a matter of transferring the files across from window to window.

Good Luck!

-pinK


*ie relative path could be : /swfs/mySwf.swf
** ie absolute path could be: http://www.myWebSite.com/swfs/mySwf.swf

Annika
10-22-2002, 06:51 PM
:) Thanks!
All my files are in the same folder so I do not think I need to do the base thing!
I really apreciate your help!
I will let you know when it is up and running if you want to check it out!
Annika