Flashblocks Flash CMS
Welcome, Guest
Please Login or Register.    Lost Password?
login/config file (1 viewing) (1) Guests
Go to bottom Post Reply Favoured: 0
TOPIC: login/config file
#90
tonjo ()
Click here to see the profile of this user
Birthdate:
 
login/config file 3 Years, 6 Months ago
I am using the 1.3.1 file you sent and can not figure out where to update the path.

I currently have FLASHBLOCKS located www.mysite.com/beta for testing and it's not working.

Please advise.

Tony
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#91
admin ()
User Online Now Click here to see the profile of this user
Flashblocks Birthdate: 2005-02-14
 
Re:login/config file 3 Years, 6 Months ago
You can specify the flashblocks_path from your main movie - just before you loadData()

It should look something like this:

Code: :

 /* Flashblocks V1.3.1 (c) 2005 You may purchase additional licenses from www.flashblocks.com */ // // You can specify a localhost address in flashblocks_path flashblocks.config.flashblocks_path "http://localhost/flashblocks/example/"; // This line of code starts everything. flashblocks.loadData("flashblocks/demo3.txt");



If you are running flashblocks from a server then you should not need to specify a path. It is really only for testing locally.

Does that answer your question?
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#92
admin ()
User Online Now Click here to see the profile of this user
Flashblocks Birthdate: 2005-02-14
 
Re:login/config file 3 Years, 6 Months ago
also a quick time saver tip:

You can test if you are running localy with this code and then specify a path only if you are:

Code: :

  // if url is a file then this is running from a local machine // and you can specify a localhost address in flashblocks_path if (_root._url.substring(0_root._url.indexOf(":")) == "file") {         flashblocks.config.flashblocks_path "http://localhost/flashblocks/example/powell/"; }

 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
get the latest posts directly to your desktop

Thank you