Be a Supporter!

How To: A Website Using Flash Cs4?

  • 254 Views
  • 12 Replies
New Topic Respond to this Topic
nal1200
nal1200
  • Member since: Apr. 6, 2007
  • Offline.
Forum Stats
Member
Level 15
Musician
How To: A Website Using Flash Cs4? 2009-09-08 12:38:10 Reply

Aside from the actual animating of the Flash, how would I go about taking a flash file and placing it into a webpage, thus acting as the web site?

I'm somewhat familiar with AS3, but i'm more concerned with how I would go about uploading the flash file to the site itself. Does this depend on who is hosting the site, or is there some universal way to do this?

OMGx
OMGx
  • Member since: Oct. 4, 2007
  • Offline.
Forum Stats
Member
Level 08
Blank Slate
Response to How To: A Website Using Flash Cs4? 2009-09-08 12:40:46 Reply

Not to be blunt, but I thought you could just put the swf on the index page... :/

ALSO YOU ROCK


"Marx was wrong. Religion is not the opiate of the masses, religion is the placebo of the masses."

BBS Signature
Wolfos
Wolfos
  • Member since: Jan. 19, 2008
  • Offline.
Forum Stats
Member
Level 25
Game Developer
Response to How To: A Website Using Flash Cs4? 2009-09-08 12:44:27 Reply

I just put the swf on the index page... to get the swf act as the entire webpage there are two ways:
1. redirect to the swf
2. edit the htacces file (Im not sure)

nal1200
nal1200
  • Member since: Apr. 6, 2007
  • Offline.
Forum Stats
Member
Level 15
Musician
Response to How To: A Website Using Flash Cs4? 2009-09-08 12:46:57 Reply

At 9/8/09 12:40 PM, OMGx wrote: Not to be blunt, but I thought you could just put the swf on the index page... :/

ALSO YOU ROCK

Haha, thanks.

Unfortunately, my internet programming/web design skills are not so savvy.

I imagine if you have a web domain, you have a file associated with it, and you basically put the .swf into the file and upload that to the host.. is that even remotely correct?

Honestly, the last time I did web design was in my world of work class in middle school. That was basic HTML and it was on the school server.

YouTube offers some nice illustrative examples, but doesn't really have the nitty-gritty technical issues that i'm interested in.

milchreis
milchreis
  • Member since: Jan. 11, 2008
  • Offline.
Forum Stats
Member
Level 26
Programmer
Response to How To: A Website Using Flash Cs4? 2009-09-08 13:08:16 Reply

using the .swf file as the website is not a good idea.
If a visitor doesn't have the flash player plugin installed, he won't see anything.

A good way to do it is to embed the swf into an html file.
One of the best ways to do that, is to use swfObject.
This will give the index.html that you can put on your server.

that's it.

nal1200
nal1200
  • Member since: Apr. 6, 2007
  • Offline.
Forum Stats
Member
Level 15
Musician
Response to How To: A Website Using Flash Cs4? 2009-09-08 13:09:42 Reply

At 9/8/09 01:08 PM, milchreis wrote: using the .swf file as the website is not a good idea.
If a visitor doesn't have the flash player plugin installed, he won't see anything.

A good way to do it is to embed the swf into an html file.
One of the best ways to do that, is to use swfObject.
This will give the index.html that you can put on your server.

that's it.

That sounds pretty similar to what this video is suggesting. Do you think that's the best way to go?

milchreis
milchreis
  • Member since: Jan. 11, 2008
  • Offline.
Forum Stats
Member
Level 26
Programmer
Response to How To: A Website Using Flash Cs4? 2009-09-08 13:18:42 Reply

I'm not a fan of youtube videos because the quality sucks. the video quality.
they might explain the whole thing correctly but it's no pleasure to watch these videos.

http://gotoandlearn.com/play?id=77

I just quickly zapped through it and did not watch it completely but all his videos are very good and easy to understand.

go and check this out.

nal1200
nal1200
  • Member since: Apr. 6, 2007
  • Offline.
Forum Stats
Member
Level 15
Musician
Response to How To: A Website Using Flash Cs4? 2009-09-08 13:37:27 Reply

At 9/8/09 01:18 PM, milchreis wrote: I'm not a fan of youtube videos because the quality sucks. the video quality.
they might explain the whole thing correctly but it's no pleasure to watch these videos.

http://gotoandlearn.com/play?id=77

I just quickly zapped through it and did not watch it completely but all his videos are very good and easy to understand.

go and check this out.

Oh man, lol.

That was about ten times more complicated than the YouTube video.

Is it not sufficient to simply do a publish preview of the flash in HTML and then rename the HTML file to index.html, and then upload the HTML and .swf files to the host?

milchreis
milchreis
  • Member since: Jan. 11, 2008
  • Offline.
Forum Stats
Member
Level 26
Programmer
Response to How To: A Website Using Flash Cs4? 2009-09-08 13:49:03 Reply

ok, I see you're not somebody too code related, sorry for confusing you.
I do not use Flash IDE, the whole swfObject thing is generated automaticalyl for me, so that's nothing I worry about.

of course you can use the html file that is exported.
That's actually the purpose of it.
upload your flash and the html file and you are ready to go.
if you have no other welcoming page, change the html file's name to index.

btw: the html wrapper sucks, but use it, if the other thing is to complicated.

good luck

gorman2001
gorman2001
  • Member since: Aug. 18, 2002
  • Offline.
Forum Stats
Member
Level 14
Blank Slate
Response to How To: A Website Using Flash Cs4? 2009-09-08 21:56:54 Reply

use swfobject to embed the swf in your html. saves lots of trouble.

using css, make sure your containing div has 100% width and 100% height, same thing for the body tag.

in flash, use stage.scaleMode = StageScaleMode.NO_SCALE to manage yourself the positioning of your visuals, using the Event.RESIZE event.


website :: hugostonge.com
my job :: we+are

zrb
zrb
  • Member since: Aug. 8, 2006
  • Offline.
Forum Stats
Member
Level 11
Blank Slate
Response to How To: A Website Using Flash Cs4? 2009-09-08 22:11:45 Reply

Don't worry, you can make a Flash website.
Here's the percentage of people with Flash and what version they use.

I'm pretty sure that's what it means.

School Sux ! || As :Main || As3: Main || Animation: Main || Flash Tutorials ||

BBS Signature
bcapecci
bcapecci
  • Member since: Mar. 7, 2008
  • Offline.
Forum Stats
Member
Level 06
Blank Slate
Response to How To: A Website Using Flash Cs4? 2009-09-08 22:21:29 Reply

The best way to do is is simply by using dreamweaver. Adobe products do go together quite nicely...
I highly highly recommend you do not make a site completely in flash, things like search engines have no way to index your files. Moreover brower capibilities like make text larger often don't work.

Peace

nal1200
nal1200
  • Member since: Apr. 6, 2007
  • Offline.
Forum Stats
Member
Level 15
Musician
Response to How To: A Website Using Flash Cs4? 2009-09-09 14:02:22 Reply

At 9/8/09 10:21 PM, bcapecci wrote: The best way to do is is simply by using dreamweaver. Adobe products do go together quite nicely...
I highly highly recommend you do not make a site completely in flash, things like search engines have no way to index your files. Moreover brower capibilities like make text larger often don't work.

Peace

Well, the site would be primarily for aesthetic purposes only.

Though i'm considering more and more than a myspace account is sufficient (and free) so perhaps I don't need to create a site.