Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 11 of 11
  1. #1
    Regular Coder
    Join Date
    Nov 2002
    Location
    Manchester, UK
    Posts
    533
    Thanks
    4
    Thanked 1 Time in 1 Post

    two flash files not showing on one page

    I'm updating this page for a client - there are two flash files on the one page - but for some reason the top banner doesnt appear.

    It works offline (on localserver) but not when online...

    I've used the follwing code which should display two flash files

    Code:
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" height="90" width="675">
    <param name="movie" value="images/banner.swf">
    <param name="quality" value="best">
    <param name="play" value="true">
    <embed height="91" pluginspage="http://www.macromedia.com/go/getflashplayer" src="images/banner.swf" type="application/x-shockwave-flash" width="673" quality="best" play="true"> 
    </object>
    <br>
    <br>
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" height="475" width="665">
    <param name="scale" value="exactfit">
    <param name="movie" value="images/map.swf">
    <param name="quality" value="best">
    <param name="play" value="true">
    <embed height="475" pluginspage="http://www.macromedia.com/go/getflashplayer" src="images/map.swf" type="application/x-shockwave-flash" width="665" quality="best" play="true" scale="exactfit"> 
    </object>
    thanks for any help.
    Last edited by homerUK; 09-16-2004 at 02:29 PM.

  • #2
    Regular Coder
    Join Date
    Aug 2002
    Location
    USA
    Posts
    625
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Code:
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" height="90" width="675">
    <param name="movie" value="images/banner.swf">
    <param name="quality" value="best">
    <param name="play" value="true">
    <embed height="91" pluginspage="http://www.macromedia.com/go/getflashplayer" src="images/banner.swf" type="application/x-shockwave-flash" width="673" quality="best" play="true"> 
    </object>
    <br>
    <br>
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" height="475" width="665">
    <param name="scale" value="exactfit">
    <param name="movie" value="images/map.swf">
    <param name="quality" value="best">
    <param name="play" value="true">
    <embed height="475" pluginspage="http://www.macromedia.com/go/getflashplayer" src="images/map.swf" type="application/x-shockwave-flash" width="665" quality="best" play="true" scale="exactfit"> 
    </object>
    You are missing closing embed tags </embed>. And the heights on the top one don't match. Nothing to prevent a movie from playing, but no one can test these for you, if you don't supply the absolute paths to the movies?
    Last edited by jamescover; 09-18-2004 at 02:51 AM.
    "God so loved the world that he gave his only begotten son, so that whosoever believed in him would not perish, but have everlasting life. For God did not send his son into the world to condemn the world, but so that through him the world might be saved. "

  • #3
    Regular Coder
    Join Date
    Nov 2002
    Location
    Manchester, UK
    Posts
    533
    Thanks
    4
    Thanked 1 Time in 1 Post
    cheers for the tips.. I've changed the code as you said - but still no luck.. here's examples...

    working: http://www.recaf.net/test.php
    not working: http://www.skiptonproperties.com/test.php

    The test.php page is exactly the same, which makes me think it is something to do with the server?

  • #4
    Senior Coder chilipie's Avatar
    Join Date
    Jul 2004
    Location
    Shrewsbury, UK Age: 16
    Posts
    1,117
    Thanks
    0
    Thanked 0 Times in 0 Posts
    It works fine for me on both pages.

  • #5
    Regular Coder
    Join Date
    Nov 2002
    Location
    Manchester, UK
    Posts
    533
    Thanks
    4
    Thanked 1 Time in 1 Post
    really?! strange.. must be something to do with my browser maybe...! Using IE with WinXP pro SP2.... also tried with mozilla - same problem..... this is odd!

  • #6
    Regular Coder
    Join Date
    Aug 2002
    Location
    USA
    Posts
    625
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Same here--both work for me, IE6.0 and Firefox 0.9.3. I'm running the same system as you.

    Try putting the movies inside an HTML element, like a table, div, etc. then try again.






    -james
    "God so loved the world that he gave his only begotten son, so that whosoever believed in him would not perish, but have everlasting life. For God did not send his son into the world to condemn the world, but so that through him the world might be saved. "

  • #7
    viz
    viz is offline
    New Coder
    Join Date
    Sep 2004
    Posts
    34
    Thanks
    0
    Thanked 0 Times in 0 Posts
    They both display for me also, and am using dumbed-down, customized version of IE for Win 2000 Pro.

    Besides jamescover's suggestion above, my own tip would be to make certain either IE or a proxy server on the network somewhere isn't caching your older version of the HTML. While it sounds obvious, I've had that happen to me a lot, and it's a pain to deal with if you don't have control of the server.

    A easy, quick-fix way to get around the proxy problem, in case you have it, is to simply save the file with a new name and try that one.

    <edit>
    added notification
    Last edited by viz; 09-22-2004 at 12:29 AM.
    regards,

    **** viz ****

  • #8
    Senior Coder
    Join Date
    Jul 2004
    Location
    New Zealand
    Posts
    1,315
    Thanks
    0
    Thanked 2 Times in 2 Posts
    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    <html>
    	<head>
    		<title>Macromedia Flash</title>
    	</head>
    	<body>
    		<object type="application/x-shockwave-flash" data="http://www.skiptonproperties.com/images/banner.swf" height="90" width="675">
    			<!-- param required by IE only -->
    			<param name="movie" value="http://www.skiptonproperties.com/images/banner.swf">
    		</object>
    		<object type="application/x-shockwave-flash" data="http://www.skiptonproperties.com/images/map.swf" height="475" width="665">
    			<!-- param required by IE only -->
    			<param name="movie" value="http://www.skiptonproperties.com/images/map.swf">
    		</object>
    	</body>
    </html>
    Flash Satay: Embedding Flash While Supporting Standards

  • #9
    New to the CF scene
    Join Date
    Oct 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Netscape Flash not showing or disappearing on your Webpage?

    If you are having a problem with flash objects not showing up or disappearing on your html pages this may be a fix for you:


    Look in the <head of your html source code. You will notice...
    <script src="../../../Scripts/AC_RunActiveContent.js "type="text/javascript"></script> Flash CS3 automatically adds this code when you embed a flash file. It also automatically adds the AC_RunActiveContent.js file to your directory.

    1. Make sure you upload the AC_RunActiveContent.js file.

    2. Make sure the path in your souce code is correct. If your files are in the same directory, it should just read...
    <script src="Scripts/AC_RunActiveContent.js "type="text/javascript"></script>

    That fixed it for me.

    This is just one more "bright idea" someone at Adobe had to "improve" Flash and Dreamweaver in their new CS3 version of the software. Can somebody take the guy who thought of these "improvements" out back someplace and beat him with a wet noodle or something?

    If you have CS3, you are going to notice a LOT of problems. I have had it only a few weeks... so far I have a good number of problems both in Flash and in Dreamweaver.

    First, Dreamweaver rewrote the php code on ALL the pages I had created before installing CS3 rendering all the pages totally unusable. The work around for that was to rewrite ALL the pages and save using CS3. I am SILL trying to catch up on the rewrites. Seems once you rewrite the php using the new CS3 it stays. But, it is a major pain in the butt.

    I was working on a deadline and had to get this working for a client. After sitting at my pc for 27 hours straight with no sleep, I talked with Adobe's level2 technical support. After first accusing me of being mistaken, then trying to blame the problem on WS_FTP Pro, and at LAST... after 3 hours on the phone with me and FINALLY admitting there is a problem with Dreamweaver, I was told there would be a bug report made. Who knows if it will really get fixed. Until then just be warned, if you have php you have previously written when you install the new CS3 it may just eat it.

    You may want to save back up copies outside your site area and try opening and saving them in CS3 after the instillation. I don’t know if this will work because I haven’t tried it. But, it was something I thought of after my 30 hour ordeal.

    Then, I found that Flash Actionscript 3 no longer accepts the old way of creating button links.

    Remember the old simple way?

    on (release) {getURL('http://www.somepage.com');

    }

    That was all it took and your button link was complete!

    Current section cannot have actions applied to it.

    Well, now you can no longer create actions on the button itself. They have to go on a separate layer in the first frame (preferably) of an all inclusive (meaning you put ALL your actions in it) action file. Oh and now the code looks like
    this...



    myButton.addEventListener(MouseEvent.CLICK, myButtonFunction);
    function myButtonFunction(event: MouseEvent) {
    var request:URLRequest = new URLRequest("http://somepage.com");
    navigateToURL(request);
    }

    Many Thanks to Gary for that snippet of code: http://flashgameu.com/ask_gary/ask_g...n_as3_way.html

    If you want to use the Actionscript 2.0 way, you MUST select Actionscript 2.0 BEFORE you create your movie.

    It will take some getting used to CS3 but I am “told” it is much better than the older MX I was using. Maybe someday CS3 and I will be friends. I do like the new Photoshop, at least.

  • #10
    New to the CF scene
    Join Date
    Jan 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Flash help needed......

    Hey,

    My requirement is that i need 4 flash pages and im using codeigniter platform. But im not finding a way as to how i can point an xml file to an swf file. ??? So that i can create 4 xml files and corresponding swf files... Please help...

  • #11
    Regular Coder
    Join Date
    Nov 2009
    Location
    Scotland / Glasgow
    Posts
    184
    Thanks
    1
    Thanked 19 Times in 19 Posts
    What are you doing bumping a thread 4 years old?
    .:To me AS is like LEGO, Only for the big Kids :.
    - Site - Blog - Glasgow Flasher


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •