Insert Flash SWF into a DIV?

Hi,
Is it recommended to keep SWF files within its own DIV?
I have the DIV identified as 'Flash' (div id="flash")...is this a good idea to keep things in place as intended?
Thanks!

That's right, it makes no difference what you name the <div>, but if you use id="flash", keep in mind that you cannot reuse that id to display a second .swf on the same page, while using a class would allow you to reuse that class name as often as needed on a page with multiple .swfs.
So depending on your particular page, you may find using one or the other method, or a combination of the two.... (id vs class) will work better for you.
Best wishes,
Adninjastrator

Similar Messages

  • Inserting A SWF into a Captive Project

    Hi All,
    I'm trying to insert a swf into my captivate project. It goes
    onto the slide with no problem but when I preview the project the
    swf is not animated. I'm using AS3 to code the animation so there
    is only one frame. I set the frame rate in Captivate to match the
    frame rate of the swf with no success. Any help is appreciated,
    thanks.

    Hi there
    I suppose that's possible. I'm not a Flash Coder yet but
    would imagine the sky is the limit once you get things into Flash,
    as at that point it's a Flash project, no? I don't believe an
    avenue exists to take a Flash project and pop it into Captivate.
    (By that, I mean to export from Flash as a .CP file - I am well
    aware that one may create a .SWF from Flash and pop it into
    Captivate as an Animation)
    Cheers... Rick

  • Shock wave Flash(SWF)  into JPG/JPEG

    {color:#ff00ff}Hi,
    Could Please any one guide me .I am New to java.*How to convert Shock wave Flash(SWF) into JPG/JPEG*
    Using Java Coding. If possible Let me know the Coding.
    Thanks in Advance
    Balaji{color}

    Jeebus. Please repost that question in a normal color.

  • How to insert a Flash SWF into my page

    I am using GL6 on an Intel MAC running 10.5.6.  I have a Flash file I created using Flash CS3 and want to have it appear within my GL page.  However when I try to insert the file into the site window, I get the error message: myfile.swf could not be updated. Do you want to continue anyway?
    How do I get the SWF file into the page?
    Thanks.

    You can try to use my flash action original made to avoid the IE Eolas problem
    It wont give you a preview (flash only show in browser)
    It was made in GL5 and shud works in all newer versions
    http://www.jart.dk/jgom/golive/golive-actions/swfobject.html
    If neither GL's nativ or my action works it may be somthing with your flash

  • Inserting flash .swf file into template

    I want to insert a flash file into the right sidebar to appear on all pages of the website.  I know I need to do this via the template.  I think I need to click in the insertion point, then copy the code (make sure the files are in the correct location).   I've done this before with galleries ect..  but not in DW and not from a template.  What's a little confusing is there are 3 templates.  The first is in it's own folder (design template), the other two (theme 01 design & theme 01 design from template) are in the root folder, but the theme 01 design one doesn't seem to be changeale.  Which template should I be working with?
    www.wranglergirl.net
    Thanks from a newbie!  Amy

    Are each of these 'templates' actually DW templates (i.e., are they named with a *.dwt extension)?  If so, then they must all be located within the Templates folder at the root level of the site - it doesn't sound like that is the case.  Also, why do you need three templates?  Finally, which version of DW are you using?  It's likely that you will have to make any links to your Flash element with ROOT relative links to be successful.

  • Problem inserting Flash video into DW CS3 template

    I would like to insert some flash video into an editable
    region inside a DW CS3 template. The template I am using seems to
    work for literally hundreds of other pages I have made (none of
    which, incidentally, have any media of any kind in them).
    I have created the template and then an editable region and
    now want to insert the flash video in that editable region. All
    goes well until I hit the OK button. then I get this error--Making
    this change would require changing code that is locked by a
    template or translator The change will be discarded.
    Can anyone suggest how I might over come this error??
    Thx.
    Jane

    The problem is the detection option in the video insertion
    dialog. If you
    disable that option, you will not get the error.
    This is a problem because the detection routine requires a
    modification to
    the <body> tag (insertion of an onload event) which you
    cannot easily do in
    a template child page.
    If you really must have the detection, then you can copy and
    past the load
    call from a dummy (non-templated) page on which you have also
    done the same
    insertion. Post back with that page's body tag code, and I'll
    show you
    how....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Jane Smith 2300" <[email protected]> wrote
    in message
    news:fehcup$e6u$[email protected]..
    > Further to my post before--The .htm that I am trying to
    insert the Flash
    > video
    > (converted an AVI file using Flash video encoder) was
    built from a .dwt.
    >
    > The template page has several editable regions in it.
    There is also CSS.
    > formatting the document. I am trying to insert the Flash
    video into one
    > of the
    > editable regions.
    >
    > I have no problem installing the video in a page not
    built with a template
    > or
    > without css..
    >
    > Thanks for any help you can provide.
    >
    > jane
    >

  • Problem inserting Flash movie into a Dreamweaver page

    Hi, I've inserted a .swf movie on this page.  It used to work, but doesn't now. In Dreamweaver (CC), when I highlight the movie and click 'Play' in the Property Inspector it works (but doesn't in 'Live' view within DW).
    Please be gentle about my code. I'm a hobbyist and started this site about 7 years ago  so don't have time to keep up with latest coding trends! Answers re. non-appearance of movie only, please.

    Flash really isn't the way to do this anymore, very few people viewing your site with a mobile device are going to be able to see your .swf. Adobe stopped mobile Flash development a few years back and most devices that used to be able to see Flash, no longer ship with a Flash plug-in. Certain devices, like all Apple iOS devices, never had the ability and there is no way to add it to those.
    Since it appears when uploaded, I would guess the reason it doesn't work locally likely has something to do with your machine's security settings, especially if Microsoft is involved in the equation somewhere. If it works when uploaded, you're good to go.
    HTML5 <video>, CSS3 and jQuery (javascript) are now the default for video and animation for websites since they're compatible with virtually all devices used to browse the internet.

  • Need help with importing flash/swf into fireworks???? Is it possible???

    Hi, Is it possible to import a flash/swf file in to
    fireworks... If so... how..????
    Thank You for Your Help...

    can you post your code

  • Inserting old swf into new fla with different frame rate

    Hi, I'm trying to insert an old banner ad into a new Flash site.  The problem is, the banner I made at 20 frames per second, and the Flash site is set to 41, so it literally plays the banner twice as fast.  Any ideas as to what I can do about this?  Thank you.

    A few of them I may have the original source files on disk.  Do you know what's the easiest way to transpose them to the higher frame rate?
    For the ones I don't have, I should open the swf file in the new site and add a frame between each already existing frame?
    Yes I imported the swf, I'm kind of just finding my way around Flash and I don't know how to load them dynamically.  If I did load them dynamically, would they play at their original frame rate?

  • How do I insert Flash Gallery into Flash page?

    Hi, I've created my own web page in Flash (Dreamweaver front) with Flash elements in a separate swf file. I want to create a gallery only on the front page of my site but I'm not sure if I can create new and insert on the page, or if need to create a new swf file on the timeline - not sure how to do this and not mess up my site? Any help?

    Create an empty movieclip symbol in the main file and palce it on the stage exactly where you want the top left corner of the gallery to be.  Assign an instance name to that movieclip.
    Then use the loadMovie or MovieClipLoader.loadClip functions to load the swf file into that movieclip.  If you need to somehow control the gallery via the main file, then you would be better off using the loadClip approach because it supports having an event listener to be bale to tell when the file is loaded.
    You should be able to find an example in the Help documentation of using the loadMovie function for loading it into the empty movieclip I said to add earlier.
    If your gallery uses _root references in its code, you will probably have to add "    this.lockRoot = true;   " to the main timeline of the gallery file.  Otherwise, those references will be targeting the main file it is loading into.

  • Need help inserting flash movie into article...

    I inserted video into flash movie. I loaded the .swf & .fla files onto a server and went into the properties in the flash movie and pointed to the server to pull the .fla file & the movie controls .swf file.  I can preview the movie in flash with no problem.
    I am wanting to use the object code that was created as part of the .html file that was generated by flash and insert this into an article to display the video.  I path the .swf file in the object code to point to where it resides on the server but the video will not play using just the object code. Is there a way to do this using just a object or embed code without the need for scripts?
    (I am using CS4 version)

    If the swf file does not reside in the same folder as the html page that loads it, then if the video is dynamically loaded into the Flash file, chances are the targeting in the swf needs to be adjusted.  If the swf files just targets the video by its filename alone, try putting the video file in the same folder as the html file and see if it gets loaded.

  • Problems inserting flash movie into webpage

    I am trying to insert 2 different flash movies on one webpage
    One is a banner made in flash cs4 that works fine.
    The other is a movie that I encoded with flash cs4 from a m4v file. When i test this file using the flash player on my computer everything works fine.
    When i try to play on the webpage it shows there is flash object in dreamweaver but is blank in webbrowser.(right clicking shows there is flash there but nothing loads)
    I have managed to get the movie working on a completly blank html file except that there are no controls (controls work fine in the flash player on computer)
    As far as I can deduce it's not the html file because one swf file works ok
    It's not how i'm inserting it onto the page because dreamweaver is doing it for me(and including the nessecary javascript etc)
    It's not the movie because that works in the flash player on it's own.
    So i'm stumped
    any ideas guys?
    (if it's any help the webpage it's on is www.csdrummer.co.uk , click on top right image on sidebar, has play button, under navigation)
    Thanks
    Jamie

    I'm sorry I missunderstood the post from earlier. If I add the flv file in dreamweaver and upload the corresponding swf all works well but the flv file is 45mb which is a  bit large for a 3 min video.
    What i would like to do is turn this into a swf file. But this is where the problem is happening. THe swf when i export from flash wont work, comes up in the browser as doesn't load
    Jamie

  • Insert Flash SWF

    Everytime I add a swf file in Dreamweaver the following script is added:
    <script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
    When I preview in the browser the swf doesn't play and I get a message saying:
    Adobe Flash Player has stopped a potentially unsafe operation. The following location on your computer or network:
    C:\DATAFILES\NewWeb\Scripts\ExpressInstall.swf is trying to communicate with the internet-enable location:
    fpdownload.macromedia.com
    After searching for quite a while (I am not bitter), I replaced that script with the following one:
    <script type="text/javascript" src="swfobject.js"></script>
    and everything works fine. My question is How do I stop the automatic insertion of the bad script? Is there an ini file I can change to prevent this.
    Thanks,
    Jacques

    Thank you for the quick reply Ned. I uploaded the file to the server with the swfobject rather than the  swfoject_modified and it did not work. I reverted back to swfoject_modified in my Dreamweaver file and uploaded it. It would not run loally but on the server I received a request to download a newer version od the Flash player (11.4). When I tried to update the player I received an error and obviously, it would not work.
    I subscribe to Adobe Cloud and I am using Flash Professional. Whitout paying attention I was publishing my flash file as version 11.4. I change that to version 9. Now the file work locally and on the network using  the swfoject_modified script. I am using Chrome as my default browser. I suspect that Chromes handles flash player plug-in differently than other browsers. It appears to be a Chrome issue rather than a Dreamweaver or Flash issue.
    Thanks again,
    Jacques

  • Insert PHP-form into XHTML-div

    Maybe a noobish question but i cannot find the solution on the web...
    I have a XHTML based index.html.
    I use Spry tabbed panels.
    In 1 Panel (Contact Panel) i like to have a email form displayed.
    How do i show my Form.php inside this div?
    I want the Content div to display the php form without putting the php code in the div.
    Header
    Menu
    Content [here do i want to display the form]
    Footer

    Best to use an external PHP page and link the form to it. Something like:
    <form action="php/sendform.php" method="post" name="contactForm" id="contactForm">
    Then lay the form out the way you want in the DIV.

  • Insert flash media into JTextPane??

    can anyone teach me how to do it? Thanks :)

    It cannot be done (atleast as far as I know). Googling your post title didn't produce any useful links in the first ten results, so this means it aint available yet.
    You could however search for embeddable browser components that can display the system browser within swing. Check out the JDIC Project which has a browser component that does just that. https://jdic.dev.java.net/
    ICE

Maybe you are looking for

  • Do I need a new printer to work on express base station. My printer at present works on wireless system.

    I have epson printer, will this workwith the airport express base station. At present it works on a wireless set up from my windows pc. Regards Graham

  • File Content Conversion in Unix AIX

    Hi all, the XI was migrate from Windows System to Unix AIX system. All process are running fine, but I have some file adapter with content conversion and Unix system are put the hexa char '0A' in the end/break of line and in the Windows System put th

  • JMS communication channel

    Hi, We got an error in the JMS comunication channel. After we got this error, we restarted the java stack. But then the JMS communication channels did not resume the connectivity automatically. We had to manually start and stop the channels. Even we

  • Trouble Installing HelpIDE

    I followed the instructions for installing and configuring HelpIDE for JDeveloper10g but received the following error and warning: C:\Program Files\JDeveloper 10g\jdev\lib\ext\helpIde.jar Severe(2,351): No class def found for addin oracle.jdeveloper.

  • WCS and Guest account / limited usage web authentication

    /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in