Swf files in dw cs5.5

Hi There,
I'm posting a new thread here as I saw a post that seemed similar to my little dilemna, but not quite...
I've made a flash file in Flash CS5.5.  I have published the file to the root directory of my website that is located on my hard drive.  I have inserted the swf file using Insert>Media:SWF into the body of my html.  When I hit the play button under the properties bar, the swf file executes as I planned.  When I hit preview in browser (Firefox)  nothing appears, save for a box that is perhaps the size of my flash file, however, I cannot tell as it blinks for a nanosecond then is gone.
I don't know if this is related, but when I set the window mode to transparent windowless, the file sill plays in dreamweaver design tab with whatever background the stage was when published.  The code seems right, but again, no transparent background.
Are these two things related or seperate problems?  I read somewhere that if you are running a Windows XP 32 bit that you could run into problems...
I'm inserting the code to see if anyone can assist. I would send a website link, but seeing as nothing is showing up on preview this would not be helpful.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
    <head>
        <title>mainmenu</title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <style type="text/css" media="screen">
        html, body { height:100%; background-color: none;}
        body { margin:0; padding:0; overflow:hidden; }
        #flashContent { width:100%; height:100%; }
        </style>
    </head>
    <body>
        <div id="flashContent">
            <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="600" height="300" id="mainmenu" align="middle">
                <param name="movie" value="mainmenu.swf" />
                <param name="quality" value="medium" />
                <param name="play" value="true" />
                <param name="loop" value="true" />
                <param name="wmode" value="transparent" />
                <param name="scale" value="showall" />
                <param name="menu" value="true" />
                <param name="devicefont" value="false" />
                <param name="salign" value="" />
                <param name="allowScriptAccess" value="sameDomain" />
                <!--[if !IE]>-->
                <object type="application/x-shockwave-flash" data="mainmenu.swf" width="600" height="300">
                    <param name="movie" value="mainmenu.swf" />
                    <param name="quality" value="medium" />
                    <param name="play" value="true" />
                    <param name="loop" value="true" />
                    <param name="wmode" value="transparent" />
                    <param name="scale" value="showall" />
                    <param name="menu" value="true" />
                    <param name="devicefont" value="false" />
                    <param name="salign" value="" />
                    <param name="allowScriptAccess" value="sameDomain" />
                <!--<![endif]-->
                    <a href="http://www.adobe.com/go/getflash">
                        <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
                    </a>
                <!--[if !IE]>-->
                </object>
                <!--<![endif]-->
            </object>
        </div>
    </body>
</html>
thanks in advance, and I appreciate your patience.  Let me know if anything needs clarification...
Rachel

Hi Pz,
I think I found the solution.  I looked at some other website's code to see how they structured the imbeded flash file... it was different than that which was produced by flash or dreamweaver.  here it is:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<script type="text/javascript" src="scripts/AC_RunActiveContent.js"></script>
</head>
<body>
<script type="text/javascript">
    AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','wid th','1100','height','750','src','index','quality','high','pluginspage',        'http://www.macromedia.com/go/getflashplayer','wmode','transparent','movie','index' ); //end AC code
    swfobject.registerObject("FlashID");
</script>
<object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="550" height="400">
<param name="movie" value="flash/blueboxalone.swf" />
<param name="quality" value="high" />
<param name="wmode" value="opaque" />
<param name="swfversion" value="11.0.0.0" />
<param name="expressinstall" value="scripts/expressInstall.swf" />
<object type="application/x-shockwave-flash" data="flash/blueboxalone.swf" width="550" height="400">
<param name="quality" value="high" />
<param name="wmode" value="opaque" />
<param name="swfversion" value="11.0.0.0" />
<param name="expressinstall" value="scripts/expressInstall.swf" />
        <div>
         <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
         <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>
</object>
</object>
</body>
</html>
thanks again for all your help.

