Jump to:

329 Posts in 212 Topics by 160 members

Migrating a Site to Silverstripe

SilverStripe Forums » Migrating a Site to Silverstripe » Where to place my action script files and XMLs

What you need to know when migrating your existing site to SilverStripe.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1630 Views
  • RolfChen
    Avatar
    Community Member
    6 Posts

    Where to place my action script files and XMLs Link to this post

    Hi,

    I've got a flash file called "menu.swf", and it calls an external ActionScript file "linkButton.as". I uploaded the menu.swf through the upload functionality, so now it's sitting in assets/upload. I then insert it into one of the pages, but when I preview the published page, the files shows blank.

    It appears that the menu.swf is loaded, but it can't locate the linkButton.as. Where should I be placing the linkButton.as? I tried putting it in mysite folder, asset/upload (same level as menu.swf) and just the root folder with no avail, can someone help?

    Regards

    Rolf

  • bartvanirsel
    Avatar
    Community Member
    94 Posts

    Re: Where to place my action script files and XMLs Link to this post

    hi,

    assets/upload should work, does firebug give any errors when getting the file?
    i'm not sure but isn't the as file being used when compiling your swf file only or
    is it needed to run the swf?

  • RolfChen
    Avatar
    Community Member
    6 Posts

    Re: Where to place my action script files and XMLs Link to this post

    Hi,

    The as file is required externally to run some other classes. I've had a few more goes with this, and I think the problem might be the URL rewrite, like when I insert an image, I noticed that new images were created in the "_resampled" folder, if I place my swf manually under that folder it'll work, but otherwise it won't. Anywayz, I'll give it a few more goes, thank you so much for helping out.

  • studio6
    Avatar
    Community Member
    14 Posts

    Re: Where to place my action script files and XMLs Link to this post

    hay im trying to do the same thing with a flv movie did you have any luck

    1630 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.