MedVision ad

Flash animation query!!!! (1 Viewer)

Joined
Mar 15, 2008
Messages
202
Gender
Male
HSC
N/A
Hey guys,

i was wondering if any one of you would know how to insert a flash animation from a webpage to another one (such as macromedia Dreamweaver 8) from this link, Packet Switching Demo (Flash 3). I tried saving the page but it just comes out as a link. On my macromedia website, i want it to be on the page already. Basically, if anyone knows how to save the flash animation as a SWF file (flash format), it would be much appreciated.











Thanks in advance,
lookoutastroboy
 

dinopoke

Member
Joined
Jun 20, 2008
Messages
45
Gender
Male
HSC
2009
According to the source code, insert this in your html :

HTML:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=2,0,0,0" width="100%" height="100%">
    <param name="SRC" value="http://www.pbs.org/opb/nerds2.0.1/geek_glossary/packet_switching.swf">
    <embed src="http://www.pbs.org/opb/nerds2.0.1/geek_glossary/packet_switching.swf" pluginspage="http://www.macromedia.com/shockwave/download/" width="100%" height="100%"></embed>
  </object>
Change width and height to whatever you prefer.

This is the .swf file by the way: http://www.pbs.org/opb/nerds2.0.1/geek_glossary/packet_switching.swf
 
Joined
Mar 15, 2008
Messages
202
Gender
Male
HSC
N/A
Hey thanks dinopoke a lot, it works =) anywayz im a complete beginner to like any type of programming code or HTML ,so could you show me the process of converting it in a swf format? one more thing, how does code work and how do you use it???











thanks a lot,
lookoutastroboy
 

kurt.physics

Member
Joined
Jun 16, 2007
Messages
840
Gender
Undisclosed
HSC
N/A
Hey thanks dinopoke a lot, it works =) anywayz im a complete beginner to like any type of programming code or HTML ,so could you show me the process of converting it in a swf format? one more thing, how does code work and how do you use it???
Also, in Dream weaver you have three different ways to look at what you are doing. It is Code, Code and Design, Design. These are the three tabs in the top left corner.

(In the code section of dream weaver) To use the code you just copy and paste it into the Code that dinopoke has given you into the body part ie in between <body> and </body>

I assume your teacher will eventually teach you this.
 
Joined
Mar 15, 2008
Messages
202
Gender
Male
HSC
N/A
Also, in Dream weaver you have three different ways to look at what you are doing. It is Code, Code and Design, Design. These are the three tabs in the top left corner.

(In the code section of dream weaver) To use the code you just copy and paste it into the Code that dinopoke has given you into the body part ie in between <body> and </body>

I assume your teacher will eventually teach you this.

basically i have no idea how code works and how did dinopoke get the html code for the animation website anyway? and when you paste the code, what happens and how do i make sure it gets back to non-code mode? just one more thing, how do you convert websites like the 'packet switching' one to a swf file?




thanks kurt,
lookoutastroboy
 

kurt.physics

Member
Joined
Jun 16, 2007
Messages
840
Gender
Undisclosed
HSC
N/A
basically i have no idea how code works and how did dinopoke get the html code for the animation website anyway? and when you paste the code, what happens and how do i make sure it gets back to non-code mode? just one more thing, how do you convert websites like the 'packet switching' one to a swf file?




thanks kurt,
lookoutastroboy
I have attached some images to explain what i am talking about.

I am not sure how dinopoke did it :S
 
Joined
Mar 15, 2008
Messages
202
Gender
Male
HSC
N/A
hey kurt, thanks for showing me that, but just how would you paste the code into the html, how does that work and what does it mean? could you please show me?
















thanks again,
lookoutastroboy
 

kurt.physics

Member
Joined
Jun 16, 2007
Messages
840
Gender
Undisclosed
HSC
N/A
hey kurt, thanks for showing me that, but just how would you paste the code into the html, how does that work and what does it mean? could you please show me?
(reference pictures 2 and 3)

All you have to do is paste the code that dinopoke wrote (its in the quote box), then paste it inbetween ie <body> bla bla paste bla bla </body>

You are not really putting the code into the html, you are really just making a code that will be read as html when you put it on the net... if you get what i mean. Dream weaver is really just the medium to make html websites, its like an artists sketch pad kind of thing...

Im sorry i cannot expain that well :S
 

dinopoke

Member
Joined
Jun 20, 2008
Messages
45
Gender
Male
HSC
2009
Hi guys,

I got the code from the source code of the webpage. (Right Click, View Source). What essentially shows up is the whole code for the webpage in HTML.
I went through the code and found the bit which loaded the .swf flash animation. I found the source attribute which said:

src="packet_switching.swf"

So I guessed that the .swf file was in the root folder and therefore in

http://www.pbs.org/opb/nerds2.0.1/geek_glossary/packet_switching.swf

Anyway lookoutastroboy, you want to put this on your website right?

One way is to copy the code I gave you into where all the HTML is. HTML is basically the code used to write and read webpages. As kurt.physics showed you, there is a place to edit and view your HTML code in Dreamweaver. Just place it within the <body> ... </body> tags and it will (hopefully) load up the flash animation on your page. I haven't tried the code myself, I just copied it from the source and edited a bit of it.

The other way is to save the .swf file and import it. Just open
http://www.pbs.org/opb/nerds2.0.1/ge..._switching.swf
and press ctrl-s to save it into your computer. There probably will be some way to import it into Dreamweaver but I don't use the program and can't really help you on that.

Hope you understood what I said! I'm a bit rusty on my HTML so yeah.. :p
 
Joined
Mar 15, 2008
Messages
202
Gender
Male
HSC
N/A
so dinopoke it worked, i was just wondering as well, when you view the source, which information do you paste, it is always the same as the packet switching one or ca it change?


















thanks,
lookoutastroboy
 
Joined
Mar 15, 2008
Messages
202
Gender
Male
HSC
N/A
and for general use, how do you know where you should paste the necessary code into the code section?













thanks again,
lookoutastroboy
 
Joined
Mar 15, 2008
Messages
202
Gender
Male
HSC
N/A
back, would be much appreciated if someone could answer these questions?














thanks in advance,
lookoutastroboy
 

dinopoke

Member
Joined
Jun 20, 2008
Messages
45
Gender
Male
HSC
2009
Well for flash animations, I usually search for ".swf" (without quotes) to find the location of the flash file. Everything in the <object> tags will probably be the code to load it.
 
Joined
Mar 15, 2008
Messages
202
Gender
Male
HSC
N/A
oy dinopoke, how come this doesnt work for this animation:

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#3,0,0,0" width="500" height="500">
<param name="SRC" value="greenhouse.swf">
<embed src="greenhouse.swf" pluginspage="http://www.macromedia.com/shockwave/download/" type="application/x-shockwave-flash" width="500" height="500">
</embed>
</object>


i embedded this in between the body tags but it didnt work,
can you explain why?







thanks a lot,
lookoutastroboy
 

dinopoke

Member
Joined
Jun 20, 2008
Messages
45
Gender
Male
HSC
2009
Is the .swf in the root of your website folder?

If not, you should change the attributes

value="greenhouse.swf"
src="greenhouse.swf"

to where the swf file actually is. Or download in and place it into your root folder.
 
Joined
Mar 15, 2008
Messages
202
Gender
Male
HSC
N/A
oy in general, how would you be able to place videos like this YouTube - Tim Berners Lee on the Semantic Web in macromedia dreamweaver 8? since its not flash, is there an easy way to do it? the HTML code looks really confusing, if anybody knows how to do it, it would be greatly appreciated =)

















thanks in advance,
lookoutastroboy
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Top