HTML for EMBEDDING SWF

Can I publish the HTML to embed a SWF file created from
freehand so that I can post it to the web? Or another way of asking
the same question is how do you put the SWF files created from
FreeHand on to your websites?

> Can I publish the HTML to embed a SWF file created from
freehand so th=
at I can
> post it to the web? Or another way of asking the same
question is how=
do you
> put the SWF files created from FreeHand on to your
websites?
Like adding a html code like this for example
<object width=3D"550" height=3D"400">
<param name=3D"movie" value=3D"somefilename.swf">
<embed src=3D"somefilename.swf" width=3D"550"
height=3D"400">
</embed>
</object>
There is a myriad of websites with instructions. The code
above is from =
http://www.w3schools.com/flash/flash_inhtml.asp
Jukka

Similar Messages

  • Why do audio tracks for embedded .swfs for Slide 14, 25 and 36 audio tracks auto play on Slide 1?

    I have created a Captivate course with no audio. 
    Slide 14 in the course has an inserted .swf animation WITH audio (a demo with ‘Kate’s voice’).
    Slide 25 in the course has an inserted .swf animation WITH audio.
    Slide 36 in the course has an inserted .swf animation WITH audio.
    These animations are ‘hidden’ in the slide 14, 25, 36 Properties, and are told to ‘show’ when user clicks a button on the slide.
    When published to my hard drive, the course runs as it should, and the animations play correctly when user clicks the play button on slides 14, 25 and 36.
    When published course is uploaded to a file server, the course runs as it should, and the animations play correctly when user clicks the play button on slides 14, 25 and 36.
    When published course is uploaded to a web server, all 3 .swf animations show up for a split second, (plus 2 other small animated images) one after another, and then disappear, and then the audio of the 1st starts playing, 5 seconds later the audio of the 2nd starts playing, and 5 seconds later the audio of the 3rd starts playing.
    The odd thing about this is that once the course is in the Internet Brower cache and the course is refreshed, the audio of the 3 embedded .swfs does not start playing on slide one, and the course works as it should.
    Can you please tell me what to do to make the 3 .SWFs NOT execute when slide one of the course is opened? 

    Did you ever get an answer to this question? Since you have partial success, perhaps you can share some info. My main .swf is loaded on a web server and links to other URLs works well but links to other .swf that are loaded in the same directory as the main .swf do not activate at all..no sound, no visual. Did you load your sub-swf files in the same directory? did you use a special naming scheme? did you load the .html file for the sub-swf?

  • Transparent background for embedded swfs (not html)

    i'm bringing external swfs into my main movie and would love
    for the content of these to be visable without haveing a flat
    colour background. is this possible?
    thanks.

    Morgan McConnell;
    You may need to provide more info--loaded swf files do not
    contain
    "background" (stage color)... -Tom Unger

  • Trouble figuring out pathname for embedded swf loading external swfs & xml

    I have a swf that loads content from an XML file. This works fine when everything is in the same directory, but I want this swf to appear in several different HTML pages, which are in several different directories and I don't want to have to put 8 different copies of my swf online just so that they load properly. The directory structure is like this:
    main_dir:
    mod_dirmod01_dirmodcontent_dirmyembeddedswf.html
    myflash_dirsub1
    sub2:
    myflash.swf
    myflash.fla (not uploaded to the server)
    xml_dir:myxml.xml
    I created "sub1" and "sub2" just so that my swf would be the same number of directories downwards as the html has to link upwards, so that when I test the source file, it works. For the HTML, it's embedded like this (using swfobject):
    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="800" height="500" id="../../../myflash_dir/sub1/sub2/myflash">
              <param name="movie" value="../../../myflash_dir/sub1/sub2/myflash.swf" />
                    <!--[if !IE]>-->
                    <object type="application/x-shockwave-flash" data="../../../myflash_dir/sub1/sub2/myflash.swf" width="800" height="500">
                    <!--<![endif]-->
                    <div>
                        <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
                    </div>
                    <!--[if !IE]>-->
                    </object>
                    <!--<![endif]-->
                </object>
    And inside the Actionscript, I have a URL like this to load the XML:
    ../../../myflash_dir/sub1/sub2/xml_dir/myxml.xml
    Testing the .fla works. But the swf does not work in the HTML. myflash.swf loads, but the loading animation spins and spins, so presumably myxml.xml is not loading. Can anyone see what I'm doing wrong?

    Durrr, this is not the first time I've answered my own question. Maybe something about trying to explain it to someone else lets my brain make the critical connection.
    Anyway, yes it was everything to do with the external SWFs being loaded. My main swf actually loads an xml containing URLs from which to load all of the other SWFs and so I had to update the URLs inside of that, and that fixed the problem.
    Sorry for wasting forum space, but maybe this will help someone else out!

  • Embedding swf files in AIR app for ios

    Hi,
    After going through a lot of articles already available, I found answers with varying views on the following questions:-
    1) Can we embed swf files using the embed tag in air app for ios, with symbols exported ?
    Something like [Embed(source="someSWF",symbol="exportedSymbol")]
    and also something like [Embed(source="someSWF")].
    From what I understand, one can't embed swf's with actionscript byte code in them. So exporting symbols actually creates class linkages which leads to creation of abc. But I'm unsure on this because some sources say otherwise.
    2) Can we embed swf files using embed tag in air app for ios, without symbols exported ?
    Something like [Embed(source="someSWF")]
    and also something like [Embed(source="someSWF" mimeType = "application/octet-stream")]
    I read somewhere else, that you can actually embed symbols separately by providing symbol tag in embed tag but not entire swf (which leads to uncompiled actionscript error) but not sure about this as this is contradictory to finding #1.
    3) If #2 is possible, then do embedding two different swfs with same symbol names would cause a conflict and result in #3747 error ?
    Please note I am not asking about the Loader class here but using the Embed keyword for embedding swfs.
    Also do the results differ with AIRSDK 3.8 and 3.9 and using different swf-version in compiler flags ?
    In our application we started getting error #3747 in class creation of one of the embedded swfs (like new EmbeddedClass()) when we changed from swf-version 17 to 21 using AIRSDK 3.8. So was this error not there earlier or it was there but swf-version was suppressing it ?
    Any help is much appreciated.
    Thanks!

    I am fairly sure that the answer to your questions is: “no”.
    For embed to work the AIR app would have to be working in interpreter mode, and that can work for local testing, but can’t work for submitting apps. An easy change for you to do would be to use SWCs instead of Embed. Other than that you’re looking at Loader, but also a tricky command line build of the app.

  • Embedding swf into HTML+JS AIR app

    Hi
    I'm trying to embed swf into HTML+JS AIR app with no luck.
    First, I created flash library with this class in default package.
    package
         import mx.controls.Alert;
         public class Utilities
              public function Utilities()
                             //asdfasdf              
                   Alert.show("asdasd","");
    Then I compiled the project with Flash Builder and got library.swc as result. Then I extracted swf file.
    After this is added required code into my html:
    <html>
    <head>
        <script type="text/javascript" src="AIRAliases.js"></script>
        <script type="text/javascript" src="AIRIntrospector.js"></script>
        <script type="text/javascript" src="jquery-1.6.2.js"></script>
        <script src="library.swf" type="application/x-shockwave-flash"></script>
        <script type="text/javascript">
            $(document).ready(function () {
                alert('loaded');
                air.Introspector.logError("aaa");
                var v = new runtime.Utilities();
        </script>
    </head>
    <body>
    </body>
    </html>
    Then after I run application, I get error that result of expression is not constructor, function etc.
    Could you help me please?  Thanks in advance.
    Here is sample code:
    http://depositfiles.com/files/jztpnlb3a

    No. I mean that the Flex framework makes certain assumptions about the environment it is running in -- like having a stage to work with. The Alert function, for example, works by creating a sprite and adding it to the Flash display list. Since your embedded SWF is not on a stage, there's no way for it to work.
    You can can possibly use certain non-visual parts of the framework, such as the rpc package, but I can't guarantee it.

  • Re: embedding SWF into HTML

    I don't seem to be able to add to the discussion! Hans wanted the url of the file that works: http://claudinegrandjean.com/Me.- html this is the one that doesn't please forget the placement of the SWF I could fix it if it worked; Cheers, Claudine

    No. I mean that the Flex framework makes certain assumptions about the environment it is running in -- like having a stage to work with. The Alert function, for example, works by creating a sprite and adding it to the Flash display list. Since your embedded SWF is not on a stage, there's no way for it to work.
    You can can possibly use certain non-visual parts of the framework, such as the rpc package, but I can't guarantee it.

  • Listen for events from an embedded Swf

    Hi there,
    I have spend so long searching for an answer on the web but can not find any that works, please help!
    I'm not even sure if this is possible but if anyone can guide me in the right direction I would most appreciate it!
    Basically what I would like to do is to load a swf in to my flex application - contrary to my post title it doesnt even have to be embedded - when the loaded swf finishes playing it's animation I want for it to dispatch an event and for flex to listen for that event and trigger a function when the event is captured.
    The animation is made in Flash CS3. I have not used any classes, rather on the last frame I set up an action to dispatch an event like this:
    dispatchEvent(new Event("finishedPlaying"));
    In my Flex Application I load my swf using swfLoader and I add an event listener to it like so:
    mySwfLoader.addEventListener("finishedPlaying", test);
    and my function is like this:
    private function test():void
         trace("it worked!");
    This is not working at all and I'm sure I am missing something but I cant seem to find any straightforward answer on the internet!
    Is it at all possible for a swf made in flash to communicate with flex??
    Since they are both written in AS3, I figured it would be easy but alas!
    If anyone can help me I would most appreciate it, thank you in advance!!
    By the way I have also tried:
    mySwfLoader.content.addEventListener("finishedPlaying", test);
    but no luck....

    You have to wait for the swf to complete loading before adding the event listener.
    When are you adding the event listener?
    mySwfLoader.addEventListener("finishedPlaying", test);
    Have a look at the SWFLoader complete event:
    http://livedocs.adobe.com/flex/3/langref/mx/controls/SWFLoader.html#event:complete

  • Embedded swf "jumping" when scrolling an html page

    Hello!
    I have created a banner file in Flash and when embedding an swf file on the html page the swf banner appears to be "jumping" up and down when the page is longer and needs to be scrolled. This only happens when scrolling the page.
    I put up an example here:
    www.selkografiikka.com/test/coaching4.html
    You can see the black swf box jumping towards the red dots when scrolling.
    This turns out to be a problem on a website I'm working with since it's creating a rather nervous vibe to the whole feel of the site - example here:
    http://www.selkografiikka.com/tindra/index.htm
    Any ideas what's causing this?
    I am using Dreamweaver and Flash cs3.
    It seems to be a problem in all the browsers.

    Thank you Jon and Nancy for your replies.
    Sorry it took me a little while to figure out how to reply here.
    I’m happy this is not a problem on each computer according to your replies.
    I believe Java Script would be more up to date way of doing this, but the original idea was more complicated – with animated text and such so that’s why flash. I thought just to make a static picture that will show in ipads and such when flash is not supported.
    I can still see that jumping thing although I updated my flash player and otherwise have just the same browser versions as Jon.
    I might consider switching the animation part to javascript animation.
    Thank you guys!
    Liisa

  • Cannot see embedded swf's in html

    When creating my flash file, i load swf files into loaders on my stage. When testing it, it works fine, but when publishing it to the web, it dosn't show the embedded swf's?

    I'm assuming you intend that the embedded swf is the one that loads the other swfs... the one that is coded into the html page, not the ones that are loaded into loaders.  Did you upload the AC_RunActiveContent.js file that Flash creates?

  • [svn] 1384: Splitting DefineFont into the various DefineFont 1, 2, 3, etc SWF tag formats but retaining a common base DefineFont class so that embedded fonts are still retained as symbols for the SWF dictionary no matter what version of the SWF tag is us

    Revision: 1384
    Author: [email protected]
    Date: 2008-04-24 07:54:58 -0700 (Thu, 24 Apr 2008)
    Log Message:
    Splitting DefineFont into the various DefineFont 1, 2, 3, etc SWF tag formats but retaining a common base DefineFont class so that embedded fonts are still retained as symbols for the SWF dictionary no matter what version of the SWF tag is used.
    Also improving [Embed] so that it can recognize .TTC files as assets (previously these were only recognized through CSS @font-face rules).
    QE: Yes, please add a test case for using [Embed] to embed fonts from a TTC file in addition to our tests for @font-face. Note that the AFEFontManager must be configured for this scenario.
    Doc: No
    Checkintests: Pass
    Mxunit: AtEmbed Font suite: Pass
    Modified Paths:
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/media/AbstractTranscoder.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/media/FontTranscoder.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/MimeMappings.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/tools/PreLink.java
    flex/sdk/trunk/modules/swfutils/src/java/flash/fonts/CachedFontManager.java
    flex/sdk/trunk/modules/swfutils/src/java/flash/swf/Dictionary.java
    flex/sdk/trunk/modules/swfutils/src/java/flash/swf/MovieEncoder.java
    flex/sdk/trunk/modules/swfutils/src/java/flash/swf/TagDecoder.java
    flex/sdk/trunk/modules/swfutils/src/java/flash/swf/TagEncoder.java
    flex/sdk/trunk/modules/swfutils/src/java/flash/swf/TagHandler.java
    flex/sdk/trunk/modules/swfutils/src/java/flash/swf/TagValues.java
    flex/sdk/trunk/modules/swfutils/src/java/flash/swf/builder/tags/FontBuilder.java
    flex/sdk/trunk/modules/swfutils/src/java/flash/swf/tags/DefineFont.java
    flex/sdk/trunk/modules/swfutils/src/java/flash/swf/tags/DefineFontAlignZones.java
    flex/sdk/trunk/modules/swfutils/src/java/flash/swf/tags/DefineFontInfo.java
    flex/sdk/trunk/modules/swfutils/src/java/flash/swf/tools/SwfxPrinter.java
    Added Paths:
    flex/sdk/trunk/modules/swfutils/src/java/flash/fonts/DefineFont3Face.java
    flex/sdk/trunk/modules/swfutils/src/java/flash/swf/tags/DefineFont1.java
    flex/sdk/trunk/modules/swfutils/src/java/flash/swf/tags/DefineFont2.java
    flex/sdk/trunk/modules/swfutils/src/java/flash/swf/tags/DefineFont3.java
    flex/sdk/trunk/modules/swfutils/src/java/flash/swf/tags/DefineFont4.java
    Removed Paths:
    flex/sdk/trunk/modules/swfutils/src/java/flash/fonts/DefineFontFace.java

    Running the script by python2 solves it for me:
    su - mythtv -c "nice -n 19 python2 /usr/bin/tv_grab_nl_py --output ~/listings.xml"
    Best regards,
    Cedric

  • UPK:  Can it create a .swf file for embedding into Articulate?

    We are combining a policy and systems training course. The policy part of the course is built in Captivate and the Systems part of the course is built in UPK. I am able to easily embed the Captivate Policy section into Articulate, but am struggling with the UPK Systems section. It appears that I can insert it as a web object, but that requires server access by our learners and it opens in a seperate window that the learners will have to close as IE won't auto close.
    If UPK could output a .swf file, or if there was some way to convert the player.exe or topic.odtpc files to a .swf file, that would be great...any suggestions?

    Hello,
    Many UPK customers are using their existing Flash content in the concept frames for topics, sections, and modules. This is quite easy to do. Since Flash content on its own isn't very easy to deploy, Adobe Flash has the option to create HTML pages that act as a "home" for the SWF files generated. You'll need to use these HTML files when you copy your Flash content into a UPK package. Once you have all of the files and folders created with the Flash content in a package, all you need to do is create a link to the main HTML page. I don't have Flash or Captivate installed, so I cannot provide exact steps, but I hope this helps.
    EDIT: Oops! I just realized that I misread your question. I'm not familiar enough with Captivate or Articulate, but UPK can be treated like a collection of web pages. The UPK web pages require all the folders that come along with the published player as they contain style information in CSS files and more advanced stuff in Javascript files. If you can pull in all of the UPK files and folders, it should be possible to link to specific topics per the steps described in the UPK product documentation, specifically Content Deployment.pdf.
    Best regards,
    Marc
    Edited by: Marc Santosusso on Aug 3, 2010 6:29 AM

  • HTML code for embedding QT file

    Hey QuickTimeKirk, I liked yr last answer and liked yr new proposal even better. So can you tell me the HTML code for embedding a looping .mov file on a website?

    Here's a link that describes the html tags for QuickTime files:
    http://docs.info.apple.com/article.html?artnum=61011
    Here's a link that shows a more modern method required by IE on a PC:
    http://developer.apple.com/internet/ieembedprep.html
    The tag for looping is simply loop="true" (embed tag) and param name="loop" value="true" for the object tag.

  • Is there a script for an audio controller linked to an embedded swf?

    Is there a script for an audio player or controller that has some functions like play resume stop for an embedded swf file?  I would use buttons for this purpose but for some reason, when I click on the pause button on the pdf, and then click on resume, playback resumes five seconds before the point at which I paused. And i would prefer to rely on just using the built in player in the pdf but the quicktime player doesn't play the swf smoothly; it freezes.

    iTunes Folder Watch
    tt2

  • Control volume for an embedded swf file in Captivate 5

    Hello everyone -
    I  have just searched the forum but cannot find anything on controlling the  volume for an embedded swf within Captivate 5. The cap 5 palyback  controls will not be used. Is there a way to control the volume ? I  found info for AS 2 bur not as 3.0
    Thanks much
    Rick

    I tried this as a solution:
    I imported the .swf file to Captivate. I tried to then publish the file as as .FL4, to then reimport into Captivate.
    That should give me the option to control the entire movie (sound and video) using Captivate playbar.
    BUT, when i try to publish as .FL4,  only the sound published, not the video.
    Any suggestions?
    (i have searched this site and the web in detail and have not fouind a solution),
    tallis lockos

Maybe you are looking for

  • Mac Pro Bootcamp WIFI-driver immunity

    So. Apparently OS X 10.10.1 and Windows 8.1 are fighting a war over my Network and Bluetooth Device (Broadcom) in my Mac Pro (late 2013). It's really the strangest thing. I have looked everywhere, tried everything and I still have no idea what's happ

  • Problem with doing bus to Aux/live rack unit sends

    Hi all, Just recently bought a compressor and a Spring Reverb... both rack units (not plug ins).... both with (1/4'') IO. My plan was to do a Bs send to an Aux. that utilized the IO plug in (routing a send and return to one of my new units). There af

  • Powerpoint to PDF conversion leads to dark borders appearing around images in the pdf. How do I fix this?

    Hi, so I'm doing a batch conversion of powerpoint presentations to PDF. The originals have icons with no borders around them, the final product has borders around all the images. Is there a bunch of settings that I can change so that this doesn't hap

  • Problems with READ STATEMENT

    Hello ABAPers, I have this code:   SELECT ebeln bukrs   FROM ekko   INTO TABLE it_ekko   FOR ALL ENTRIES IN idata   WHERE ebeln = idata-vbeln_p.   LOOP AT idata WHERE ebeln IS NOT INITIAL.     READ TABLE it_ekko WITH KEY ebeln = idata-ebeln          

  • I-chat video not smooth

    Can anyone help? I just bought the new i-Mac w/intel processor. My video is not smooth and seems to lag. My internet connection seems fast enough. I am running at a speed of approx. 2.7mb. Any suggestions? Or is someone free to test w/ me today? My s