Free file hosting, free video sharing

<<< The Web Hosting >>>


Go Back   Noeman GSM > Webhosting & Website development > Website development > HTML & Website Design

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-07-2007, 07:21 PM
Spiral's Avatar
CO-Admin
 
Join Date: Sep 2004
Location: Martil
Age: 25
Posts: 16,419
Reputation: 24968
Spiral Mega Super MemberSpiral Mega Super MemberSpiral Mega Super MemberSpiral Mega Super MemberSpiral Mega Super MemberSpiral Mega Super MemberSpiral Mega Super MemberSpiral Mega Super MemberSpiral Mega Super MemberSpiral Mega Super MemberSpiral Mega Super Member
Default Flash .swf Embedded in HTML

After creating a Flash movie you choose File > Save As from the top menu to save your movie. Save the file as "Somefilename.fla".
To embed the Flash movie you just made into an HTML page, you should go back to your Flash program and do the following steps:
Step 1
Choose File > Open. Open a Flash movie you have created.
Step 2
Choose File > Export Movie.
Step 3
Name the file "somefilename.swf". Choose the location where the file is to be stored (in your Web folder). Click OK.
Step 4
Open the HTML page where you want to insert your Flash movie. Insert this code:
Quote:
<object width="550" height="400"><param name="movie" value="somefilename.swf"><embed src="somefilename.swf" width="550" height="400"></embed></object>
Note: This is the minimum code you need to embed a Flash movie in a browser. A broken icon will appear on the Web page if the user does not have the Flash plug-in installed.
Note: In the code above there is both an <embed> tag and an <object> tag. This is because the <object> tag is recognized by Internet Explorer, and Netscape recognizes the <embed> tag and ignores the <object> tag.
Step 5
Type in the address of the HTML file in your browser and look at your first Flash movie.

Let the Flash Program do the Work

The code above is the absolute minimum code to embed Flash movies in HTML pages. It is not recommended to use the minimum code. There should be a few more attributes added:
  • classid is an attribute to the <object> tag. It tells Internet Explorer to load the ActiveX plug-in if it is not installed
  • pluginspage is an attribute to the <embed> tag. It displays a link to the Shockwave download page if Netscape does not have it
The Flash program can add these attributes for you:
Step 1
Choose File > Publish. Flash will now create the <object>, <param>, and <embed> tags for you. It will also create the classid and pluginspage attributes.
Step 2
Open the HTML document that Flash created, view the HTML source and copy the code into your HTML page where you want your Flash movie.
Step 3
Be sure that you have the "somefilename.swf" in your Web folder.
Step 4
Type in the address of the HTML file in your browser and look at your first Flash movie.
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 11-07-2007, 09:18 PM
mtechfan's Avatar
Anti-Spam Assasin/Mod
 
Join Date: Sep 2007
Location: Sweden(right now)/Canada
Age: 31
Posts: 2,912
Reputation: 23493
mtechfan Mega Super Membermtechfan Mega Super Membermtechfan Mega Super Membermtechfan Mega Super Membermtechfan Mega Super Membermtechfan Mega Super Membermtechfan Mega Super Membermtechfan Mega Super Membermtechfan Mega Super Membermtechfan Mega Super Membermtechfan Mega Super Member
Default

Thats really a great guide on how to. Didn't know it was that easy
__________________
[Only Registered users can see links . Click Here To Register...] <- Read me!!! -> [Only Registered users can see links . Click Here To Register...]

If You Like My Post Please Add Rep++ Instead of saying thanks.
Rep Is This Little Thingy -><- At The Top Right
Its Simple and doesn't clutter threads with unnecessary posts.
Reply With Quote
  #3 (permalink)  
Old 11-07-2007, 09:32 PM
Dj Spike's Avatar
Symbian Moderator
 
Join Date: Apr 2007
Location: Bergen, Norway
Age: 18
Posts: 3,206
Reputation: 27807
Dj Spike Mega Super MemberDj Spike Mega Super MemberDj Spike Mega Super MemberDj Spike Mega Super MemberDj Spike Mega Super MemberDj Spike Mega Super MemberDj Spike Mega Super MemberDj Spike Mega Super MemberDj Spike Mega Super MemberDj Spike Mega Super MemberDj Spike Mega Super Member
Send a message via MSN to Dj Spike
Default

thank you for a great tutorial.... me as mtechfan didn't know that it was that easy... helps me alot...
__________________
If you like my post click on this icon on the right top instead of making thanks posts.
It saves space on the forum and prevents unnecessary posts!


Reply With Quote
  #4 (permalink)  
Old 11-24-2007, 03:29 PM
Membre
 
Join Date: Aug 2007
Age: 22
Posts: 10
Reputation: 10
iupimen is on a distinguished road
Default

u can use one free program named easy flashlet builder...very simple and cool
Reply With Quote
  #5 (permalink)  
Old 11-25-2007, 10:52 AM
mumbakimacky's Avatar
Master
 
Join Date: Nov 2007
Age: 20
Posts: 59
Reputation: 20
mumbakimacky is on a distinguished road
Default

cool man. thanks for the info. you rock ^_^
Reply With Quote
  #6 (permalink)  
Old 11-25-2007, 12:11 PM
mr.x's Avatar
Tech Team
 
Join Date: May 2007
Location: Gotham City
Posts: 1,374
Reputation: 13079
mr.x Mega Super Membermr.x Mega Super Membermr.x Mega Super Membermr.x Mega Super Membermr.x Mega Super Membermr.x Mega Super Membermr.x Mega Super Membermr.x Mega Super Membermr.x Mega Super Membermr.x Mega Super Membermr.x Mega Super Member
Send a message via Yahoo to mr.x
Default

Thanks for the great information, Mr. Spiral.
That's a cool tutorial, thank you very much.
__________________
U2.COM

Reply With Quote
  #7 (permalink)  
Old 12-02-2007, 01:57 AM
slamdunk123's Avatar
Junior Member
 
Join Date: Nov 2007
Posts: 9
Reputation: 10
slamdunk123 is on a distinguished road
Default

Nice tutorial!

The problem comes when you want your web page to be xhtml compliant and valid xhtml - the embed tag is a problem here!

The alternative to using both embed and object tags is to use only the object tag. This small example shows how it is used: [Only Registered users can see links . Click Here To Register...]

It is much simpler than using both tags, and seems to work in most current browsers!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 12:50 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
Copyright © 2004-2008 Noeman . All rights reserved
Myspace Codes | eHarmony Promotional Code | Ringtones | Mortgage Calculator | Credit Card

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112