Current location: Hot Scripts Forums » General Web Coding » Flash & ActionScript » [SOLVED] Player compatibility problems.


[SOLVED] Player compatibility problems.

Reply
  #1 (permalink)  
Old 08-11-06, 11:38 AM
Nico's Avatar
Nico Nico is offline
Community Leader
 
Join Date: Sep 2005
Location: Spain
Posts: 8,075
Thanks: 11
Thanked 88 Times in 83 Posts
[SOLVED] Player compatibility problems.

Hi,

I changed some links in a flash movie, and since then doesn't it play in all players. I think I did something wrong when I exported it. I'd appreciate some help with this.

Here's the .fla file:
http://procoim.peniscola-properties....s/1/castle.fla

And here's the exported movie:
http://procoim.peniscola-properties....s/1/castle.swf

I think it's simple enough to play in all player versions. I guess I just did something wrong.


This is how I embed it btw, is that correct?
Code:
<object type="application/x-shockwave-flash" data="./images/<?= $lang; ?>/castle.swf" width="531" height="193">
<param name="movie" value="./images/<?= $lang; ?>/castle.swf" />
</object>
I don't know anything about flash...


Thanks.
Reply With Quote
  #2 (permalink)  
Old 08-12-06, 01:19 AM
Arctic Arctic is offline
Wannabe Coder
 
Join Date: Jul 2003
Location: BC, Canada
Posts: 120
Thanks: 0
Thanked 1 Time in 1 Post
If by "player" you mean browser, then embed your flash file with this code. Published right from flash so it will work.
Code:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="531" height="193" id="castle" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="castle.swf" /><param name="menu" value="false" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><embed src="castle.swf" menu="false" quality="high" bgcolor="#ffffff" width="531" height="193" name="castle" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
This was published in Flash 8...if you want it to be published in a lower version, just go File -> Publish Settings. Select the Flash tab and Version is at the top, just select which version you wish to publish the swf as. Also make sure HTML is checked in the Formats tab, this will just publish an html file with it, then you can just copy all the code between the <object></object> tags (including the object tags) and put that in your html document.
__________________
http://www.streamsearch.ca - Live stream search engine. Find radio stations to listen to and TV channels to watch!

http://www.machonemedia.ca - Mach One Media web development and media services.

Last edited by Arctic; 08-12-06 at 01:26 AM.
Reply With Quote
  #3 (permalink)  
Old 08-12-06, 02:57 AM
Nico's Avatar
Nico Nico is offline
Community Leader
 
Join Date: Sep 2005
Location: Spain
Posts: 8,075
Thanks: 11
Thanked 88 Times in 83 Posts
Thanks a lot. I changed the embedding method and exported the file for version 5 and it works fine now.

Appreciate the help.
Reply With Quote
  #4 (permalink)  
Old 08-12-06, 12:57 PM
Arctic Arctic is offline
Wannabe Coder
 
Join Date: Jul 2003
Location: BC, Canada
Posts: 120
Thanks: 0
Thanked 1 Time in 1 Post
glad to hear that
__________________
http://www.streamsearch.ca - Live stream search engine. Find radio stations to listen to and TV channels to watch!

http://www.machonemedia.ca - Mach One Media web development and media services.
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Browser compatibility problems zitwep CSS 11 07-26-06 03:08 PM
Flash and backwards compatibility jaxz Flash & ActionScript 2 06-03-06 09:20 AM
A mini music player on top page iKwak HTML/XHTML/XML 1 06-06-05 11:24 PM
Mozilla - Compatibility Problems GO4TF4CE JavaScript 0 10-07-04 08:58 AM


All times are GMT -5. The time now is 06:24 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.