How to have projectname_edge.js in a subfolder? (not in the same folder as the project file)

Hello,

Is it possible to have the file ProjectName _edge.js in a subfolder? N ot in the even record with ProjectName .html.

It seems that edge.5.0.1.min.js looking for dependencies in the same place as the main file in the project. Moving projectname_edge.js to another folder (jsscript, etc.) causes the animation only to run. I can store the in the different folder? I want to put in the 'Content' or 'Scripts' folder on the server.


I try to incorporate animations of edge in an ASP.NET MVC application, and I have no any file index.html. I am inserting the <!-runtimes Adobe Edge-> section in the view (the . ) cshtml file stored in subfolder ). Have the projectname_edge.js in the path of the main server need to deal with security settings, so I put in "Scripts".


I found the video showing the solution for the old API: http://www.edgedocks.com/content/edge-animate-publish-files-and-js-folder but it is not more valid with edge 5.0 API


Any ideas how?


Thanks in advance!

Eric



Yes, you can do this by using the htmlRoot parameter. Suppose you put this file within the "script" folder, so you must add an optional parameter manually in the script inside the page .html as tag below:

HTH,

Vivekuma

Tags: Edge Animate

Similar Questions

Maybe you are looking for