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.

Website Design Forum


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



Freelance Jobs

Reply
Dreamweaver & Flash - Help Please
Old 03-05-2007, 10:42 PM Dreamweaver & Flash - Help Please
Skilled Talker

Posts: 68
Trades: 0
I have just practiced my first ever flash (this is not the actual one), but when I inserted it into Dreamweaver, nothing appears. Here is the code:
<object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="32" height="32">
<param name="movie" value="../Unnamed Site 1/Untitled-10.fla" />
<param name="quality" value="high" />
<embed src="../Unnamed Site 1/Untitled-10.fla" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="32" height="32"></embed>
</object>

Can anyone tell me what is wrong with this code?
kayla2 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 03-06-2007, 07:01 AM Re: Dreamweaver & Flash - Help Please
moondog's Avatar
Ultra Talker

Posts: 256
Location: Croatia
Trades: 0
I see no .SWF file in Your code.

In Your code You have .FLA file.

f.la files contain source material for the Flash application. Flash authoring software can edit FLA files and compile them into .swf files.
moondog is offline
Reply With Quote
View Public Profile
 
Old 03-06-2007, 07:57 AM Re: Dreamweaver & Flash - Help Please
Sydpix's Avatar
Drinker I Smoke

Posts: 424
Name: Denny
Location: In a can...
Trades: 0
First you need to export your movie from flash to your local machine as an SWF. It converts it to SWF when you chose export movie option in your menu.

C:/Yoursite/Flash/blabla.swf

Then go to Dreamweaver and import flash (the new swf you created) into your page.

There is a little problem these days with flash in IE. You will need to add some javascript to prevent it from needing clicked in order to view your flash.

I have it if you need it.
Sydpix is offline
Reply With Quote
View Public Profile Visit Sydpix's homepage!
 
Old 03-06-2007, 09:28 AM Re: Dreamweaver & Flash - Help Please
Skilled Talker

Posts: 68
Trades: 0
Thank you very much. I did export the file and then import as above, and it's still not showing. This is the code now:
<object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/s...rsion=7,0,19,0" width="300" height="200" title="test">
<param name="movie" value="../Unnamed Site 1/test.swf" />
<param name="quality" value="high" />
<embed src="../Unnamed Site 1/test.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="300" height="200"></embed>
</object>

Is it due to the javascript not there? If so, I would appreciate that code, I tried to pm you but because I am new, it won't let me. I apologize for wasting thread space
kayla2 is offline
Reply With Quote
View Public Profile
 
Old 03-06-2007, 10:37 AM Re: Dreamweaver & Flash - Help Please
Sydpix's Avatar
Drinker I Smoke

Posts: 424
Name: Denny
Location: In a can...
Trades: 0
Make sure you have it in the right directory.

For instance:

If this is were you export your flash. (just an example)

C:/Unnamed_Site/Flash/Test.swf

You code should look like this:

Code:
 <object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/s...rsion=7,0,19,0" width="300" height="200" title="test">
<param name="movie" value="Unnamed_Site/Flash/Test.swf" />
<param name="quality" value="high" />
<embed src="Unnamed_Site/Flash/Test.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="300" height="200"></embed>
</object>
../ before the src= means you are importing it from outside your root directory.

I would first go to your Unnamed_Site, create a new folder in there called Flash.

Go back to Flash MX and export your Test.swf into that folder.

EG: C:/Unnamed_Site/Flash

Then go to Dreamweaver and import the .swf you just saved.

It wont actually show on your page until you preview it.

Last edited by Sydpix; 03-06-2007 at 10:45 AM..
Sydpix is offline
Reply With Quote
View Public Profile Visit Sydpix's homepage!
 
Old 03-06-2007, 12:58 PM Re: Dreamweaver & Flash - Help Please
Skilled Talker

Posts: 68
Trades: 0
BRILLIANT! Thank you very much for your time!!!
kayla2 is offline
Reply With Quote
View Public Profile
 
Old 03-06-2007, 02:33 PM Re: Dreamweaver & Flash - Help Please
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Now, for your next 'lesson' - DO NOT USE THE <EMBED> TAG !!!!
It will cause IE users to have to do the 2-click dance to 'activate' active content. That means they won't even see your flash until they 'activate'

Better to learn NOW how NOT to use <embed> - at the top of the HTML forum are 2 stickies that will show you how to use Flash w/o the <embed>.
__________________
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 03-07-2007, 04:23 AM Re: Dreamweaver & Flash - Help Please
moondog's Avatar
Ultra Talker

Posts: 256
Location: Croatia
Trades: 0
Quote:
Originally Posted by LadynRed View Post
Now, for your next 'lesson' - DO NOT USE THE <EMBED> TAG !!!!
It will cause IE users to have to do the 2-click dance to 'activate' active content. That means they won't even see your flash until they 'activate'

Better to learn NOW how NOT to use <embed> - at the top of the HTML forum are 2 stickies that will show you how to use Flash w/o the <embed>.
I hope they'll learn and they'll hear Your repeating for embedding Flash.
moondog is offline
Reply With Quote
View Public Profile
 
Old 03-07-2007, 07:00 AM Re: Dreamweaver & Flash - Help Please
Sydpix's Avatar
Drinker I Smoke

Posts: 424
Name: Denny
Location: In a can...
Trades: 0
Well... This may be a cop out but... I don't know if it validates.

save this as ieupsate.js

Code:
objects = document.getElementsByTagName("object");
for (var i = 0; i < objects.length; i++)
{
    objects[i].outerHTML = objects[i].outerHTML;
}
paste this right after your embedded tag

Code:
<script type="text/javascript" src="ieupdate.js"></script>
This also fixes the click to activate problem.
__________________
.
Village Idiot


Last edited by Sydpix; 03-07-2007 at 05:03 PM..
Sydpix is offline
Reply With Quote
View Public Profile Visit Sydpix's homepage!
 
Old 03-07-2007, 01:43 PM Re: Dreamweaver & Flash - Help Please
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Yep.. javascript and objects is one of the best solutions
__________________
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
 
Reply     « Reply to Dreamweaver & Flash - Help Please
 

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