Flash Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsWeb DesignFlash Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old December 4th, 2003, 04:22 PM
CHornJr's Avatar
CHornJr CHornJr is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2002
Location: New York City
Posts: 236 CHornJr User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 1 h 50 m 19 sec
Reputation Power: 7
Send a message via AIM to CHornJr Send a message via MSN to CHornJr Send a message via Yahoo to CHornJr
Flash and XHTML Problem

My navigation links were made with flash. I like them, but the code my fried gave me to put them on my page does not validate with XHTML 1.1. I asked my friend if he could just make them into regular images (jpegm gif, png, whatever) but he is new to flash and can't seem to do it. SO i have two questions

1. Is there anyway I can make the code XHTML 1.1 compatible or
2. how can you take the images in a swf file and make them into seperate image files
Attached Files
File Type: txt flash.txt (7.9 KB, 632 views)
__________________
CHornJr
"One day I'll know what I am doing"
My Blog
Suanhacky Lodge #49
Rebel Squadrons

Reply With Quote
  #2  
Old December 4th, 2003, 09:12 PM
MadCowDzz's Avatar
MadCowDzz MadCowDzz is offline
I'm Internet Famous
Dev Articles Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2003
Location: Toronto, Canada
Posts: 2,890 MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Week 16 h 14 m 9 sec
Reputation Power: 8
I read a great article about this...
http://www.alistapart.com/articles/flashsatay/


CHeck this sample code:
Code:
<object
type="application/x-shockwave-flash" data="movie.swf" 
width="400" height="300">
<param name="movie" value="movie.swf" />
</object>	



Apparently this works in most browsers, except IE downloads the entire file before it plays (instead of streaming it)...

The workaround, dubbed the Satay Method, is making a flash movie within a flash movie... basically create a movie that calls the main one... a bonus to this is that if all the movies are the same proportions than you only need one 'container' movie.

As the article explains, the container movie simply has _root.loadMovie(_root.path,0); as the first frame... then call the container movie and pass it parameters through the path... like so:

Code:
<object
type="application/x-shockwave-flash" data="container.swf?path=movie.swf" 
width="400" height="300">
<param name="movie" value="container.swf?path=movie.swf" />
</object>	


Although i haven't tried the actual flash workaround, I'm positive it works... and I can ensure that the XHTML is 1.1 compliant.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsWeb DesignFlash Development > Flash and XHTML Problem


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
Stay green...Green IT