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 with placing .SWF file into my web site! (Using Flash CS3 HTML publish featur
Old 07-03-2008, 02:53 PM Problem with placing .SWF file into my web site! (Using Flash CS3 HTML publish featur
Experienced Talker

Posts: 32
Trades: 0
OK heres the deal guys.. Normally I use dreamweaver to just throw my .swf files into my web pages..BUT the way that dreamweaver embeds the flash files does not work with the preloader that I’ve made. SO I ended up using the FLASH export HTML publish feature thingy..which works GREAT! Only problem is I don’t want my SWF file to be in the same directory of the HTML file… so..

All I want is to be able to change the location of where this code is getting my SWF file! I pasted the code and the 2 parts that I changed are highlighted…. (I added Flash/ in front of the file name) IT DOSENT WORK! Why?? Thanks everyone!



<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="338" height="159" id="preloader" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="allowFullScreen" value="false" />
<param name="movie" value="flash/preloader.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /> <embed src="flash/preloader.swf" quality="high" bgcolor="#ffffff" width="338" height="159" name="preloader" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</noscript>
jpf566 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 07-03-2008, 03:21 PM Re: Problem with placing .SWF file into my web site! (Using Flash CS3 HTML publish fe
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Sounds like a path issue. Are you referencing a path in your preloader ?
__________________
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 07-03-2008, 03:28 PM Re: Problem with placing .SWF file into my web site! (Using Flash CS3 HTML publish fe
Experienced Talker

Posts: 32
Trades: 0
my preloader works fine when run from where it is. Its linking to a file thats in its directory. The problem is the HTML code..
OR am I mistaken??

Is the root of a SWF file determined from where that swf file resides? Or is it determined by the location of the HTML file thats calling it? owch my head hurts

Last edited by jpf566; 07-03-2008 at 03:45 PM..
jpf566 is offline
Reply With Quote
View Public Profile
 
Old 07-03-2008, 04:43 PM Re: Problem with placing .SWF file into my web site! (Using Flash CS3 HTML publish fe
angele803's Avatar
Perfectly Imperfect

Posts: 1,772
Name: Stephanie
Location: Oklahoma
Trades: 2
Quote:
Originally Posted by jpf566 View Post
Is the root of a SWF file determined from where that swf file resides? Or is it determined by the location of the HTML file thats calling it? owch my head hurts
I think it would be determined by the location of the HTML - if I understand right.

Is your HTML file in a different folder than the SWF file??
__________________

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

Last edited by angele803; 07-03-2008 at 04:45 PM..
angele803 is offline
Reply With Quote
View Public Profile
 
Old 07-03-2008, 07:40 PM Re: Problem with placing .SWF file into my web site! (Using Flash CS3 HTML publish fe
tucsonsam's Avatar
Skilled Talker

Posts: 62
Trades: 0
The way you are referencing the .swf file indicates it is in a subfolder of the .html file that is calling it. If it is not, you'll have to change your reference.

If it is up one level and then down one level, you would reference it as such:

../flash/preloader.swf
__________________

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

tucsonsam is offline
Reply With Quote
View Public Profile
 
Old 07-05-2008, 10:43 AM Re: Problem with placing .SWF file into my web site! (Using Flash CS3 HTML publish fe
Foundationflash's Avatar
Ultra Talker

Posts: 410
Name: Harry Burt
Location: Colchester, Essex, England
Trades: 0
I think tucsonsam's right, just to explain, in case you don't quite understand. You are suggesting that
[html folder]/flash/preloader.swf
exists, if it is actually:
[folder]/[html folder]/[html file.html] and [folder]/flash/preloader.swf
you want his code.
__________________
Foundation Flash tutorials :
Please login or register to view this content. Registration is FREE


New Dreamed Up Web Design:
Please login or register to view this content. Registration is FREE
Foundationflash is offline
Reply With Quote
View Public Profile Visit Foundationflash's homepage!
 
Reply     « Reply to Problem with placing .SWF file into my web site! (Using Flash CS3 HTML publish featur
 

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.76932 seconds with 12 queries