Go Back   CodingForums.com > :: Client side development > Flash & ActionScript

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rating: Thread Rating: 2 votes, 4.00 average.
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 03-03-2005, 01:09 PM   PM User | #1
sweenster
Regular Coder

 
Join Date: Sep 2002
Location: Scotland
Posts: 407
Thanks: 0
Thanked 0 Times in 0 Posts
sweenster is an unknown quantity at this point
No Flash on Firefox?

Someone has just sent me a flash movie to my hotmail account so naturally it opened automatically in IE for me to watch.

http://www3.ns.sympatico.ca/lyle_24/myhero.html

Problem is I tried copying and pasting this URL into firefox later and it wouldn't display. I viewed the source code and it all seems to be in order. Do you think this is a bug with firefox or is it just bad code that I cant see?
__________________
My body's a temple... and like those ancient Greek ones it's a ruin
sweenster.co.uk
sweenster is offline   Reply With Quote
Old 03-03-2005, 01:14 PM   PM User | #2
evo
waka Ionsurge


 
Join Date: Feb 2005
Location: United Kingdom
Posts: 882
Thanks: 5
Thanked 12 Times in 12 Posts
evo is an unknown quantity at this point
It's not a bug, just the wrong way to code. The file doesn't display in Opera either.


evo is offline   Reply With Quote
Old 03-03-2005, 08:01 PM   PM User | #3
joh6nn
wei wu wei


 
joh6nn's Avatar
 
Join Date: Jun 2002
Location: 72° W. 48' 57" , 41° N. 32' 04"
Posts: 1,887
Thanks: 0
Thanked 1 Time in 1 Post
joh6nn is an unknown quantity at this point
yeah, it's been a while since i've used it, but i think the embed tag only works in IE now; i'm pretty sure Moz/FireFox and Opera dropped it, since it was never a part of the standard. the object tag is the alternative to embed, and is a part of the accepted standards. if you copy and paste the url of the flash file into firefox, it plays just fine.

for the record, Gary's American (from Jersey, i think), and the song is Romanian. where they got "fat dutch kid" from, i have no idea.
__________________
bluemood | devedge | devmo | MS Dev Library | WebMonkey | the Guide

i am a loser geek, crazy with an evil streak,
yes i do believe there is a violent thing inside of me.
joh6nn is offline   Reply With Quote
Old 03-03-2005, 11:59 PM   PM User | #4
sweenster
Regular Coder

 
Join Date: Sep 2002
Location: Scotland
Posts: 407
Thanks: 0
Thanked 0 Times in 0 Posts
sweenster is an unknown quantity at this point
Quote:
Originally Posted by joh6nn
for the record, Gary's American (from Jersey, i think), and the song is Romanian. where they got "fat dutch kid" from, i have no idea.
the guy is also the spitting image of someone I work with. Work was quite amusing today for some reason....
__________________
My body's a temple... and like those ancient Greek ones it's a ruin
sweenster.co.uk
sweenster is offline   Reply With Quote
Old 03-04-2005, 12:08 AM   PM User | #5
_Aerospace_Eng_
Supreme Master coder!


 
_Aerospace_Eng_'s Avatar
 
Join Date: Dec 2004
Location: In a place far, far away...
Posts: 19,292
Thanks: 2
Thanked 1,044 Times in 1,020 Posts
_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light
no FF still can use the embed tag, but this would be the up to standards crossbrowser way of coding it
Code:
<object type="application/x-shockwave" data="myhero.swf" width="600" height="400">
            <param name="movie" value="myhero.swf">
            <param name="quality" value="high">
            </object>
and the reason it didn't work in FF or any other browser that doesn't support the macromedia way of embedding flash using the object, was because the embed tag was trying to call a totally different flash file that doesn't exist

Last edited by liorean; 03-04-2005 at 12:15 AM.. Reason: date --> data
_Aerospace_Eng_ is offline   Reply With Quote
Old 03-04-2005, 01:20 AM   PM User | #6
jkd
Senior Coder

 
jkd's Avatar
 
Join Date: May 2002
Location: metro DC
Posts: 3,163
Thanks: 1
Thanked 18 Times in 18 Posts
jkd will become famous soon enough
For now, you can just view it directly:
http://www3.ns.sympatico.ca/lyle_24/myhero.swf

Works for me.
__________________
jasonkarldavis.com
jkd is offline   Reply With Quote
Old 02-09-2008, 01:21 PM   PM User | #7
outseeker
Regular Coder

 
Join Date: Feb 2008
Location: Australia baby!
Posts: 143
Thanks: 6
Thanked 3 Times in 3 Posts
outseeker has a little shameless behaviour in the past
Thumbs up Just found some kickass code!!

Code:
<object
        type="application/x-shockwave-flash"
        data="http://www.macromedia.com/shockwave/download/triggerpages/flash.swf"
        width="300"
        height="120">
    <param
        name="movie"
        value="http://www.macromedia.com/shockwave/download/triggerpages/flash.swf" />
</object>
This code came from http://www.html4.com/mime/markup/php...ternates_3.php

If you view their website (the above address) you can see this code in action at the very bottom of the page. Notice it will display in both Internet Explorer and FireFox! I cut and pasted the code to a blank document and opened it in both IE and FF, they both work fine and I've now implemented the code on my website. I recommend you do the same to save your poor brain.

It passes validator.w3.org standards too! ENJOY!
__________________
outseeker - http://outer.reaches.dyndns.org/index.php
I hope this helped someone. Due to this forums lame rep system penalising me for nothing, and admins inability to do anything about it, I'm sorry to say I will no longer be online here. Pride is important. Good Luck All.
outseeker is offline   Reply With Quote
Old 02-10-2008, 06:13 AM   PM User | #8
outseeker
Regular Coder

 
Join Date: Feb 2008
Location: Australia baby!
Posts: 143
Thanks: 6
Thanked 3 Times in 3 Posts
outseeker has a little shameless behaviour in the past
A quick note on the above code, it seems if you use it to embed a flash object that is quite large in KB and has a "loading ..." screen, you will not see anything in the area you have embedded until the file is finished downloading. No problem for smaller flash apps, or ad's but this code actually was not suitable for me as my .swf files are several megs each

Hope it came in useful for someone tho, it's a good piecea cross-browser compatible embed code. Not using the <embed> tag too I reckon is elite, wish I could work out the preload prob.. Don't suppose anyone knows of a param you can pass in the embed to enable preloader..? Then this code would be perfect
__________________
outseeker - http://outer.reaches.dyndns.org/index.php
I hope this helped someone. Due to this forums lame rep system penalising me for nothing, and admins inability to do anything about it, I'm sorry to say I will no longer be online here. Pride is important. Good Luck All.
outseeker is offline   Reply With Quote
Old 02-10-2008, 08:53 AM   PM User | #9
StupidRalph
Senior Coder

 
Join Date: Mar 2003
Location: Atlanta
Posts: 1,037
Thanks: 14
Thanked 30 Times in 28 Posts
StupidRalph is on a distinguished road
Try using UFO or SWFObject.
__________________
Most of my questions/posts are fairly straightforward and simple. I post long verbose messages in an attempt to be thorough.
StupidRalph is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 01:24 PM.


Advertisement
Log in to turn off these ads.