Page 1 of 2 12 LastLast
Results 1 to 10 of 20
  1. #1
    Join Date
    Jul 2009
    Posts
    22
    Plugin Contributions
    0

    red flag SWF links doesn't work on FF and IE

    Hi
    I've searched through the forum and all this biiig topic about Flash header but i still can't figure out how to make my links getURL from the swf files to work on zencart.

    Ive made the menu, the categories and a lot of others swf files with getURL action script links but it doesnt work. Either on FF or IE.

    I'm so frustrated. This is my first attempt to use zencart layout and i'm not doing any good.

    Please, if theres any solution to this problem help me out!

    All my getURL links are correct but still, no success. It simply doesn't do a thing.

    My website: http://byavril.com/loja/
    I'm modifying a template monster
    And as i said, my first time on zencart.

    Hope someone can help me out.

  2. #2
    Join Date
    Jun 2009
    Location
    FLA
    Posts
    34
    Plugin Contributions
    0

    Default Re: SWF links doesn't work on FF and IE

    Check it out...

    I got my flash buttons working on FF it appears...

    On Safari the buttons won't work on the home page. Once you click a link then the buttons start to work. I don't understand why this can be.

    I haven't tested this yet on IE...

    Here is my AS3

    INSTANCE.addEventListener(MouseEvent.CLICK, instanceClick );

    function instanceClick (event:MouseEvent):void
    {
    var instanceGo:URLRequest = new URLRequest("http://mysite.com/index.php?main_page=xxx");
    navigateToURL( instanceGo , "_self");
    }

    I put this on tpl_header.php

    <object type="application/x-shockwave-flash" data="/images/swf/some_file.swf" width="750px" height="100px">
    <param name="movie" value="/images/swf/some_file.swf" />
    <param name="quality" value="high"><param name="BGCOLOR" value="#000000">
    <param name="menu" value="false">
    </object>

    I am going to test this at work tommorow on IE. Is your coding similar to this... hopefully we can get this to work on all browsers.

  3. #3
    Join Date
    Jul 2009
    Posts
    22
    Plugin Contributions
    0

    Default Re: SWF links doesn't work on FF and IE

    For some weird reason (or maybe because im a noobie with no shame) the links started to work once i uploaded the swfobject.js file on the directory WITHOUT changing anything on the code. (its workin on ff, not sure on ie.)

    But i figured out that it only works when i use the www. address, but NOT when i type the direct address without www. (i have no idea why this happens).

    Anyone?

  4. #4
    Join Date
    Jul 2009
    Posts
    22
    Plugin Contributions
    0

    Default Re: SWF links doesn't work on FF and IE

    Quote Originally Posted by cscuilla View Post
    Check it out...

    I got my flash buttons working on FF it appears...

    On Safari the buttons won't work on the home page. Once you click a link then the buttons start to work. I don't understand why this can be.

    I haven't tested this yet on IE...

    Here is my AS3

    INSTANCE.addEventListener(MouseEvent.CLICK, instanceClick );

    function instanceClick (event:MouseEvent):void
    {
    var instanceGo:URLRequest = new URLRequest("http://mysite.com/index.php?main_page=xxx");
    navigateToURL( instanceGo , "_self");
    }

    I put this on tpl_header.php

    <object type="application/x-shockwave-flash" data="/images/swf/some_file.swf" width="750px" height="100px">
    <param name="movie" value="/images/swf/some_file.swf" />
    <param name="quality" value="high"><param name="BGCOLOR" value="#000000">
    <param name="menu" value="false">
    </object>

    I am going to test this at work tommorow on IE. Is your coding similar to this... hopefully we can get this to work on all browsers.


    Nope, i'm actually trying the swfobject.js right now.
    Your code sounds nice, since its pretty easy to edit on flash. wayyy better for me than working with javascript (that i dont know much).

    Thanks for that!
    Gotta check it.

  5. #5
    Join Date
    Jul 2009
    Posts
    22
    Plugin Contributions
    0

    Default Re: SWF links doesn't work on FF and IE

    cscuilla, is the AS3 code only that?
    Im trying to use it but the flash keeps me giving this message as error:

    1120: Access of undefined property byavrillogo.


    where byavrillogo is the instance name of my button

  6. #6
    Join Date
    Jul 2009
    Posts
    22
    Plugin Contributions
    0

    Default Re: SWF links doesn't work on FF and IE

    Quote Originally Posted by road View Post
    cscuilla, is the AS3 code only that?
    Im trying to use it but the flash keeps me giving this message as error:

    1120: Access of undefined property byavrillogo.


    where byavrillogo is the instance name of my button
    Oh forget, i got it.

  7. #7
    Join Date
    Jun 2009
    Location
    FLA
    Posts
    34
    Plugin Contributions
    0

    Default Re: SWF links doesn't work on FF and IE

    the code has to be written on the keyframe of the instance. I think that is your problem.

  8. #8
    Join Date
    Jun 2009
    Location
    FLA
    Posts
    34
    Plugin Contributions
    0

    Default Re: SWF links doesn't work on FF and IE

    also, dont capitalize INSTANCE in the code i used above

  9. #9
    Join Date
    Jun 2009
    Location
    FLA
    Posts
    34
    Plugin Contributions
    0

    Default Re: SWF links doesn't work on FF and IE

    I see what your saying from above. The buttons only work without the "www" This does not make any since????

  10. #10
    Join Date
    Jul 2009
    Posts
    22
    Plugin Contributions
    0

    Default Re: SWF links doesn't work on FF and IE

    Quote Originally Posted by cscuilla View Post
    also, dont capitalize INSTANCE in the code i used above
    I dont get the error anymore, but it still doesnt work on the browser. no idea why

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v150 Can't login to admin and sql password reset doesn't work
    By tips007 in forum General Questions
    Replies: 1
    Last Post: 17 Jan 2013, 04:13 PM
  2. _LRG and _MED doesn't work
    By elchavo8 in forum General Questions
    Replies: 7
    Last Post: 20 Feb 2010, 11:13 AM
  3. blank login page and add to cart doesn't work
    By hotshotp2 in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 19 Apr 2008, 02:11 PM
  4. need fix! can't see admin and shop doesn't work
    By applese in forum General Questions
    Replies: 2
    Last Post: 24 Jun 2007, 03:04 PM
  5. Accidentally deleted something and now site doesn't work
    By thebeveragegourmet in forum General Questions
    Replies: 3
    Last Post: 11 Nov 2006, 04:25 PM

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