Need Assistance

Permalink Browser Info Environment
I have a flash program that I want to put on our site. The directory structure on my disk is as follows:
root has: (items in [] are folders
menu.xml
[shows]
[0]
[8115]
[course]
[logo]
[background]
[notes]

The menu.xml file (which i've attached as menu.txt) seems to reference the swf (and other xml files) under the other directories and I'm trying to figure out where to put all of this on our site since uploading to file manager may not preserve the structure that menu.xml is looking for. I did not write this menu and know just enough to be dangerous. Any help? (please)

1 Attachment

Type: Discussion
Status: New
TBernstein
View Replies:
elyon replied on at Permalink Reply
elyon
Hi!

The first step is to upload everything into Concrete. Know that will break the file structure, but that's okay.

Next, in the C5 file manager, click on menu.xml (it should be in the file manager at this point) and selct Edit. That will open a window with a colorized XML editor. Everywhere that it references another file, replace the path with it's new path. There are links at the top that should let you select and insert the path to a page or file in Concrete.

I assume there is a main SWF that loads this file? The last step is to add a Flash Embed block and select your main SWF and menu.xml file. If you need to pass the xml file path to your main SWF using a different variable name than "xml", enter it in yourself.

Sometimes a main SWF will not support a variable for the path of it's data, and instead will be hard-coded with a specific path. If you have access to edit the file, replace "menu.xml" with this code:

_root.xml (if it is Actionscript 2)
stage.loaderInfo.parameters.xml (if it is Actionscript 3)

This will let Flash Embed instruct the SWf on where to find it's XML. If don't have access, try contacting the author. This is the best way to use the SWF.

Your last ditch effort would be to set "base" parameter in the advanced settings for the Flash Embed block to be the root path of your menu.xml file. When Flash goes to find menu.xml in it's same directory, this parameter will force it to look in the directory of your XML file. This isn't nearly as elegant or flexible as the recommended solution, but it can make it work in a pinch

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.