Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17
  1. #11
    Join Date
    Dec 2007
    Location
    Payson, AZ
    Posts
    1,076
    Plugin Contributions
    15

    Default Re: Flash Embed For Explorer Tutorial

    Quote Originally Posted by lrfowler24 View Post
    where is the coding to tell the .swf to find the .flv?
    NOP... not going to crack your code just to tell you where it's missed up!!

    If you embedded it into your SWF then it shouldn't be looking at your c drive....

    If you called to it through action script, then look at your script and use a URL not your C drive...

    If you used xml or javascript loader, change the call to a URL and not your C drive....

    If your not to swift on coding, then you need to place both swf and flv in the same folder on your server... or at the root of your site for the defaults to work...

    Basically you told the swf the flv is on your hard drive.... you need to change that to an URL is all... and where it is in your code.... I wouldn't have a clue!!!
    Dave
    Always forward thinking... Lost my mind!

  2. #12
    Join Date
    Dec 2007
    Posts
    74
    Plugin Contributions
    0

    Default Re: Flash Embed For Explorer Tutorial

    Hi, first off all thanks for the post! "Starting" to understand flash...a bit

    I managed to create a flash-header, and now I'd like to add some flas content to my main_page. I made a start with a banner I created en put it up for testing. For as far as I can see (and I read it more than 10 times!) I think I did everything I'm supposes to... but I'm Dutch and sometimes I do not understand all technical "talk". Sorry for that...

    Now it works in Firefox, but I can't get it to work in IE (8). Although my header works fine in both browsers.

    Maybe you can give me a hint? Not asking for a solution, not afraid for some puzzeling, but I'm kinda stuck now

    If you want to take a look with Firefox; I left the code on, it's on my main page, below (with the zooming 5 piece set).

    www(dot)pannenland(dot)nl

    Edit: forgot to mention that in IE8 I only see an empty space (size of width and hight of the flash object). Right-clicking I get the message "Film not loaded" (translated from Dutch ) So it's a mistery to me why it loads in Firefox, but not in IE8... and thats what this post was all about ;-)
    Last edited by Gerjan; 17 Feb 2010 at 12:22 AM.

  3. #13
    Join Date
    Dec 2007
    Location
    Payson, AZ
    Posts
    1,076
    Plugin Contributions
    15

    Default Re: Flash Embed For Explorer Tutorial

    Quote Originally Posted by Gerjan View Post
    Firefox, but not in IE8... and thats what this post was all about ;-)
    I wouldn't answer if I didn't want to help, but I can't read minds. With flash I have to download the swf, run it through a decompiler to see the code to even begin to figure out where or what needs to change.

    But, this is what I can say from looking at your page... Up grade your SwfObject to 2.0 or higher, version 1 didn't play will with others. Rename SwfObject.js to jscript_swfobject.js and save it to (includes\templates\YOUR_TEMPLATE\jscript) this will let it load in the header of your page and be there for all pages. If you do a background color, this wont work 'wmode = "transparent"'

    Once you upgrade to SwfObject 2, and load it into the header, something like this would work..
    Code:
    <script type="text/javascript">
    var flashvars = {};
    var params = {};
    params.allowscriptaccess = "always";
    params.wmode = "transparent";
    var attributes = {};
    swfobject.embedSWF("http://www(dot)pannenland(dot)nl/includes/templates/pannen/images/header_bg.swf", "flashcontent", "950", "150", "9.0.0", false, flashvars, params, attributes);
    </script><div id="flashcontent">Add something here if scripts is off!!! Image maybe</div>
    Next... anything less then Flash version 9 is considered not safe to run if it does anything other then looking purity. So, flv's are out if your not coding to version 9. I think IE7 and above will not run flv's at all unless you code to version 9 or 10. Firefox may run some of the code, but will limit the swf. If you can get Flash CS3 you can resolve many of the issues by coding with action script 2 or 3

    Maybe you can give me a hint? Not asking for a solution, not afraid for some puzzeling, but I'm kinda stuck now
    Many folks are having the same problem with IE, coding to version 9 is what fixed mine with clicktags. I hope that helps you to get unstuck..
    Dave
    Always forward thinking... Lost my mind!

  4. #14
    Join Date
    Dec 2007
    Posts
    74
    Plugin Contributions
    0

    Default Re: Flash Embed For Explorer Tutorial

    Thanks for your quick respomse. I tried what you told me to do:
    - Downloaded the new SwfObject (2.x), renamed it to jscript_swfobject.js and saved it into includes\templates\MY_TEMPLATE\jscript\
    - I replaced the code in my header with your code.
    - I created the script in my main_page the way it is explained in the starting post.

    However, the result is the same Header working in all browsers, but my flash file in the main_page only works in Firefox and Crome, but not in IE8.

    About my flash file:
    - Ceated it with CS3 (AS3, version 9).

    On thing I found a bit strange is that I can get my flash-file working in IE8 by using the direct link. See: http://www.pannenland.nl/flash/fissler_test.swf
    So it works. There must be someting wrong in the code, but I can't figure out what/where.

    I do create my main_page with with the editor in Admin. Is that ok? Or is it better to create a html file with Notepad++ and save it as php? I'm not a progammer, so just wondering...

  5. #15
    Join Date
    Dec 2007
    Location
    Payson, AZ
    Posts
    1,076
    Plugin Contributions
    15

    Default Re: Flash Embed For Explorer Tutorial

    Quote Originally Posted by Gerjan View Post
    So it works. There must be someting wrong in the code, but I can't figure out what/where.
    All I see is a banner, big red square at one end and a set of pots that zoom when hovered over....nothing streaming.. All I use is FireFox 3.5.3... Flash 9 add-on

    Quote Originally Posted by Gerjan View Post
    I do create my main_page with with the editor in Admin. Is that ok? Or is it better to create a html file with Notepad++ and save it as php? I'm not a progammer, so just wondering...
    If you use text mode then no problem.... All I use is Notepad++ for coding php, css and scripts, dream for creating visual effects and then converting them to php with notepad++

    Maybe I'm not on the same page as your question... I thought you was trying to get a flv to work with your swf file... which is streaming content. Re-reading your post 'flas' just referring to the file extinction right? Looking at your swf file, I think you need to look at the scripting for the hover effect and code the event better... IE is strange in that if the code is not formatted correctly, it wont work at all. FireFox I can see some old behavior, but it kind of works. Again, I can't say what's up without seeing the code and if you didn't code the hover event, then it will never work with IE... This is a normal button event for flash 9 and above...
    Code:
    var _url:String = "http://www.somesite.com";
    myButton.addEventListener(MouseEvent.MOUSE_UP, handleMouse); }
      function handleMouse(event:MouseEvent):void
    { navigateToURL(new URLRequest(_url), "_top"); }
    This actually starts my ClickTag event.... calls some more scripting within my movie... The listener sits on frame one and looks for a mouse up event on 'myButton' button... There is some very cool tutorials on Flashkit that would be worth viewing.

    Oh... one other problem with SwfObjects that I forgot... If you plan on using more then one swf per page, be sure to use different tag names... same names will cause movies not to play or same movie showing in all locations...
    <div id="fsbu-ad">
    Dave
    Always forward thinking... Lost my mind!

  6. #16
    Join Date
    Dec 2007
    Posts
    74
    Plugin Contributions
    0

    Default Re: Flash Embed For Explorer Tutorial

    Thank you very much. I will take a look at the scripting and try to learn more about it. Also thank you for the tutotial site!

    I hope I have more time soon to studie flash better. I think it's very nice for the site. No fast moving banners, just nice "frames" with products in it, that move/zoom when people hover them with the mouse. I think this invites people to click on them, more then a "frozen" picture.

    When I do (or do not ) manage it to get this to work I will let you know ;)

    Thanks again, Gerjan.

  7. #17
    Join Date
    Jan 2010
    Posts
    49
    Plugin Contributions
    0

    Default Re: Flash Embed For Explorer Tutorial

    followed the instructions, but it works well in firefox, but blank in IE. before the java script method it didn't show either...

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. v151 Embed flash gallery into a new page
    By gazag in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 25 May 2014, 05:44 AM
  2. Embed a link in Flash Banner
    By Mike_Dean in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 21 Oct 2010, 11:59 AM
  3. Trying to Embed Flash
    By Leatris in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 31 Aug 2010, 11:51 PM
  4. How to EMBED a flash movie
    By philw in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 12 Jan 2007, 05:48 AM

Posting Permissions

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