Jump to content

Pros and Cons of Flash

Should you use flash on your website?

  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • This topic is locked

Pros and Cons of Flash Should you use flash on your website? Rate Topic: -----

#21 User is offline   temhawk 

  • W.R. Private First-Class
  • Group: Members
  • Posts: 322
  • Joined: 30-August 07
  • Gender:Male
  • Interests:travel, cg art, macs, music, skateboarding, programming, discovery channel, TextMate 2

Posted 28 February 2008 - 10:19 AM

Yeah, let me congratulate you as well. It's very nice, I might be getting back to you about this some day if that's ok! :)
0

#22 User is offline   haku 

  • 日本語 Ninja
  • Group: Members
  • Posts: 652
  • Joined: 21-September 07
  • Gender:Male
  • Location:Yokohama, Japan

Posted 28 February 2008 - 11:05 AM

No worries! I'll post the code I used here so that you can refer back whenever you want:

First, here is the xhtml I used in the body of my document:

<div id="flashcontent"></div>


Which I styled with this CSS to simulate a basic menu item:

#flashcontent
{
	background: url(no_flash_up.png) no-repeat 0 0;
	width: 463px;
	height: 102px;
}
#flashcontent:hover
{
	background: url(no_flash_down.png) no-repeat 0 0;
}


In the head of the document, I linked to SWFObject.js:

<script type="text/javascript" src="SWFObject.js"></script>


And at the very bottom of swfobject.js, I added this java script:

window.onload = function()
{
	var so = new SWFObject("with_flash.swf", "flashcontent", "463", "103", "8", "#FFFFFF");
	so.write("flashcontent");
}


As far as I can tell, any elements can be set inside the div that I named flashcontent. It is replaced using innerHTML, which is a javascript command that basically overwrites anything that is between the div tags. So you can code your whole menu into there if you want.
<a href="http://www.jaypan.com" target="_blank">Jaypan</a>
<a href="http://www.dudes-japan.com" target="_blank">Dudes Japan</a>
0

#23 User is offline   graham08 

  • W.R. Private
  • Group: Members
  • Posts: 28
  • Joined: 12-February 08
  • Location:UK

Posted 28 February 2008 - 11:13 AM

I think what we're all waiting for is flash that can be read by search engines so we can got absolutely nuts with it. So that means either Adobe sorting something out with flash (not too likely) or google refining the way it reads flash or object elements (possible). Lets hope it happens sometime soon :)
0

#24 User is offline   haku 

  • 日本語 Ninja
  • Group: Members
  • Posts: 652
  • Joined: 21-September 07
  • Gender:Male
  • Location:Yokohama, Japan

Posted 28 February 2008 - 11:29 AM

Someone earlier in this thread said that google can index the text in flash now (if its done right). That will definitely be a big change once people start doing it more.
<a href="http://www.jaypan.com" target="_blank">Jaypan</a>
<a href="http://www.dudes-japan.com" target="_blank">Dudes Japan</a>
0

#25 User is offline   temhawk 

  • W.R. Private First-Class
  • Group: Members
  • Posts: 322
  • Joined: 30-August 07
  • Gender:Male
  • Interests:travel, cg art, macs, music, skateboarding, programming, discovery channel, TextMate 2

Posted 28 February 2008 - 04:02 PM

Great...

And I thank you for explaining the work you did. I did take a quick look at it before but the JavaScript file was too big!

But it turns out it's not that much, I had thought that you wrote the SWFObject.js thing :blink:
0

#26 User is offline   haku 

  • 日本語 Ninja
  • Group: Members
  • Posts: 652
  • Joined: 21-September 07
  • Gender:Male
  • Location:Yokohama, Japan

Posted 28 February 2008 - 06:29 PM

No no, I can't take credit for that!!!
<a href="http://www.jaypan.com" target="_blank">Jaypan</a>
<a href="http://www.dudes-japan.com" target="_blank">Dudes Japan</a>
0

#27 User is offline   dyamni 

  • W.R. Private
  • Group: Members
  • Posts: 6
  • Joined: 26-July 08

Posted 26 July 2008 - 03:55 AM

and what they regard most important is:

a) quality of content

B) ease of navigation, and

c) speed.
0

Share this topic:


  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • This topic is locked

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users