Inserting a SWF... should I really all this code?

Hello

as you know, Dreamweaver adds tons of code when you insert a Flash object.

I was wondering, being a phenomenon of optimization, how much it you actually need, especially if you take the Internet Explorer out of the picture.

For example, how about this:

<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-555553540000" 
WIDTH="550" HEIGHT="400" id="Example" ALIGN="">
    <PARAM NAME=movie VALUE="Example.swf"> 
    <PARAM NAME=quality VALUE=high> 
    <PARAM NAME=bgcolor VALUE=#FFFFFF>

    <EMBED src="Example.swf" quality=high 
    bgcolor=#FFFFFF  WIDTH="550" HEIGHT="400" 
    NAME="Example" ALIGN="" TYPE="application/x-shockwave-flash" 
    PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">
    </EMBED>
</OBJECT>

Looking forward to your comments!

Try this online tool

http://validifier.com/

Nancy O.
ALT-Web Design & Publishing
Web | Graphics | Print | Media specialists
www.Alt-Web.com/
www.Twitter.com/ALTWEB
www.Alt-Web.blogspot.com

Tags: Dreamweaver

Similar Questions

  • Curious to know if all this Code PHP is necessary

    PHP Newbie question:

    The attached code was made with php-msql DW CS3 Server behaviors - recordset pull down of...

    I'm curious to know if all this code is necessary? Some of it seems to make things more difficult to work with... For example:

    1 - Why does the DW decide to take ['xVARx'] form variables and convert them to the $Vars? -Why not just use the GET ['xVARx']?

    2 - Why use sprintf in the $query_test: instead of something more direct as:

    SELECT * directory WHERE firstname LIKE $_GET ['firstname'] % and lastname LIKE $_GET ["lastname"] % - etc...

    Just curious why they chose these methods... Any idea would be appreciated...


    .oO (revdave)

    > PHP Newbie question:
    >
    > This attached code was done with DW CS3 php-msql - Recordset server behaviors
    > pull-down...
    >
    > I'm curious to know whether all this code? Some of it seems to make things
    > difficult to work with... For example:
    >
    > 1 Why does the DW decide to GET ['xVARx'] form variables and convert them to
    > $Vars? -Why not just use the GET ['xVARx']?

    You cannot rely on the existence of $_GET ['xVARx']. You should always test
    with the isset() function if the URL parameter is set, before you can use it or load
    It's in a local variable. If it does not exist, you must initialize
    the variable with a default value. DW code does this, so that you can then
    use safely $xVARx - it contains the value of $_GET ['xVARx']
    or a usable default.

    > 2 - Why use sprintf in the $query_test: instead of something more
    > directly as:
    >
    > SELECT * directory WHERE firstname LIKE $_GET ['firstname'] % and lastname
    > LIKE $_GET ["lastname"] % - etc...

    Such a code is much harder to read and maintain, and more prone to error
    (Look at the quotes, for example). When you want to incorporate several
    variable in a string using sprintf() function is the most flexible way.

    You also missed a bit of detail. DW does not directly use the data
    the values in the string, but call first GetSQLValueString() on them.
    A correct management of the values submitted by users is very important to avoid
    Injection of SQL code. Your example above does not prevent this kind of attack.

    HTH
    Micha

  • Adding values to insert the query [was: Please help with this code]

    I created a comments section where there is that a single comment here field is the code for the form:

    < form id = "frmComment" name = "frmComment" method = "POST" action = "<?" PHP echo $editFormAction;? > ">"

    < h3 >

    < label for = "namegd" > < / label > comment: < / h3 >

    < p >

    < label for = 'comment2' > < / label >

    < textarea = "comment" id = "comment2' passes name ="60"lines ="10"> < / textarea >

    < /p >

    < p >

    < label for = "submit" >

    < / label >

    < input type = "submit" name = "submit" id = "submit" value = "Submit" / >

    < label for = "reset" > < / label >

    < input type = "reset" name = "reset" id = "reset" value = "Clear" / >

    < /p >

    < input type = "hidden" name = "MM_insert" value = "frmComment" / >

    < / make >

    and inclusion in the code applied to the shape is as follows

    $editFormAction = $_SERVER ['PHP_SELF'];

    If (isset {}

    $editFormAction. = « ? ». htmlentities($_SERVER['QUERY_STRING']);

    }


    If ((isset($_POST["MM_insert"])) & & ($_POST ["MM_insert"] == "frmComment")) {}

    $insertSQL = sprintf ("INSERT INTO comments ('comment',) VALUES (%s)", ")

    GetSQLValueString ($_POST ['comment'], "text"));


    @mysql_select_db ($database_my_connection, $my_connection);

    $Result1 = mysql_query ($insertSQL, $my_connection) or die (mysql_error ());

    }

    But I want the form to insert more than two values to the database one commented_by and the other will be post_id where = commented_by ($_SESSION ['Username']) and post_id = $row_Recordset1 ['id'] can someone please let me know what will be the modified code and there is commented_by is a text field and post_id is an int field.
    Please guys help me thanks in advance

    It is easy to add additional values to the Insert query:

    $insertSQL = sprintf("INSERT INTO comments (`comment`, commented_by, post_id) VALUES (%s, %s, %s)",
             GetSQLValueString($_POST['comment'], "text"),
             GetSQLValueString($_SESSION['Username'], "text"),
             GetSQLValueString($row_recordset1['id'], "int"));
    

    You must ensure that code to recordset1 comes before the insertion query. By default, Dreamweaver recordset place code immediately above the declaration DOCTYPE and under other server behavior. Thus, you must move the code. Otherwise, this insert query does not work.

  • Why all this code extra?

    Hello

    To INSERT data db2 uses my code

    < cfqueryparam

    value =' #UCASE (arguments.myData) # ' cfsqltype ="CF_SQL_CHAR" maxlength ="40">,

    However

    (#UCASEarguments.myData #)

    is just as effective and the debugger shows the final result of code instead of? where it becomes necessary to match the arguments to get the final result.

    What, if any, advantage is the provide cfqueryparam tag?

    Can someone enlighten me pleasse?

    Thank you in advance.

    Do you need more information than is already presented in the documentation?

    http://help.Adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-7F 6f.html

    --

    Adam

  • Should I recompile all the code by improving the CVI environment

    Hello

    My Poudel is something that can help me to eliminate a bug in code that I have generated.

    I just upgraded from CVI 9-2009 CVI. After upgradingI began to get an intermittent Windows error when I run a program I wrote and compiled and depolyed with CVI 2009. My program has been distributed using the runtime of the last. It's difficult to say where these errors as it seems to be linked to an external application that my application is linked with a couple of DLL files that have been written and compiled by a colleague with CVI 9.

    Are there any potential risk with me using the DLL files compiled in CVI 9 with my code which is compiled and ran with the latest runtime engine?

    Thank you

    Hi hybrid,

    Welcome to the Forums of Discussion OR. Avoid problems by using DLL files compiled in CVI 9 or any previous version with the last execution engine. I'm afraid you will have to keep the program debugging.

  • Hi, I'm working on a Prezi and insert files .swf animation complex. Prezi no longer support this type of file. Does anyone know of a work around?

    Hi, I'm working on a Prezi and insert files .swf animation complex. Prezi no longer support this type of file. Does anyone know of a work around?

    You should probably post to a forum of prezi or ask the prezi support.

  • Hi, when I downloaded firefox, there was an option to transfer all my favorites of Explorer and I don't take it. Now I would really all my favorites and bookmarks to be transferred to firefox. How can I do this?

    Hi, when I downloaded firefox, there was an option to transfer all my favorites of Explorer and I don't take it. Now I would really all my favorites and bookmarks to be transferred to firefox. How can I do this?

    See:

  • Should I really be reprinted assets?

    I have a bunch of images (assets) that the original images are no longer where they are when I built the website.  If Muse tells me now that the assets are missing.  But the site is running.  Should I really go by and relink all these image assets?

    If the answer is Yes, is there a way to make several of them at once, which is a reissue of group?

    They're just alerts. See the following article on understanding the icons of alert - http://www.adobekb.com/getting_started_02.html#understandingalerticon.

    At this point, there's an option to connect several items at once.

    Thank you

    Vinayak

  • Inserted Captivate SWF w / Jump to Next Slide in Captivate Project hand - button

    I inserted a Captivate SWF file on a slide, and I want a button in one inserted SWF to move to the next slide in the main project of Captavate.

    I was wondering if I have to use shares advanced on this inserted Captivate SWF or javascript on this button to move the main Captivate project to the next slide?

    I'm with Lilybiri on this one.  With all of the slides in the same project is the best way to go.

    When you start a new training project, the height and the width of the stage of project file is one of the main decisions you need to get right.  Then when you capture any simulation content, you must make sure to match the size of the screen exactly so adding slides to capture is just an exercise in copy/paste.

    Captivate SWF inside other Captivate SWF of nesting is a highly questionable practice that Captivate was never designed to support.  It MAY work sometimes, but it can also cause all sorts of issues as well.

  • Display layout of the table breaks after the insertion of SWF object

    With the help of Flash Pro CS4/Windows Vista:

    I have a tabular presentation that breaks apart in Firefox, leaving gaps between cells after inserting a SWF file.

    I inserted the file using the Insert > media > SWF in Dreamweaver and downloaded the SCRIPTS folder command.

    When I remove the SWF object, the file is displayed perfectly (with an empty cell, where the SWF object should appear)

    The SWFobject is narrower than the cell that contains 2 pixels (cell: 227w X 146 h;)  SWF 225w X 146 h)

    You can see the problem in Firefox at http://theflightsofmarceau.com/series.htm

    I look forward to solutions - thank you.

    Add this in theof your html page

    It will work, I've tested it.

    http://www.htmlforums.com/Flash-development/t-Firefox-30-Flash-embed-problem-104790.html

  • Attempt at analysis extra long doc. all this does not. Is there something I can do?

    HP Officejet Pro 7580

    Windows XP

    Attempt at analysis extra long doc. all this does not. Is there something I can do?

    That does not make a big difference.

    The page is actually 14 inches or longer?  8.5x14 is legal paper, therefore affecting the software to analyze the legal size and then swipe the ADF should work.

  • Received a flashing alarm indicating that I had a virus on my MacBook pro.  Could not get rid of it, until I did a hard reboot.  Deemed scan of Malware for Mac software?  All this experience?

    I just got an alarm flashing indicating that I had a virus on my MacBook pro.  Could not get rid of it, until I did a hard reboot.  Deemed scan of Malware for Mac software?  All this experience?

    These alarms are generally scam popups loaded from the Internet and is not caused by malicious software, but you should always look for other odd behavior or unexplained slowness.

    (140573)

  • Should I update all the files from the Toshiba site after using the recovery CD

    I just used my recovery CD and update the Windows Update System.

    The question is: should I update all files in the files on this site download section as well?

    Usually after using the Toshiba Recovery CD everything should works and works correctly
    To my knowledge from time to time Toshiba has released new version of some tools or drivers. For example the BT stack will be developed all the time.
    But I think that if you have any problems with your system and peripherals, then you don't need t to update anything.
    Small is my opinion...

  • Is it possible to load the CD (that I put on iTunes years ago) on an iPod Nano to iTunes 9.0.3 (15) on an old MacBook? This is my last chance, as the later versions of iTunes have deleted all this precious music, so I can't be wrong!

    Is it possible to load the CD (that I put on iTunes years ago) on an iPod Nano to iTunes 9.0.3 (15) on an old MacBook (OS 10.5.8)? This is my last chance, as the later versions of iTunes have deleted all this precious music, so I can't be wrong!

    It is unclear what you are asking, but if the question is (retired), the can transfer songs that are on an iPod nano (and nowhere else) to my current computer? 

    You cannot use iTunes.  By design, iTunes sync is generally in one direction, from your computer to the iPod.  The exception is purchased songs on the iTunes Store, iTunes can verify ownership of these songs (command in the menu bar iTunes -> devices-> transfer purchases of [name of the iPod] file).  However, there are methods and third party utilities that can transfer from iPod to computer.  If you do an Internet search on something like 'the ipod transfer', you should get a few links, including a CNET article.

    Once the files of the song on your disc, you can add them to your current iTunes library.

  • What is a simple way to get the answers to the questions? not good at all this stuff and post the answer.

    asked about windows fax and picture viewer.  had 2 responses, but can not find how to see them.  am not good at all this back.

    asked about windows fax and picture viewer.  had 2 responses, but can not find how to see them.  am not good at all this back.

    When someone posts a response to a question you asked, you should get an email notification.  Click on the link in the notification email and your browser should go directly to your question and its answer.

    You can also connect to Microsoft Answers (http://answers.microsoft.com/en-us) and click on your username in the upper right, and then click on 'My issues'.

    Unfortunately, "all this back" is the only way to get help on the Internet.  Until feel you more comfortable with this process, I suggest that you look at your community resources.  Often, your local public library will help computer available, and if not, they will more than likely be able to go to a place that does.

    If you need repair service, I suggest that you go not to a type of place BigBoxStore or geeksquad, but look for a local computer repairer deemed.

Maybe you are looking for