Adding a trademark symbol in xml flash menu
Hi, I am a front end web designer/developer and
analyst...struggling with putting an accordian flash xml menu
together. I have it done except I need to add a simple trademark
symbol circle with r. I am struggling with how to do this since I
am not savvy in actioncript. I assume the best way is to add it is
with a CDATA child node, but do not know how or whatever is the
best way to get this done since am on a tight deadline. I need
someone to explain step by step what I have to do to get this
simple addition resolved. Attached are the links to home page and
code for the xml file. The left navigation is the asset that I need
to add the trademark symbol under about, about ADHERE. Thanks so
much in advance!!!!!!
index
page
Okay, test files are up in the following directory:
www.saffronthread.com/test
You can guess which ones are for you. I didn't deal with the
whole IE stupidness, so you my need to click on the page. But I've
got several different text fields some runtime some author
environment and sample text. Works for me on Mac and on the PC I
checked. Let me know what you find out.
As for System.useCodePage it is very seldom an actual
solution to the problem. It is a solution for when you want to be
sure that the user's Flash Plugin uses the computer's code page for
text rendering. Read the help entry for it and you will see that it
is not a solution for making sure that the most people possible
will correctly receive my text. It is more a solution for, I want
to make sure that those with Chinese operating systems are able to
correctly see the Chinese text I have encode with my special
encoding.
Most questions that get a "Oh, you must use
System.useCodePage answer" are more like, "I want to make sure that
everybody on every type of system can see my special characters."
The answer for that tends toward proper use of UTF-8 and that is my
guess for your problem. That your XML file is not being saved as
UTF-8. If System.useCodePage is helping you that tells me that your
XML editor is saving to some odd (maybe very popular, but not
UTF-8) encoding.
Similar Messages
-
Hello Guys,
I am stuck with a xml flash menu which contains quite a few great options to manipulate the text, url, button and even change the color to the menu externally from xml. The only thing missing here (which I massively need it) is the option resizing the buttons from the xml file itself. The buttons need to be resized so that they fit each text length. I have the feeling that someone that is good at XML and deal with ActionScript would be able to easily add this option.
Thanks for commiting your time on this and I would be happy to help anyone in return who tackles this requirement I am after now.
Please download the file attached and you can own it as well.
Looking forward to hearing from you soon.
Respectfully yours,
BekoOk, here we go:
ACTION SCRIPT CODE:
_parent._visible = false;
// xml processing
menu_cfg_xml = new XML();
menu_cfg_xml.load(String(_url.slice(0, (_url.length-3)))+"xml");
menu_cfg_xml.ignoreWhite = 1;
menu_cfg_xml.onLoad = function(ok) {
// create main menu after successful loading of XML
if (ok) {
create_menu();
} else {
trace("XML not loaded");
counter = 1;
function create_menu() {
while (counter<menu_cfg_xml.firstChild.childNodes.length) {
attachMovie("button_type", "btn"+counter, counter);
set("btn"+counter+"._x", counter*80-100);
btn1._y = 0;
// set the buttons text
set("btn"+counter+".the_text", menu_cfg_xml.firstChild.childNodes[counter].attributes.text);
set("btn"+counter+".the_url", menu_cfg_xml.firstChild.childNodes[counter].attributes.url);
set("btn"+counter+".the_target", menu_cfg_xml.firstChild.childNodes[counter].attributes.target);
this["btn"+counter].onRollOver = this["btn"+counter].onDragOver=function () {
this.effect.gotoAndPlay(2);
this.textul1.textColor = "0x"+menu_cfg_xml.firstChild.childNodes[0].attributes.text_color2;
this["btn"+counter].onRollOut = this["btn"+counter].onDragOut=function () {
this.textul1.textColor = "0x"+menu_cfg_xml.firstChild.childNodes[0].attributes.text_color1;
this.effect.gotoAndPlay(9);
this["btn"+counter].onRelease = function() {
if (this.the_url != undefined and this.the_url != "") {
getURL(this.the_url, this.the_target);
//set buttons color
this["button_color"+counter] = new Color("btn"+counter+".btn_color");
this["button_color"+counter].setRGB("0x"+menu_cfg_xml.firstChild.childNodes[0].attributes .button_color);
//set button effect color
this["effect_color"+counter] = new Color("btn"+counter+".effect");
this["effect_color"+counter].setRGB("0x"+menu_cfg_xml.firstChild.childNodes[0].attributes .effect_color);
//set button text color
this["btn"+counter].textul1.textColor = "0x"+menu_cfg_xml.firstChild.childNodes[0].attributes.text_color1;
counter++;
_parent._visible = true;
info_clip._visible = false;
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
XML CODE:
<?xml version="1.0" encoding= "UTF-8" ?>
<!-- Menu created by www.adrianTNT.com -->
<menu>
<options button_color="000066" effect_color="87A10C" text_color1="87A10C" text_color2="FFFFFF">
</options>
<button text="Task force" url="http://www.google.com" target="_parent">width="250" height="136"</button>
<button text="Service og turisme" url="http://www.google.com" target="_parent"></button>
<button text="Fodbold" url="http://www.google.com" target="_parent"></button>
<button text="Idraet" url="http://www.google.com" target="_parent"></button>
<button text="Kunst and Design" url="http://www.google.com" target="_parent"></button>
<button text="Teknisk/praktisk linje" url="http://www.google.com" target="_parent"></button>
<button text="Gastronomi" url="http://www.google.com" target="_parent"></button>
<button text="Laekker mad" url="http://www.google.com" target="_parent"></button>
<button text="Musik" url="http://www.google.com" target="_parent"></button>
<button text="Turbo-boglig" url="http://www.google.com" target="_parent"></button>
</menu> -
Using registered trademark symbol in xml to be viewed in flash
I am trying to add a registered trademark symbol in a XML
file to be viewed in flash. The codes '®' and
'®' will not work and display as nothing. The XML file
is encoded as UTF8, any ideas will be greatly appreciated.
thanksAny ideas people, I just need to fix this and the client
project will be done -
Adding CDATA to an existing xml and flash asset
Hi, I am a front end web designer/developer and
analyst...struggling with putting an accordian flash xml menu
together. I have it done except I need to add a simple trademark
symbol circle with r. I am struggling with how to do this since I
am not savvy in actioncript. I assume the best way is to add it is
with a CDATA child node, but do not know how or whatever is the
best way to get this done since am on a tight deadline. I need
someone to explain step by step what I have to do to get this
simple addition resolved. Attached are the links to home page and
code for the xml file. The left navigation is the asset that I need
to add the trademark symbol under about, about ADHERE. Thanks so
much in advance!!!!!!
[URL=http://www.nodcreative.com/natrecor_sliced/natrecor_index.html]index
page with flash xml menu asset[/URL]
xml code:
<?xml version="1.0" encoding="UTF-8"?>
<accodion>
<item name="HOME">
</item>
<item name="ABOUT">
<item name= "ABOUT
ADHERE<![CDATA[write]]>"></item>
<item name="Medical Information" url="
http://www.jnj.com?ref=Random">
</item>
<item name="About SCIOS" url="
http://www.jnj.com?ref=Random">
</item>
</item>
<item name="INTERACTIVE DOSING INFORMATION">
<item name="Indications and Usage" url="
http://www.jnj.com?ref=Random"></item>
<item name="Contraindications" url="
http://www.jnj.com?ref=Random"></item>
<item name="Warnings" url="
http://www.jnj.com?ref=Random"></item>
<item name="Dosage and Administration" url="
http://www.jnj.com?ref=Random"></item>
</item>
<item name="RESOURCES AND TOOLS">
<item name="NATRECOR PI" url="
http://www.jnj.com?ref=Random"></item>
<item name="About Heart Failure" url="
http://www.jnj.com?ref=Random"></item>
<item name="Stages of Heart Failure" url="
http://www.jnj.com?ref=Random"></item>
<item name="NATRECOR Dosing Information" url="
http://www.jnj.com?ref=Random"></item>
<item name="Patient Management Resources" url="
http://www.jnj.com?ref=Random"></item>
</item>
<item name="US PRESCRIBING INFORMATION">
</item>
<item name="IMPORTANT SAFETY INFORMATION
ref=http://www.jnj.com">
</item>
<item name="REGISTRATION ref=http://www.jnj.com">
</item>
</accodion>
FLASH actionscript is as follows:
// The accordion
var accordion = this
// The item list
var itemList = []
// SETTINGS
//-------------PROPERTIES----------------
// Separation between the buttons
var separation = 1.5
// Tabulation between the buttons and the margin
var tabulation = 10
// if true, it cant be more than one items opened at the same
time (only for the first buttons, POWERFUL, MENU ,ACCORDION, ets).
var autoClose = true
// if true, it cant be more than one subItems opened at the
same time.
var subItemAutoClose = true
// if true, open and close all the subItems at the same time.
var openAll = false
// The height of the button
var itemHeight = 21
// The width of the button
var itemWidth = 230
// If true, show the light over the button
var light = true
// The ease of the menu opening
var openEase = 2.5
// The ease of the menu closing
var closeEase = 2.5
// The rollOut color fade speed
var rollOutFade = 8
//-------------COLORS----------------
// The color of the button
var buttonColor = 0xa
// The roll over color
var rollOverColor = 0xCCCCCC
// The arrow color
var arrowColor = 0xCCCCCC
// The arrow color on roll over
var rollOverArrowColor = 0x000000
// The text color
var TextColor = 0xFFFFFF
// The text color on roll over
var rollOverText = 0x000000
// LOADING XML
// The xml data
var xmlSource:XML = new XML
// Loading the xml
xmlSource.onLoad = function(success:Boolean):Void {
// When the load finishs...
if (success) {
// The first node of the xml
xmlRoot = xmlSource.firstChild
// The item nodes
xmlItems = xmlRoot.childNodes
// The total of items
total = xmlItems.length
// Creating the buttons
for (i=0; i<total; i++){
// Attaching the buttons
accordion.attachMovie("item", "item" + i, i)
// The button reference
itemList
= accordion["item"+i]
// The first node of the item node
itemList.xmlRoot = xmlItems
// The separation between subitems
itemList.separation = separation
// Tabulation between the subitems and the margin
itemList
.tabulation = tabulation
// subItems auto close
itemList.subItemAutoClose = subItemAutoClose
// The subitems height
itemList
.itemHeight = itemHeight
// The subitems width
itemList.itemWidth = itemWidth
// shows/hides the subitems light
itemList
.light = light
// The subitems color
itemList.buttonColor = buttonColor
// The roll over color
itemList
.rollOverColor = rollOverColor
// The arrow color
itemList.arrowColor = arrowColor
// the arrow color on roll over
itemList
.rollOverArrowColor = rollOverArrowColor
// The text color
itemList.TextColor = TextColor
// The roll over text color
itemList
.rollOverText = rollOverText
// the opening easing
itemList.openEase = openEase
// The closing easing
itemList
.closeEase = closeEase
// The roll over fade speed
itemList.rollOutFade = rollOutFade
// open all
itemList
.openAll = openAll
// ignore white
xmlSource.ignoreWhite = true;
// Loads the .xml file
xmlSource.load("accordion.xml");
// Aligning the items each one below the other
this.onEnterFrame=function(){
// Does the align to ALL the items
for (i=1; i<total; i++){
// Aligning the items
itemList._y = itemList[i-1]._y +
itemList[i-1].mask._height + itemList[i-1].button._height +
separation
// The cursor position
cursor._x = _xmouse
cursor._y = _ymouse
// Opens the items
onMouseDown = function (){
// Does this to all the buttons
for (i=0; i<total; i++){
// If is clicked
if (itemList
.button.hitTest(cursor)){
// Shows the current item
showCurrent(itemList)
// Shows the button clicked
showCurrent=function(current){
// Does this to all the buttons
for (i=0; i<total; i++){
// Does this to all the buttons exept the clicked
if (itemList
!=current){
// Close the other items if autoclose = true
if (autoClose){
// Close the other items
itemList.openBox=false
// fades the roll over effect of the other items
itemList
.over = false
//Does this to the clcked item only
} else {
// If it has sub items
if (total>0){
//Hides them if its open
if (itemList.openBox){
itemList
.openBox=false
//Shows them if its closed
} else {
itemList.openBox=true
// If it has no subitems goes to the link
} else {
getURL(xmlRoot.attributes.url, _self)Please don't cross-post in a bunch of forums. Also when
adding code to a post, please use the attach code button. That
keeps the formatting and makes it easier to read. Your code is far
too long and way to unformatted to really understand quickly.
I don't know why you would need a CDATA node to get the
registered symbol. If the XML file you are working with is saved as
unicode (UTF-8) the symbol should come across just fine. Just
putting the UTF-8 at the beginning doesn't tell whatever program
you are using to save as UTF-8!
Do you know how to make the registered symbol? On windows it
is ALT -0174 (use the keypad for those numbers).
Once you've got the symbol in your XML the next step is to
check if Flash is loading it correctly. When you are in the testing
environment go to the Debug menu and select List Variables. The
trace window will show all the variables -- and there are probably
a lot! Search/Find something close to the symbol and see if the
trace window shows the symbol correctly. If it does then Flash is
readying it correctly and if it isn't showing you have problems
with your textfield. If it isn't showing correctly then your XML
file isn't UTF-8.
If it is textfield problems I wouldn't know what to do since
it is inside a component. Post back with your findings. -
Adding symbols to the pulldown menu in FrameMaker 7 and 8
I am attempting to add a Section symbol to the pulldown menu. This symbol does not seem to be listed in the menus.cfg file, but I found the "\xa4" definition in the Character Sets PDF file that comes with FrameMaker. <br /><br />This is the procedure I'm using, but it is not working and the symbol does not appear in the dropdown list:<br /><br />1) In the cmds.cfg file, under the *** Special Menu ***, I added the following text:<br /><Command CharSection><br /> <Label Section><br /> <Definition \xa4><br /><br />2) In the menus.cfg file, under *** Pull RIght Menus ***, under the list that starts with <Add CharBullet <MEnu SpecialSymbols>>, I added the following line of text:<br /> <Add CharSection <Menu SpecialSymbols>><br /><br />3) I saved and closed both files, restarted FrameMaker, and the Section symbol does not appear in the list. <br /><br />I hope that someone can help with this problem.
Jay,<br /><br />If you don't use the <Label ...> modifier when defining your<br />character, then you won't see it on any menu, any where. ;-)<br /><br />e.g.<br /><br /><Command CharSection <Label Section \xA4> <Definition \xA4>>
-
Newbie, Please help, How do I add CDATA to exsting xml flash asset
Hi, I am a front end web designer/developer and
analyst...struggling with putting an accordian flash xml menu
together. I have it done except I need to add a simple trademark
symbol circle with r. I am struggling with how to do this since I
am not savvy in actioncript. I assume the best way is to add it is
with a CDATA child node, but do not know how or whatever is the
best way to get this done since am on a tight deadline. I need
someone to explain step by step what I have to do to get this
simple addition resolved. Attached are the links to home page and
code for the xml file. The left navigation is the asset that I need
to add the trademark symbol under about, about ADHERE. Thanks so
much in advance!!!!!!
[URL=http://www.nodcreative.com/natrecor_sliced/natrecor_index.html]index
page with flash xml menu asset[/URL]
xml code:
<?xml version="1.0" encoding="UTF-8"?>
<accodion>
<item name="HOME">
</item>
<item name="ABOUT">
<item name= "ABOUT
ADHERE<![CDATA[write]]>"></item>
<item name="Medical Information" url="
http://www.jnj.com?ref=Random">
</item>
<item name="About SCIOS" url="
http://www.jnj.com?ref=Random">
</item>
</item>
<item name="INTERACTIVE DOSING INFORMATION">
<item name="Indications and Usage" url="
http://www.jnj.com?ref=Random"></item>
<item name="Contraindications" url="
http://www.jnj.com?ref=Random"></item>
<item name="Warnings" url="
http://www.jnj.com?ref=Random"></item>
<item name="Dosage and Administration" url="
http://www.jnj.com?ref=Random"></item>
</item>
<item name="RESOURCES AND TOOLS">
<item name="NATRECOR PI" url="
http://www.jnj.com?ref=Random"></item>
<item name="About Heart Failure" url="
http://www.jnj.com?ref=Random"></item>
<item name="Stages of Heart Failure" url="
http://www.jnj.com?ref=Random"></item>
<item name="NATRECOR Dosing Information" url="
http://www.jnj.com?ref=Random"></item>
<item name="Patient Management Resources" url="
http://www.jnj.com?ref=Random"></item>
</item>
<item name="US PRESCRIBING INFORMATION">
</item>
<item name="IMPORTANT SAFETY INFORMATION
ref=http://www.jnj.com">
</item>
<item name="REGISTRATION ref=http://www.jnj.com">
</item>
</accodion>
FLASH actionscript is as follows:
// The accordion
var accordion = this
// The item list
var itemList = []
// SETTINGS
//-------------PROPERTIES----------------
// Separation between the buttons
var separation = 1.5
// Tabulation between the buttons and the margin
var tabulation = 10
// if true, it cant be more than one items opened at the same
time (only for the first buttons, POWERFUL, MENU ,ACCORDION, ets).
var autoClose = true
// if true, it cant be more than one subItems opened at the
same time.
var subItemAutoClose = true
// if true, open and close all the subItems at the same time.
var openAll = false
// The height of the button
var itemHeight = 21
// The width of the button
var itemWidth = 230
// If true, show the light over the button
var light = true
// The ease of the menu opening
var openEase = 2.5
// The ease of the menu closing
var closeEase = 2.5
// The rollOut color fade speed
var rollOutFade = 8
//-------------COLORS----------------
// The color of the button
var buttonColor = 0xa
// The roll over color
var rollOverColor = 0xCCCCCC
// The arrow color
var arrowColor = 0xCCCCCC
// The arrow color on roll over
var rollOverArrowColor = 0x000000
// The text color
var TextColor = 0xFFFFFF
// The text color on roll over
var rollOverText = 0x000000
// LOADING XML
// The xml data
var xmlSource:XML = new XML
// Loading the xml
xmlSource.onLoad = function(success:Boolean):Void {
// When the load finishs...
if (success) {
// The first node of the xml
xmlRoot = xmlSource.firstChild
// The item nodes
xmlItems = xmlRoot.childNodes
// The total of items
total = xmlItems.length
// Creating the buttons
for (i=0; i<total; i++){
// Attaching the buttons
accordion.attachMovie("item", "item" + i, i)
// The button reference
itemList
= accordion["item"+i]
// The first node of the item node
itemList.xmlRoot = xmlItems
// The separation between subitems
itemList.separation = separation
// Tabulation between the subitems and the margin
itemList
.tabulation = tabulation
// subItems auto close
itemList.subItemAutoClose = subItemAutoClose
// The subitems height
itemList
.itemHeight = itemHeight
// The subitems width
itemList.itemWidth = itemWidth
// shows/hides the subitems light
itemList
.light = light
// The subitems color
itemList.buttonColor = buttonColor
// The roll over color
itemList
.rollOverColor = rollOverColor
// The arrow color
itemList.arrowColor = arrowColor
// the arrow color on roll over
itemList
.rollOverArrowColor = rollOverArrowColor
// The text color
itemList.TextColor = TextColor
// The roll over text color
itemList
.rollOverText = rollOverText
// the opening easing
itemList.openEase = openEase
// The closing easing
itemList
.closeEase = closeEase
// The roll over fade speed
itemList.rollOutFade = rollOutFade
// open all
itemList
.openAll = openAll
// ignore white
xmlSource.ignoreWhite = true;
// Loads the .xml file
xmlSource.load("accordion.xml");
// Aligning the items each one below the other
this.onEnterFrame=function(){
// Does the align to ALL the items
for (i=1; i<total; i++){
// Aligning the items
itemList._y = itemList[i-1]._y +
itemList[i-1].mask._height + itemList[i-1].button._height +
separation
// The cursor position
cursor._x = _xmouse
cursor._y = _ymouse
// Opens the items
onMouseDown = function (){
// Does this to all the buttons
for (i=0; i<total; i++){
// If is clicked
if (itemList
.button.hitTest(cursor)){
// Shows the current item
showCurrent(itemList)
// Shows the button clicked
showCurrent=function(current){
// Does this to all the buttons
for (i=0; i<total; i++){
// Does this to all the buttons exept the clicked
if (itemList
!=current){
// Close the other items if autoclose = true
if (autoClose){
// Close the other items
itemList.openBox=false
// fades the roll over effect of the other items
itemList
.over = false
//Does this to the clcked item only
} else {
// If it has sub items
if (total>0){
//Hides them if its open
if (itemList.openBox){
itemList
.openBox=false
//Shows them if its closed
} else {
itemList.openBox=true
// If it has no subitems goes to the link
} else {
getURL(xmlRoot.attributes.url, _self)Please don't cross-post in multiple forums. I have answered
this in your other thread. -
Problem with Flash Menu in iWeb...need help please.
Ok, I designed a flash menu in iWeb and successfully placed it at the top of the site. I then used the "transparent shape" method to make the hyperlinks work properly. I made sure the flash menu was in the back and the transparent shape hyperlinks were in the front. The menu works just fine for me and anyone else using Safari or Mac computers. However, people on Windows using Firefox, IE or Chrome are unsuccessful in clicking the links. They do not work for them.
Here's my website's homepage link. Keep in mind, if you look there on Safari, it will work but it does not when on a Windows computer. Any help is greatly appreciated.
http://www.platinumsportspicks.com/Index/Home/Home.html
It is clearly the problem that the flash menu is opening in front of the hyperlinked shapes but I'm not sure how to make sure they stay on front.
Message was edited by: kwgroomsI don't know the answer to that one but you can use the Mouse Over and Click method I have described on this page....
http://www.iwebformusicians.com/Tricks/MouseOver.html
It works in IE.
Its just a question of making up two different buttons with text for each link, taking a screenshot and cropping them and adding the JPEGs to your upload folder.
You can make up the buttons on an iWeb page and then delete them when you have taken the screenshots. I usually do this sort of thing in Keynote so that I can save them in case I need to modify them. -
I have a logo with the registered trademark symbol. I tried to change the color of the registered trademark symbol to the same color as the logo, using the color replacement tool but it did not work. Is there another way to change its color?
Also, I need to find out how big the registered trademark symbol is in comparison to the logo. (height, width, how far away from the logo the symbol is). How do I do this? Trying to use the Ruler tool was a disaster. As you've probably noticed, I'm very new to Photoshop.
thanks,Depending on what colors you are working with adding a layer above the logo with the "color" layer style may work for you. This really only works if the logo is on white and the TM isn't black or white.
For Example:
Before
Paint (on a new layer) the new color
Change the layer style of that new green layer to "color"
And voila!
If you're working with a black or white TM you may just have to mask it out and make a new one with the text tool, I'm not aware of another way to change it (though I'm not the photoshop guru some of these people are =D) -
TradeMark Symbol and Registered Symbol are being replaced by question marks
Hello Everyone,
I am using RTF template to generate report in PDF, otherwise "Trademark and Registered" symbols from the field data are being replace by "question marks".
Any suggestions please.
Regards
CharanHi Tim,
I followed the steps to map external font from this link
http://www.oracle.com/technology/products/xml-publisher/demoshelf/shelf.html
Actually, i am not able to find the font name for these kind of symbols (like trade mark or Registered) and also, i am fetching the data from database and them printing on PDF (like a standard process). This trademark symbol is in database.
Regards
Charan -
Okay well for my site I want to make a flash menu that goes
on the bottom frame and effects the top frame! A good tutorial
would be nice! Because im also new to making flash menus. So please
help!you are not thinking right - you can't really "effect" frames
- rather you can target what *in* a
frame or frames - preferrably a Movie Clip symbol. I'm afraid
a lot more information is needed -
hard to tell what your skill level is and what you are trying
to specifically.
--> Adobe Certified Expert (ACE)
--> www.mudbubble.com :: www.keyframer.com
-->
http://flashmx2004.com/forums/index.php?
-->
http://www.macromedia.com/devnet/flash/articles/animation_guide.html
-->
http://groups.google.com/advanced_group_search?q=group:*flash*&hl=en&lr=&ie=UTF-8&oe=UTF-8
Kirkius wrote:
> Okay well for my site I want to make a flash menu that
goes on the bottom frame and effects the top frame! A good tutorial
would be nice! Because im also new to making flash menus. So please
help! -
Problem showing Trademark symbol using ascii code in Flex 3
I am facing problem in displaying trademark symbol (™) using ascii codes(it is showing square symbol). I have ascii code stored in the database for trademark symbol(ascii code "™" ). So I can't use Hexa code instead of ascii code. But using ascii code I am able to show copyright symbol. Following is the sample code :
<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical">
<mx:Script>
var trademarkSymbol = "\u2122";
var trademarkSymbol1 = "™";
var copyrightSymbol = "\u00A9";
var copyrightSymbol1 = "©";
</mx:Script>
<mx:Label text="Macromedia™"/>
<mx:Label text="Macromedia{trademarkSymbol}"/>
<mx:Label text="Macromedia{trademarkSymbol1}"/> \\ problem code
<mx:Label text="Macromedia©"/>
<mx:Label text="Macromedia{copyrightSymbol}"/>
<mx:Label text="Macromedia{copyrightSymbol1}"/>
</mx:Application>
Please suggest some solution.
Regards
Rajat SahniYou must use Unicode values, not Windows extended ASCII values.
The Unicode value of a copyright symbol is hex 00A9 or decimal 169. This happens to be the same as where it is in a Windows' extended ASCII character set, but this is irrelevant. The Unicode value of a copyright symbol is hex 2122 or decimal 8482. In Windows' extended ASCII it has a different value, hex 99 or decimal 153, but again this is irrelevant.
So the reason you think it "works" for the copyright and not for the trademark is that the two character sets agree on the value of the copyright but disagree on the value of the trademark.
Moral: Find a good Unicode table.
Gordon Smith
Adobe Flex SDK Team -
Registered Trademark Symbol will not render in Outlook 2010.
I am designing an HTML email with a product name that has a registered trademark symbol: ®. I have tried 3 different methods to get this symbol to render in Outlook 2010. Option + "R" to create the symbol, using ® and
®. They all render with one or two question marks in Outlook. They all render fine in web-based email browsers (gmail, hotmail, yahoo). What code can I use that Outlook will recognize and render???
I only trust inline CSS to render, so a style sheet isn't an option,Hello,
Please try to enable UTF-8 encoding in Outlook to check if it helps. To do this, go to File > Options > Advanced > Scroll down to the "International options" section, then:
1. Tick the check box labeled "Automatically select encoding for outgoing messages" and click "Unicode (UTF-8)" on the drop-down menu.
2. Tick the check box labeled "Automatically select encoding for outgoing vCards" and click "Unicode (UTF-8)" on the drop-down menu.
3. Tick the check box labeled "Allow UTF-8 support for the mailto: protocol."
Click OK and then test the issue again.
Please let me know the result.
Thanks
Steve Fan
TechNet Community Support -
Can Anybody tell me how to Insert Trademark symbol in Oracle ??
I have tried the following options :
1) I have used chr function but to no
avail (From 1 - 255 ).
2) I also modified NLS_LANGUAGE parameter
but nothing.
Your help is very much appreciated.
Thanks
NareshIn OS X 10.2, & earlier there was a utility called KeyCaps. This was replaced in Panther & higher with "Keyboard Viewer." Open the International Preference Pane, click on the Input Menu tab & click the box next to Keyboard Viewer. This will make this available in your menu bar by clicking the flag icon. Select "Show Keyboard Viewer" from the flag menu & you will see a layout of the keyboard. You can then hold down the shift key, the option key OR shift + option to see all the possibilities. The highlighted ones are the accents than you can apply to letters. To get "é" type option-e (nothing will appear), then type e. This accent could be place over most letters. You can change the font in the drop-down menu. Not all fonts will have all characters. Keyboard Viewer places the typing directly into the top, open document.
-
Alignment of Flash menu in table problem/margins between images
Hi there, I have been building a website using Dreamweaver (i'm a complete newb to CSS & HTML, i'm a kiltmaker!). It uses a table based layout which will eventually link to a shopping cart. I'm just working on the html part, and I would like to include a Flash Menu Bar. When I add the SWF file, I would like it to align with the top of my product images, but unfortunately, ends up looking like this:
http://amhamiltonhandmadekilts.co.uk/test/flashtestdresssporrans.html
I would really like it if the top of my flash menu would align at the same height as the rest of the images e.g at the same height as 'dress sporran' etc so that design is flusher.
Any ideas on how I could fix this would be very much appreciated!
Also, I would like the spacing between the images to be not as big the table, so it looks a bit neater, is this easily done?
Many thanks,
SteveAs far as getting the Flash menu to align to the top more, try adding a valign parameter to the table cell that contains it...
<td width="16%" rowspan="2" valign="top">
As far as the spacing between the images goes, I didn't really get what you might have been trying to indicate relative to being as big as the table. But what you might want to do is create that entire menu/product table into a two column table, where the first column holds the menu and the second column holds another table with your products. That will give you more freedom to control the size of the products table.
You might also get some suggestions to get away from the table approach for a bit of what you've done, so don't be surprised... the intentions and ideas are generally good. -
Flash menu reloads and therefore collapses
I have a site prototype at
http://www.olsonzaltman.com/prototype.
The menu is one I've customized using the coding brainwork of Ian
Kelleigh of www.freehandsource.com. Many thanks to him. My problem
is that shy of using frames, I can't get the menu to NOT reload
each time a link is clicked. The beauty of the menu is that it
stays open to aid in user-orientation. Is there a simply way around
this or does the solution involve major coding and a completely
flash-based site? Thanks. JohnThe elements on the page will reload on each page view, that
will restart the timeline of your flash menu. You can pass
variables back to the flash movie, but that is not an easy fix.
I'm not sure, but the folks at JumpEye may have a menu
component that could help. Check them out:
http://www.jumpeyecomponents.com/
2 easiest options:
Load content into iFrames.
(downside: not the best coding structure you could be using
and there is a good chance you could hurt their SEO)
Make menu files for each section. Load individual menus for
each section.
(downaide: pain the the ___ to update unless you use XML)
My vote would be to consider Javascript for this menu. There
are many accordion menu options that could be retooled and resemble
what you have here. It would also remove the iFrames, SEO and other
issues. I'm not a Flash snob, but there are compelling reasons not
to use it for menus.
cheers,
Ken
Maybe you are looking for
-
Why is the text I type sometimes deleted on my iphone?
Sometimes when I am typing a text, what I have typed gets deleted one letter at a time as if I was pressing the delete key?
-
Placeholders in header section of topic page?
RH 8.02 Merged WebHelp Has anyone figured a workaround for getting placeholders (breadcrumbs, mini-TOC) into the header section of a topic page, standard or master? (The placeholder options are dimmed when selecting header or footer.) Even if I try t
-
The best DAW for Logic and big sample libraries... no more system overload
I'm planning on going big and getting the Mac Pro Two 2.66GHz Quad-Core Intel Xeon, 16 GB of RAM and add two additional 1 TB drives, one for samples and one for projects. It's been suggested that I include a RAID 5 and that it will make streaming of
-
When clicking on an address firefox gets redirected or "jump"ed to another.
After searching a topic, and then clicking on a selected web site my browser gets redirected or is jumped to another unrelated web site. Sometimes I am not able to use the back button and have to click on the home icon and start over. Is there a sett
-
I hope someone can help me out here. I have had the Nokia N96 as part of an 18 month contract on O2 UK since April and ever since i've had the phone, I've had nothing but problems with it and i'm really am up to the point where I'm so fed up with it,