Flashblocks Flash CMS
Welcome, Guest
Please Login or Register.    Lost Password?
flashblocks text (1 viewing) (1) Guests
Go to bottom Post Reply Favoured: 0
TOPIC: flashblocks text
#5549
718design ()
User Online Now Click here to see the profile of this user

 
flashblocks text 2 Months, 3 Weeks ago
Hello,
Dose anyone have an idea: my question is, in flashblocks you can edit your text any time..i have text and in that text i have a word that i can link to another page..i got that right..but when you rollover it or put your mouse over the word that has the link, nothing shows up....So i would like to know if in flashblock can you make the word in the text that has the link, have a rollover that changes color when you rollover it and of course have the hand showing that its a button going to another page.

thanks,
7ONE8
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#5553
admin ()
User Online Now Click here to see the profile of this user
Flashblocks Birthdate: 2005-02-14
 
Re:flashblocks text 2 Months, 3 Weeks ago
This actionscript will attach CSS to all html text fields with Editblocks attached.
Code: :

  flashblocks.Editblock.OnComplete = function (obj) {     var cssStr "a:link {color: #0099FF;} a:hover{color: #006BB3;}";     var styles = new TextField.StyleSheet();     if (!styles.parseCSS(cssStr)) trace("CSS Error");     if (obj.target.targetMC.htmlobj.target.targetMC.styleSheet styles }

 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#5667
Re:flashblocks text + CSS 2 Months, 1 Week ago
Hi Sunny, all,

On the CSS tip, currently the HTML Editor uses the flashblocks_FlashTextHtml.xml to populate the styles drop down box, this works like a .css file, quickly allowing a client to populate text with the correct size and colour of link, headers, leading etc.

Is it possible to have these styles sucked into flashblocks, at run time, like from a .css file?

As an example, a client wanted to re skin a site, from background black to white. All the content text would then have to be re opened, colour altered (in this example from white to black) saved and closed, as the font colour is stored in the corresponding xml file. Where as if you could change an external file where the attribute for boby text was altered from white to black, the effects would be seen site wide....

Regards

Uni-Boy
www.universemedia.co.uk
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#5672
admin ()
User Online Now Click here to see the profile of this user
Flashblocks Birthdate: 2005-02-14
 
Re:flashblocks text + CSS 2 Months, 1 Week ago
Yes, that would be ideal but it is not currently possible. If you need to change a text format site wide, the easiest way would be to open the data xml file and search and replace.
 
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