real_illusions Posted January 5, 2006 Share Posted January 5, 2006 when a user clicks on your website link, it can detect whether the user has flash installed or not, and directs the user to a non-flash site. But, is there a way to build just one site, with the flash, and if the user hasn't got flash, it uses an alternate image where the flash is.i've seen javascript and php scripts that detect what browser people are using, but i haven't explored into them..so..i'm guessing this is something similiar except its detecting something else thats client side.the reason i post here, because i dont know what scripting, i need. Link to comment Share on other sites More sharing options...
F-Man Posted January 5, 2006 Share Posted January 5, 2006 Just regular HTML.Something like this: <object data="site.swf" type="application/x-shockwave-flash" width="600" height="400"> <param name="movie" value="site.swf" /> Alternate content goes here.</object> Link to comment Share on other sites More sharing options...
real_illusions Posted January 5, 2006 Author Share Posted January 5, 2006 didn't workit simply put the content below the flash Link to comment Share on other sites More sharing options...
F-Man Posted January 5, 2006 Share Posted January 5, 2006 Hm, I put tons of attributes that Macromedia recommends but seeing as how IE and Fx seemed to have problems with them, I edited my post and removed them. Have you tried the code exactly as it is right now in my post? Because this is working great for me. Link to comment Share on other sites More sharing options...
real_illusions Posted January 5, 2006 Author Share Posted January 5, 2006 i kinda need some of the attributes that macromedia puts in. such as transparency. Link to comment Share on other sites More sharing options...
Skemcin Posted January 5, 2006 Share Posted January 5, 2006 <object . . . wmode="transparent"> Link to comment Share on other sites More sharing options...
real_illusions Posted January 5, 2006 Author Share Posted January 5, 2006 copied the code above, and added in wmode="transparent" and it didn't work, no flash, no images or anything.. Link to comment Share on other sites More sharing options...
F-Man Posted January 5, 2006 Share Posted January 5, 2006 Here's the correct full code (using wmode as an attribute works in Fx but is invalid and doesn't seem to work in IE). <object data="site.swf" type="application/x-shockwave-flash" width="600" height="400"><param name="movie" value="site.swf" /><param name="wmode" value="transparent" />Alternate content goes here.</object> Make sure your flash is called site.swf or change both the values of the data and the first param to match with your flash file. If it still doesn't work, post what browser and version you are using. Link to comment Share on other sites More sharing options...
real_illusions Posted January 6, 2006 Author Share Posted January 6, 2006 thanksit works now:)and the transparency seems to work in IE Link to comment Share on other sites More sharing options...
F-Man Posted January 6, 2006 Share Posted January 6, 2006 thanksit works now:)and the transparency seems to work in IE<{POST_SNAPBACK}> No problem.Also that's because I set it as an object parameter, and not as an attribute. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now