Nov 21, 2009

Help! - Flash & Xhtml Traditional & Strict - As the title says

free web hosting
Open Discussion & Free Web Hosting > Computers & Tech > Designing > Web Design and HTML

Help! - Flash & Xhtml Traditional & Strict - As the title says

Levis
Hey guys,
I have not designed a website for over a year. My website is currently in constuction at http://geekfromtheforest.com/ Anyways i am able to code in strict and traditonal xhtml 1.0 but do not know how to properly code a flash object. So let see if someone can come up with a proper way to code a flash object.

This is what Macromedia recs but its dirty dirty and pointless and not valid! lol

CODE

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="794" height="128" title="Geek From the Forest">
    <param name="movie" value="/flash/logo/logo.swf" />
    <param name="quality" value="high" />
    <embed src="/flash/logo/logo.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="794" height="128"></embed>
</object>


Does anyone have any ideas how to get around this?

[

 

 

 


Comment/Reply (w/o sign-up)

Quatrux
Well, I can give you an example of valid xhtml strict code for the object tag and you just need to learn from it and use yours.

CODE

<object type="application/x-shockwave-flash" data="images/banner.swf" width="288" height="128">
<param name="movie" value="images/banner.swf" />
<img src="banner.gif" width="288" height="128" alt="banner" />
</object>


This code is 100% valid, I don't really know why your code doesn't validate, but think the validator parsed you the error message what wasn't valid, I didn't check, but it might have to do something with embed tag. And moreover, there isn't such thing as traditional html/xhtml, I think you mistaken it with Transitional. wink.gif

Comment/Reply (w/o sign-up)

borlafu
I don't know it for sure, but I think that the <embed/> tag is not valid in any xhtml.


EDIT:

Actualy, take a look to the results of your code al the W3C Validator:

CODE
<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <title>Test</title>
  </head>

  <body>
<p>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="794" height="128" title="Geek From the Forest">
    <param name="movie" value="/flash/logo/logo.swf" />
    <param name="quality" value="high" />
    <embed src="/flash/logo/logo.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="794" height="128"></embed>
</object>
</p>
</body>
</html>


Input that here: http://validator.w3.org/

There you can see where errors occur.

 

 

 


Comment/Reply (w/o sign-up)

Hercco
Yes embed is the issue. It's deprecated in XHTML and you should use <object> instead. For syntax check Quatrux's post.

Comment/Reply (w/o sign-up)

Levis
QUOTE(Quatrux @ Dec 22 2006, 08:12 AM) *

Well, I can give you an example of valid xhtml strict code for the object tag and you just need to learn from it and use yours.

CODE

<object type="application/x-shockwave-flash" data="images/banner.swf" width="288" height="128">
<param name="movie" value="images/banner.swf" />
<img src="banner.gif" width="288" height="128" alt="banner" />
</object>


This code is 100% valid, I don't really know why your code doesn't validate, but think the validator parsed you the error message what wasn't valid, I didn't check, but it might have to do something with embed tag. And moreover, there isn't such thing as traditional html/xhtml, I think you mistaken it with Transitional. wink.gif



Ya, i was just really tired from studying and made that mistakes. Thanks for the code, i tried something like that but it didn't work for some reason. I see a few differences.

Comment/Reply (w/o sign-up)

FirefoxRocks
Actually, the <object...> element only works in Firefox/Mozilla/Netscape/SeaMonkey (you get the idea) I think. I don't think it works in Internet Explorer.

<embed...> wasn't a HTML tag at all. I think Microsoft invented it to popularize Flash and Internet Explorer.

I don't know how to get it to work in both sets of browsers. I know that it is possible, someone from SpreadFirefox has shown me this before. It involves a comment tag that is something LIKE this:

<!--if [IE

I don't know if it is that for sure but it was something similar. That way it was still valid XHTML strict.

Hope you figure it out soon.

Comment/Reply (w/o sign-up)

Levis
Well it works perfectly in Firefox and IE 7 and the code is valid by W3C standards. Thanks guys.

Comment/Reply (w/o sign-up)

Quatrux
QUOTE(FirefoxRocks @ Dec 23 2006, 03:14 AM) *

Actually, the <object...> element only works in Firefox/Mozilla/Netscape/SeaMonkey (you get the idea) I think. I don't think it works in Internet Explorer.

<embed...> wasn't a HTML tag at all. I think Microsoft invented it to popularize Flash and Internet Explorer.


Actually not Microsoft, but Netscape, due to the embed element was created by Netscape as their method of embedding plug ins and players in web pages, it is not part of the XHTML specification, and while some browsers other than Netscape support it, it is not standards-compliant, so it is out, it has nothing to do with IE, but eventually, IE cause a lot of problems too if you want that it would work in different browsers.

Here is a good post on how to do it with different methods, so you can choose the best one, but the method with javascript - remember, some people might have it off, there is also an example of Flash Satay code in that article, here is the link: http://blog.deconcept.com/swfobject/

Comment/Reply (w/o sign-up)


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)

Similar Topics

Keywords : , flash, and, xhtml, traditional, and, strict, title

  1. Good Book For Learning Xhtml & Css
    (2)
  2. Xhtml Js Loading.
    (6)
    CODE As Xhtml 1.1, the resize of body, and onload of img are the only errors. How could
    I do this? All I could think was the onload at the end of the page, but as the image is 1.5mb, I
    doubt this will work for most people. Btw, the empty src is correct, if you're intrested its the
    RS world map.....
  3. Xhtml, Javascript, Css And Frames.
    (0)
    Hello, I am building a form where a user selections several options (it uses javascript to modify
    checkbox values based on other selections). At the end I need to re-generate html code based on the
    selected form values, I don't particularly care what way it's done (although my site is
    XHTML 1.0 Transitional), but I need it to update on the fly as they change options. The HTML code
    is Google AdSense code, and I am trying to build my own from to generate all the different ad types
    and generate the code (it's not just for me). What kind of options do I have?....
  4. Searching For Alternate Flash Image Viewer
    Tired of using default viewer, would like to find something new... (2)
    Hello everyone! I am posting regarding Dreamweaver extensions... I have been using the Flash Image
    Viewer, the default viewer of Dreamweaver, and I would LOVE to have a change of pace. I don't
    really do too much with Flash at the moment... I would also like to play around with Flash and
    applications a lot more in the future. I just don't see it being too near. I have looked
    around many professional sites, and have seen many different types. I have seen images that place
    previous, play/pause, and next buttons on corners of the panel... and they loop at pre....
  5. Can I Make A Webpage With Javascript
    title kinda says it all (9)
    ok, i plan to make a game, and i was wondering if i can make my webpage in javascript, i just
    started learning it for this massive enderour i plan to over take, and i wanted to know if it was
    possible lol. im also learning php and mysql. Thanks, Zemon1....
  6. Help With Java Applet
    With XHTML 1.1/XHTML 1.0 Strict! (8)
    I have a Java Applet for a chat room that is using the tag. It looks like it was from HTML 3.2 but
    I am using XHTML 1.1 (application/xhtml+xml), so I have to use the element. For now I have forced
    that page to load as XHTML 1.0 Transitional in text/html MIME type because I don't know how to
    fix the problem. I have tried many suggestions from many sites but they don't work in Firefox,
    Internet Explorer or Opera (some of them are IE-only but they still don't work in IE). Is there
    any way that the element can be implemented with cross-browser compatibili....
  7. Mixing XHTML 1.1 And iFrame
    Or how to get around using iframes for a nifty AJAX trick (10)
    Okay, first of all, I let me explain what I want to know. XHTML 1.1 does not include the IFrame
    Module, which means putting an iframe into an XHTML 1.1 page will cause errors in validation. Now,
    I know from the Modularization of XHTML Specification that it is possible to create a DTD that
    contains all of the modules of XHTML 1.1 as well as the IFrame module. However, after reading
    through said specification, I am unsure of exactly how to go about a) writing a DTD like that and
    /cool.gif" style="vertical-align:middle" emoid="B)" border="0" alt="cool.gif" /> using a DTD....
  8. 1 Joomla Skin For Flash Animated Portals: Mbt_macro_blue
    a genius link of macroblue theme for mambo & joomla to insert flas (0)
    download joomla portal soulware in this link:
    http://developer.joomla.org/sf/frs/do/list..._8_spanish_hack (this host is great to work whit
    this systems content managers) then download and install the next macrobulue theme in your ftp
    directory (i recomend for fast installations www.web2ftp.com), the mbt_macro_blue is a template
    designes whit flash to perform ure movement animations... download here:
    http://www.joomlaos.de/option,com_remosito...7bc9781a49.html and for get ideas and logos, please
    visit www.flashkit.com reggards. /wub.gif" style="vertical-ali....
  9. What Exactly Is XHTML?
    need help (5)
    i am a regular visitor to http://www.oswd.org , and an enthusiast in learning in css. but i do nto
    know the meaning of XHTML, XHTML Transitional and how to test a site for its design consistency and
    functionability in browsers... i request help in the above topics, thank you.....
  10. Need Help / Ideas With My Website Makeover
    in flash? (5)
    Good evening, i have heard at the 'site review' part of the forum that my site would be
    better if i made just one red box, and place my links to the other pages on my site at the top. So,
    i tought, maybe i could make a header, in flash orso? Does someone know a good program and/or
    tutorial to learn how to make one? Thanks, Michiel....
  11. Free Flash Chat Room
    (11)
    free flash chat room i need a customizable free flash chat room and live support system using
    PHP technology for low-bandwidth performance.....
  12. Flash Mx Actionscript And Components
    This topic is about Flash MX (0)
    Hello. I'm Matt Helm. I created last year a very good website. It is http://www.mattop.net/
    . Recently, and although my site is about web design, I have create a semi flash operating system.
    Using Flash components from TuFAT.com, I have create cool looking XP windows and other thing. Try
    it out. It's really cool! Also, if you have a website, you can sign up for affilites at tufat
    and advertise them on your site. Then, you can get the components for free. Enjoy. I really love
    them. They work great. Going back to my site, I design websites for people.....
  13. How To Create A 3d Sphere Panoramic View?
    Help Flash or Applet or anything... (2)
    Have it occured to realize some virtual guide for place to include into a website? I wand to know
    how can I create a 3D sphere panoramic view animation, using Flash / Java Applet/anything..? Lets
    say i put a camera in the middle of a room and the visitor can navigate inside the room and look
    into any direction: see at the left where a paint is hanged, or right where the window stands, and
    see the candels hanging in the celing, or the wooden floor.. I hope you got the idea.. Are there
    software doing this, lets say if have the pics, can a soft create such effects? Ano....
  14. Xhtml Is Not Suppose To Be Text/html
    IE not planning to support XHTML yet (8)
    I am quite disappointed in IE's development as with keeping up but still if they feel they need
    to fully work on current things that they have already attempted to resolve and perfect then that is
    a good thing, but development should have never got so messy and only the developer would know that
    it's his fault and not MS's. This isn't to bad mouth IE, but it's so sad to know
    that even after 5 years or more of IE6, IE7 has no intention of supporting XHTML and I don't
    think I can wait for IE8 if development takes such a long time. They should also....
  15. Free Shoutbox? HTML, Flash or PHP Code
    (25)
    does anyone know where i can find a free shoubox thats customisable? it can be in html, php or flash
    format. thanks in advance paul....
  16. Flash Music Player On Website
    (2)
    hi you guys. i'm looking for a way to create a flash based music player where it automatially
    plays a song and you can skip to other songs, adjust the volume and start and stop it etc. anyone
    know where i can find this info. i would like to create it myself like using swish or macromedia
    flash not use a template as i want it to look like my website. thanks in advance!!....
  17. Styling Xhtml
    Making a practical use of XHTML and CSS (0)
    FIRST PART HTML was created with the intention of exposing information , this way under the
    original design approach the content was the most important aspect ; but in a very short time
    things changed drastically , HTML became wildly popular and quickly increased its original purpose,
    so there has been rapid creation of new elements to adapt HTML to the market's more
    sophisticated needs and the surplus of those new elements has led to interoperability problems
    across diverse platforms. To help solve those problems arrived XHTML , which is a much more accessi....
  18. Understanding Xhtml
    A practical introduction to XHTML (8)
    A lot have been said about the convenience of using XHTML instead of the well known HTML for the
    development of web pages and often it is not used since it is believed it’s too complicated to
    learn the new language and that it wouldn’t be worth the time and effort. It seems to me that the
    observation mentioned above is mistaken and I believe that it is worth to try to demonstrate that
    it is all the opposite , but not so much with the theoretical argumentation but rather with a
    practical approach covering diverse aspects of the process of developing web pages. Fir....
  19. Flash Movie Loading.
    Not the "loading movie" :) (3)
    Hello /smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /> I have
    got a little question about loading the flash movie on the website. In fact I made my website and
    have inserted some flash movies on the main page. My flash movies are about 80KB. And while the
    movie is loading it is white, but my website's background colour is black. So the question
    would be: Is it possible to keep the movie BLACK while it's loading to the webpage, without
    creating this "loading..." thing ? Eh... I hope you understand what I mean /rolleyes.gif" ....
  20. Compatibility Issues
    php, xhtml, css and the like... (3)
    I'm a big fan of being absolutely compatible, I still design my sites so you can view them at
    640x480 screen resolution (and get laughed at because of so), and since I've been on the board
    for some time I find that my coding ideals are somewhat outdated. I still have the impression not
    all browsers can read CSS, so I still design my pages with html tables and even though I have an
    external CSS stylesheet, I still use tags like , that basically repeat my CSS, but ensure that
    browsers without CSS can see my website. Problem is, am I doing something really stupid?....
  21. How Do You Put Flash Into Your Site?
    Help plz... (7)
    Hi, im makin a games site for Tasty Relish Forum. (go here to join and help fill this forum!!!)
    how do I embedd flash games?....
  22. Flash Pic Problems
    Pics Display at Low Resoution (7)
    Posted this in another section but this could apply here too. Can anyone help me with this problem
    I seem to be having with flash?? I know this is probably some stupid little setting somewhere I have
    to tweak but I can't find it. I'm trying to put a picture into flash on the canvas. I have a
    seperate layer for it. Nothing else is on the layer. Properties for the picture is set at 100 %
    quality. My publish settings are set at 100% quality for Jpegs and I've tried every setting I
    can find but the picture keeps displaying at a low resolution when I preview my m....
  23. Html W/ Embedded Flash
    How do I get rid of borders?? (9)
    Hey if any of you HTML wizzes out there could help me - I would greatly appreciate it. I am
    designing some web site stuff with flash only. I know I know I should be using dreamweaver or
    something else in addition - which I don't have access to on my computer here at work. When I
    publish my files I can't get rid of the border around my swf file when I view it in a browser.
    Is there any way to get rid of this $#%$ed border?? I have tried all the options I can find in
    flash to no avail. I'm thinking there probably is some simple HTML code to get rid of the....
  24. Flash Buttons.. Please Help!
    getting flash buttons to open in frame (3)
    Hello, I am looking for some help with some flash buttons I made in flash mx 2004. I had made
    these link buttons for a livegate.net site I had going, until they shut down, and now I can not get
    the buttons to open in the desired main frame. I reopened the flash file and redirected the urls
    to an angeltowns.com and a freewebs.com site, and neither of them would open up in the main frame,
    they popped up in new windows. Is it possible that these sites won't allow it open, or is it
    something I am doing wrong? I am allowed to open it _self, _parent, _blank and _top, b....
  25. full flash sites
    good or bad? (60)
    what do you think of flash sites that load forever /biggrin.gif" style="vertical-align:middle"
    emoid=":D" border="0" alt="biggrin.gif" />....
  26. XHTML
    (0)
    XHTML is a combination of HTML and XML (eXtensible Markup Language). XHTML consists of all the
    elements in HTML 4.01 combined with the syntax of XML. Before you continue you should have a basic
    understanding of the following: ~HTML and the basics of building Web pages ~The basics of XML
    -Check out this great site:-- http://www.w3schools.com/xhtml/ ....
  27. Creating Cool Web Sites with HTML, XHTML and CSS
    (0)
    Whether you're building a sophisticated commercial Web site or just creating an online spot to
    call home, good Web site development is about a lot more than just HTML nowadays, and Creating Cool
    Web Sites spends lots of time exploring the nuances of xhtml and Cascading Style Sheets in a way
    you're sure to understand. Incorporating the best of Creating Cool HTML 4.0 Web Pages and
    Dynamic HTML Weekend Crash Course, this book adds tons of critical new and updated information on
    xhtml, CSS, JavaScript, page validation, weblogs and weblog tools, optimal search engine ....
  28. flash mx
    (0)
    http://download.avaxhome.ru/~avaxhome/down...0MX%20Savvy.pdf ....
  29. The best editor ever!!
    The title sais it all. (14)
    I just really wanted to recomand a great editor called WebPage Maker. It is so easy to use. You need
    no html knowlege. Simply drag and drop objects onto the page and position them freely in the layout.
    It comes with several pre-designed templates that help you to get started. It also includes
    ready-to-use navigation bars that can be inserted into the page. Additional features include
    built-in color picker, Java script library, image library and built-in FTP client. The really greate
    thing about it is that you can hide all sort of comersials stuff by simply adding somethi....

    1. Looking for , flash, and, xhtml, traditional, and, strict, title

