Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2010
    Posts
    18
    Plugin Contributions
    0

    Default Loading Flash - Correct File Structure

    I have a question about embeding a flash file I purchased from flashden.net. The file set from the download includes the following files:
    •preview.fla -- Source file, created with Flash 8, coded in AS2
    •preview.swf -- Published file
    •index.html -- HTML file that shows an example to embed swf
    •xml/main.xml -- XML file to customize by your own parameters
    •as/prototypes.as -- External actionscript file
    •caurina/ -- Class used for tweening
    •js/swfobject.js -- Used to embed correctly the swf inside an HTML file
    •images/ -- contains the images used in the example
    •icon.jpg -- File's icon
    •manual.html -- Help file

    I am only using this on my homepage. The problem I am having is that the flash file is loading, but it will not load the images or the xml narration. I do not know where to put the files so that the xml, action script & the caurina class is loaded. I have tried pointing the call of the flash file to all of the correct folders, but it is not loading the xml.

    my file path to the swf are as follows:
    includes/templates/novak/flash/novak_main.swf
    and I have put the other folders at:
    includes/templates/novak/flash/as/...
    includes/templates/novak/flash/xml/...
    includes/templates/novak/flash/caurina/...

    I have gotten the homepage to load the js file
    I am using 1.3.9d


    The Website is: http://novakscorp.net

    Any help would be great, and thanks for helping.

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

    Default Re: Loading Flash KEN BURNS EFFECT Correct File Structure

    Quote Originally Posted by willowisp View Post
    I have a question about embeding a flash file I purchased from flashden.net. The file set from the download includes the following files:
    •preview.fla -- Source file, created with Flash 8, coded in AS2
    •preview.swf -- Published file
    •index.html -- HTML file that shows an example to embed swf
    •xml/main.xml -- XML file to customize by your own parameters
    •as/prototypes.as -- External actionscript file
    •caurina/ -- Class used for tweening
    •js/swfobject.js -- Used to embed correctly the swf inside an HTML file
    •images/ -- contains the images used in the example
    •icon.jpg -- File's icon
    •manual.html -- Help file

    I am only using this on my homepage. The problem I am having is that the flash file is loading, but it will not load the images or the xml narration. I do not know where to put the files so that the xml, action script & the caurina class is loaded. I have tried pointing the call of the flash file to all of the correct folders, but it is not loading the xml.

    my file path to the swf are as follows:
    includes/templates/novak/flash/novak_main.swf
    and I have put the other folders at:
    includes/templates/novak/flash/as/...
    includes/templates/novak/flash/xml/...
    includes/templates/novak/flash/caurina/...

    I have gotten the homepage to load the js file
    I am using 1.3.9d
    outside of swfobject, the rest will have to keep the same file structure that they gave you unless you wish to recode the script.
    in the flash folder you need,
    flash/preview.swf (don't rename it unless you edited the code, or they had you do it)
    flash/as/prototypes.as
    flash/xml/main.xml
    flash/caurina/ (Class file)
    flash/images/ (image files)
    flash/icon.jpg

    rename swfobject to jscript_swfobject.js and drop it into,
    includes/templates/novak/jscript/

    If that doesn't work, then you'll need to tell the vendor where the files will reside and see if they can recode the addresses or instruct you on where to make the changes.
    Dave
    Always forward thinking... Lost my mind!

  3. #3
    Join Date
    Jan 2010
    Posts
    18
    Plugin Contributions
    0

    Default Re: Loading Flash - Correct File Structure

    I have the correct file structure that you suggested, but it will not load the images Does someone else have any other suggestions? The developer of the swf will not respond to requests for more information.

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

    Default Re: Loading Flash - Correct File Structure

    Quote Originally Posted by willowisp View Post
    I have the correct file structure that you suggested, but it will not load the images Does someone else have any other suggestions? The developer of the swf will not respond to requests for more information.
    Without looking at the code, all I can do is guess.... you can move the file structure to the root of your site and try it there. The xml file can have the file structure to the images and should only require to be at the same file path level as the swf. Depending how the xml loader is done, you may have to have the swf at the site root for it to work.
    Dave
    Always forward thinking... Lost my mind!

 

 

Similar Threads

  1. Flash not loading in FF
    By Danielle in forum General Questions
    Replies: 2
    Last Post: 23 Aug 2010, 10:24 PM
  2. Flash SWF file not loading on Homepage
    By hyperspeed in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 29 Oct 2009, 04:27 AM
  3. correct directory structure for overrides?
    By mzimmers in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 20 May 2008, 03:26 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