Similar Messages

  • Open a URL link in the same window as SWF file in indesign CS5

    Hello,
    I am trying to create a SWF file using indesign CS5.  I have created buttons and placed in URL links but they always open another window.  I would like to know if there is a way to have the URL open in the same window that the SWF file has been created.  I tried, putting "_self" to target it in the URL bar, but nothing works.
    Thanks in advance
    TK

    Okay, I found the code but I can't get it to work locally.  If you have a web server maybe you can upload the files (swf and html) after you Publish them:
    import flash.net.URLRequest;
    import flash.events.MouseEvent;
    var myURL:URLRequest = new URLRequest ("http://www.google.com");
    testlink.addEventListener(MouseEvent.CLICK, clickText);
    function clickText(myevent:MouseEvent):void {
    navigateToURL(myURL, "_self");
    you have to have on the stage a link element called "testlink" (see the code above) which would be a Movie Clip with the label testlink.  It can be anything from InDesign:  a button, a rectangle, a circle, a graphic, you get the idea.  Just select that object in Flash and label it testlink or anything you choose but if you change the name from testlink also change the name in the code snippet where the line "addEventListener" is.

  • Importing a flash Catalyst .swf file in Flash CS5 ?

    Hi,
        I found Flash Catalyst by luck while browsing the Adobe website and downloading the Flash CS5 trial...
    One simple question....
    Can I import a .swf file created in Flash Catalyst into a Flash CS5 .fla as an element ?
    I created a scrolling text attached to a custom made scrolling bar in Flash Catalyst, and I would now like to use it in my Flash CS5 project...
    Well, I will be waiting for your responses...
    Thanks in advance for your help !
    Gilbert Gour

    Unfortunately you can't import an SWF from Flash Catalyst into Flash CS5.  Flash Catalyst uses the Flex Framework for building the its SWF.  Flash CS5 does not use the Flex Framework and doesn't know what to do with that kind of file.  You can load an SWF from Flash CS5 into your Flash Catalyst project, though. 

  • Exporting Swf File in Indesign CS5

    When exporting a swf file from CS5 how come is doesn't allow the same Flash features as in Flash? For example if you decided to zoom into a swf file in CS5 it doesn't move. However from Flash the published swf file moves when you zoom in. Is there something I am doing wrong or is it just the program that is forcing itself to do that?
    If anyone can help that would be nice. Also I'm looking for a way to create a swf toolbar so I may zoom in and out without relying on flash. I am more into CSS and javascript-jquery. If anyone can push me in the right direction that will be good too.
    An example is down below:
    http://my.safaribooksonline.com/book/photography/9780321678744/firstchapter
    Thanks,

    ...Also I'm looking for a way to create a swf toolbar so I may zoom in and out without relying on flash. I am more into CSS and javascript-jquery. If anyone can push me in the right direction that will be good too.
    As mentioned, not much you can do with indesign only. Check out third party tool eDocker
    With eDocker you can add proper user interface to SWF you have exported from InDesign, with draggable zoom + lot´s of other improvements.
    Sample magazine: http://www.edocker.com/_demo/edocker-online-demo/

  • Help importing a .swf file from Flash CS5.5 to After Effects CS5.5

    I am working on animating a person in flash.  I have a main timeline and then a timeline inside of a symbol so I can move
    the characters facial features (eyebrows and mouth etc) apart from moving his entire body.
    I want to have multiple scenes so I am importing all of the .swfs into After Effects and putting them together. 
    However, when I import the .swf into After Effects, it only plays what occurs in the main timeline
    and not the timeline inside of the symbol, so it is just the character moving without the facial movements.
    Is there a way to fix this or a better program to import the .swfs into and make the video?
    Thanks in advance.

    Here's the note from After Effects Help aboutt he limitations to SWF import:
    SWF (continuously rasterized) Note:  SWF files are imported with an alpha channel. Audio is not retained. Interactive content and scripted animation are not retained. Animation defined by keyframes in the main, top-level movie is retained.
    The limitation that you noticed---that only animation in the top-level timeline is retained---is not one that can be worked around without changing how your animation is set up in Flash.

  • EMail Link in SWF exported from InD CS5 does not work

    I'm trying to find a definitive answer on this. I have designed an interactive document in InD CS5 that has buttons and hyperlinks. When exported to SWF everything works except my e-mail hyperlink. It works fine in InDesign's preview pane. I've uploaded the file to my webserver for testing, the problem still occurs.
    I found one post in another forum that quoted an Adobe InD developer stating that as of CS4 email links were not exported. However, I've not been able to find any mention of whether this works in CS5 or not.
    Does anybody know for sure whether or not email links work in SWF files exported from CS5?

    Sorry, no offense was intended. I had found references to problems with CS4, but nothing about CS5, and said as much in my post -- was frustrated that I had spent a long time looking and hadn't found any responses yet.
    You mentioned using buttons rather than hyperlinks, and that worked for me -- but it might have just been a problem with my browser not properly reloading the flash file, too -- as I mentioned in my response.
    But in any case, THANK YOU FOR YOUR SUGGESTION!

  • Run swf file on ipad

    I have exported a swf file from indesign CS5.5 ( contains audio, interaction, movie...) and I want to run it on my iPad, and off-course I can not install flash player on iPad. How can I solve this problem Without loosing interactivity? What is the right format to create an interactive brochure and become suitable with ipad ?.  Thanks a lot Sahar

    sahar2002eg wrote:
    What is the right format to create an interactive brochure and become suitable with ipad ?.
    Use the iBooks Author app to create .ibooks format, or follow instructions provide by Adobe to produce an .epub format file using InDesign.

  • Flash Container...to big when viewing SWF files

    I have used Flash Professional  CS5.5, to make a SWF.file, that when I save as all, it also includes a FLA file. I use this SWF file in  Dreamweaver CS5.5 , Insert , Media, to view this I have set the Parameters name .swf, . When I select Live View, all runs ok, but how do you make the Flash grey box smaller that keep the swf pictures the same size….when I change any of the widths and heights the banner sow with very small pictures.
        <!-- end .sidebar1 --></div>
    <div class="content"> <h1>
          <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="572" height="400" hspace="1" vspace="1" id="FlashID" title="banner2">
    <param name="movie" value="banner2.swf?banner2.swf=" />
    <param name="quality" value="high" />
    <param name="wmode" value="opaque" />
    <param name="swfversion" value="6.0.65.0" />
    <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
            <param name="expressinstall" value="Scripts/expressInstall.swf" />
    <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
    <!--[if !IE]>-->
    <object data="banner2.swf?banner2.swf=" type="application/x-shockwave-flash" width="572" height="400" hspace="1" vspace="1">
    <!--<![endif]-->
    <param name="quality" value="high" />
    <param name="wmode" value="opaque" />
    <param name="swfversion" value="6.0.65.0" />
    <param name="expressinstall" value="Scripts/expressInstall.swf" />
    <!-- The browser displays the following
    Thanks I await any reply’s…
    Email [email protected]
    I havent been able to bring the text up under this flash diolog box, always a big gap...

    Hello All,
    for me it's very interesting, 'cause Adobe makes some differences. In the German forum you are allowed to load up files too, see screenshot:
    Allowed are all file types and they are limited to 8.9 MB.
    We could send this thing to the wishform adress.
    Sincerely,
    Hans-Günter
    P.S.
    I so too can't understand why our questioner doesn't want to send a link. We're just nothing than normal users, Glen please don't worry.

  • Flash CS5.5, SWF file doesn't load TLF text.

    Hiya,
    I just downloaded the trial version of Flash 5.5. I was trying to a tutorial from  Adobe Classroom in a Book: Flash Professional CS5. I was trying to do lesson 7 which is all about TLF text.
    In the tutorial, you insert text that is TLF text. Most of the text doesn't do anything (it's Read-Only). But there is one area that is supposed to be a Mortgage Calcualtor and functions with ActionScript.
    I inserted the ActionScript that makes the Mortgage Calculator text do the proper math. My problem happens when I try to test the movie: the SWF file doesn't display any of the TLF text, and the Output panel gives me the following:
    ReferenceError: Error #1065: Variable TLFTextField is not defined.
    ReferenceError: Error #1065: Variable TCMText is not defined.
    I am confused because there aren't any variables with those names in any of the files of the tutorial, or in the ActionScript I entered. Where is Flash getting those variable names from? O_o
    I even turned the text back into Classic text to see if that helped, but I still get the error. Could this be a glitch with Flash 5.5?
    Thanks for your time.
    Tara

    That file has all the menu items in it.
    A crossdomain file is use as a security measure. Perhaps I see it because I use a webpage on my own server to display your SWF file. Check to see if that's the case with you.
    But I gave it another try.
    I downloaded the menu.swf and the xml file and stored them in a folder. I use a custom webpage and stored that in the same folder.
    Instead of the full URL is simply use the filename.
    <object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" id="obj1"
    codebase="http://download.macromedia.com/pub/shockwave/cabs/ flash/swflash.cab#version=6,0,40,0" border="0"
    width="870" height="800">
    <param name="movie" value="menu.swf">
    <param name="quality" value="High">
    <embed src="menu.swf"
    pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj1"
    width="870" height="150"></object>
    That works.
    When I paste the <object> code in the HTML Snippet and use relative URLs to the menu in the folder mentioned above, I noticed that the XMLHorizontalMenu.xml is expected to be in the Pagename_files folder. That folder belongs to the iWeb pages it is embedded in. When I put the xml file there, the menu works.
    You have to check the design of the menu.swf file.
    Otherwise, store all files in a separate folder and use a <iframe> to embed it.

  • Swf files only play after FLash CS5.5 is loaded

    I click on a swf file in a folder and for a while it said it was a shockwave file (after I downlaoded and installed Shockwave, I don't know why, had nothing to do I guess).   So I realized that shockwave wasn't the answer and uninstalled it.
    Then when I click on a swf file, nothing happens. I've right clicked on it and tried to put an association with it but I don't know where the flash player 11.1.152 resides in orderr to make the association.
    I had cs4  D,P, and cs5,D,P,  which I just recently uninstalled becaues adobe told me it was ok to uninstall the Design Premium  since I recently purchased cs5.5 master collection.  I usually don't fool around with files like this but
    I must have been bored.  Now I'm not.
    t Since I don't know wha t to associate my swf files with, I associated it (file association, I get there by right clicking on a swf file and a small window opens and asks what prorgram it should use to open the swf file). I know it's FLASH but
    I don't know where the file resides... in windows? In program files? In program data?? Where??  Once I find it, I will be able to chooes it and make the file association. and I am sure it will work then.   I have an adobe case # with this issue
    but it's taking them 2 days now to find an answer. they suggested I come here, so here I am.  PLease assist!! Thanks in advance!  doug

    So, I finally figured out how to do it. And here is the code for anyone who is trying to do the same.
    First thing first when you are exporting captivate file to flash it creates a "com" folder, you will need that folder to access the rdSoundHandler.
    And then simply use the following code to play/pause the swf. This code will not work for swf file created in flash.
    This is the answer to problem I found, if anyone find a better way then please keep posted.
    import flash.net.URLRequest;
    import flash.display.Loader;
    import com.adobe.captivate.flash.rdSoundHandler;
    var ldr:Loader=new Loader();
    addChild(ldr);
    ldr.load(new URLRequest("externalCaptivate.swf"));
    playp.addEventListener(MouseEvent.CLICK,playF);
    pausep.addEventListener(MouseEvent.CLICK,pauseF);
    function playF(e:Event){
    MovieClip(ldr.content).rdcmndResume = 1;
    function pauseF(e:Event){
    MovieClip(ldr.content).rdcmndPause = 1;

  • Flash CS5 SWF File not functioning in Captivate 5

    Hi,
    I have an Interactive SWF File created in Flash CS5 that has an Intro screen with a button to continue etc and it opens to a presentation with several buttons, and works fine.
    I bring the SWF file into Captivate 5. It shows fine in the Slide, but when I test it or publish it, two things happen.
         It stops after a second and disappears. I have set it to play for the duration of the animation, but it makes no difference.
         If I extend the timeline out to several minutes then it will stay, but although the Start button works, nothing happens, it just sits there.
    how do I get the Slide to stop and stay so that the user can take their time interacting with the animation. ( I dont how long someone will spend on the presentation)?
    Why doesn't the interactivity actually work?
    Cheers

    Take a look at this other thread: http://forums.adobe.com/message/3606274#3606274
    It may explain the reason for the issue and what you can do about it.

  • Bridge CS5 Very Unstable when Previewing SWF files - fixes pending?

    Bridge CS5 is very unstable when an SWF file is playing back in the Preview panel.
    I only have to switch to another window, and Bridge bombs out.
    Is this a known issue? Is a fix pending?
    Thanks
    Richard
    I'm on XP Pro SP3.

    That's a very "Curt" response!
    The graphics driver is the latest available for my graphics card - a NVidia Go 7900GS.
    Thanks
    Richard

  • Adobe Flash CS5 generating SWF file size more then fla file?

    Hi,
    I have developed a video player in adobe flash cs4 and used all vector arts but when I open this fla file in Adobe Flash CS5 and published it, the swf file size more then fla file.
    Please see the details below -
    Adobe Flash CS4 -
    Index.fla file size: 523 KB
    Index.swf file size: 55 KB
    Adobe Flash CS5 (Same file when open in CS5 and published)
    Index.fla file size: 183 KB
    Index.swf file size: 215 KB
    Please suggest.
    Thanks & regards
    Sunil Kumar

    Not working!
    Thanks
    Sunil Kumar

  • INDESIGN CS5 .SWF files to large

    So, I thought with Indesign CS5 it would be a great idea to do a website with full idesign. This was working great until I realized that as i exported to a .SWF it was 49.9mb. Now i know that this is a large website (almost 70+) pages long. But is there any advice anyone can give me to shrink the file size or was it a bad idea to begin a website in INdesign right now. I know that using flash and .css and all that is the traditional way of doing a website but at the same time I don't like messing with all that code and thought this would be a great way to build a website.
    ANY help would be great because i can't afford to have a 3 and a half minute download time on a website.
    Thanks,
    Justin

    I think I may have responded to this in the community help section, but I'll repeat what I said there. InDesign has some impressive Flash capabilities but using it to create an entire website....no, not a good idea at all.
    The size of the SWF files is a major issue and they are quite simply not suitable for this purpose. Additionally, an entire website in Flash is an SEO nightmare so it won't matter how long it takes to load since nobody is likely to find it.
    Flash should be used judiciously on the web. In fact, I never use it. All that said, the only advice I can offer if you decide to ignore the rest of it, is to export to FLA, open it in Flash Professional and finish it up there.
    Bob

  • Linking URLs to InDesign CS5 exported .swf files

    I primarily work in print design, but I've exported a few animated .swf files of web banner ads from InDesign CS5, and the folks on the receiving end can't use them because they're unable to link them to a URL (in whatever manner they're able to with other Flash files). I was hopeful that I could open the files in Flash and edit them there, but it seems not to be an editable file. It's been pretty frustrating watching work go down the drain and people have to settle for less glamorous static ads. Does anybody know a solution?

    I think I may have responded to this in the community help section, but I'll repeat what I said there. InDesign has some impressive Flash capabilities but using it to create an entire website....no, not a good idea at all.
    The size of the SWF files is a major issue and they are quite simply not suitable for this purpose. Additionally, an entire website in Flash is an SEO nightmare so it won't matter how long it takes to load since nobody is likely to find it.
    Flash should be used judiciously on the web. In fact, I never use it. All that said, the only advice I can offer if you decide to ignore the rest of it, is to export to FLA, open it in Flash Professional and finish it up there.
    Bob

Maybe you are looking for

  • Films in itunes library not showing as available to sync?

    I have around 8 films listed in my itunes library but 6 of them are not showing up as available to sync to my ipod touch. I have bought all the film through itunes with the latest only the other day; it is this film and the previously bought film tha

  • AppStore telling me the same app requires "updating"?

    Hey all, I've downloaded from the App Store the newest version of The Sims 3, however both iTunes and my iPhone 3GS are still telling me I have one update to download, and it's the same application. I tried re-downloading/syncing, yet it keeps tellin

  • Lightning-to-30pin adapter compatibility questions

    I'm thinking of upgrading my iPhone 4S to a 5 or 5S.  I own two docks and would like to keep them.  The product description for the adapter states: Supports analogue audio output, USB audio, as well as syncing and charging. One of the docks takes the

  • Recommend a case for 5G 60GB iPod & iTrip Dock

    Hi, This is my third iPod and my first post on this forum (although I've been lurking around here for some time and have found this place immensely useful). I'm looking for a case that will allow me to plug in my iTrip Dock while the iPod is in the c

  • Query: Windows Registry setting to preventing installation of sponsored product apps (McAfee, etc.)

    To Adobe Support and Others who might know this answer. What is the Windows Registry Setting a admin could set on a system in order to prevent Adobe products such as Flash, from installing sponsored product applications from installing? In this case