Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Problem embedding Flash in a web page
Old 04-06-2009, 12:55 PM Problem embedding Flash in a web page
Experienced Talker

Posts: 40
Name: Josh
Trades: 0
Here's the page:

http://joshcanhelp.com/test/sdmc

You can look at the Flash object without the HTML and you can load a different Flash object with the HTML that is there but put these to together and it's no dice, nothing shows.

Any ideas? Thank you!
joshcanhelp is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 04-06-2009, 01:18 PM Re: Problem embedding Flash in a web page
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Did you try reading the stickies ?
http://www.webmaster-talk.com/html-f...audio-web.html
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 04-06-2009, 01:31 PM Re: Problem embedding Flash in a web page
Experienced Talker

Posts: 40
Name: Josh
Trades: 0
Yes... I tried the very basic part of the "Flash Satay" method with no luck. I'm trying to avoid javascript if at all possible. I know there are better ways to do this but this works with other Flash objects and now it isn't. I'm trying to figure out if there is a problem with the Flash or something else.

There are MAJOR problems with the site I took over so validity and method elegance, while important to me, takes a back seat to getting the site working.
joshcanhelp is offline
Reply With Quote
View Public Profile
 
Old 04-06-2009, 01:36 PM Re: Problem embedding Flash in a web page
deepakmorris's Avatar
Junior Talker

Posts: 4
Name: Deepak Morris
Location: Pune, india
Trades: 0
I took a look at the source code and there seem to be some redundant forward slashes (/). Firefox shows these in red, which I take to be indicative that they are not required or wrongly used.

I don't really know if this IS the problem; I use html on the fly (whenever I face a problem with html, I look it up on the net). Perhaps you could open the .htm file in notepad, remove the / and see if it works.

This is an intriguing problem and I'll see if I can figure out the cause in a couple of days.

Deepak
__________________
"What would you do if you weren't afraid?"

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
deepakmorris is offline
Reply With Quote
View Public Profile Visit deepakmorris's homepage!
 
Old 04-06-2009, 01:39 PM Re: Problem embedding Flash in a web page
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Quote:
Perhaps you could open the .htm file in notepad, remove the / and see if it works.
He's using an XHTML doctype, the closing / is REQUIRED in that doctype because ALL tags MUST be closed.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 04-06-2009, 01:53 PM Re: Problem embedding Flash in a web page
Experienced Talker

Posts: 40
Name: Josh
Trades: 0
Thanks for the input... still not seeing these come up. Validated the XHTML and, besides the 20 some odd errors coming from the attribute tags, it looks ok.
joshcanhelp is offline
Reply With Quote
View Public Profile
 
Old 04-06-2009, 01:59 PM Re: Problem embedding Flash in a web page
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
I would recommend SWFObject, <embed> is not valid.
Are you sure the path to your SWF movie is correct ? I tried the path to the movie itself and it just sits there 'loading' for forever. How big are the files ??
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Last edited by LadynRed; 04-06-2009 at 05:27 PM..
LadynRed is offline
Reply With Quote
View Public Profile
 
Old 04-06-2009, 02:08 PM Re: Problem embedding Flash in a web page
Experienced Talker

Posts: 40
Name: Josh
Trades: 0
I will definitely implement one of the valid methods with these but, for now, I just want them showing on the page.

The flash is XML loaded so the SWF files used are only 5K and 36K. The music for it is about 400K which is what might be taking a while. It's just a test MP3, the real one will be smaller.

If you leave it for about half a minute, it should show fine.

Thank you, by the way, for your help.
joshcanhelp is offline
Reply With Quote
View Public Profile
 
Old 04-06-2009, 02:33 PM Re: Problem embedding Flash in a web page
deepakmorris's Avatar
Junior Talker

Posts: 4
Name: Deepak Morris
Location: Pune, india
Trades: 0
Like I said, I use html on the fly, so I'm by no means an expert. The path to the movie is correct, since, when I copy the path from the source code and paste it into a new tab, the movie plays after about 2 minutes (I have a relatively slow connection).

I'm looking at this as a learning experience for me.

Regards,
Deepak
__________________
"What would you do if you weren't afraid?"

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
deepakmorris is offline
Reply With Quote
View Public Profile Visit deepakmorris's homepage!
 
Old 04-06-2009, 03:04 PM Re: Problem embedding Flash in a web page
TripleMoons's Avatar
Webmaster Talker

Posts: 619
Name: Stephanie Kunder
Location: Hanover, PA
Trades: 0
Try this:
Code:
<object
type="application/x-shockwave-flash" data="flash.swf" 
width="381" height="408" title="high quality affordable custom design">
<param name="movie" value="flash.swf" /></object>
It's the method I like to use the most. Remember to change the size and the files to what is appropriate. It validates and works in IE6, IE7 and FF.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

TripleMoons is offline
Reply With Quote
View Public Profile Visit TripleMoons's homepage!
 
Old 04-06-2009, 06:42 PM Re: Problem embedding Flash in a web page
Experienced Talker

Posts: 40
Name: Josh
Trades: 0
I'll try that out and see if it gets me anywhere, thank you.
joshcanhelp is offline
Reply With Quote
View Public Profile
 
Old 04-06-2009, 06:44 PM Re: Problem embedding Flash in a web page
Experienced Talker

Posts: 40
Name: Josh
Trades: 0
Nope, nothing....

It's confounding that the SWF file would appear from a direct link but not in the XHTML.
joshcanhelp is offline
Reply With Quote
View Public Profile
 
Old 04-06-2009, 06:47 PM Re: Problem embedding Flash in a web page
TripleMoons's Avatar
Webmaster Talker

Posts: 619
Name: Stephanie Kunder
Location: Hanover, PA
Trades: 0
Something must be wrong. How did you create the swf file?
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

TripleMoons is offline
Reply With Quote
View Public Profile Visit TripleMoons's homepage!
 
Old 04-06-2009, 08:37 PM Re: Problem embedding Flash in a web page
Experienced Talker

Posts: 40
Name: Josh
Trades: 0
I had it made for me... I have an email out to him now.
joshcanhelp is offline
Reply With Quote
View Public Profile
 
Old 04-10-2009, 11:23 AM Re: Problem embedding Flash in a web page
Experienced Talker

Posts: 40
Name: Josh
Trades: 0
Problem solved.

I was calling the SWF object that was in a subfolder. XML file was using relative paths to access the content. I thought that if you were displaying an SWF that it would be like an imported CSS file, relative paths are followed from the directory of the import. Not quite the case for this one. I moved everything up one level and it works great.

Thanks for the embed/object information. That's next on the list of to-dos for the site.
joshcanhelp is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Problem embedding Flash in a web page
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.48347 seconds with 12 queries