Results 1 to 10 of 31

Hybrid View

  1. #1
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: Why won't Flash using XML file load images?

    Try placing xml file and swf file etc in zencart root folder...

  2. #2
    Join Date
    Sep 2008
    Posts
    97
    Plugin Contributions
    0

    Default Re: Why won't Flash using XML file load images?

    Quote Originally Posted by misty View Post
    Try placing xml file and swf file etc in zencart root folder...
    Hi Misty,

    Thank you for the advice. I tried already, and i didn't work. I had everything in the Root, i also had everything in a Flash folder in MY_TEMPLATE/images...
    I guess i will just put that aside for now... Soooo many more things to work on.
    Thank you though for trying.

    Damien

  3. #3
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: Why won't Flash using XML file load images?

    Quote Originally Posted by DamienDLSkinSolution View Post
    Hi Misty,

    Thank you for the advice. I tried already, and i didn't work. I had everything in the Root, i also had everything in a Flash folder in MY_TEMPLATE/images...
    I guess i will just put that aside for now... Soooo many more things to work on.
    Thank you though for trying.

    Damien
    It should work...used method myself, BUT you have to
    state exact paths to all files/xml file and swf file..i.e.
    Code:
    http://yourdomain.com/default.xml

  4. #4
    Join Date
    Mar 2009
    Location
    Cornelius, NC
    Posts
    334
    Plugin Contributions
    0

    Default Re: Why won't Flash using XML file load images?

    ok, so i am having similar problems, thought i would revive this thread again. i have successfully loaded the FLShow flash carousel, and it is running on my main page (the only page i want it to show on)... however, it is not pulling the images, just showing [x] boxes... here is how i have it configured....

    1. i renamed the javascript file, and put it in the correct zencart javascript folder.... "catalogzen/includes/templates/darkness/jscript/jscript_swfobject.js"

    2. i used the provided code, and put the following into my "define_mainpage.php" file, thru zen cart define pages admin.

    Code:
    <div>
    			<object height="600" width="800" id="Carousel" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">
    				<param value="Carousel.swf" name="movie" />
    				<!--[if !IE]>-->
    				<object height="600" width="585" data="http://customk9design.com/catalogzen/admin/Carousel.swf" type="application/x-shockwave-flash">
    <param value="xmlfile=images/CarouselImages/default.xml" name="flashvars" />
    				<!--<![endif]-->
    					<a href="http://www.adobe.com/go/getflashplayer">
    						<img alt="Get Adobe Flash player" src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" />
    					</a>
    				<!--[if !IE]>-->
    				</object>
    				<!--<![endif]-->
    			</object>
    		</div>
    3. per the above code (which was generated for me thru the swfobject code creator) i put the carousel.swf file in the above listed "catalogzen/admin/"

    4. because i wanted to keep all my images together, i created a new folder at "catalogzen/images/CarouselImages/" which currently contains the following:
    default.xml
    test1.jpg
    test2.jpg
    test3.jpg

    5. i added (per the instructions) a variable to the above string in the define_mainpage.php file to reference the correct folder for the images.

    the code instructed was this:
    Code:
    <param name="flashvars" value="xmlfile=path/file.xml
    &loadercolor=#00CCFF"/>
    i put it in like this:
    Code:
    <param name="flashvars" value="xmlfile=images/CarouselImages
    /default.xml" />
    however, as you can see above, it changes it after saving to:
    Code:
    <param value="xmlfile=images/CarouselImages
    /default.xml" name="flashvars" />
    i do not know if this is part of the problem or not.

    6. my xml file is as below:
    Code:
    <?xml version="1.0" encoding="utf-8"?>
    
    <!--
    	fhShow Carousel 1.7 configuration file
    	Please visit http://www.flshow.net/ for more info
    -->
    
    <slide_show>
    	    <options>
            <debug>false</debug>                <!-- true, false -->
            <background>transparent</background>    <!-- #RRGGBB, transparent -->
            <friction>10</friction>              <!-- [1,100] -->
            <fullscreen>false</fullscreen>      <!-- true, false -->
     
            <margins>
                <top>0</top>                                <!-- [-1000,1000] pixels -->
                <left>0</left>                              <!-- [-1000,1000] pixels -->
                <bottom>0</bottom>                          <!-- [-1000,1000] pixels -->
                <right>0</right>                            <!-- [-1000,1000] pixels -->
                <horizontal_ratio>33%</horizontal_ratio>    <!-- [1,50] a photo may occupy at most horizontalRatio percent of the Carousel width -->
                <vertical_ratio>50%</vertical_ratio>        <!-- [1,100] a photo may occupy at most verticalRatio percent of the Carousel height -->
            </margins>
     
            <interaction>
                <rotation>mouse</rotation>            <!-- auto, mouse, keyboard -->
                <view_point>mouse</view_point>        <!-- none, mouse, keyboard -->
                <speed>75</speed>                     <!-- [-360,360] degrees per second -->
     
                <default_speed>35</default_speed>             <!-- [-360,360] degrees per second -->
                <default_view_point>20%</default_view_point>  <!-- [0,100] percentage -->
                <reset_delay>30</reset_delay>                 <!-- [0,600] seconds, 0 means never reset -->
            </interaction>
     
            <far_photos>
                <size>50%</size>                  <!-- [0,100] percentage -->
                <amount>50%</amount>              <!-- [0,100] percentage -->
                <blur>10</blur>                   <!-- [0,100] amount -->
                <blur_quality>3</blur_quality>    <!-- [1,3] 1=low - 3=high -->
            </far_photos>
     
            <reflection>
                <amount>100</amount>      <!-- [0,1000] pixels -->
                <blur>2</blur>            <!-- [0,100] blur amount -->
                <distance>0</distance>    <!-- [-1000,1000] pixels -->
                <alpha>50%</alpha>        <!-- [0,100] percentage -->
            </reflection>
     
            <titles>
                <default_style>font-size: 12px; font-family: Verdana, _serif; color: #333333;</default_style>
            </titles>
        </options>
    
    <!-- Photo list -->
    
    <photo>
      <href>http://customk9design.com/catalogzen/index.php?main_page=product_info&cPath=1_10&products_id=2/</href>
      <target>_blank</target>
      <src>../images/CarouselImages/test1.jpg</src>
      <title>This photo title has <i>italic</i> and <b>bold</b> text.<br/>There is also a second line here!</title>
    </photo>
    
    <photo>
      <href>http://customk9design.com/catalogzen/index.php?main_page=product_info&cPath=1_10&products_id=1</href>
      <target>_blank</target>
      <src>../images/CarouselImages/test2.jpg</src>
      <title>This photo title has <i>italic</i> and <b>bold</b> text.<br/>There is also a second line here!</title>
    </photo>
    
    <photo>
      <href>http://customk9design.com/catalogzen/index.php?main_page=product_info&cPath=1_11&products_id=3</href>
      <target>_blank</target>
      <src>../images/CarouselImages/test3.jpg</src>
      <title>This photo title has <i>italic</i> and <b>bold</b> text.<br/>There is also a second line here!</title>
    </photo>
    	
    </slide_show>

    soooooo.... my guess is that it is one of the following issues, but i do not know enough to know which one, or how to fix.. so whatever the issue may be, please spell out specifically what to do, i follow instructions well!!

    1. the locations of the swf and or xml files are wrong... and need to be moved.... somewhere....

    2. the calling of the images in the xml file is wrong, and i just need to change the path somehow

    3. the changing of the variable (as described in #5) is in some way affecting things...

    anyone want to break this down for me??

    ohh.. almost forgot the important part!
    website is www.customk9design.com/catalogzen

    THANKS TO ALL!

  5. #5
    Join Date
    Mar 2009
    Location
    Cornelius, NC
    Posts
    334
    Plugin Contributions
    0

    Default Re: Why won't Flash using XML file load images?

    ok, im too stupid for my own good... lol

    i had one too many periods here:

    <src>../images/CarouselImages/test1.jpg</src>

    i changed one to "." one to "..." and one to "...." to see if it would work, and the one with "." worked...


    ANYWAYS... i would still appreciate a quick once-over to make sure there are no other critical issues or other improvements i should make?

  6. #6
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: Why won't Flash using XML file load images?

    Visited site at
    http://customk9design.com/catalogzen/
    Firefox...working fine, IE7 shows white blank space..

  7. #7
    Join Date
    Mar 2009
    Location
    Cornelius, NC
    Posts
    334
    Plugin Contributions
    0

    Default Re: Why won't Flash using XML file load images?

    misty,
    fixing this for IE is.... #5 to do on my list today.. lol...

    any suggestions? (i have NOT researched it or searched the forums YET, just replying to your comment in thread)

 

 

Similar Threads

  1. My images won't load
    By Yoga BHC in forum General Questions
    Replies: 1
    Last Post: 4 Oct 2009, 02:30 PM
  2. XML file to feed my flash script ...
    By nixonmg in forum Basic Configuration
    Replies: 0
    Last Post: 19 Nov 2008, 10:56 PM
  3. Flash: Unable to load Images from other subdomain
    By Robd75 in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 5 Aug 2008, 09:02 PM
  4. Images won't load
    By dinojohnb in forum Setting Up Categories, Products, Attributes
    Replies: 7
    Last Post: 29 Nov 2006, 02:07 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