See Also,

*SIMILAR VIDEOS*
Searching Video's for , flash, and, xhtml, traditional, and, strict, title
Similar
Good Book For Learning Xhtml & Css
Xhtml Js Loading.
Xhtml, Javascript, Css And Frames.
Searching For Alternate Flash Image Viewer - Tired of using default viewer, would like to find something new...
Can I Make A Webpage With Javascript - title kinda says it all
Help With Java Applet - With XHTML 1.1/XHTML 1.0 Strict!
Mixing XHTML 1.1 And iFrame - Or how to get around using iframes for a nifty AJAX trick
1 Joomla Skin For Flash Animated Portals: Mbt_macro_blue - a genius link of macroblue theme for mambo & joomla to insert flas
What Exactly Is XHTML? - need help
Need Help / Ideas With My Website Makeover - in flash?
Free Flash Chat Room
Flash Mx Actionscript And Components - This topic is about Flash MX
How To Create A 3d Sphere Panoramic View? - Help Flash or Applet or anything...
Xhtml Is Not Suppose To Be Text/html - IE not planning to support XHTML yet
Free Shoutbox? HTML, Flash or PHP Code
Flash Music Player On Website
Styling Xhtml - Making a practical use of XHTML and CSS
Understanding Xhtml - A practical introduction to XHTML
Flash Movie Loading. - Not the "loading movie" :)
Compatibility Issues - php, xhtml, css and the like...
How Do You Put Flash Into Your Site? - Help plz...
Flash Pic Problems - Pics Display at Low Resoution
Html W/ Embedded Flash - How do I get rid of borders??
Flash Buttons.. Please Help! - getting flash buttons to open in frame
full flash sites - good or bad?
XHTML
Creating Cool Web Sites with HTML, XHTML and CSS
flash mx
The best editor ever!! - The title sais it all.
advertisement



Help! - Flash & Xhtml Traditional & Strict - As the title says

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com