Why don't links placed in swf files work in Dreamweaver?

I created a swf file and embeded a link in in to go to another page in my site. The application program (Easy Web Animator) generates the swf file and an html file. When I open the generated html file, the link to another page works when I click on the button. But if I import this swf file in dreamweaver, the link does not work. The generated html file dosen't seem to have anything extra to make the link work, it seems it just dosent work when placed in Dreamweaver.
Anyone with any suggestions, please
Dexter.

Hello, Nancy
I feel so stupid. I uploaded both files to my server, and they are 
both working now (on the server). I have been previewing the file in a 
browser on my hard drive all the time, and the original worked, but 
the file placed in Dreamweaver did not. But they both work when 
uploaded to the server!
I don't understand it, but maybe you can. I would love to know why I 
wasted about 2 days just trying every different setting I can in the 
swf file and in dreamweaver.
Thanks for the help!!!!!!!
Dexter

Similar Messages

  • Links missing in SWF file

    For some reason our linked areas don't appear in our swf
    flash file when viewed with computers that don't have the JAVA
    update. When these computers are updated, the linked areas
    suddently appear. Anyone know why? Is there a way to avoid this?
    I was assuming that Flash files only need flash plugins to be
    viewed in a browser.

    I think you need to add your local foloder to trust location of adobe security panel, try following steps:
    1. Open the swf.
    2. Right click and select Settings... and Adobe Flash Player Settings pops up.
    3. Click Advanced... and a new IE page opens (Adobe - Flash Player : Settings Manager - Global Security Settings Panel). Close the swf.
    4. On the left of the Adobe page, select Globel Security Settings Panel to open the panel.
    5. In the panel at right of page, select Always allow and add your local foloder which stores the swf file to the location box below.
    6. Close the page.
    7. re-open the swf and refresh the QaaWS connections.
    Now the BOE login dialog should be poped up.

  • Disable link in embedded .swf file?

    Hi, all,
    I have embedded a flash .swf file in a topic, and it plays
    just fine in WebHelp output.
    The .swf was made as a banner in another application, where
    the user clicks on the image to bring up a new window with its own
    content. That link must be embedded in the .swf, because the html
    code in RH just puts it there and lets it run.
    I'm planning to insert a note to explain the dead link,
    saying my presentation is only to show the swf. As it stands, it
    displays a hand pointer, but a click generates a js error.
    Is there a way to disable the link from the swf without going
    back to the original developer?
    Thanks.
    Harvey

    Hi Harvey
    You said you omitted the JavaScript? Why? Was it causing
    issues? Or is it the fact the link points somewhere you really
    don't want it to?
    If so, I'm thinking you could amend the JavaScript
    to point it where you want.
    Just thinking out loud... Rick

  • How to attach a Callto Link to a swf-file?

    Hi,
    I'm currently working on an animated skype button (swf-file) which I included into my website and I'd like to attach the following command to it:
    Callto://myskypeid
    It would be perfect, if - when hovering on it - it shows that it contains an active link (showing the "hand") and when clicking on it, it calls the user's skype app. to phone me on skype
    So, in the adobe tutorials I found the following code for inserting a "hyperlink" to a button.
    import flash.events.MouseEvent;
    function gotoAdobeSite(event:MouseEvent):void
       var adobeURL:URLRequest = new URLRequest("http://www.adobe.com/");
       navigateToURL(adobeURL);
    linkButton.addEventListener(MouseEvent.CLICK, gotoAdobeSite);
    I customised the code:
    import flash.events.MouseEvent;
    function openskype(event:MouseEvent):void
       var Skype:URLRequest = new URLRequest("Callto://myskypeId");
       navigateToURL(Skype);
    linkButton.addEventListener(MouseEvent.CLICK, openskype);
    But the problem is that there occur "linkbutton not defined property or method" errors when running the code.
    My swf or rsp. my fla file contains 10 movieclips which run one after another on the timescale, all in different layouts so that the colour changes during the "run".
    I tried it with the first movieclip - layer1 - and named its instance "linkButton".
    Didnt work.
    Then I tried to insert another layer and attached another picture with alpha=0, converted it into a button and gave its Instance the name "LinkButton", but also didnt work.
    Can someone please help me here? I suppose its just a "small" mistake and I couldn't be "so far away" from succeeding...
    That would be great! Thanks for the help in advance!!

    Hi Ned and all the others,
    ok ...the problem isn't really fixed so far.
    But the first step is done! :-) with the following code:
    import flash.events.MouseEvent;
    function openskype(event:MouseEvent):void
       var Skype:URLRequest = new URLRequest("Callto://myskypeId");
       navigateToURL(Skype);
    linkButton.addEventListener(MouseEvent.CLICK, openskype);
    I replaced the "Callto://myskypeId" with "skype:myskypeId?call" as the first syntax shows a wrong Skypname resp. the name will be shown with a "/" in the end.
    But now i'm faced with the problem, that
    1st: there's no "hand" shown, when hovering the button on the website.
    2nd: I have to doubleclick on it to open the skype application.
    3rd: after i doubleclicked on the button there opens up always an additional blank page shown in the browser. And now I try to fix that - I tried it with navigateToURL(Skype, "_self"); or "_parent" and so on...but didnt work.
    Meanwhile I think the because of not all of the pictures - MCs - are attached to the instance of "linkButton" that there's the missing "hand" when hovering with the mouse the button. On testing i found out that some of the pics are still bitmaps although i converted them all in the beginning to MCs (??dont know what i did there...).
    Think the "missing hand" problem will be fixed more easily.
    The bigger problem is, how to avoid the additional blank page in the browser when clicking on the swf on the website?
    It seems to me, that on the one hand, I'd like to have an "active" link on that swf (or button) that shows the "hand" in the mousepointer - but on the other hand, it's not really a website which I'd like to open up then but just an application. So maybe here's the main problem.
    Alternatively I thought about replacing the sequence with the URL request in the code by something rather appropriate for lauching applications e.g. FS Command or something like that. (read that somewhere).
    If someone knows/had similar problems/could help me again - or at least to the next step that would be perfect!
    Thanks again, Ned for your helping advice (I learned something!!!) - maybe you could help me with the above probs?
    Best regards
    steff

  • How do you add a link to a .swf file?

    Is there a way to add a link/URL to a .swf file, without embedding into the original .fla file?
    Is there any way to do that with just the .swf file alone, and without actually editing the .fla or re-creating it?

    I won't be providing lessons, but here's the basics...  to load the other swf file using AS3 you will use code like the following in the main timeline...
    var my_loader:Loader = new Loader();
    my_loader.load(new URLRequest("theOther.swf"));
    addChild(my_loader);
    addChild(myBtn); // described next but coded here
    To add a link, you can create an invisible button and place whereever you like in the timeline, or if its a text link you can assign the link to the dynamic textfield via the properties panel.  To create an invisible button just create a button symbol and draw a shape for it only in its Hit frame, leaving all other empty... that way you can still see the button to work with it on the stage, but it will be invisible when the file plays.  You could also have the button include text or any other visual you desire if you don't need/want it to be invisible.
    If you use the button approach, then you need to assign the button an instance name (I use "myBtn" for this example)  Then you have to assign an event listener and event handler function for the button...
    myBtn.addEventListener(MouseEvent.CLICK, clickBtn);
    function clickBtn(evt:MouseEvent):void {
         navigateToURL(new URLRequest("http://www.yourlinksurl.com/etc"));
    The reason I addChild for myBtn after I addChild the Loader is so that it will sit above the Loader.  Without that line, the Loader would have the loaded swf sitting atop the button blocking access to it.
    If you plan to use a Textfield instead of a button, then you don't need the event code but you still need the addChild() line to bring it in front.  As mentioned already you can link it via the properties panel field for a link.  To make life simple per these instructions just assign the textfield an instance name of myBtn.

  • URL, email links in Flash swf files shows up in search engine

    Hi, can you please help? I post this problem a while ago.
    My problem is: I developed a website in Flash 8 on the Mac.
    The Flash swf file is displayed via Dreamweaver doc. When I do a
    search and, when the site is found in Google, all the links used in
    the Flash swf file appears in the snippets below the main title. I
    would like to know where I'm going wrong, and how can I prevent
    Google from displaying the URL and email details.
    Do I need to use a preloaded, or do I need to put the Flash
    swf movie file in a table in Dreamwever.
    Many thanks,
    Blue_Mac

    >I don't know how this is happening then. Search engine
    spiders don't
    >read through compiled files like Flash.
    Thanks, this is reassuring. Although it seems to have done
    just that.
    The following action script is where the details are coming
    from. I've used the name 'whatever" as an example. I don't mind the
    URLs on view as much as I mind my email address because of security
    issues.
    on (release) {
    //Goto Webpage Behavior
    getURL("mailto:[email protected]","_blank");
    //End Behavior
    I'll check my files again to see if I've miss anything out -
    I have done this so many times already.
    Regards,
    Blue_Mac

  • Why does the audio in my .SWF file not play in a Browser?

    I created an .swf file using ffmpeg, containing H.264 video and MP3 audio. The file plays perfectly in VLC but  not in a Browser (Chrome/IE). I tried analyzing the file using a trial version of Flash decompiler. Again, only the video plays. The strange thing is that if I extract the MP3 from the file, it plays perfectly using any of th eplayers. It seems to be a muxing issue which VLC apparently handles, but not the player in the browser! Why? Thanks for any pointers.

    Yeah. Sorry to say this but many people buy the various brands of format converters, which are everywhere on the Web and which also spam these boards – and often find they are not only out the purchase price but that the app created as many problems as it solved.
    Russ

  • Newbie, please help--swf files work fine separately, don't work when on same page

    Hello all,
    I am new to flash, and piecing together different templates to try and  learn things.
    I have run across a strange problem. When I load products2.swf by  itself, I can call the two "copy" files and everything works. When I  open 0342.swf (the index page), I can switch between the home and  products2 pages, but I can't view the "copy" pages.
    I'm guessing there may be some sort of conflict with variable names,  but I have been messing with it for most of today.
    I have uploaded all of the FLA files to here:
    http://littlebuddymedia.com/flashhelp.zip
    If you make an swf file out of each of the attached items, and open  the 0342 file, you will see what is supposed to be happening.
    Any help anyone can offer is greatly appreciated.
    Below is the code from each relevant button in case that is easier for  some of you.
    Thank you in advance!
    From the 0342 page (the index page)
    My "Home" button
    on (release) {
    if (_root.currMovie == undefined) {
    _root.currMovie = "home";
    _root.container.loadMovie("home.swf");
    } else if (_root.currMovie != "home") {
    if (_root.container._currentframe >= container.midframe) {
    _root.currMovie = "home";
    _root.container.play();
    My "Products" button
    on (release) {
    if (_root.currMovie == undefined) {
    _root.currMovie = "products";
    _root.container.loadMovie("products.swf");
    } else if (_root.currMovie != "products") {
    if (_root.container._currentframe >= container.midframe) {
    _root.currMovie = "products";
    _root.container.play();
    FROM THE PRODUCTS2 page
    My "copywebdev" button
    on (release) {
    if (_root.currMovie == undefined) {
    _root.currMovie = "copywebdev";
    _root.copycontainer.loadMovie("copywebdev.swf");
    } else if (_root.currMovie != "copywebdev") {
    if (_root.copycontainer._currentframe >= container.midframe) {
    _root.currMovie = "copywebdev";
    _root.copycontainer.play();
    My "officetech" button
    on (release) {
    if (_root.currMovie == undefined) {
    _root.currMovie = "copyworktech";
    _root.copycontainer.loadMovie("copyworktech.swf");
    } else if (_root.currMovie != "copyworktech") {
    if (_root.copycontainer._currentframe >= copycontainer.midframe) {
    _root.currMovie = "copyworktech";
    _root.copycontainer.play();
    }

    Not in the example I linked to.
    I added the code and uploaded an example of what it does.
    When I put "this._lockroot=true" into the first frame of the products.swf file, this occurs:
    http://littlebuddymedia.com/flashhelp/withlockroot/0342.html
    i.e. you can click over to the products page, but you can not navigate back clicking the "Home" button does not bring up the home page, it refreshes the product page. You are also not able to switch between the two text boxes (copywebdev and officetech) on the products page (though one of them will load--whichever one you click first).
    I guess this was "two steps forward and one step back"?
    Thank you for continuing to take a look at this.

  • I've installed Flash Player, why can't I play a swf file?

    I'm trying to play a swf file in Windows 7. I've been able to do this before many times, using Flash Player, but it doesn't work now. I've recently done a complete reinstall of Windows 7 and my apps, and this is the first time I've tried to play a swf file since then.
    When I double-click a swf file, I get the "Windows can't open this file" dialog box. If I select "Use the web service..." it takes me to the Adobe website Flash Player installation page. (I've installed it previously, and I've installed it - twice - today.) If I select "Select a program from a list...", the list doesn't include Flash Player, though it does allow me to play the file in a browser.
    Some of my swf files I created with Captivate, and published them with an html file. When I open the html file, the swf file plays properly. Shouldn't I be able to play the swf file in the player, without opening the html file?
    Should I be able to see the player in my start menu programs, or in the Programs folder? I can't find it on my computer. Is there something else I need to install?
    -Stuart

    http://forums.adobe.com/thread/1195540

  • Html link to multiple swf files on 1 html page

    i have a html page that has multiple (20) links to video files, i would like to play these files in the same position, within the same html page. therefore saving myself having 20 html files with the separate swf files embedded. firstly i was planning on converting my .mov files to swf to make then smaller.
    my query is, what is the best way to 'house' a swf file(s) that plays when clicked on the relative link on that page.
    i have build the page using CSS and have limited javascript knowledge although im keen to learn.
    cheers

    VIDEO GALLERY --
    You need a Flash player that supports a playlist.  If you're good with Flash and Action Script you could build a custom player.  If not, pick-one from the links below:
    Wimpy Rave simple to deploy, dirt simple to update playlists by uploading media to wimpy folder.
    WWD Player --
    http://www.woosterwebdesign.com/flvplayer/
    JW Player --
    http://www.longtailvideo.com/
    FlowPlayer --
    http://flowplayer.org/
    YouTube --
    http://code.google.com/apis/youtube/getting_started.html
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb

  • Why does Bridge CS6 destroy my SWF files after inputting Meta Data?

    I save a swf file to my hard drive.  Then I open Bridge, select the swf file, and type some Meta Data into the panel on the right.  As soon as the data saves and the preview window refreshes, the preview renders completely white (Bridge can no longer preview it).  If I open the file in Flash, some layers and text are now missing.
    It seems that the act of writing meta-data to the swf file actually destroys portions of the file, and I have to go back to the original and re-export.
    We have reproduced this problem on both Mac & PC, on swf files of varying compression & XMP settings.  It is fairly consistent.
    Has anyone run into this and if so does anyone have any suggestions?

    Not a expert on swf files, but this article says you can not use Bridge to add metadata to SWF files.  So maybe that is why you are running into problems.  http://forums.creativecow.net/thread/190/862442

  • SWF files work in browsers, but not local?

    I can view flash content from the net in web browsers, but
    the swf files I have on my local hard drive do not work. They are
    asking for 'open With' but when I look for the flash folder in
    programs files its not there. I have have also looked in system32
    folder can find it anywhere. Can anybody please help, this is
    driving me up the wall.

    The code you have posted is not the same code as used in:
    <div id="gallery">
    in the link above.
    The reason that the Flash is not displaying in FF is that the portion of the code used by FF was omitted. The code currently used on the page only works in IE.
    I'm no great fan of the IE conditional statements used in the code you posted so I don't blame you for not using it. But you do need to provide something for FF.... the old, out dated method would be to add and <embed> for FF... here's the newer method..
    So either use code you posted above or better yet, get rid of that and replace the current <object> with
    <div id="gallery">
    <object id="FlashID" data="flash/201.swf" type="application/x-shockwave-flash" width="958" height="242">
       <param name="movie" value="flash/201.swf">
       <param name="quality" value="high" />
         <param name="wmode" value="opaque" />
         <param name="swfversion" value="6.0.65.0"/>
    </object>
    </div>
    Give that a try. Will work in both FF and newer IE versions.
    Best wishes,
    Adninjastrator

  • Why has a link to a form stopped working- OK this morning?

    Why has a link to a form placed in an email stopped working - it was OK this morning?!

    Hi,
      Thank you for the additional information,
    When you distribute your form, did you select "Copy Link" and then pasted in the email or did you select "Email Link" and your email client automatically launched with the form url in the body of the email?
    You may want to check (if you are using MS Outlook/Exchange) the email format you have selected: HTML, Plain Text, Rich Text.  Please check with your IT about this setting.
    Also, if you were to copy another link, for example, http://www.adobe.com in your email, would it still highlight as a link or plain text?
    Lucia

  • Swf file works but not html when preview and publish

    hi,
    i made a simple nav bar with a dropdown menu it works fine in flash mode and preview but when i try to embed into html it only show the nav bar but not the dropdown menu. please advice.
    thanks in advance!

    http://lunarvision.zxq.net/banner_flash_test.swf // the swf file
    http://lunarvision.zxq.net // when it on the website.
    thanks!

  • Final .swf file works different (and BAD) like while runing in flex

    OK, next question!
    How is it possible, that when I compile Flex project, everything works, but when I click on html file from bin-debug folder, nothing works?!
    I use SDK 3.2. and flash player version is set up to 10.0.0.
    When I run the project, I am able to load image and work with it. When I run html file from bin-debug folder, I am suddenly NOT ABLE to load that image!
    What's wrong?
    This is my code
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" height="632">
        <mx:Script>
            <![CDATA[
                private var fileRef            : FileReference; //browser souboru
                private var fileFilter        : FileFilter; //seznam pozadovanych koncovek souboru (obrazky = ".jpg ...")
                private var loader            : Loader; //nahraje obrazek z browseru
                private var photoBitmap        : Bitmap; //nahrany obrazek ze souboru
                private var photoData        : BitmapData; //data obrazku ze souboru (pristup k pixelum obrazku)
                private var shape            : Shape = new Shape();
                public function Browse() : void
                    fileFilter = new FileFilter("Images (*.jpg, *.jpeg, *.gif, *.png)", "*.jpg; *.jpeg; *.gif; *.png");
                    fileRef = new FileReference();
                    fileRef.browse([fileFilter])
                    fileRef.addEventListener(Event.SELECT, onImageSelect);
                private function onImageSelect(event:Event) : void
                    photoPanel.title = fileRef.name;
                    fileRef.load();
                    fileRef.addEventListener(Event.COMPLETE, onDataLoaded);
                private function onDataLoaded(event:Event) : void
                    var tempFileRef : FileReference = FileReference(event.target);
                    loader = new Loader();
                    loader.contentLoaderInfo.addEventListener(Event.COMPLETE, onPhotoLoaded) ;
                    loader.loadBytes(tempFileRef.data);
                private function onPhotoLoaded(event:Event) : void
                    photoBitmap = Bitmap(event.target.content);
                    photoImage.source = photoBitmap;
                private var isDrawing        : Boolean;
                private var drawSize        : Number;
                private var drawColor        : Number;
                private function onImageMouseDown(event:MouseEvent) : void
                    isDrawing = true;
                private function onImageMouseUp(event:MouseEvent) : void
                private function onImageMouseMove(event:MouseEvent) : void
                    shape.graphics.beginFill(0xFF0000);
                    shape.graphics.drawRect(event.localX-1, event.localY-1, 3, 3);
                    shape.graphics.endFill();
                    photoImage.addChild(shape);
            ]]>
        </mx:Script>
        <mx:Button x="10" y="418" label="Upload" click = "Browse()" />
        <mx:Panel x="10" y="10" width="400" height="400" layout="absolute" id="photoPanel" backgroundColor="#D9D4D4">
            <mx:Image x="0" y="0" id="photoImage" mouseMove="onImageMouseMove(event)"/>
        </mx:Panel>
    </mx:Application>
    IN HTML pages I call the swf file this way
                <script type="text/javascript">
                    if (AC_FL_RunContent == 0) {
                       alert("This page requires AC_RunActiveContent.js.");
                 } else {
                       AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0','nam e','postcard','width','700','height','500','align','middle','id','postcard','src','postcar d','quality','high','bgcolor','#ffffff','allowscriptaccess','sameDomain','allowfullscreen' ,'false','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','postcard' ); //end AC code
                </script>
                <noscript>
                    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" name="postcard" width="700" height="500" align="middle" id="postcard">
                    <param name="allowScriptAccess" value="sameDomain" />
                    <param name="allowFullScreen" value="false" />
                    <param name="movie" value="postcard.swf" />
                  <param name="quality" value="high" />
                  <param name="bgcolor" value="#ffffff" />
                  <embed src="postcard.swf" quality="high" bgcolor="#ffffff" width="700" height="500" name="postcard" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
                    </object>
                </noscript>

    Is there a difference in the URL in the address bar in the browser?
    Alex Harui
    Flex SDK Developer
    Adobe Systems Inc.
    Blog: http://blogs.adobe.com/aharui

Maybe you are looking for