Flashblocks Flash CMS
Welcome, Guest
Please Login or Register.    Lost Password?
FLASH VARS TO SET LANGUAGE (1 viewing) (1) Guests
Go to bottom Post Reply Favoured: 0
TOPIC: FLASH VARS TO SET LANGUAGE
#406
FLASH VARS TO SET LANGUAGE 2 Years, 9 Months ago
It's very simple to use Flash Vars to send certain variables to the Flashblocks system. In this example I used variables in the HTML page to tell Flashblocks which text file to read and write the data from. The benefit is that you only have to create one FLashblocks website (and only update one Flashblocks website when making design modifications).


HTML EMBEDDED OBJECT:

The forum wasn't letting me post the HTML so just view the source of each HTML page from the links below !


ACTIONSCRIPT (Inside your main sites FLA):

if (_root.language == "english") {
_root.flashblocks.loadData("flashblocks/english.txt");
} else if (_root.language == "french") {
_root.flashblocks.loadData("flashblocks/french.txt");
} else {
_root.flashblocks.loadData("flashblocks/german.txt");
}
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#568
anna ()
Click here to see the profile of this user
Birthdate:
 
Re:FLASH VARS TO SET LANGUAGE 2 Years, 8 Months ago
I would like to create new language translation can i do this out of the box or do I need to be a developer
are there any beta testing possible for the next release or trial
thanks
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#570
admin ()
User Online Now Click here to see the profile of this user
Flashblocks Birthdate: 2005-02-14
 
Re:FLASH VARS TO SET LANGUAGE 2 Years, 8 Months ago
Yes, you can translate the admin area of Flashblocks very simply. I would be happy to point you in the right direction if you need some pointers. Flashblocks 2 is probably about 6 months down the road.
 
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