ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

How can I call flash files

November 16, 2012 6:18am

Subscribe [2]
  • #1 / Nov 16, 2012 6:18am

    Mediakitchen

    261 posts

    [MOD EDIT] Split from another thread.

    I have been supplied some training modules by a client that consist of a main menu swf file and then a number of pages of content each as separate swf files.

    So the URL of my main menu is

    http://www.mysite.com/index.php/viewModule

    I am storing all the swf files in a folder http://www.mysite.com/media

    The main menu is not loading in page1.swf - I assume due to the way EE deals with paths.

    The Action Script code to load the page is:  loadMovieNum(“page1.swf”, 100);

    I have no access to the FLA. I was able to see the code by decompiling the main menu swf.

    Does anyone have a solution to get this working? It sounds like the original poster found a solution but I am not sure if such a solution would work for me.

  • #2 / Nov 20, 2012 4:19pm

    Shane Eckert

    7174 posts

    Hey there Mediakitchen,

    Can you show me some examples of the paths that you are using?

    Thank you,

  • #3 / Nov 20, 2012 5:37pm

    Mediakitchen

    261 posts

    Hi Shane

    There aren’t really any more paths than those I have already supplied.

    Essentially the following template has an embedded swf file

    http://www.mysite.com/index.php/viewModule

    And this swf file is stored in the following location: http://www.mysite.com/media

    The swf file should load in another swf from the same location i.e http://www.mysite.com/media

    The code it uses to load the other swf is loadMovieNum(“page1.swf”, 100);

    I can call up the main swf file in the browser and it will correctly load in the page1.swf file but when the main swf is displayed within the template, it doesn’t load in page1.swf.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases