Flash & W3C Validation
- Started
- Last post
- 12 Responses
- ********
I've got a site that is valid XHTML until I drop in some flash elements, at which point it fails on several points at W3C - the parts that embed the flash:
http://www.abchurch-group.com/19…
How do I embed Flash so it validates? NT manages it, and I can't figure it out, being a bit new to Flash...
Here's the W3C link:
http://validator.w3.org/check?ur…Thanks.
- cucharadepalo0
Check this:
http://www.alistapart.com/articl…
- ********0
hmm. ok.
I'm a bit lost as to what goes in my container movie...
- ********0
_root.loadMovie(_root.path,0);
c.swf?path=logo.swf
_root.loadMovie("movie.swf",0);?
Do I need any tags or something round that AS?
*clueless
- ********0
http://www.abchurch-group.com/19…
Hmm. Don't work in IE. Works in NS...
- ********0
Ahh. Got it. I was being dumb.
Everyone - stop panicking.
- tGP0
moth.
you need to have 2 flash files, one which acts as a container, one which is your actual movie...
so make a blank swf, the same dimensions as the movie you wish to display... call it c.swf (for 'container')...
there need not be anything in this swf but the following code, in the first frame:
+++++++++++++++++++
_root.loadMovie(_root.path,0);
+++++++++++++++++++What this AS is doing is loading a movie, and it is receiving the 'path' variable from within the following html markup...
place this markup your html:
+++++++++++++++++++
+++++++++++++++++++
Its a bit ong-winded to get the job done, but it works...
peace
j
- tGP0
moth.
you need to have 2 flash files, one which acts as a container, one which is your actual movie...
so make a blank swf, the same dimensions as the movie you wish to display... call it c.swf (for 'container')...
there need not be anything in this swf but the following code, in the first frame:
+++++++++++++++++++
_root.loadMovie(_root.path,0);
+++++++++++++++++++What this AS is doing is loading a movie, and it is receiving the 'path' variable from within the following html markup...
place this markup your html:
+++++++++++++++++++
+++++++++++++++++++
Its a bit ong-winded to get the job done, but it works...
peace
j
- ********0
Yeah I fixed it. Thanks.
I got my paths wrong to begin with.. DOH!
- tGP0
moth.
you need to have 2 flash files, one which acts as a container, one which is your actual movie...
so make a blank swf, the same dimensions as the movie you wish to display... call it c.swf (for 'container')...
there need not be anything in this swf but the following code, in the first frame:
+++++++++++++++++++
_root.loadMovie(_root.path,0);
+++++++++++++++++++What this AS is doing is loading a movie, and it is receiving the 'path' variable from within the following html markup...
place this markup your html:
+++++++++++++++++++
+++++++++++++++++++
Its a bit ong-winded to get the job done, but it works...
peace
j
- tGP0
whoa. sorry about all that double-post action...i just hit back and it resent a few times...
j
- runDMB0
Moth, if you do use the flash satay method, beware of it's shortcomings.
There are 27 pages of discussion about that method on A List Apart and a number of drawbacks are mentioned. It's worth checking to make sure it'll work for you.
- UndoUndo0
nice....