Adding a swf

Having trouble adding a swf file to my Dreamweaver site. I've
read a lot of posts regarding adding the scripts folder but I'm
unable to view my swf once I add it to Dreamweaver on my computer.
The swf plays fine on its own, just not viewable in Dreamweaver.
Insert - Media - Flash is the way I've done it using CS3 on a Mac
PowerBook Pro.
http://www.billhornstein.com/photography.html
is a link. Any ideas?

It's curious. If I browse directly to the swf file, I can see
it. If I
browse directly to the Active_Content script, I can find it
there. The only
thing I can imagine is that somehow the call to the script is
messed up.
Please make sure that this is all on one line in your page's
code -
<script type="text/javascript">
AC_FL_RunContent(
'codebase','
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','wid th','700','height','500','title','colorslideshow','src','assets/ColorPics/slideshow/slides how','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi? P1_Prod_Version=ShockwaveFlash','movie','assets/ColorPics/slideshow/slideshow'
); //end AC code
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
==================
"hornstein" <[email protected]> wrote in
message
news:flok82$lgk$[email protected]..
>I just corrected it and still nothing. The previous swf
didn't have spaces
>either.
http://www.billhornstein.com/photography.html

Similar Messages

  • Adding a swf for your desktop background

    Hey everyone,
    A buddy and i were talking about if it was possible to add a
    swf for your machines desktop background. I have seen animated
    backgrounds before but never put much thought into it so we tried
    loading a swf and it didnt work... does anyone know how to create
    on of these?
    Thanks!

    I created a 1024 x 768 image in Photoshop; saved it as .PNG
    file and imported it in Flash 8. I added a few buttons to it and
    published the file in .SWF and .HTML so that I could use the html
    file as my Desktop background. The published file size is also 1024
    x 768. When I apply the html file as my desktop background, the
    image on the desktop is pushed down and right leaving a 1/4" border
    at the top and left side of the screen, cutting off the bottom and
    right side of the image. However, when I publish the file in
    animated GIF or just set the .PNG image as my Desktop background,
    they align correctly on the Desktop. How do I change the alignment
    of the published html file on my Desktop?
    Thanks; I only spent a whole day on this today...

  • Getting an unwanted line when adding a swf file to dreamweaver and previewing it in the browser...

    I created a very simple swf with a box moving from stage right onto the stage.  It works fine when previewing the swf itself, but when previewing from dreamweaver there is a small line that only extends half way across the swf file (which happens to be the length of the box). I even made the box smaller than the stage but the line still appears at the bottom.

    Sometimes it helps to create a box in the background color that overlaps the edge of the stage. I had the same problem with a .swf that had a black background. The web page had a black background too but there was a white line at the bottom of the .swf when I previewed it in the browser. I added a black box to the background that went past the bottom of the stage and into the surrounding area and resaved it. The white line disappeared.

  • Detecting the type of Image added to SWF

    I am adding an image dynamically to my SWF. Is it possible to figure out that whether the uploaded image is black & white or gray-scale or colored?

    There are surely different, and possibly better, ways to do this, but this has worked pretty reliably for me before. I just take a diagonal strip of pixels and compare the rgb values. If the rgb components of any pixel vary too much it's pretty guaranteed it's a color pixel - a grayscale pixel's components are all pretty much the same - ie 100,100,100 vs something like 100,10,0 in a red tinted pixel...
    function check(bmd:BitmapData):void
                var yRatio = bmd.height / bmd.width;
                var c:uint;
                var red:uint;
                var green:uint;
                var blue:uint;
                var fail:Boolean = false;
                for (var i:int = 0; i < bmd.width; i++) {
                    c = bmd.getPixel(i, Math.floor(i * yRatio));
                    red = c >> 16 & 0xFF;
                    green = c >> 8 & 0xFF;
                    blue = c & 0xFF;           
                    var variance:int = 5;
                    if (red != green || red != blue) {
                        if (Math.abs(red - green) > variance) {
                            fail = true;
                        if (Math.abs(red - blue) > variance) {
                            fail = true;
                        if (Math.abs(green - blue) > variance) {
                            fail = true;
                        if (fail) {                       
                            break;
                if (fail) {
                    trace("not a black and white");
                }else{
                    trace("Black and white image - possibly sepia tone");

  • Adding multiple swf files to Dreamweaver

    I'm trying to upload multiple .swf files to my website with
    no luck. I've done this with previous versions of Dreamweaver but
    with CS3 I'm finding it won't happen. I've done the Insert ->
    Media -> Flash action as before and exported my files to be read
    in Adobe Player 8 but nothing then happens after the files have
    been uploaded yet locally everything works fine. I've uploaded a
    scripts file also but all of the .swf files are linked from
    different folders, could this have any effect?
    What am I doing wrong?
    Chris.

    CJR 2007 wrote:
    > I'm trying to upload multiple .swf files to my website
    with no luck. I've done
    > this with previous versions of Dreamweaver but with CS3
    I'm finding it won't
    > happen. I've done the Insert -> Media -> Flash
    action as before and exported my
    > files to be read in Adobe Player 8 but nothing then
    happens after the files
    > have been uploaded yet locally everything works fine.
    I've uploaded a scripts
    > file also but all of the .swf files are linked from
    different folders, could
    > this have any effect?
    >
    > What am I doing wrong?
    Generally making sure that the SWFs are at the remote
    location where you think they are supposed to be (and where the
    code thinks they are supposed to be) as well as making sure that
    the active content JavaScript file(s) are uploaded and are present
    where the page is expecting them to be. Beyond that, for anyone to
    see what is wrong with your page(s), you have to post a link to
    your page(s).
    Danilo Celic
    | Extending Knowledge Daily :
    http://CommunityMX.com/
    | Adobe Community Expert

  • Adding a SWF to a surface on a 3D PDF

    Using Adobe Acrobat 9 Extended, a trial worked using a U3D model that had what appeared to be a texture mapped to a surface.  The properties, resources tab allowed us to add a SWF.  We have been unable to reproduce the same thing with models we created.
    I just downloaded Deep Exploration so that I can create U3D format models.  Maybe that will work.
    Anyone out there doing what I described successfully?

    Thank you

  • Adding a swf file with videos in captivate.

    Hello,
    so basically I've built a little flash software, that has around 4 videos in it.
    Now when importing the swf into captivate, the videos don't appear.
    Anyway around this, or to fix it?

    Hi,
    Welcome to Adobe Forums.
    Please provide some details so that we can help you in fixing the issue.
    1) Which product have you used to create the flash software?
    2) Are the video playing in the flash software?
    3) File formats of all the 4 videos.
    4) Are the videos playing fine when you import them directly into Captivate?
    5) Which version of Captivate?
    6) Do you have Windows XP, Windows 7 or MAC?
    Thanks
    Vikas

  • Adding another swf file to the air application

    I have developed adobe air application. Before the application is launched, I want to play a .swf file with sound
    as introductory and then launch my air application.
    How to integrate the .swf file with my application?
    If some one can share how to do this in Adobe Air it will be of great help to me.
    Thanks in advance

    I am not aware if you can run various swf's from Air in any particular sequence, but it is pretty irrelevant as you can have a shell.swf that loads the sound from an external or attach it if embedded in the library, play it and onSoudComplete step to the next function. I can't see you need to load 2 swf's as it sounds like you just need an intro page, listen to the sound and move into the application, perhaps with an option for the user to skip the intro. If you are using AS3 I can't comment further - in AS2 it's simple and little coding.
    var sf1a:Sound = new Sound(this);
    sf1a.attachSound("snf1");
    stop();
    stopAllSounds();
    sf1b.onSoundComplete = function(success:Boolean) {
    if (sfp ==0 and sf >= 3) {
      gotoAndPlay("frame23");
    } else {
      sfp=0;
      gotoAndStop("frame3");
    sf1b.start();

  • Adding a SWF file into a Coacoa application in Xcode.

    Hello all,
    I'm not the most experienced Mac developer, and I have a question. I want to input a SWF file into my application. Whenever I just add it in by dragging and dropping, it looks fine while building it however it doesn't show up in testing. It just shows a white screen.
    My second question is about auto loading a web page while making a browser in Xcode. If I have made a browser in Xcode, how do I make it to where when you open the application it automatically loads the specified web page you want. Would this be done by AppleScript? If so, how?
    Thanks, I hope I explained the questions clearly.

    Alex4000 wrote:
    I'm not the most experienced Mac developer, and I have a question. I want to input a SWF file into my application. Whenever I just add it in by dragging and dropping, it looks fine while building it however it doesn't show up in testing. It just shows a white screen.
    It sounds like you need to make sure it gets copied to your application's resources folder (and make sure it gets loaded from there, too). Look into a copy files build phase, where your SWF file would get copied to your app's resources directory.
    My second question is about auto loading a web page while making a browser in Xcode. If I have made a browser in Xcode, how do I make it to where when you open the application it automatically loads the specified web page you want. Would this be done by AppleScript? If so, how?
    You can do that directly in your app with a WebKit call. Look at "loadRequest:" in the documentation for the details.
    charlie

  • Adding swf (Captivate clips) into RoboHelp: flash controls don't work

    Hi all,
    I've added captivate swf project and ALL the flash controls (toc, play etc) don't work, though it plays continuously from the beginning. If I extract that page HTML code and play it separately, it works on all browsers. I render RoboHelp projects as MS HTML Help.
    Are there any known issues with rendering flash clips in Microsoft HTML Help? it looks as it is using some weird embedded browser for swf.
    any suggestions?
    thanks

    Hi again
    Okay, this gets curiouser and curioser the more I look at it.
    At first blush it appeared things were working. Then I tried the playback controls. Odd, the controls will allow a single click and they will carry out whatever function you clicked. But that seems to be it. Further clicks appear to be disallowed. I tested with a fresh Captivate movie as well as one that uses the Domain Lock Widget.
    Wondering if this was an overall issue with SWF content in general or if it was simply tied to the Playback Controls, I then tried adding some button objects to each slide to allow the user to navigate from slide to slide. This seems to work.
    I thought (hoped actually) that perhaps it was simply the default playback controls causing the issue. Unfortunately it doesn't seem to be. I tried creating a SWF using the Aluminum controls. Same issue.
    At this point I have to admit that I'm more than a little stumped. I'm surprised that I've not heard of this before or that others haven't reported it. However, I use Captivate files in my CHM files all the time. The main difference is that I never use playback controls in my movies. I am always using either Buttons or Click Boxes to navigate.
    So being generally unsatisfied and poking it further, I seem to have found the culprit. I did the same thing in RoboHelp 7 and there wasn't an issue. What was different? I scrutinized the code and there was no difference. Hmmm
    Then it hit me. The difference here was that where the Captivate playback control only functioned after the first click, the RoboHelp project was using Browse Sequences. So I edited the window definition and turned them off. BINGO! The Captivate works fine now.
    I also tested using RoboHelp 7. Same issue there as well.
    Definitely this should be reported to Adobe as a bug. Link is in my sig.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Issues adding swfs created in Flex to a Captivate project

    The company I work with, ePath Learning Inc. has an online authoring tool called eActivity that we use to publish different eLearning templates. This online tool is built completely in Flex and uses the Flex compiler to ouput a swf file that can be used in many different products and online courses. Because it's an AS3/Flex created swf, we've had to wait for Captivate 4 to be released to support the generated swf file, so now we are testing it's compatibility and have run into some issues. It appears that swf files from our online authoring tool do not work correctly in Captivate. Further testing resulted in any swf published using Flex do not work properly in Captivate. Attempts at adding a swf file complied with Flex result in a variety of different errors as well as a performance issue causing the control bar as well as all other aspects of the Captivate project to work incorrectly.
    I've attached 2 sample swf files, 1 built using our online authoring tool and 1 using Flex Builder 3. When added to a new blank project in Captivate 4 using AS3 settings we have the errors as explained above.

    Hi there
    I just uploaded a small video to Jing. See if it helps you resolve the issue.
    Click here to view
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • Swf file not playing in browser

    I have a problem with a swf file which will not play in web browser.
    It played fine until I updated my site. I therefore suspected a pathing issue within dreamweaver and looked thorugh that forum for an answer.
    I tried typing the absolute path to the swf file in the browser address bar and found it straight away. When I clicked on it the screen stayed blank.
    I checked the path to the file and the flv file was relative to the document and not the site.
    swf plays fine in flash player, flash, and locally on dreamweaver.
    I moved the swf up the file tree and changed the links accordingly but still would not play.
    I also tried saving it as a new swf from flash, but that doesn't play either.
    I added another swf to the containing folder and that played fine in the browser.
    When I open the fla file in flash it only shows a flv playback movie, not the elements, I think this is because it was created in after effects.
    Here is the link to the containing folder, the swf file is Home_page_movie_V2.swf
    http://www.joinerycadsolutions.com/Flash/01 Home
    I have other swf files playing fine and this swf played ok originally so I still think it's a pathing problem but I am not that savvy on flash and cannot figure it out.
    Any help would be greatly appreciated, just bear in mind my low level of ability.
    Thanks
    Stuart

    The .swf is loading just fine... but it is expecting to load a .flv video file.
    The path inside the .swf to the .flv file is not correct. The path inside the .swf to the .flv file needs to be relative to the .swf as it's located on the Web page, NOT the physical location of the .swf.
    Here is the absolute address of the .flv:
    http://www.joinerycadsolutions.com/Flash/01%20Home/Home%20V1.flv
    Here is a test player using that address:
    http://www.cidigitalmedia.com/tutorials/flash/cidm_simple_vid_player.html
    So unless your .swf is broken, it just a pathing issue.
    From an old post:
    Pathing issues
    Almost always when it works on the local machine and not the server, it's a pathing problem.
    You can put your Flash related files in whatever folders you want, they do NOT have to be in the root, they do NOT all have to be in the same folder. But if you have a problem and if sticking them all in the root folder works, then you know that the issue was a pathing problem.
    Just remember that paths used in the .swf become relative to the Web page on which the .swf is placed, NOT it’s physical location.  So for example, if your .swf is in the flash/data folder and you use that .swf on a Web page in the root folder, you are in effect, removing that .swf from flash/data and putting it in root. So if the .swf is loading any related files (xml, images, video, etc), the path used inside the .swf to load the .xml file has to be relative to it's new location in root and then back down into flash/data. This is true even though when testing the .swf by itself, it can be inside flash/data and work just fine, since relative to it's location, the path is just fine, they are in the same folder. But if that same path is used when the .swf is placed on a page two folder levels up, the relative path has changed, the old "same folder" path will not work.
    In fact if you are placing the .swf on a web page in a different folder than the .swf is stored in, and that .swf calls external assets, then direct clicking and opening of the .swf in it’s folder should NOT work! That’s because the paths to the external assets should be relative to the Web page and not the physical location of the .swf.
    So just be sure that you use addresses relative to the final Web page locations (not physical file locations) and you can put the Flash related files in what ever folders you want.
    Best wishes,
    Eye for Video
    www.cidigitalmedia.com
    Best wishes,
    Adninjastrator

  • Acrobat 9 PDF Portfolio - setting size of swf content area

    Hi,
    I added a swf file to a PDF Portfolio in Acrobat 9 Pro Extended and it works fine when the portfolio is opened in Reader 9, except that the swf content area is small. I want it to occupy the entire page. How/Where do I set this?
    Thanks
    Vijay

    I've got this same problem. I add a SWF that's got a width and height of 792x612px. After using the Multimedia->Insert Flash tool the movie is resized to 320x240px and doesn't look right.
    Does anyone have any wisdom or insights that can help me understand what I'm missing? I'd love to solve this problem and there doesn't seem to be a lot of info related to this functionality online.
    Thanks,
    Scott

  • Missing Images in swf file in dreamweaver

    Hello,
    I was hoping someone could help me. I made a image slide show
    in Flash (CS3) and wanted to put in in Dreamweaver (CS3). I
    published the file in flash and went over to dreamweaver and did
    the insert - media - flash command and added the .swf
    When I test the movie, the buttons and the frame shows up but
    not the images. Any ideas on why? When I test the html file, it
    works fine. When I test the movie its self, it works fine too. Its
    only when it is in the Dreamweaver file do the images disappear.
    1. I have the required AC_RunActiveContent.js. file with my
    swf.
    2. I tried copying the code from the html file that was
    generated by my swf, but when I test the file in dreamweaver, an
    error comes up saying that i need the AC_RunActiveContent.js.
    3. I have flash files on the site that work just fine, it is
    just this one that is being stupid. I published it as flash version
    7, 8 and 9. Nothing works.
    Thanks for your help in advance!
    Gab

    You haven't told us whether you are using RH for Word or RH HTML to generate your CHM.
    Please read Before You Post as it has been written to help you get a quicker reply. I will shortly be travelling and unable to pick up your reply for most of the day so unless anyone else can chip in once you advise us which, there will be a delay in helping you.
    If RH HTML:
    Your problem sounds like this one - http://forums.adobe.com/thread/490223?tstart=0 as there the images show in Windows Explorer but not in Project Manager or the WYSIWYG.
    You say
    When I generate the chm file there is mentioned that no graphic is loaded.
    Do you mean there is an error message? What exactly does it say?
    See www.grainge.org for RoboHelp and Authoring tips

  • Play multiple .SWF in sequence

    I have two swf files that I would like to play in sequence in a main  flash file.  The two swf files are partA.swf and partB.swf. I set up two  frames using this actionscript 3 snippet:
    Frame 1:
    Code:
    var partARequest:URLRequest = new URLRequest("partA.swf");
    var partALoader:Loader = new Loader();
    partALoader.load(partARequest);
    addChild(partALoader);
    Frame 2:
    Code:
    var partBRequest:URLRequest = new URLRequest("partB.swf");
    var partBLoader:Loader = new Loader();
    partBLoader.load(partBRequest);
    addChild(partBLoader);
    I made sure to set new loaders that  correspond to it's proper swf file. So partA.swf goes with partALoader  and partB.swf goes with partBLoader.
    I noticed that individually they work great. If I just set up frame 1 or  frame 2 by themselves, the swf file plays. When placed together,  however, either frame 1 plays without going to frame 2 OR frame 2 plays  by default without playing frame 1 first.
    How can I get this to work properly in sequence?
    Just to break things down, this is how I would like the set up.
    1. Play frame 1 which plays partA.swf,
    2. Stop when finished and go to frame 2 which plays partB.swf
    3. Stop movie, no need to loop.
    4. Would like to have option for adding more swf files
    I don't use flash much, so guidance with code is much appreciated. I  would think this is a simple task, but searching for a proper solution  hasn't been successful.
    Also just to clarify from previous searches and posts I looked at: I am  not using buttons, and this is using actionscript 3.0 not 2.0, and this  is using only .swf files.
    Thanks a bunch

    Here's a nice trick that Andrei1 taught me  a week ago or so that should sort out your problem:
    On the last frame of partA.swf, you could dispatch an event, like so:
    dispatchEvent(new Event("advanceParentTimeline"));
    Then, in your parent movie on the frame that partA gets loaded, you can listen for the text, like so:
    stage.addEventListener("advanceParentTimeline", onTextRequest, true);
    Add the following function to the same frame with the listener mentioned above, and if your parent movie hears that text, send your movie to frame 2, like so:
    function onTextRequest(e:Event):void {
         gotoAndStop(2);
    Hope that helps,
    ~Chipleh

Maybe you are looking for

  • Summation

    Hi I have a cube which holds the records. I am loading from this cube to DSO. Cube has example fields: Record 1 is f1=10, f2=20, f3=30, f4=50 and key figure k1= 0.5 Record 2 is f1=10, f2=20, f3=30, f4=50 and key figure k1= 0.5 All f1 to f5 are in key

  • Can't message or FaceTime between iPad2 and iPod touch on same apple I'd

    Here's my story.   Have an iPad2, works great, love it.  husband loved it too, but big and bulky, he goes with the iPod touch.  Tonight we set his up using the same apple id, because we want it to be simple and we truly want to share everything.  BUT

  • Runtime Errors         "READ_REPORT_LINE_TOO_LONG"

    i am using a include program to alv list display. and when i execute the main program.. it gives the following dump. Runtime Errors         READ_REPORT_LINE_TOO_LONG Exception              CX_SY_READ_SRC_LINE_TOO_LONG analysis.. An exception occurred

  • Office Web App Prompting For Credentials Externally Only

    We deployed an office web app server and it works great internally, but whenever we try to access documents externally, we are prompted for credentials.  Even if we put our credentials in, we always get a 401 forbidden error.  Also note that we can a

  • What's with the double window appearing out of nowhere in Address Book?

    There is one window visible all through the Time Machine process until the very end when suddenly a phantom Address book window appears. To recreate: Open Address Book Open Time Machine Scroll to the oldest address book window in TM Click Cancel TM r